/* =========================================================
   Jenifer Moltó · Fotografía
   Sistema de diseño — editorial, oscuro, tipografía propia
   ========================================================= */

/* ---------- Fuentes propias (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* Butler — serif de titulares (todas las páginas menos Cyan) */
@font-face {
  font-family: "Butler";
  src: url("../fonts/butler-300.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/butler-400.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/butler-500.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/butler-700.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* Satoshi — tipografía principal (self-hosted). No afecta a CyanByJenifer (tu letra). */
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
/* Alias display: cualquier peso -> Satoshi Black (los titulares que antes usaban Butler) */
@font-face { font-family: "SatoshiDisp"; src: url("../fonts/satoshi-900.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Marca "Cyan by Jenifer" — tipografía propia (letra de Jenifer) */
@font-face {
  font-family: "CyanByJenifer";
  src: url("../fonts/CyanByJenifer.woff2") format("woff2"),
       url("../fonts/CyanByJenifer-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f3f1;
  --text: #0c0c0c;
  --muted: #5c5c58;
  --faint: rgba(12, 12, 12, 0.42);
  --line: rgba(12, 12, 12, 0.14);
  --line-strong: rgba(12, 12, 12, 0.28);

  --text-soft: #2b2b28;             /* texto de párrafos (Sobre mí, vídeo) */

  --cyan-primary: #1F4E79;
  --cyan-soft: #A9C3D9;


  --serif: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Modo oscuro ---------- */
:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-soft: #111110;
  --text: #ecebe7;
  --muted: #8f8f8a;
  --faint: rgba(236, 235, 231, 0.4);
  --line: rgba(236, 235, 231, 0.13);
  --line-strong: rgba(236, 235, 231, 0.26);
  --text-soft: #cfceca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;                 /* evita el scroll horizontal en móvil */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Títulos en Satoshi Black; el resto del texto queda en Satoshi normal.
   (No afecta a CYAN, que mantiene su tipografía propia.) */
body:not(.cyan) .section-title,
body:not(.cyan) .home-cta-title,
body:not(.cyan) .footer-cta,
body:not(.cyan) .tile .caption h3,
body:not(.cyan) .feat-sub,
body:not(.cyan) .legal h1,
body:not(.cyan) .sesion-block-head h2,
body:not(.cyan) .price-card-head h3 { font-weight: 900; letter-spacing: -0.015em; }

::selection { background: var(--cyan-primary); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Etiqueta / kicker recurrente */
.kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Número de índice editorial */
.index-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
}

/* ---------- Logotipo "CYAN by jenifer" ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 0.22em; white-space: nowrap; }
.wm-cyan {
  font-family: "CyanByJenifer", var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan-primary);
}
.wm-by {
  font-family: "CyanByJenifer", cursive;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.35em;
  line-height: 0;
  word-spacing: -0.18em;
  color: var(--cyan-primary);
}
/* En la página Cyan (fondo azul) el logotipo va en claro */
body.cyan .wm-cyan { color: #fff; }
body.cyan .wm-by { color: var(--cyan-soft); }

/* Logotipo dentro de un título de sección (portada) — tamaño contenido */
.section-title .wm-cyan { font-size: 1.7rem; }
.section-title .wm-by { font-size: 2.2rem; }

/* Logotipo grande (portada de Cyan) — en una línea, a la izquierda:
   CYAN y a continuación "by jenifer" */
.cyan-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  line-height: 1;
  margin: 20px 0 0;
}
.cyan-wordmark .wm-cyan {
  font-size: clamp(2.8rem, 10vw, 7rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #fff;
}
.cyan-wordmark .wm-by {
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--cyan-soft);
}

/* =========================================================
   Cabecera / navegación
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5ch;
}
.brand .brand-dot { color: var(--cyan-soft); }
body.cyan .brand .brand-dot { color: #fff; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

/* Botón menú (líneas, sin emoji) */
.nav-toggle {
  display: none;
  width: 34px; height: 24px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botón de tema claro/oscuro */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9em; height: 1.9em;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;                /* mismo tamaño que los enlaces del menú */
  transition: border-color 0.3s var(--ease), color 0.3s, transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: currentColor; color: var(--text); transform: rotate(-18deg); }
.theme-toggle svg { width: 1.05em; height: 1.05em; display: block; }
.nav-theme { display: flex; align-items: center; }

/* Grupo de acciones (cuenta, carrito, tema, hamburguesa) — siempre visible */
.nav-links { margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 28px; }

/* Sol en claro, luna en oscuro */
.theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: block; }

/* =========================================================
   Portada (hero) — editorial, alineada a la izquierda
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);   /* usa la altura real del viewport móvil */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(31,78,121,0.07), transparent 55%),
    radial-gradient(90% 70% at 8% 92%, rgba(31,78,121,0.05), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* Imagen de fondo de la portada */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.15));
}
/* Con imagen de fondo, el texto del hero va en blanco para que se lea */
.hero:has(.hero-media) h1,
.hero:has(.hero-media) .hero-kicker,
.hero:has(.hero-media) .hero-sub,
.hero:has(.hero-media) .hero-scroll { color: #fff; }
.hero:has(.hero-media) .hero-kicker::before,
.hero:has(.hero-media) .hero-scroll::after { background: rgba(255,255,255,0.7); }
.hero:has(.hero-media) .hero-sub { color: rgba(255,255,255,0.85); }
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-kicker::before {
  content: ""; width: 46px; height: 1px; background: var(--line-strong);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 7.6vw, 6.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero-sub {
  margin: 34px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.hero-scroll {
  position: absolute;
  bottom: 34px; left: var(--pad);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 26px;
  background: var(--line-strong);
  animation: scrollpulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollpulse {
  0%,100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   Secciones
   ========================================================= */
.section { padding: clamp(64px, 11vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.section-head .title-group { display: flex; align-items: baseline; gap: 20px; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
}
.section-note { color: var(--muted); font-size: 0.92rem; max-width: 34ch; text-align: right; }

/* Volver */
.back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 48px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.back::before { content: ""; width: 22px; height: 1px; background: currentColor; transition: width 0.3s var(--ease); }
.back:hover { color: var(--text); gap: 14px; }
.back:hover::before { width: 30px; }

/* =========================================================
   Rejilla de portadas / índice
   ========================================================= */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
  grid-template-columns: repeat(12, 1fr);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  isolation: isolate;
}
.tile .media { position: relative; overflow: hidden; }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(18%) brightness(0.82);
}
.tile:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(0.7); }

/* Superposición con título */
.tile .caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.12) 45%, transparent 75%);
  color: #fff;                       /* el texto va sobre la foto */
}
.tile .caption .top {
  position: absolute; top: clamp(18px, 2.4vw, 30px); left: clamp(18px, 2.4vw, 30px);
  right: clamp(18px, 2.4vw, 30px);
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255, 255, 255, 0.8);
}
.tile .caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  transform: translateY(8px);
  transition: transform 0.6s var(--ease);
}
.tile:hover .caption h3 { transform: translateY(0); }
.tile .caption .go {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile .caption .go::after { content: ""; width: 20px; height: 1px; background: currentColor; }
.tile:hover .caption .go { opacity: 1; transform: translateY(0); }

/* Proporciones y colocaciones */
.tile.ratio-4-3 .media { aspect-ratio: 4 / 3; }
.tile.ratio-3-4 .media { aspect-ratio: 3 / 4; }
.tile.ratio-1-1 .media { aspect-ratio: 1 / 1; }
.tile.ratio-16-9 .media { aspect-ratio: 16 / 9; }

.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.offset-down { margin-top: clamp(24px, 6vw, 90px); }

/* =========================================================
   Galería (masonry) + lightbox
   ========================================================= */
.gallery {
  columns: 3 300px;
  column-gap: clamp(16px, 2vw, 26px);
}
.gallery figure {
  margin: 0 0 clamp(16px, 2vw, 26px);
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-soft);
  filter: grayscale(12%) brightness(0.9);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); filter: grayscale(0%) brightness(1); }
