/* ===================================================
   VERNIXO LIVE — Premium Event Website Styles
   =================================================== */

/* ── CSS Custom Properties ── */
:root {
  --black: #000000;
  --red: #FF2D2D;
  --red-dark: #CC1A1A;
  --red-glow: rgba(255, 45, 45, 0.35);
  --crimson: #8B0000;
  --white: #FFFFFF;
  --gray: #BFBFBF;
  --gray-dark: #555555;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 45, 45, 0.3);

  --font-head: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 80px;
  --container: 1280px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 6rem 0;
}



/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: logoReveal 0.8s ease 0.3s forwards;
}

.loader-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,45,45,0.5));
}

.loader-v {
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--red);
  line-height: 1;
  filter: drop-shadow(0 0 20px var(--red));
}

.loader-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.loader-brand {
  font-family: var(--font-head);
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  line-height: 1;
}

.loader-sub {
  font-family: var(--font-cond);
  font-size: 1rem;
  letter-spacing: 0.5em;
  color: var(--red);
  font-weight: 700;
}

.loader-bar {
  width: 280px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--red));
  width: 0%;
  border-radius: 2px;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--red);
}

.loader-caption {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.5s ease 1s forwards;
}

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 100%;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-logo-img {
  height: calc(var(--nav-h) - 24px);
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px rgba(255,45,45,0.6));
}

.logo-v {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--red-glow));
  transition: filter var(--transition);
}

.nav-logo:hover .logo-v {
  filter: drop-shadow(0 0 16px var(--red));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.logo-live {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: var(--red);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  flex-shrink: 0;
  padding: 0.55rem 1.4rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.hero-bg-img.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.7) 40%,
    rgba(80,0,0,0.4) 70%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero-brush {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: screen;
}

/* Particle canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Soundwave */
.soundwave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 2rem;
  height: 80px;
  z-index: 1;
}

.soundwave .bar {
  flex: 1;
  background: linear-gradient(to top, var(--red), transparent);
  border-radius: 2px 2px 0 0;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
  opacity: 0.25;
}

.soundwave .bar:nth-child(1) { animation-delay: 0s; }
.soundwave .bar:nth-child(2) { animation-delay: 0.1s; }
.soundwave .bar:nth-child(3) { animation-delay: 0.2s; }
.soundwave .bar:nth-child(4) { animation-delay: 0.05s; }
.soundwave .bar:nth-child(5) { animation-delay: 0.15s; }
.soundwave .bar:nth-child(6) { animation-delay: 0.25s; }
.soundwave .bar:nth-child(7) { animation-delay: 0.3s; }
.soundwave .bar:nth-child(8) { animation-delay: 0.12s; }
.soundwave .bar:nth-child(9) { animation-delay: 0.08s; }
.soundwave .bar:nth-child(10) { animation-delay: 0.22s; }
.soundwave .bar:nth-child(11) { animation-delay: 0.17s; }
.soundwave .bar:nth-child(12) { animation-delay: 0.32s; }
.soundwave .bar:nth-child(13) { animation-delay: 0.04s; }
.soundwave .bar:nth-child(14) { animation-delay: 0.28s; }
.soundwave .bar:nth-child(15) { animation-delay: 0.09s; }
.soundwave .bar:nth-child(16) { animation-delay: 0.19s; }
.soundwave .bar:nth-child(17) { animation-delay: 0.33s; }
.soundwave .bar:nth-child(18) { animation-delay: 0.14s; }
.soundwave .bar:nth-child(19) { animation-delay: 0.24s; }
.soundwave .bar:nth-child(20) { animation-delay: 0.06s; }

@keyframes waveAnim {
  from { height: 8px; }
  to { height: 100%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: calc(var(--nav-h) + 6rem) 2rem 8rem;
  margin: 0 auto 0;
  width: 100%;
}

/* Badge */
.hero-badge, .cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid var(--border-red);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Hero Heading */
.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.line-wrap {
  display: block;
}

.text-stroke {
  font-style: normal;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.text-stroke-red {
  -webkit-text-stroke: 2px var(--red);
  color: transparent;
  filter: drop-shadow(0 0 20px var(--red-glow));
}

.text-red {
  color: var(--red);
  filter: drop-shadow(0 0 20px var(--red-glow));
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 600;
}

/* CTA Buttons */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 45, 45, 0.3);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 30px rgba(255, 45, 45, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}

.btn.sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.78rem;
}

.btn.lg {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

.btn.full {
  width: 100%;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--red);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 6rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-dark);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section Styles ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-red);
  border-radius: 100px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 550px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-title {
  margin: 0 auto 1rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ── About Section ── */
.about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.04);
}

.about-img-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--red);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.4;
}

.about-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  bottom: 3rem;
  left: -2rem;
  white-space: nowrap;
  animation: floatCard 3s ease-in-out infinite;
}

