/* ─────────────────────────────────────────────────────────────
   Crew Lapesa — Design tokens & base
   Dark theme + warm accent (riflettori di scena)
   ───────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg:           #0A0A0A;
  --bg-elev-1:    #111111;
  --bg-elev-2:    #161616;
  --bg-elev-3:    #1E1E1E;
  --hairline:     rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.16);

  /* Text */
  --fg:           #F5F5F5;
  --fg-dim:       #A0A0A0;
  --fg-muted:     #6B6B6B;

  /* Accent (warm spotlight) */
  --accent:       #FF4D1C;
  --accent-soft:  #E85D2A;
  --accent-glow:  rgba(255, 77, 28, 0.35);
  --accent-on:    #0A0A0A; /* text on accent */

  /* Semantic */
  --whatsapp:     #25D366;

  /* Type */
  --font-display: "Anton", "Bebas Neue", "Arial Narrow", sans-serif;
  --font-sans:    "Manrope", "Space Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --fs-hero:      clamp(56px, 11vw, 168px);
  --fs-display:   clamp(40px, 7vw, 112px);
  --fs-h1:        clamp(32px, 4.5vw, 64px);
  --fs-h2:        clamp(24px, 2.4vw, 36px);
  --fs-h3:        18px;
  --fs-body:      16px;
  --fs-sm:        14px;
  --fs-xs:        12px;
  --fs-eyebrow:   11px;

  /* Tracking */
  --tr-tight:     -0.02em;
  --tr-display:   0.005em;
  --tr-eyebrow:   0.18em;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* Spacing */
  --sp-section: clamp(72px, 10vw, 144px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* Subtle grain overlay across the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-on); }

/* ─── Typography utilities ───────────────────────────────────── */

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-dim);
}

.eyebrow.accent { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 0.94;
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  margin: 0;
}

.h-section .accent { color: var(--accent); }

/* ─── Layout ────────────────────────────────────────────────── */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

.section { padding: var(--sp-section) 0; }

.divider {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

/* ─── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
  background: #fff;
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--hairline-strong);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--hairline-strong);
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: var(--whatsapp);
}
.btn-whatsapp .icon { color: var(--whatsapp); }

.btn-lg { padding: 20px 28px; font-size: 15px; }

/* ─── Navbar ────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 240ms var(--ease), backdrop-filter 240ms var(--ease), border-bottom 240ms var(--ease), padding 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar .logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 180ms var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { padding: 12px 18px; font-size: 12px; }

.hamburger { display: none; }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 100px 32px 32px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--fg);
}
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
}

/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 77, 28, 0.25), transparent 50%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.45) 40%, rgba(10,10,10,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%     { box-shadow: 0 0 0 8px transparent; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 0.88;
  letter-spacing: var(--tr-display);
  font-weight: 400;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--fg-dim);
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--fg);
}
.hero-stat .num .accent { color: var(--accent); }
.hero-stat .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 8px;
}

/* Hero scroll cue */
.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  writing-mode: vertical-rl;
}
.scroll-cue .line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--fg-dim), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

@media (max-width: 720px) {
  .scroll-cue { display: none; }
  .hero { padding-top: 96px; padding-bottom: 32px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 28px; }
}

/* ─── Marquee partners ──────────────────────────────────────── */

.marquee {
  background: var(--bg-elev-1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 32px 0;
  overflow: hidden;
}
.marquee-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.marquee-track {
  display: flex;
  gap: 72px;
  animation: marquee 40s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  transition: color 200ms var(--ease);
}
.partner:hover { color: var(--fg); }
.partner.dot {
  color: var(--accent);
  font-size: 24px;
}

/* ─── Services ──────────────────────────────────────────────── */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lede {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 480px;
}

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px -20px rgba(255, 77, 28, 0.25);
}
.service-card .image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev-2);
}
.service-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  filter: grayscale(20%);
}
.service-card:hover .image img { transform: scale(1.06); filter: grayscale(0%); }
.service-card .body {
  padding: 28px 28px 32px;
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 400;
}
.service-card p {
  margin: 0 0 20px;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.5;
}
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 220ms var(--ease), color 220ms var(--ease);
}
.service-card:hover .arrow { gap: 14px; color: var(--accent); }

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card .body { padding: 22px 22px 24px; }
  .service-card h3 { font-size: 28px; }
}

