/* =========================================================
   Marie Deco — hoja de estilos
   Esquema claro con profundidad: fondo blanco cálido +
   paneles blancos elevados con sombras suaves multicapa.
   ========================================================= */

:root {
  /* Superficies */
  --bg:        #f5f2ef;   /* fondo de página (blanco cálido, no plano) */
  --bg-2:      #ece7e1;   /* bandas alternadas, un punto más profundas */
  --surface:   #ffffff;   /* tarjetas y paneles */

  /* Texto */
  --ink:       #2a2530;
  --ink-soft:  #5b5561;
  --ink-mute:  #8c8791;

  /* Acentos */
  --mauve:      #a9748a;
  --mauve-dark: #895b71;
  --gold:       #b0895a;

  /* Versiones RGB para sombras y auras de color */
  --ink-rgb:   42,37,48;
  --mauve-rgb: 169,116,138;
  --gold-rgb:  176,137,90;

  /* Líneas */
  --line:      #e4ded7;
  --line-soft: #efeae3;
  --white:     #ffffff;

  /* Sombras — base oscura tenue para asentar + capas de color (violeta y
     dorado) para dar un aura cálida. Cuanto más grande la pieza, más color. */
  --shadow-xs:
    0 1px 2px rgba(var(--ink-rgb),.08),
    0 5px 12px -4px rgba(var(--mauve-rgb),.37);
  --shadow-sm:
    0 2px 6px -2px rgba(var(--ink-rgb),.13),
    0 10px 24px -8px rgba(var(--mauve-rgb),.62),
    0 20px 44px -12px rgba(var(--gold-rgb),.40);
  --shadow-md:
    0 6px 16px -6px rgba(var(--ink-rgb),.15),
    0 20px 42px -12px rgba(var(--mauve-rgb),.77),
    0 40px 74px -22px rgba(var(--gold-rgb),.55),
    0 66px 110px -44px rgba(var(--ink-rgb),.21);
  --shadow-lg:
    0 14px 30px -10px rgba(var(--ink-rgb),.18),
    0 30px 62px -16px rgba(var(--mauve-rgb),.73),
    0 55px 100px -26px rgba(var(--gold-rgb),.55),
    0 92px 144px -50px rgba(var(--mauve-rgb),.45);
  --shadow-xl:
    0 22px 48px -14px rgba(var(--ink-rgb),.20),
    0 48px 100px -22px rgba(var(--mauve-rgb),.86),
    0 88px 144px -38px rgba(var(--gold-rgb),.62),
    0 130px 200px -60px rgba(var(--ink-rgb),.29);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,.75);

  /* Auras de un solo color para acentos y estados hover */
  --glow-mauve: 0 16px 44px -14px rgba(var(--mauve-rgb),.90), 0 6px 16px -8px rgba(var(--mauve-rgb),.72), 0 44px 90px -32px rgba(var(--mauve-rgb),.53);
  --glow-gold:  0 16px 44px -14px rgba(var(--gold-rgb),.90),  0 6px 16px -8px rgba(var(--gold-rgb),.64), 0 44px 90px -32px rgba(var(--gold-rgb),.47);

  --radius: 3px;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Halo cálido muy sutil y fijo para dar aire y que el blanco no sea plano.
   Al estar fijo y ser difuso, no genera límites entre secciones. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 900px at 50% -10%, rgba(255,255,255,.5), transparent 62%),
    radial-gradient(1100px 780px at 100% 6%, rgba(var(--mauve-rgb),.12), transparent 58%),
    radial-gradient(1000px 820px at 0% 42%, rgba(var(--gold-rgb),.10), transparent 60%),
    radial-gradient(1000px 900px at 100% 96%, rgba(var(--mauve-rgb),.10), transparent 60%);
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