.about-floating-card.card-2 {
  bottom: auto;
  top: 2rem;
  left: auto;
  right: -2rem;
  animation-delay: 1.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.float-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.float-info strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.float-info span {
  font-size: 0.7rem;
  color: var(--gray);
}

.about-desc {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  transition: background var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  background: rgba(255,45,45,0.05);
  box-shadow: 0 0 20px rgba(255,45,45,0.08);
}

.pillar-icon {
  color: var(--red);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.pillar p {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

/* ── Services Section ── */
.services {
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  group: true;
}

.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.service-card:hover .service-glow {
  opacity: 1;
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 24px var(--red-glow);
}

.service-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,45,45,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.service-num {
  font-family: var(--font-head);
  font-size: 4rem;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.service-title {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-tags span {
  padding: 0.2rem 0.65rem;
  background: rgba(255,45,45,0.1);
  border: 1px solid var(--border-red);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-dark);
  transition: color var(--transition), gap var(--transition);
}

.service-link:hover {
  color: var(--red);
  gap: 0.75rem;
}

.service-cta-card {
  background: linear-gradient(135deg, rgba(139,0,0,0.4) 0%, rgba(255,45,45,0.15) 100%);
  border-color: var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 30px var(--red-glow);
}

.cta-card-inner h3 {
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 700;
}

.cta-card-inner p {
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 200px;
}

/* ── Portfolio Section ── */
.portfolio {
  background: var(--surface);
}

.portfolio-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 16px var(--red-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
}

.portfolio-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: opacity 0.4s, transform 0.4s;
}

.portfolio-item.large {
  grid-column: span 2;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

.portfolio-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img-wrap img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(255,45,45,0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-inner {
  transform: translateY(10px);
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-overlay-inner {
  transform: translateY(0);
}

.po-cat {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--red);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.portfolio-overlay-inner h3 {
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.portfolio-overlay-inner p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* ── Experience Section ── */
.experience {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.exp-bg {
  position: absolute;
  inset: 0;
}

.exp-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.85) 50%,
    rgba(80,0,0,0.7) 100%
  );
}

.experience .container {
  position: relative;
  z-index: 2;
}

.experience-scroll-track {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -2rem;
  padding: 0 2rem;
  cursor: grab;
}

.experience-scroll-track::-webkit-scrollbar { display: none; }
.experience-scroll-track:active { cursor: grabbing; }

.exp-cards-wrapper {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
  width: max-content;
}

.exp-card {
  flex-shrink: 0;
  width: 320px;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  backdrop-filter: blur(8px);
}

.exp-card:hover {
  border-color: var(--border-red);
  background: rgba(255,45,45,0.06);
  transform: translateY(-6px);
}

.exp-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,45,45,0.15);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.exp-card:hover .exp-card-icon {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}

.exp-card h3 {
  font-family: var(--font-cond);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.exp-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

.exp-card-num {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
}

.exp-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.exp-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), border-color var(--transition);
}

.exp-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
}

.exp-dots {
  display: flex;
  gap: 0.5rem;
}

.exp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background var(--transition), width var(--transition);
}

.exp-dot.active {
  background: var(--red);
  width: 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--red-glow);
}

/* ── Stats Section ── */
.stats-section {
  position: relative;
  background: var(--crimson);
  overflow: hidden;
}

.stats-brush {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  mix-blend-mode: screen;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.big-stat {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.big-stat:last-child {
  border-right: none;
}

.big-stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--white);
  line-height: 1;
  display: inline;
}

.big-stat-plus {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 3rem);
  color: rgba(255,255,255,0.7);
}

.big-stat-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ── Partners / Logo Marquee ── */
.partners {
  background: var(--black);
  overflow: hidden;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0 1rem;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 72px;
  padding: 0.75rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.marquee-item:hover {
  border-color: var(--border-red);
  box-shadow: 0 0 16px rgba(255,45,45,0.12);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(220%);
  transition: filter var(--transition);
}

.marquee-item:hover img {
  filter: grayscale(0%) brightness(100%);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-card {
  position: relative;
  padding: 3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-red);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--red);
  line-height: 0.6;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--gray-dark);
}

.testimonial-stars {
  margin-left: auto;
  color: #FFB800;
  font-size: 0.9rem;
  display: flex;
  gap: 0.15rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.testimonial-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--border);
  cursor: none;
  transition: all var(--transition);
}

.testim-dot.active {
  background: var(--red);
  border-color: var(--red);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--red-glow);
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139,0,0,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-brush {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.03;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-cond);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,45,45,0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 0.2rem;
}

.contact-item span {
  font-size: 0.92rem;
  color: var(--white);
}

.contact-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 16px var(--red-glow);
  transform: translateY(-2px);
}

.social-btn.sm {
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
}

/* Contact Form */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,45,45,0.12);
}

.form-group select option {
  background: var(--surface-3);
  color: var(--white);
}

.form-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success.show {
  display: flex;
}

.success-icon {
  font-size: 3rem;
  color: var(--red);
  animation: successPop 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

@keyframes successPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-family: var(--font-cond);
  font-size: 1.8rem;
}

.form-success p {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 350px;
}

/* ── Footer ── */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}

.footer-logo:hover .footer-logo-img {
  filter: drop-shadow(0 0 10px rgba(255,45,45,0.5));
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-info p {
  font-size: 0.88rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-info i {
  color: var(--red);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--gray-dark);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--red);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(255,45,45,0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 24px rgba(255,45,45,0.6);
  transform: translateY(-3px);
}

/* ── Scroll Reveal Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-side {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-side.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .big-stat:nth-child(2) { border-right: none; }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    top: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-container {
    padding: 0 1.25rem;
    gap: 0;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 25px);
    left: 15px;
    right: 15px;
    height: calc(100vh - var(--nav-h) - 40px);
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    border-radius: 12px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-slow), opacity var(--transition-slow), visibility var(--transition-slow);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.5rem 2rem;
    font-size: 1.4rem;
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    display: none;
  }

  .cursor, .cursor-follower {
    display: none;
  }

  body { cursor: auto; }
  button { cursor: pointer; }

  .nav-logo img {
    max-height: 55px;
  }

  .hero-heading {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 15px + 5rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-badge {
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .portfolio-item.large {
    grid-column: span 1;
  }

  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%);
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .big-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1.5rem;
  }

  .big-stat:last-child,
  .big-stat:nth-last-child(2) {
    border-bottom: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-floating-card {
    display: none;
  }

  .exp-card {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .hero-heading {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .testimonial-author {
    flex-wrap: wrap;
  }

  .testimonial-stars {
    margin-left: 0;
  }
}