/* ─── Portfolio ─────────────────────────────────────────────── */

.portfolio { background: var(--bg-elev-1); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-dim);
  transition: all 200ms var(--ease);
}
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter.active {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
}
.filter .count {
  display: inline-block;
  margin-left: 6px;
  opacity: 0.5;
  font-family: var(--font-mono);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--bg-elev-2);
  transition: transform 480ms var(--ease), opacity 320ms var(--ease);
}
.work img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 800ms var(--ease);
  filter: grayscale(30%);
}
.work:hover img { transform: scale(1.05); filter: grayscale(0%); }

.work .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(10,10,10,0.95), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.work:hover .meta { transform: translateY(0); opacity: 1; }
.work .cat {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.work .name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--fg);
}
.work .note {
  font-size: 13px;
  color: var(--fg-dim);
  opacity: 0;
  max-height: 0;
  transition: opacity 320ms var(--ease), max-height 320ms var(--ease), margin-top 320ms var(--ease);
  margin-top: 0;
}
.work:hover .note {
  opacity: 1;
  max-height: 60px;
  margin-top: 6px;
}

/* Grid spans for visual rhythm */
.work.size-lg  { grid-column: span 8; aspect-ratio: 16/9; }
.work.size-md  { grid-column: span 4; aspect-ratio: 4/5; }
.work.size-sm  { grid-column: span 4; aspect-ratio: 1/1; }
.work.size-wide { grid-column: span 6; aspect-ratio: 4/3; }
.work.size-tall { grid-column: span 4; aspect-ratio: 3/4; }

@media (max-width: 900px) {
  .work.size-lg, .work.size-md, .work.size-sm, .work.size-wide, .work.size-tall {
    grid-column: span 6;
    aspect-ratio: 4/3;
  }
}
@media (max-width: 560px) {
  .work.size-lg, .work.size-md, .work.size-sm, .work.size-wide, .work.size-tall {
    grid-column: span 12;
    aspect-ratio: 16/10;
  }
}

/* ─── Equipment ─────────────────────────────────────────────── */

.equip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}
.equip-tab {
  padding: 16px 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-dim);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.equip-tab:hover { color: var(--fg); }
.equip-tab.active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
.equip-tab .count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  padding: 2px 6px;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.equip {
  background: var(--bg-elev-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.equip:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.equip .ph {
  aspect-ratio: 4/3;
  background: var(--bg-elev-2);
  overflow: hidden;
}
.equip .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 320ms var(--ease), transform 600ms var(--ease);
}
.equip:hover .ph img { filter: grayscale(0%); transform: scale(1.04); }
.equip .body {
  padding: 16px 16px 20px;
}
.equip .name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 0 0 4px;
  color: var(--fg);
}
.equip .spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-tab { padding: 12px 16px; font-size: 11px; }
}

/* ─── Process ───────────────────────────────────────────────── */

.process { background: #0d0d0d; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
}
.step {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.9;
  color: var(--bg-elev-3);
  letter-spacing: 0;
  margin-bottom: 24px;
  transition: color 240ms var(--ease);
}
.step:hover .num { color: var(--accent); }
.step h4 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  font-weight: 400;
  margin: 0 0 12px;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
}
.step .arrow-link {
  position: absolute;
  top: 36px; right: 24px;
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .step:last-child { border-bottom: 0; }
}

/* ─── About ─────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-text p {
  font-size: 19px;
  color: var(--fg);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 540px;
}
.about-text p.lede {
  font-size: 22px;
  color: var(--fg);
  line-height: 1.45;
}
.about-text p.lede .accent { color: var(--accent); }

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.team-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  background: var(--bg-elev-1);
}
.team-card .role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}
.team-card .name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elev-2);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, transparent 60%, rgba(10,10,10,0.6));
}
.about-image .badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--accent-on);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 4/3; }
}

/* ─── Quote band ───────────────────────────────────────────── */

.quote {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-elev-1);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255, 77, 28, 0.15), transparent 60%);
  pointer-events: none;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.96;
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  font-weight: 400;
  max-width: 1100px;
  margin: 0;
}
.quote-text .accent { color: var(--accent); }
.quote-attr {
  margin-top: 40px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ─── Form section (contrasting light surface) ─────────────── */

.form-section {
  padding: var(--sp-section) 0;
  background: var(--bg);
}
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 32px 80px -32px rgba(0,0,0,0.8);
}