::selection { background: var(--mauve); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .6rem 1rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section > * { position: relative; z-index: 1; }

/* Uniones entre secciones: mismo fondo en toda la página + un pliegue de
   sombra suave donde una sección se encuentra con la siguiente, para que
   la transición se sienta con profundidad y nunca como un corte. */
.section::before,
.section::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: clamp(60px, 9vw, 120px);
  pointer-events: none; z-index: 0;
}
.section::before {
  top: 0;
  background:
    linear-gradient(to bottom, rgba(var(--mauve-rgb),.12), rgba(var(--mauve-rgb),0)),
    linear-gradient(to bottom, rgba(var(--ink-rgb),.03), rgba(var(--ink-rgb),0));
}
.section::after  {
  bottom: 0;
  background:
    linear-gradient(to top, rgba(var(--gold-rgb),.12), rgba(var(--gold-rgb),0)),
    linear-gradient(to top, rgba(var(--ink-rgb),.025), rgba(var(--ink-rgb),0));
}

/* .section--tint ya no cambia el color de fondo: el fondo es uno solo en
   toda la página; la diferencia entre secciones la dan los paneles y sus
   sombras, no una banda de otro tono. */
.section--tint { background: transparent; }

/* Panel: contenedor blanco elevado */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glow-gold), var(--shadow-inset);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--mauve-dark);
  margin-bottom: 1.2rem;
}
.eyebrow-light { color: var(--gold); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 2rem;
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--mauve-dark); box-shadow: var(--shadow-md), var(--glow-mauve); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); box-shadow: var(--glow-gold); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: .9rem;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  padding-block: .6rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -12px rgba(var(--mauve-rgb),.28);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { position: relative; display: flex; align-items: center; }
.brand-logo {
  display: block; width: auto;
  height: clamp(5.5rem, 9vw, 7.7rem);
  transition: height .35s var(--ease), opacity .35s var(--ease);
}
.brand-logo--light { filter: drop-shadow(0 2px 12px rgba(0,0,0,.4)); }
.brand-logo--dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.is-scrolled .brand-logo { height: clamp(4.3rem, 6vw, 5.3rem); }
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }

.nav-list { display: flex; align-items: center; gap: 2.2rem; }
.nav-list a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding-block: .3rem;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor; transition: width .3s var(--ease);
}
.nav-list a:hover::after { width: 100%; }
.site-header:not(.is-scrolled) .nav-list > li:not(.nav-cta) a { color: var(--white); }
.nav-cta a { border: 1px solid currentColor; padding: .6rem 1.1rem; }
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--mauve-dark); border-color: var(--mauve-dark); color: var(--white); }
.site-header:not(.is-scrolled) .nav-cta a { color: var(--white); border-color: rgba(255,255,255,.5); }

.nav-toggle { display: none; width: 2.4rem; height: 2.4rem; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 1.5px;
  background: currentColor; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* Oscurecido de base (más fuerte del lado del texto, para que se lea bien
   sobre cualquier fotograma del video) + aura violeta/dorada con la misma
   intensidad de color que el resto de la página (tokens --shadow-xl /
   --glow-mauve / --glow-gold), todo en una sola capa sobre el video. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(92deg, rgba(42,37,48,.66) 0%, rgba(42,37,48,.4) 42%, rgba(42,37,48,.14) 72%, rgba(42,37,48,.05) 100%),
    radial-gradient(70% 60% at 50% 110%, rgba(var(--mauve-rgb), .86), transparent 72%),
    radial-gradient(60% 50% at -6% -8%, rgba(var(--mauve-rgb), .53), transparent 62%),
    radial-gradient(60% 50% at 106% -8%, rgba(var(--gold-rgb), .47), transparent 62%),
    linear-gradient(180deg, rgba(42,37,48,.5) 0%, rgba(42,37,48,.28) 40%, rgba(42,37,48,.72) 100%);
  box-shadow:
    inset 0 -200px 240px -40px rgba(var(--mauve-rgb), .86),
    inset 0 160px 220px -70px rgba(var(--ink-rgb), .29),
    inset 0 0 160px 10px rgba(var(--mauve-rgb), .53);
}
.hero-content { padding-block: 8rem 12rem; max-width: 52rem; }
.hero h1 { margin-bottom: 1.6rem; text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
.hero .eyebrow-light { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 34rem; color: #efe8ec; margin-bottom: 2.4rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 8rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero-scroll span {
  width: 3px; height: 8px; background: var(--white); border-radius: 2px;
  animation: scroll-cue 1.8s var(--ease) infinite;
}
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Trust (tarjeta elevada que monta sobre el hero) ---------- */
.trust {
  position: relative; z-index: 5;
  margin-top: clamp(-7rem, -9vw, -4.5rem);
  margin-bottom: clamp(1rem, 4vw, 2.5rem);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl), var(--glow-mauve), var(--shadow-inset);
  padding: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: .5rem; padding-inline: clamp(.5rem, 2vw, 1.5rem); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-num { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--mauve-dark); line-height: 1; }