.gallery figcaption { display: none; }

.gallery-empty {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 20px 0;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,6,6,0.94);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  padding: 5vh 6vw;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox .lb-btn {
  position: absolute;
  background: none; border: 0; color: #fff; cursor: pointer;
  opacity: 0.6; transition: opacity 0.25s;
  padding: 16px;
}
.lightbox .lb-btn:hover { opacity: 1; }
.lightbox .lb-close { top: 18px; right: 22px; font-size: 1.6rem; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
.lightbox .lb-count {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: var(--muted);
  font-size: 0.78rem; letter-spacing: 0.12em;
}

/* =========================================================
   Sobre mí
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
/* Sobre mí — todo el texto con la misma tipografía y tamaño */
.about-lead,
.about-body p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 0 20px;
}
.about-lead { margin-bottom: 20px; }
.about-lead em,
.about-body p:last-child {
  font-style: normal;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--text-soft);
}

.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(8%); }
.about-side .kicker { display: block; margin-bottom: 16px; }

.contact {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.contact a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), color 0.3s;
}
.contact a:hover { padding-left: 12px; }
.contact a .c-main { display: flex; flex-direction: column; gap: 4px; }
.contact a .c-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact a .c-value { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }
.contact a .c-arrow { color: var(--muted); transition: transform 0.3s var(--ease); }
.contact a:hover .c-arrow { transform: translate(4px,-4px); }

/* Formación */
.education { margin-top: 44px; }
.edu-title {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px;
}
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.edu-list li { position: relative; padding-left: 18px; }
.edu-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--cyan-primary);
}
.edu-name {
  font-family: var(--sans); font-weight: 500; font-size: 1.05rem; line-height: 1.4;
  margin: 0 0 4px; color: var(--text);
}
.edu-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* =========================================================
   Proyecto de vídeo
   ========================================================= */