.form-side {
  padding: clamp(40px, 5vw, 64px);
  background: var(--bg-elev-2);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.form-side h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  font-weight: 400;
  margin: 0 0 16px;
}
.form-side .sub {
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 380px;
  margin-bottom: 32px;
}

.form-meta {
  display: grid;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}
.form-meta .row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}
.form-meta .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: 2px;
}
.form-meta .v { color: var(--fg); }
.form-meta a:hover { color: var(--accent); }

/* Light form panel — high contrast for conversion */
.form-panel {
  background: #F5F5F2;
  color: #0A0A0A;
  padding: clamp(40px, 5vw, 64px);
}
.form-panel .eyebrow { color: #666; }
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}
.form-row.single { grid-template-columns: 1fr; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
}
.field label .opt { color: #999; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: var(--r-sm);
  color: #0A0A0A;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--font-sans); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,77,28,0.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: #d33;
  box-shadow: 0 0 0 4px rgba(220, 50, 50, 0.08);
}
.field .err {
  font-size: 11px;
  color: #c92020;
  font-weight: 600;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 180ms var(--ease);
  user-select: none;
}
.check:hover { border-color: #999; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 16px; height: 16px;
  border: 1.5px solid #999;
  border-radius: 3px;
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 180ms var(--ease);
}
.check.on .box {
  background: var(--accent);
  border-color: var(--accent);
}
.check.on .box svg { display: block; }
.check .box svg { display: none; width: 12px; height: 12px; color: #fff; }
.check.on { border-color: var(--accent); background: rgba(255,77,28,0.05); }

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3e3df;
  flex-wrap: wrap;
}
.submit-row .privacy {
  font-size: 12px;
  color: #666;
  max-width: 360px;
  line-height: 1.5;
}
.submit-row .privacy a { color: var(--accent); text-decoration: underline; }
.btn-submit {
  background: var(--accent);
  color: #fff;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 220ms var(--ease);
}
.btn-submit:hover { background: #0A0A0A; transform: translateY(-2px); }
.btn-submit:disabled { background: #ccc; cursor: not-allowed; transform: none; }

.form-success {
  padding: clamp(40px, 5vw, 64px);
  background: #F5F5F2;
  color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.form-success .icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.94;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 400;
}
.form-success p { color: #555; max-width: 380px; margin: 0; }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .checks { grid-template-columns: 1fr; }
}

/* ─── Footer ────────────────────────────────────────────────── */

footer {
  background: #050505;
  border-top: 1px solid var(--hairline);
  padding: 72px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}
.foot-brand p {
  color: var(--fg-dim);
  font-size: 14px;
  max-width: 280px;
  margin: 0;
  line-height: 1.55;
}
.foot-col h5 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 16px;
  font-weight: 600;
}
.foot-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.foot-col a {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color 180ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-muted);
}
.foot-bottom a { color: var(--fg-muted); }
.foot-bottom a:hover { color: var(--fg); }

@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
}

/* ─── WhatsApp floating ─────────────────────────────────────── */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 240ms var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: wa-pulse 2.2s var(--ease) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 720px) {
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ─── Reveal on scroll ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Accent variants (set on <html>) ──────────────────────── */
html[data-accent="orange"] { --accent: #FF4D1C; --accent-soft: #E85D2A; --accent-glow: rgba(255,77,28,0.35); }
html[data-accent="red"]    { --accent: #E1313A; --accent-soft: #b22a2f; --accent-glow: rgba(225,49,58,0.35); }
html[data-accent="amber"]  { --accent: #F4A100; --accent-soft: #c98700; --accent-glow: rgba(244,161,0,0.35); --accent-on: #0A0A0A; }
html[data-accent="cyan"]   { --accent: #00C2D1; --accent-soft: #009aa6; --accent-glow: rgba(0,194,209,0.3); --accent-on: #0A0A0A; }

/* ─── Display font variants ────────────────────────────────── */
html[data-display="anton"]    { --font-display: "Anton", "Bebas Neue", "Arial Narrow", sans-serif; }
html[data-display="bebas"]    { --font-display: "Bebas Neue", "Anton", "Arial Narrow", sans-serif; }
html[data-display="syne"]     { --font-display: "Syne", "Anton", sans-serif; }
html[data-display="archivo"]  { --font-display: "Archivo Black", "Anton", sans-serif; }