.trust-num--text { letter-spacing: .02em; color: var(--gold); }
.trust-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-grid > * { min-width: 0; }
.about-media { position: relative; min-width: 0; }
.about-stage {
  position: relative;
  aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glow-mauve);
  background: var(--bg-2);
}
.about-stage img,
.about-stage video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-stage::after {
  content: ""; position: absolute; inset: 10px; z-index: 2;
  border: 1px solid rgba(255,255,255,.35); border-radius: 2px;
  pointer-events: none;
}
.about-slide-in { animation: aboutFade .7s var(--ease) both; }
@keyframes aboutFade { from { opacity: 0; } to { opacity: 1; } }
#about-slides { display: none !important; }
.about-media figcaption {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 1.4rem;
}
.about-logo {
  display: block; width: auto; height: clamp(7.2rem, 14.4vw, 10.8rem);
  margin-bottom: 1.4rem; opacity: .92;
}
.about-text h2 { margin-bottom: 1.6rem; }
.about-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.about-list { margin: 1.8rem 0; display: grid; gap: .7rem; }
.about-list li { position: relative; padding-left: 1.6rem; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 8px; height: 8px; border: 1px solid var(--mauve); transform: rotate(45deg);
}

/* ---------- Process ---------- */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem);
}
.process-step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm), var(--shadow-inset);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), var(--glow-gold); }
.process-step-num {
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--mauve);
  display: block; margin-bottom: .6rem; line-height: 1;
}
.process-step h3 { margin-bottom: .6rem; }
.process-step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Portfolio ---------- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.3rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-soft);
  background: var(--surface); box-shadow: var(--shadow-xs);
  transition: all .3s var(--ease);
}
.filter:hover,
.filter:focus-visible {
  background: var(--mauve-dark); border-color: var(--mauve-dark); color: var(--white);
  box-shadow: var(--shadow-sm), var(--glow-mauve); transform: translateY(-1px);
}
.filter.is-active { background: var(--mauve-dark); border-color: var(--mauve-dark); color: var(--white); box-shadow: var(--shadow-sm), var(--glow-mauve); }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem);
}
.work {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 5; background: var(--bg-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.work--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.work img,
.work video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl), var(--glow-mauve); }
.work:hover img,
.work:hover video { transform: scale(1.05); }
.work.is-hidden { display: none; }

/* Etiqueta de categoría (solo visible con el filtro "Todos") */
.work-badge {
  position: absolute; left: .8rem; top: .8rem; z-index: 2;
  display: none;
  padding: .34rem .7rem;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); background: rgba(42,37,48,.62);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
}
.portfolio-grid.badges .work-badge { display: block; }