.video-project { max-width: 960px; margin: 0 auto; }
.video-project .lede { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--text-soft); max-width: 60ch; margin: 22px 0 0; }
.video-cover { margin: 42px 0; border: 1px solid var(--line); overflow: hidden; }
.video-cover img { width: 100%; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border: 1px solid var(--line);
  margin: clamp(22px, 4vw, 38px) 0 42px;
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-top: 34px; border-top: 1px solid var(--line);
}
.video-meta .k { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.video-meta .v { margin: 0; font-family: var(--serif); font-size: 1.2rem; }

/* =========================================================
   Pie
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vw, 90px) 0 40px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-cta {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.015em; margin: 0;
}
.footer-cta a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.footer-cta a:hover { border-color: currentColor; }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links .ig-icon { width: 17px; height: 17px; flex: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.76rem; letter-spacing: 0.04em;
}
.footer-bottom span { color: var(--muted); }

/* =========================================================
   Cyan by Jenifer — tema de marca
   ========================================================= */
body.cyan {
  /* Cyan NO cambia: mantiene su tipografía original (Fraunces + Inter + tu letra) */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bg: var(--cyan-primary);
  --bg-soft: #1a3f61;
  --text: #eef4f9;
  --muted: var(--cyan-soft);
  --faint: rgba(169,195,217,0.55);
  --line: rgba(169, 195, 217, 0.28);
  --line-strong: rgba(169, 195, 217, 0.5);
}
body.cyan .brand,
body.cyan .nav-links a.active,
body.cyan .nav-links a:hover { color: #fff; }
/* La marca del menú mantiene la misma tipografía que en el resto (Butler) */
body.cyan .brand { font-family: "Butler", "Fraunces", Georgia, "Times New Roman", serif; }
body.cyan ::selection { background: var(--cyan-soft); color: var(--cyan-primary); }

.cyan-hero { padding: clamp(70px, 12vw, 150px) 0 clamp(30px, 5vw, 60px); }
.cyan-hero h1 { margin: 0; }
.cyan-hero .kicker { color: var(--cyan-soft); }
.cyan-lede {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.5; color: var(--cyan-soft);
  max-width: 30ch; margin: 34px 0 0;
}

.cyan-intro {
  padding: clamp(40px, 7vw, 90px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cyan-intro p {
  font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7;
  max-width: 64ch; margin: 0; color: #eef4f9;
}
.cyan-intro p .hl { color: var(--cyan-soft); font-style: italic; font-family: var(--serif); }

.cyan-process { padding: clamp(50px, 8vw, 110px) 0; }
.cyan-proc-title {
  font-family: "CyanByJenifer", var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff; margin: 0 0 clamp(30px, 5vw, 52px);
}

/* Línea de tiempo del proceso */
.cyan-timeline { position: relative; }
.cyan-tl-step {
  position: relative;
  display: grid; grid-template-columns: 22px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(40px, 6vw, 70px);
}
.cyan-tl-step:last-child { padding-bottom: 0; }
/* línea vertical que conecta los pasos */
.cyan-tl-step::before {
  content: ""; position: absolute; left: 10px; top: 12px; bottom: 0;
  width: 2px; background: var(--line-strong);
}
.cyan-tl-step:last-child::before { display: none; }
.cyan-tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan-soft); margin-top: 7px;
  position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--cyan-primary);
}
.cyan-tl-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cyan-tl-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1;
  color: var(--cyan-soft); letter-spacing: 0.01em;
}
.cyan-tl-body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.15; margin: 0; color: #fff;
}
.cyan-tl-body p {
  font-family: var(--sans); font-weight: 400;
  line-height: 1.8; margin: 0; color: #dbe7f1; max-width: 56ch;
}
.cyan-tl-media {
  margin-top: 20px; max-width: 480px; aspect-ratio: 16 / 10;
  overflow: hidden; border: 1px solid var(--line); border-radius: 4px;
}
.cyan-tl-media img { width: 100%; height: 100%; object-fit: cover; }

/* Cyan — el contenido usa las tipografías del logo
   (LEMON MILK para títulos/cuerpo, Shorelines Script para acentos) */
.cyan-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.55;
}
.cyan-intro p {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.7;
}
/* Acento normal (p. ej. "revela con el sol") */
.cyan-intro p .hl {
  color: var(--cyan-soft);
  font-style: italic;
  font-family: var(--serif);
}
/* "cianotipia" con tu letra */
.cyan-intro p .hl-hand {
  font-family: "CyanByJenifer", cursive;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.12em;
  color: var(--cyan-soft);
}

/* Cyan — galería de piezas de cianotipia */
.cyan-gallery {
  padding: clamp(50px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.cyan-gallery-title {
  font-family: "CyanByJenifer", var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  margin: 0 0 12px;
}
.cyan-gallery-note {
  font-family: "CyanByJenifer", var(--sans);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
  margin: 0 0 44px;
}

/* =========================================================
   Aparición al hacer scroll
   ========================================================= */
/* Entrada suave de la página (fade) */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.5s var(--ease) both; }

/* Fade de cada foto de la galería al cargar */
.gallery figure.fade { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.gallery figure.fade.in { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery figure.fade { opacity: 1; transform: none; transition: none; }
  body { animation: none; }
  .hero-scroll::after { animation: none; }
  * { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .section-note { display: none; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 6; }
  .offset-down { margin-top: 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-actions { gap: 8px; margin-left: 0; }
  /* Fondo oscurecido detrás del menú abierto */
  .site-header:has(.nav-links.open)::after {
    content: "";
    position: fixed; left: 0; right: 0; top: 76px; bottom: 0;
    background: rgba(0,0,0,0.42);
    z-index: 40;
  }

  /* Menú móvil como tarjeta flotante */
  .nav-links {
    position: fixed;
    inset: 84px 10px auto 10px;
    margin-left: 0;
    flex-direction: column;
    gap: 2px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.26s var(--ease), transform 0.30s var(--ease), visibility 0.30s;
    padding: 6px;
    z-index: 45;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 16px; font-size: 1.02rem; font-weight: 500;
    color: var(--text); border-radius: 9px;
  }
  .nav-links a::after {
    content: "→";
    position: static; width: auto; height: auto;
    background: none; transform: none; opacity: 0.32; font-size: 0.95em;
  }
  .nav-links a:hover, .nav-links a:active, .nav-links a.active { background: var(--bg-soft); }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after { opacity: 0.7; }

  .grid { grid-template-columns: 1fr; }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: 1 / -1; }
  .section-head { flex-direction: column; }
  .gallery { columns: 2 200px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { text-align: left; }
}

/* ---- Móvil: ajustes finos ---- */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section + .section { border-top: 1px solid var(--line); }

  /* Hero */
  .hero-kicker { margin-bottom: 18px; }
  .hero-kicker::before { width: 30px; }
  .hero-sub { font-size: 1rem; margin-top: 24px; }

  /* Logo Cyan: que pueda pasar a dos líneas si no cabe */
  .cyan-wordmark { flex-wrap: wrap; }

  /* Sobre mí: la foto no ocupa toda la pantalla */
  .about-photo { max-width: 360px; margin: 0 auto; }

  /* Contacto: el email largo no desborda */
  .contact a { flex-wrap: wrap; gap: 6px; padding: 16px 2px; }
  .contact a .c-value { font-size: 1rem; word-break: break-word; }

  /* Pies y meta de vídeo */
  .footer-cta { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .video-meta { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Lightbox: controles más grandes y fáciles de tocar */
  .lightbox { padding: 3vh 3vw; }
  .lightbox .lb-btn { padding: 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { font-size: 2.4rem; }
  .lightbox .lb-close { font-size: 2rem; top: 10px; right: 12px; }
}

@media (max-width: 460px) {
  .gallery { columns: 1; }
  .video-meta { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Cabecera compacta en pantallas muy pequeñas */
  .brand { font-size: 1.06rem; }
  .nav-actions { gap: 6px; }
  .hicon { width: 2em; height: 2em; }
  .theme-toggle { width: 2em; height: 2em; }
}

/* =========================================================
   Páginas legales
   ========================================================= */
.legal { max-width: 760px; }
.legal .legal-date { color: var(--muted); font-size: 0.85rem; margin: 4px 0 40px; }
.legal h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -0.01em;
  margin: 46px 0 14px;
}
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-soft); font-size: 0.98rem; line-height: 1.75; }
.legal ul { padding-left: 1.2em; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--cyan-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { opacity: 0.75; }
.legal strong { color: var(--text); }
.legal .placeholder { color: var(--cyan-primary); font-weight: 600; }
.legal .legal-note {
  background: rgba(31,78,121,0.07); border: 1px solid var(--cyan-soft);
  border-radius: 10px; padding: 16px 18px; margin: 24px 0; font-size: 0.94rem;
}
.legal .legal-note p { margin: 0; color: var(--text-soft); }
.legal .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 480px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--sans); font-weight: 600; color: var(--text); background: var(--bg-soft); }

/* Enlaces legales en el pie de página */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  margin-top: 24px;
}
.footer-legal a { color: var(--muted); font-size: 0.8rem; transition: color 0.3s; }
.footer-legal a:hover { color: var(--text); }

/* =========================================================
   Lote de diseño — transiciones, Ken Burns y blur-up
   ========================================================= */

/* Ken Burns: zoom lento en la imagen de portada */
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    transform-origin: 60% 40%;
    animation: kenburns 24s ease-out both;
    will-change: transform;
  }
}