.portfolio-note {
  margin-top: 2rem; text-align: center;
  color: var(--ink-mute); font-size: .95rem; letter-spacing: .02em;
}
.portfolio-more { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.portfolio-more .btn[hidden] { display: none; }
.portfolio-more .btn:hover,
.portfolio-more .btn:focus-visible {
  background: var(--mauve-dark); border-color: var(--mauve-dark); color: var(--white);
  box-shadow: var(--glow-mauve);
}

/* ---------- Testimonials ---------- */
.testi-track {
  position: relative; max-width: 52rem; margin-inline: auto; min-height: 12rem; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg), var(--glow-mauve), var(--shadow-inset);
  padding: clamp(2.4rem, 6vw, 4rem);
}
.testi { position: absolute; inset: 0; margin: clamp(2.4rem, 6vw, 4rem); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease); }
.testi.is-active { position: relative; inset: auto; margin: 0; opacity: 1; visibility: visible; }
.testi p {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4; color: var(--ink); margin-bottom: 1.4rem;
}
.testi footer { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mauve-dark); }
.testi-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2rem; }
.testi-dots button {
  width: 8px; height: 8px; border: 1px solid var(--mauve); border-radius: 50%;
  transition: background .3s;
}
.testi-dots button.is-active { background: var(--mauve); box-shadow: 0 0 0 4px rgba(var(--mauve-rgb),.22); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 52rem; margin-inline: auto; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--font-serif); font-size: 1.25rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-sans); font-size: 1.4rem; color: var(--mauve); transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion details p { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 42rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-text h2 { margin-bottom: 1.2rem; }
.contact-text > p { color: var(--ink-soft); margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.4rem; }
.contact-list li { display: grid; gap: .2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact-list a:hover { color: var(--mauve-dark); }

.contact-form {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glow-mauve), var(--shadow-inset);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.2rem; display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  padding: .8rem .9rem; width: 100%; border-radius: 2px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mauve); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--mauve-rgb),.18), 0 10px 24px -10px rgba(var(--mauve-rgb),.4);
}
.field textarea { resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; text-align: center; }
.form-note a { color: var(--mauve-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  padding-block: 4.5rem 2rem;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: clamp(70px, 10vw, 140px); pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(var(--mauve-rgb),.14), rgba(var(--mauve-rgb),0)),
    linear-gradient(to bottom, rgba(var(--ink-rgb),.03), rgba(var(--ink-rgb),0));
}
.site-footer > * { position: relative; z-index: 1; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.footer-brand { display: grid; gap: 1.2rem; max-width: 22rem; }
.footer-logo { width: auto; height: clamp(8.4rem, 16.8vw, 12rem); justify-self: start; }
.footer-brand p { font-size: .92rem; }
.footer-nav, .footer-social { display: grid; gap: .7rem; align-content: start; }
.footer-nav a, .footer-social a { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav a:hover, .footer-social a:hover { color: var(--mauve-dark); }
.footer-legal { padding-top: 1.5rem; }
.footer-legal p { font-size: .78rem; letter-spacing: .04em; color: var(--ink-mute); }
.footer-credit-osweb { font-size: 1.08em; }
.footer-credit-vecteezy { font-size: 1rem; }
.footer-legal a { color: var(--mauve-dark); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(26, 22, 30, .92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  max-width: 88vw; max-height: 82vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-media {
  max-width: 88vw; max-height: 82vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  background: #000;
}
.lightbox-close { position: absolute; top: 1.4rem; right: 1.8rem; font-size: 2.4rem; color: var(--white); line-height: 1; z-index: 2; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 3rem; color: var(--white); padding: 1rem; opacity: .7; transition: opacity .2s;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center;
  color: #d8d2dc; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg), var(--glow-mauve);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); background: var(--mauve-dark); box-shadow: var(--shadow-xl), var(--glow-gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: min(24rem, 100%); margin-inline: auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { padding-block: .5rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .work--wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; z-index: 110; color: var(--white); }
  .site-header.is-scrolled .nav-toggle { color: var(--ink); }
  .nav-list {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--ink);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav-list.is-open { transform: none; }
  .nav-list a { color: var(--white) !important; font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-content { padding-block: 7rem 11rem; }
  .hero-scroll { display: none; }
  .trust { margin-top: clamp(-5rem, -14vw, -3rem); }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
}

@media (max-width: 460px) {
  .process-steps { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .work--wide { grid-column: span 1; }
  .brand-logo { height: 4.8rem; }
  .site-header.is-scrolled .brand-logo { height: 4.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