/* Blur-up: las fotos de galería aparecen de un desenfoque a nítidas */
.gallery figure { overflow: hidden; }
.gallery figure.fade img {
  filter: blur(16px);
  transform: scale(1.06);
  transition: filter 0.9s var(--ease), transform 0.9s var(--ease);
}
.gallery figure.fade.in img { filter: blur(0); transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .gallery figure.fade img { filter: none; transform: none; transition: none; }
}

/* =========================================================
   Portada — sección de portadas con fondo + stickers
   ========================================================= */
.tiles-section { position: relative; overflow: hidden; isolation: isolate; }

/* Imagen de fondo detrás de los cuadros Fotografía / Vídeo */
.tiles-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/fondo/fondo.jpg") center / cover no-repeat;
}
/* Velo del color del tema para que los cuadros sigan legibles */
.tiles-bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0.72;
}
.tiles-section > .container { position: relative; z-index: 2; }

/* Stickers decorativos a los lados de los cuadros */
.deco-sticker {
  position: absolute; top: 50%; z-index: 3;
  width: clamp(78px, 11vw, 168px); height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.22));
}
.sticker-left  { left: clamp(24px, 6vw, 120px);  transform: translateY(-50%) rotate(-8deg); }
.sticker-right { right: clamp(24px, 6vw, 120px); transform: translateY(-50%) rotate(8deg); }


@media (max-width: 720px) {
  .deco-sticker { width: clamp(58px, 20vw, 96px); }
  .sticker-left  { top: 26%; left: -10px; }
  .sticker-right { top: auto; bottom: 12%; right: -10px; transform: rotate(8deg); }
}

/* =========================================================
   TIENDA — servicios, cianotipias, carrito y cuenta
   ========================================================= */

/* Botones genéricos */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.03em;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--text); background: transparent; color: var(--text);
  cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s, border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-primary { background: var(--cyan-primary); border-color: var(--cyan-primary); color: #fff; }
.btn-primary:hover { background: #17395a; border-color: #17395a; color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.76rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Iconos de la cabecera (carrito / cuenta) */
.hicon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1em; height: 2.1em; font-size: 0.82rem;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.hicon:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.hicon svg { width: 1.15em; height: 1.15em; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: none; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.66rem; font-weight: 600; line-height: 1;
  color: #fff; background: var(--cyan-primary); border-radius: 999px;
}
.cart-count.show { display: inline-flex; }
.nav-links li.nav-action { margin-left: 2px; }

/* Cabecera de la tienda */
.shop-intro { max-width: 60ch; }
.shop-intro p { color: var(--text-soft); font-size: 1.05rem; }

.shop-block { margin-top: clamp(48px, 8vw, 90px); }
.shop-block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding-bottom: 22px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.shop-block-head h2 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem); letter-spacing: -0.01em;
}

/* Servicios */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.svc-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--bg-soft);
  padding: clamp(22px, 2.6vw, 30px);
}
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 0 0 10px; }
.svc-card p { color: var(--text-soft); font-size: 0.96rem; margin: 0 0 20px; }
.svc-card .svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--serif); font-size: 1.3rem; color: var(--text); white-space: nowrap; }
.price .from { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }

/* Cianotipias (productos) */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.prod-card { display: flex; flex-direction: column; }
.prod-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); border: 1px solid var(--line); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.05); }
.prod-info { padding: 16px 2px 0; }
.prod-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.18rem; margin: 0 0 3px; }
.prod-info .prod-sub { color: var(--muted); font-size: 0.85rem; margin: 0 0 12px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-foot .price { font-size: 1.12rem; }

/* Velo/overlay compartido para carrito y modal */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.overlay.open { opacity: 1; visibility: visible; }

/* Carrito lateral */
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 70;
  width: min(420px, 92vw); height: 100%;
  background: var(--bg); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 50px rgba(0,0,0,0.22);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0; }
.cart-close, .modal-close {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 4px 6px; transition: color 0.3s;
}
.cart-close:hover, .modal-close:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--muted); text-align: center; padding: 48px 0; font-size: 0.95rem; }
.cart-line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 62px; height: 76px; object-fit: cover; background: var(--bg-soft); }
.cart-line .cl-name { font-family: var(--serif); font-size: 1.02rem; margin: 0 0 2px; }
.cart-line .cl-sub { color: var(--muted); font-size: 0.8rem; margin: 0 0 10px; }
.cart-line .cl-price { font-size: 0.9rem; color: var(--text-soft); }
.cart-line .cl-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cl-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.76rem; text-decoration: underline; padding: 0; }
.cl-remove:hover { color: var(--cyan-primary); }

/* Selector de cantidad */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 26px; height: 26px; background: none; border: none; color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; }
.qty button:hover { color: var(--cyan-primary); }
.qty span { min-width: 24px; text-align: center; font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.cart-total .ct-label { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.02em; }
.cart-total .ct-value { font-family: var(--serif); font-size: 1.6rem; }
.cart-note { color: var(--muted); font-size: 0.78rem; text-align: center; margin: 12px 0 0; }

/* Modal de login / registro */
.modal {
  position: fixed; z-index: 80; inset: 0;
  display: grid; place-items: center; padding: 5vh 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: min(430px, 100%);
  background: var(--bg); border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  transform: translateY(12px); transition: transform 0.35s var(--ease);
}
.modal.open .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 12px; right: 14px; }
.modal-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 0 0 4px; }
.modal-card .modal-sub { color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }
.auth-tabs { display: flex; gap: 4px; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: none; border-radius: 999px; cursor: pointer; color: var(--muted); font-family: var(--sans); font-size: 0.82rem; font-weight: 500; transition: background 0.3s, color 0.3s; }
.auth-tab.active { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem;
  color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--line-strong); border-radius: 8px; transition: border-color 0.3s;
}
.field input:focus { outline: none; border-color: var(--cyan-primary); }
.auth-msg { font-size: 0.84rem; margin: 4px 0 14px; min-height: 1.1em; }
.auth-msg.error { color: #c0392b; }
.auth-msg.ok { color: var(--cyan-primary); }
.auth-hidden { display: none; }
.account-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.account-line .al-email { font-size: 0.92rem; color: var(--text-soft); }

/* Aviso de configuración (modo demo) */
.demo-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(31,78,121,0.08); border: 1px solid var(--cyan-soft);
  color: var(--text-soft); font-size: 0.85rem; line-height: 1.5;
  padding: 14px 16px; border-radius: 10px; margin-top: 22px;
}
.demo-banner strong { color: var(--cyan-primary); }

/* Casilla de aceptación (condiciones / privacidad) */
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; line-height: 1.5; color: var(--text);
  cursor: pointer; margin: 6px 0 14px;
}
.consent input {
  margin-top: 2px; width: 16px; height: 16px; flex: none;
  accent-color: var(--cyan-primary); cursor: pointer;
}
body.cyan .consent input { accent-color: #fff; }
.consent a { color: var(--cyan-primary); text-decoration: underline; text-underline-offset: 2px; }
body.cyan .consent a { color: #fff; }
.consent.error span { color: #c0392b; }
body.cyan .consent.error span { color: #ffd2cc; }
.consent.error input { outline: 2px solid #c0392b; outline-offset: 2px; border-radius: 3px; }

/* Aviso emergente (toast) */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  z-index: 90; background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

body.no-scroll { overflow: hidden; }

/* Aviso "personalizable" en la tarjeta de producto */
.prod-badge {
  display: inline-block; margin: 0 0 10px; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan-primary); background: rgba(31,78,121,0.10);
  border: 1px solid var(--cyan-soft); border-radius: 999px; padding: 3px 10px;
}
body.cyan .prod-badge { color: #fff; background: rgba(255,255,255,0.12); border-color: var(--line-strong); }

/* Subida de fotos DENTRO del carrito (cianotipias personalizadas) */
.cl-thumbs { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.cl-thumbs .cth { position: relative; width: 34px; height: 42px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-soft); }
.cl-thumbs .cth img { width: 100%; height: 100%; object-fit: cover; }
.cl-thumbs .cth button {
  position: absolute; top: 1px; right: 1px; width: 14px; height: 14px;
  border: none; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff;
  font-size: 0.62rem; line-height: 1; cursor: pointer; padding: 0;
}
.cl-upload {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 0.76rem; color: var(--cyan-primary);
  border: 1px dashed var(--line-strong); border-radius: 6px; padding: 6px 10px;
  transition: border-color 0.3s;
}
.cl-upload:hover { border-color: var(--cyan-primary); }
body.cyan .cl-upload { color: var(--cyan-soft); }
body.cyan .cl-upload:hover { border-color: var(--cyan-soft); }
.cl-upload input { display: none; }
.cl-upload span::before { content: "↑ "; }
.cl-need { display: block; margin-top: 6px; font-size: 0.72rem; }
.cl-need.ok { color: var(--muted); }
.cl-need.warn { color: #c0392b; font-weight: 500; }
body.cyan .cl-need.warn { color: #ffd2cc; }
.cart-line.missing { outline: 1px solid rgba(192,57,43,0.55); outline-offset: 3px; border-radius: 4px; }
body.cyan .cart-line.missing { outline-color: rgba(255,210,204,0.6); }

/* Tienda dentro de la página Cyan (fondo azul) — contraste de botones/detalles */
body.cyan .btn-primary { background: #fff; border-color: #fff; color: var(--cyan-primary); }
body.cyan .btn-primary:hover { background: var(--cyan-soft); border-color: var(--cyan-soft); color: var(--cyan-primary); }
body.cyan .cart-count { background: #fff; color: var(--cyan-primary); }
body.cyan .auth-tabs { background: rgba(0,0,0,0.18); }
body.cyan .auth-tab.active { background: #fff; color: var(--cyan-primary); box-shadow: none; }
body.cyan .demo-banner { background: rgba(255,255,255,0.08); border-color: var(--line-strong); }
body.cyan .demo-banner strong { color: #fff; }
body.cyan .price .from { color: var(--cyan-soft); }
/* Texto de la tienda dentro de Cyan: tipografía de la página y color claro */
body.cyan .shop-block-head h2 {
  font-family: "CyanByJenifer", var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: #fff;
}
body.cyan .shop-intro p {
  font-family: var(--sans); font-weight: 400;
  color: #dbe7f1;
}
body.cyan .prod-info h3 { font-family: "CyanByJenifer", var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem; }

@media (max-width: 600px) {
  .cart-drawer { width: 100vw; }
}

/* Tarjeta de "Mi cuenta" */
.account-card {
  max-width: 430px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 38px);
}
.account-card .modal-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }

/* =========================================================
   Página de error 404
   ========================================================= */
.error-404 {
  text-align: center;
  max-width: 560px;
  margin: clamp(30px, 8vw, 100px) auto;
  padding: 20px 0;
}
.error-404 .err-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(5rem, 20vw, 11rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--cyan-primary);
}
.error-404 h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.4rem); margin: 8px 0 14px;
}
.error-404 p { color: var(--text-soft); font-size: 1.05rem; margin: 0 0 30px; }

/* "by jenifer" del logo se queda en minúscula cursiva */
.wm-by { text-transform: lowercase; }

/* Portada con logo (sustituye a la foto) — compacta */
.hero-logo {
  min-height: auto;
  padding: clamp(34px, 7vw, 76px) 0 clamp(28px, 5vw, 52px);
}
.hero-logo .container {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-logo-img {
  width: auto; height: auto;
  max-width: min(300px, 66vw);
  margin: 0 auto;
}
/* En modo oscuro, el logo negro se invierte a blanco para que se vea */
:root[data-theme="dark"] .hero-logo-img { filter: invert(1); }
.hero-logo .hero-kicker { margin: 20px 0 0; }
.hero-logo .hero-kicker::before { display: none; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); line-height: 1.4;
  color: var(--text-soft); margin: 16px auto 0; max-width: 26ch;
}
.hero-cue {
  display: inline-block; margin-top: 26px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s, transform 0.3s var(--ease);
}
.hero-cue:hover { color: var(--text); transform: translateY(2px); }
/* Tile centrado (p. ej. el Vídeo en Selected Work) */
.tile-center { grid-column: 3 / span 8; }
@media (max-width: 900px) { .tile-center { grid-column: 1 / -1; } }

/* =========================================================
   Sesiones y tarifas
   ========================================================= */
.sesiones-lead { max-width: 60ch; color: var(--text-soft); font-size: 1.08rem; line-height: 1.65; }
.sesion-block { margin-top: clamp(46px, 8vw, 88px); }
.sesion-block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.sesion-block-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0; }
.sesion-intro { color: var(--text-soft); font-size: 1rem; line-height: 1.6; max-width: 62ch; margin: 0 0 30px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.price-card { border: 1px solid var(--line); background: var(--bg-soft); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.price-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.price-card-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0; }
.price-card-head .price { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; color: var(--text); }
.price-card-head .price .from { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 5px; }
.price-desc { color: var(--text-soft); font-size: 0.96rem; line-height: 1.55; margin: 0 0 18px; }
.price-includes { list-style: none; padding: 0; margin: 0 0 16px; }
.price-includes li { position: relative; padding-left: 18px; color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; margin-bottom: 7px; }
.price-includes li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-soft); }
.price-extra { font-size: 0.84rem; color: var(--muted); margin: auto 0 0; padding-top: 8px; }
.sesion-note { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 20px 0 0; max-width: 66ch; }

/* Cómo funciona (pasos numerados) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(24px, 4vw, 38px); }
.steps li { position: relative; padding-left: 58px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); counter-increment: step;
  position: absolute; left: 0; top: -6px;
  font-family: var(--serif); font-size: 1.9rem; color: var(--cyan-soft);
}
.steps { counter-reset: step; }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 0 0 6px; }
.steps p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Tarjetas de precio sobre el fondo azul de CYAN */
body.cyan .sesiones-lead,
body.cyan .sesion-intro,
body.cyan .price-desc,
body.cyan .price-includes li,
body.cyan .price-extra,
body.cyan .sesion-note,
body.cyan .steps p { color: #d7e5f1; }
body.cyan .price-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.18); }
body.cyan .price-card-head h3,
body.cyan .price-card-head .price,
body.cyan .sesion-block-head h2,
body.cyan .steps h3 { color: #fff; }
body.cyan .price-includes li::before { background: var(--cyan-soft); }
body.cyan .sesion-block-head { border-color: rgba(255,255,255,0.18); }
body.cyan .steps li::before { color: var(--cyan-soft); }

/* Enlaces legales en el pie */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-legal a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.footer-legal a:hover { color: var(--text); text-decoration: underline; }
body.cyan .footer-legal { border-color: rgba(255,255,255,0.18); }
body.cyan .footer-legal a { color: #a9c3d9; }

/* Portfolio: presentación, CTAs y bloques de categoría */
.hero-intro { max-width: 48ch; margin: 16px auto 22px; color: var(--text-soft); font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.intro-note { color: var(--text-soft); font-size: 0.98rem; line-height: 1.55; margin: 0 0 24px; max-width: 46ch; }
.intro-grid.rev .intro-photo { order: 2; }
@media (max-width: 760px) { .intro-grid.rev .intro-photo { order: 0; } }
.op-cyan .btn.btn-ghost { border-color: rgba(255,255,255,0.5); color: #eef4f9; background: transparent; }
.op-cyan .btn.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Página Fotografía (descripción de categorías, sin precios) */
.feat-sub { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 4px 0 14px; color: var(--text); }
.feat-sub-mt { margin-top: 34px; }
.feat-lead { font-weight: 600; font-size: 0.98rem; margin: 4px 0 12px; }
.feat-cta { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--text); margin: 22px 0 20px; }
.feat-cols { columns: 2; column-gap: 44px; }
.feat-cols li { break-inside: avoid; }
@media (max-width: 560px) { .feat-cols { columns: 1; } }
.feat-more { margin-top: clamp(40px, 6vw, 72px); color: var(--muted); font-size: 0.9rem; }
.feat-more a { color: var(--text-soft); }

/* Footer: enlaces legales en línea (sin raya extra) */
.footer-legal-inline a { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.03em; margin-left: 16px; transition: color 0.3s; }
.footer-legal-inline a:first-child { margin-left: 0; }
.footer-legal-inline a:hover { color: var(--text); }
body.cyan .footer-legal-inline a { color: #a9c3d9; }

/* CTA de contacto en la home */
.home-cta { text-align: center; }
.home-cta-kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; color: var(--muted); margin: 0 0 10px; }
.home-cta-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 4vw, 2.6rem); line-height: 1.15; max-width: 24ch; margin: 0 auto; }

/* Descripción corta dentro del tile (página Fotografía) */
.tile .caption .tile-desc {
  margin: 8px 0 0; font-size: 0.9rem; line-height: 1.4;
  color: rgba(255, 255, 255, 0.92); max-width: 40ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.tile .caption h3 { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.fotografia-cta { margin-top: clamp(46px, 7vw, 84px); text-align: center; }
.fotografia-cta .cta-row { justify-content: center; }
/* Degradado algo más marcado en los tiles con descripción (legibilidad) */
.tile .caption:has(.tile-desc) { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.32) 42%, transparent 72%); }

/* =========================================================
   Encargo de cianotipía (formulario en la página CYAN)
   ========================================================= */
.encargo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
.encargo-info { color: #eef4f9; }
.encargo-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-soft); }
.encargo-info h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 10px 0; color: #fff; }
.encargo-price { font-size: 1.05rem; color: #d7e5f1; margin: 0 0 16px; }
.encargo-price strong { font-size: 1.7rem; color: #fff; }
.encargo-desc { color: #d7e5f1; line-height: 1.65; max-width: 44ch; }
.encargo-form { background: #fff; color: #0c0c0c; border-radius: 14px; padding: clamp(22px, 3vw, 32px); }
.encargo-form .field { margin-top: 14px; }
.encargo-form .field:first-of-type { margin-top: 0; }
.encargo-form .field label { display: block; color: #5c5c58; font-size: 0.8rem; font-weight: 500; margin-bottom: 6px; letter-spacing: 0.02em; }
.encargo-form input, .encargo-form textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem;
  color: #0c0c0c; background: #fff; border: 1px solid #d9d9d4; border-radius: 9px;
}
.encargo-form input:focus, .encargo-form textarea:focus { outline: none; border-color: var(--cyan-primary); }
.encargo-form textarea { resize: vertical; }
.encargo-drop { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed #c9c9c4; border-radius: 10px; padding: 24px; cursor: pointer; text-align: center; transition: border-color 0.3s, background 0.3s; }
.encargo-drop:hover { border-color: var(--cyan-primary); background: #f6f8fb; }
.encargo-drop.has-file { border-style: solid; border-color: var(--cyan-primary); background: #f2f7fb; }
.encargo-drop input { display: none; }
.encargo-drop-text { display: flex; flex-direction: column; gap: 2px; }
.encargo-drop-text strong { color: #0c0c0c; font-weight: 700; }
.encargo-drop-text small { color: #8a8a86; font-size: 0.78rem; }
.encargo-preview { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.encargo-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.encargo-preview-name { font-size: 0.84rem; color: #5c5c58; word-break: break-all; }
.encargo-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: #5c5c58; margin: 16px 0 4px; line-height: 1.45; }
.encargo-consent input { width: auto; margin-top: 2px; flex: none; }
.encargo-consent a { color: var(--cyan-primary); text-decoration: underline; }
.encargo-form .btn-primary { margin-top: 16px; background: var(--cyan-primary); border-color: var(--cyan-primary); color: #fff; }
.encargo-form .btn-primary:hover { background: #17395a; border-color: #17395a; }
.encargo-note { font-size: 0.76rem; color: #8a8a86; margin: 12px 0 0; text-align: center; line-height: 1.5; }
.encargo-note a { color: var(--cyan-primary); text-decoration: underline; }
/* Aviso "muy pronto" (tienda cerrada hasta el 14/09) */
.encargo-soon { text-align: center; max-width: 58ch; margin: clamp(30px,4vw,52px) auto 0; }
.encargo-soon-title { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: #fff; margin: 8px 0 14px; }
.encargo-soon-text { color: #d7e5f1; line-height: 1.65; }

.encargo-form .auth-msg { margin: 14px 0 0; }
.encargo-form .auth-msg.ok { color: #1a7f4b; }
.encargo-form .auth-msg.error { color: #c0392b; }
@media (max-width: 760px) { .encargo { grid-template-columns: 1fr; } }
/* Fuerza el formulario claro dentro de CYAN (gana a .field input/textarea) */
.encargo-form { background: #fff; }
.encargo-form .field input,
.encargo-form .field textarea {
  background: #fff; color: #0c0c0c; border: 1px solid #d9d9d4; border-radius: 9px;
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem;
}
.encargo-form .field textarea { resize: vertical; min-height: 84px; }
.encargo-form .field input::placeholder,
.encargo-form .field textarea::placeholder { color: #9a9a95; }
.encargo-form .field label { color: #5c5c58; text-transform: none; font-size: 0.8rem; }
.encargo-form .field input:focus,
.encargo-form .field textarea:focus { border-color: var(--cyan-primary); }
/* Botón de pago: azul relleno, letra blanca */
body.cyan .encargo-form .encargo-pay { margin-top: 6px; background: var(--cyan-primary); color: #fff; border: none; font-weight: 700; }
body.cyan .encargo-form .encargo-pay:hover { background: #17395a; color: #fff; }
/* Formulario más compacto */
.encargo-form { padding: clamp(20px, 2.4vw, 26px); }
.encargo-drop { padding: 18px; }

/* "Hola, soy Jenifer" (one-page) */
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-photo img { width: 100%; height: auto; display: block; }
.intro-text .kicker { margin-bottom: 12px; }
.intro-text .section-title { margin: 0; }
.intro-lead { color: var(--text-soft); font-size: 1.1rem; line-height: 1.6; margin: 22px 0 20px; max-width: 42ch; }
.intro-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--text); margin: 0 0 28px; }
@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-photo { max-width: 340px; }
}

/* Contacto */
.contact-layout {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 5vw, 64px); align-items: start;
}
.contact-lead { color: var(--text-soft); font-size: 1.05rem; line-height: 1.6; margin: 0 0 26px; max-width: 46ch; }
.field textarea, .c-select {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem;
  color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--line-strong); border-radius: 8px; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field textarea:focus, .c-select:focus { outline: none; border-color: var(--cyan-primary); }
.contact-side-title {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 6px 0 12px;
}

@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Versión "one-page" (todo en un scroll) ===== */
[id] { scroll-margin-top: 88px; }
.op-section + .op-section { border-top: 1px solid var(--line); }

/* CYAN dentro de la one-page (fondo azul, sin depender de body.cyan) */
.op-cyan { background: var(--cyan-primary); color: #eef4f9; }
.op-cyan .cyan-band-title { margin: 0 0 6px; }
.op-cyan .cyan-band-title .wm-cyan { font-size: clamp(2.4rem, 6vw, 4rem); }
.op-cyan .cyan-band-title .wm-by { font-size: clamp(3rem, 7vw, 5rem); }
.op-cyan .wm-cyan { color: #fff; }
.op-cyan .wm-by { color: var(--cyan-soft); }
.op-cyan .op-cyan-lede {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.5;
  color: var(--cyan-soft); max-width: 42ch; margin: 14px 0 clamp(34px, 6vw, 60px);
}
.op-cyan .cyan-intro { border: none; padding: 0; max-width: 64ch; margin: 0 0 clamp(34px, 6vw, 64px); }
.op-cyan .cyan-intro p {
  font-family: var(--serif); font-weight: 400; color: #eef4f9;
  line-height: 1.7; font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.op-cyan .cyan-tl-step::before { background: rgba(169,195,217,0.4); }
.op-cyan .cyan-tl-media { border-color: rgba(255,255,255,0.15); }
.op-cyan .btn { border-color: #fff; color: #fff; }
.op-cyan .btn:hover { background: #fff; color: var(--cyan-primary); }

@media (max-width: 640px) {
  .hero-logo { padding: 34px 0 26px; }
  .hero-logo-img { max-width: 62vw; }
}

/* ===== Pantalla de apertura con cuenta atrás (se muestra solo antes del lanzamiento) ===== */
#launch-gate { display: none; }
html.prelaunch { overflow: hidden; }
html.prelaunch #launch-gate {
  display: flex; position: fixed; inset: 0; z-index: 99999;
  align-items: center; justify-content: center;
  background: #f6f3ee; padding: 28px;
}
.lg-inner { width: 100%; max-width: 620px; text-align: center; }
.lg-logo { width: clamp(115px, 26vw, 165px); height: auto; margin: 0 auto clamp(22px, 4vw, 30px); }
.lg-phrase {
  font-family: var(--sans, system-ui, sans-serif); font-weight: 900;
  font-size: clamp(21px, 4.4vw, 42px); line-height: 1.18; letter-spacing: -0.02em;
  color: #141414; margin: 0 auto clamp(32px, 5vw, 44px); max-width: 15em;
  overflow-wrap: break-word;
}
.lg-count { display: flex; gap: clamp(6px, 2.5vw, 40px); justify-content: center; width: 100%; }
.lg-unit { flex: 1 1 0; min-width: 0; max-width: 120px; display: flex; flex-direction: column; align-items: center; }
.lg-num {
  font-family: var(--sans, system-ui, sans-serif); font-weight: 900;
  font-size: clamp(30px, 7.5vw, 64px); line-height: 1; color: #141414;
  font-variant-numeric: tabular-nums;
}
.lg-lab { margin-top: clamp(6px, 1.5vw, 9px); font-size: clamp(10px, 1.4vw, 12px); letter-spacing: 0.1em; text-transform: uppercase; color: #8a857d; }
.lg-foot { margin-top: clamp(30px, 4vw, 40px); font-size: clamp(11px, 1.5vw, 13px); letter-spacing: 0.13em; text-transform: uppercase; color: #a7a196; }
