/* Joselyn CR · estilos de la web (portada, páginas legales y 404): estilo editorial y minimalista de su portfolio de diseño.
   Marcellus + Cormorant Garamond + Montserrat, fondo gris cálido, líneas finas, órbitas, destellos y arcos. */

@font-face { font-family: "Marcellus"; src: url(../fonts/marcellus.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }

:root {
  --bg: #f0eeea;
  --bg-2: #e6e2dc;
  --paper: #f8f7f4;
  --ink: #2a2725;
  --ink-2: #5d5753;
  --ink-3: #8c847e;
  --line: rgba(42, 39, 37, .55);
  --hair: rgba(42, 39, 37, .16);
  --sage: #5f736e;
  --rose: #cd8f9a;
  --taupe: #a99b8d;
  --beige: #ddd3c6;
  --choco: #4a3b34;
  --light: #f3f1ed;

  --display: "Marcellus", "Times New Roman", serif;
  --elegant: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--beige); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--light); text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.12; }
.label { margin: 0; font-family: var(--display); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.label span { font-family: var(--sans); font-weight: 500; letter-spacing: .12em; color: var(--ink); }
.note-italic { margin: 0; font-family: var(--elegant); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--ink-2); }
.rule { height: 1px; margin: clamp(24px, 3vw, 38px) 0; border: 0; background: var(--line); }

/* Destellos, órbitas y anillos (los adornos del portfolio) */
.star { fill: var(--ink); animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .82; opacity: .55; } }
.orbit-word { position: relative; display: inline-block; white-space: nowrap; }
.orbit { position: absolute; left: -11%; top: -30%; width: 122%; height: 160%; color: var(--ink); pointer-events: none; overflow: visible; stroke-dasharray: 470; stroke-dashoffset: 0; }
.star-name { position: absolute; right: -.5em; top: -.3em; width: .42em; height: .42em; }
.rings { color: var(--ink); }

/* Botones y enlaces */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 400 12.5px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: translate .35s var(--ease); }
.btn:hover { background: var(--ink); color: var(--light); }
.btn:hover svg { translate: 4px 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 16px; text-decoration: none; transition: gap .3s var(--ease); }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { gap: 12px; }

/* ---------- Cabecera: «Joselyn CR ——— menú», como las páginas del portfolio ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(240, 238, 234, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-in { position: relative; display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.brand { font-family: var(--elegant); font-size: 29px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; }
.header-line { flex: 1; min-width: 40px; height: 1px; background: var(--line); }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; padding: 4px 0; font-family: var(--display); font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- 01 · Sobre mí ---------- */
.hero { position: relative; padding: clamp(20px, 3.5vw, 48px) 0 clamp(64px, 8vw, 110px); }
.side-label { position: absolute; left: clamp(8px, 1.4vw, 22px); top: 50%; display: flex; align-items: center; gap: 18px; margin: 0; translate: 0 -50%; rotate: 180deg; writing-mode: vertical-rl; white-space: nowrap; font-family: var(--display); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.side-label::after { content: ""; width: 1px; height: 90px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero-media { position: relative; margin: 0; }
.hero-img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 6px clamp(110px, 14vw, 190px) 6px 6px; background: var(--bg-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.star-hero { position: absolute; top: clamp(-40px, -3vw, -24px); right: clamp(-44px, -3.4vw, -26px); width: clamp(70px, 8vw, 112px); height: clamp(70px, 8vw, 112px); }
.hero-media .label { margin-top: 16px; }
.hero-title { margin: 18px 0 0; font-size: clamp(46px, 6.3vw, 86px); line-height: 1.08; }
.hero-cols { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 28px; }
.lead { margin: 0; font-family: var(--display); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.42; }
.hero-text { margin: 0; font-size: 14px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: clamp(28px, 3vw, 42px); }
.place { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; letter-spacing: .06em; color: var(--ink-2); }
.place svg { width: 17px; height: 17px; }

/* Cinta de texto entre líneas finas */
.ticker { overflow: hidden; padding: 15px 0; border-block: 1px solid var(--hair); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track > * { margin-right: 34px; }
.ticker-track span { font-family: var(--display); font-size: clamp(17px, 1.6vw, 20px); white-space: nowrap; }
.ticker-track svg { width: 13px; height: 13px; fill: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.section-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head-center { justify-content: center; text-align: center; }
.aside { margin: 0; font-size: 14px; color: var(--ink-2); }
.rings-head { position: absolute; right: 0; top: 50%; width: 120px; height: 52px; translate: 0 -50%; }

/* ---------- Mis vídeos: arcos 9:16 con aro fino ---------- */
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(50px, 5vw, 72px) clamp(26px, 4vw, 60px); max-width: 980px; margin: 0 auto; }
.video-card { text-align: center; }
.phone {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50% 50% 10px 10px / 28.125% 28.125% 1.8% 1.8%;
  outline: 1px solid var(--line);
  outline-offset: 7px;
  background: var(--bg-2);
  cursor: pointer;
  transition: outline-offset .45s var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; margin: auto; border-radius: 50%; background: rgba(240, 238, 234, .9); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: scale .45s var(--ease); }
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.phone:hover { outline-offset: 11px; }
.phone:hover img { transform: scale(1.05); }
.phone:hover .play { scale: 1.1; }
.video-card h3 { margin-top: 24px; font-size: 22px; }
.video-card p { margin: 2px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }

/* ---------- Estilos de vídeo: lista numerada con órbitas ---------- */
.estilos { padding-top: 0; }
.estilos-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.estilos-intro .note-italic { margin: 6px 0 22px; }
.estilos-text { max-width: 36ch; margin: 0 0 26px; color: var(--ink-2); }
.idiomas { margin: 0 0 30px; }
.idiomas .label { margin-bottom: 12px; }
.idiomas-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.idiomas-list li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--display); font-size: 15px; }
.idiomas-list em { font-family: var(--elegant); font-size: 18px; color: var(--ink-2); }
.idioma-code { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--light); font: 500 10.5px/1 var(--sans); letter-spacing: .1em; }
.estilos-list { display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.estilos-list li { display: flex; align-items: center; gap: 20px; padding: 19px 4px; border-bottom: 1px solid var(--hair); font-family: var(--display); font-size: clamp(17px, 1.6vw, 21px); }
.num { position: relative; min-width: 34px; font-family: var(--elegant); font-size: 23px; font-style: italic; line-height: 1; color: var(--ink-2); }
.num::before { content: ""; position: absolute; left: -7px; top: 50%; width: 24px; height: 15px; border: 1px solid var(--line); border-radius: 50%; translate: 0 -50%; rotate: -30deg; }

/* ---------- Lo que aporto: cajas de línea como «Mis funciones» ---------- */
.aporto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); max-width: 1000px; margin: 0 auto; }
.box { padding: 32px 28px 34px; border: 1px solid var(--line); border-radius: 22px; text-align: center; transition: background .4s var(--ease), translate .4s var(--ease); }
.box:hover { background: var(--paper); translate: 0 -4px; }
.box h3 { font-size: clamp(21px, 2vw, 25px); }
.box-icon { display: block; width: 52px; height: 52px; margin: 22px auto 18px; color: var(--ink); }
.box p { max-width: 28ch; margin: 0 auto; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Mi universo creativo: arcos con un arco de color detrás ---------- */
.universo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3.4vw, 44px); padding-top: 12px; }
.arch { margin: 0; text-align: center; }
.arch-img { position: relative; isolation: isolate; }
.arch-img::before { content: ""; position: absolute; inset: 0; z-index: -1; translate: 10px -10px; border-radius: 50% 50% 8px 8px / 40% 40% 2% 2%; background: var(--tone, var(--beige)); transition: translate .5s var(--ease); }
.arch-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 8px 8px / 40% 40% 2% 2%; }
.arch:hover .arch-img::before { translate: 16px -16px; }
.arch figcaption { margin-top: 20px; font-family: var(--display); font-size: 20px; }

/* ---------- 02 · Servicios: bloque rosa (texto en tinta: el blanco no llega a contraste suficiente sobre #cd8f9a) ---------- */
.servicios { background: var(--rose); color: var(--ink); }
.servicios .label { color: rgba(42, 39, 37, .72); }
.servicios .label span { color: var(--ink); }
.servicios-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.servicios-head h2 { margin-top: 14px; }
.rings-servicios { display: block; width: 150px; height: 66px; margin-top: 34px; color: rgba(42, 39, 37, .6); }
.servicios-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; margin: 0; padding: 0; list-style: none; }
.servicios-list li { display: flex; align-items: flex-start; gap: 18px; }
.icon-ring { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(42, 39, 37, .5); border-radius: 50%; }
.icon-ring svg { width: 24px; height: 24px; }
.servicios-list h3 { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; }
.servicios-list p { margin: 6px 0 0; font-size: 13.5px; color: rgba(42, 39, 37, .82); }
.servicios-note { grid-column: 1 / -1; margin: clamp(10px, 2vw, 24px) 0 0; padding-top: 22px; border-top: 1px solid rgba(42, 39, 37, .25); font-family: var(--elegant); font-size: 20px; font-style: italic; text-align: center; color: rgba(42, 39, 37, .85); }

/* ---------- Más trabajos: frase grande como las citas del portfolio ---------- */
.mas-in { position: relative; max-width: 900px; text-align: center; }
.mas-quote { max-width: 24ch; margin: 18px auto 32px; font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; }
.mas-file { margin: 14px 0 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.coil { position: absolute; left: var(--gutter); top: 50%; width: 56px; height: 66px; translate: 0 -50%; color: var(--ink); }
.star-mas { position: absolute; right: calc(var(--gutter) + 2%); top: 4%; width: 44px; height: 44px; }

/* ---------- Así trabajo ---------- */
.proceso { padding-top: 0; }
.proceso h2 { margin-bottom: clamp(38px, 5vw, 58px); text-align: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; height: 1px; background: var(--hair); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.steps .num { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); font-size: 25px; color: var(--ink); }
.steps .num::before { display: none; }
.step-t { font-family: var(--display); font-size: clamp(16px, 1.5vw, 19px); }

/* ---------- Contacto ---------- */
.contacto { padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--hair); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.3fr) minmax(0, .62fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.contacto-photo { overflow: hidden; margin: 0; aspect-ratio: 9 / 14; border-radius: 999px; background: var(--bg-2); }
.contacto-photo img { width: 100%; height: 100%; object-fit: cover; }
.contacto-copy { text-align: center; }
.contacto-copy h2 { font-size: clamp(36px, 4.8vw, 62px); }
.te-leo { margin: 8px 0 14px; font-family: var(--elegant); font-size: clamp(26px, 2.6vw, 34px); font-style: italic; color: var(--ink-2); }
.contacto-text { margin: 0; color: var(--ink-2); }
.contacto-links { display: grid; justify-items: center; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.contacto-links a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid transparent; font-size: 14.5px; text-decoration: none; transition: border-color .3s; }
.contacto-links a:hover { border-color: var(--line); }
.contacto-links svg { width: 19px; height: 19px; }
.firma { margin: 0; font-family: var(--elegant); font-size: 22px; font-style: italic; line-height: 1.3; color: var(--ink-2); }
.firma span { display: block; margin-top: 8px; font-size: 46px; font-style: normal; font-weight: 500; line-height: 1; color: var(--ink); }

/* ---------- Pie ---------- */
.site-footer { padding: 26px 0 34px; border-top: 1px solid var(--hair); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.site-footer .brand { font-size: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; font-family: var(--display); font-size: 13px; color: var(--ink-2); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ventana de vídeo ---------- */
.video-modal { overflow: visible; max-width: none; max-height: none; padding: 0; border: 0; background: transparent; }
.video-modal::backdrop { background: rgba(42, 39, 37, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-modal[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; scale: .94; translate: 0 18px; } to { opacity: 1; scale: 1; translate: 0 0; } }
.modal-phone { position: relative; width: min(86vw, 380px, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 24px; background: #111; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.modal-media { position: absolute; inset: 0; overflow: hidden; border-radius: 24px; }
.modal-media video, .modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-soon { position: absolute; left: 14px; right: 14px; bottom: 16px; padding: 18px 16px; border-radius: 16px; background: rgba(248, 247, 244, .94); text-align: center; font-size: 14px; color: var(--ink-2); }
.modal-soon strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--ink); }
.modal-soon a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink); font-weight: 500; text-decoration: none; }
.modal-soon a svg { width: 16px; height: 16px; }
.modal-close { position: absolute; top: -16px; right: -16px; z-index: 3; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); font: 300 26px/1 var(--sans); cursor: pointer; transition: rotate .35s var(--ease); }
.modal-close:hover { rotate: 90deg; }
.modal-title { margin: 16px 0 0; text-align: center; font-family: var(--display); font-size: 16px; letter-spacing: .04em; color: var(--light); }

/* ---------- Entradas al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; }
.js [data-reveal="right"] { translate: 36px 0; }
[data-reveal] { transition: opacity 1s var(--ease) calc(var(--d, 0) * 120ms), translate 1s var(--ease) calc(var(--d, 0) * 120ms), background .4s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal] .orbit { stroke-dashoffset: 470; }
.js .is-in .orbit { animation: draw 1.6s .5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .side-label { display: none; }
}

@media (max-width: 980px) {
  .hero-cols { grid-template-columns: 1fr; gap: 14px; }
  .estilos-grid, .servicios-grid { grid-template-columns: 1fr; }
  .universo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .contacto-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .firma { grid-column: 1 / -1; text-align: center; }
  .rings-servicios { display: none; }
}

@media (max-width: 820px) {
  .video-row { display: flex; gap: 22px; margin: 0 calc(var(--gutter) * -1); padding: 14px var(--gutter) 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .video-row::-webkit-scrollbar { display: none; }
  .video-card { flex: 0 0 min(62vw, 250px); scroll-snap-align: center; }
  .aporto-grid { grid-template-columns: 1fr; max-width: 460px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .rings-head { display: none; }
}

@media (max-width: 760px) {
  .burger { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .burger span { display: block; width: 18px; height: 1.2px; background: var(--ink); transition: translate .35s var(--ease), rotate .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { translate: 0 4.1px; rotate: 45deg; }
  .burger[aria-expanded="true"] span:last-child { translate: 0 -4.1px; rotate: -45deg; }
  .nav { position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; padding: 10px 18px; border: 1px solid var(--hair); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; translate: 0 -10px; transition: opacity .3s, translate .35s var(--ease), visibility 0s .35s; }
  .nav.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .35s var(--ease); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 17px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .brand { font-size: 26px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 420px); margin: 0 auto; }
  .star-hero { top: -20px; right: -6px; width: 58px; height: 58px; }
  .hero-cols { grid-template-columns: 1fr; gap: 14px; }
  .estilos-list { grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; }
  .servicios-list { grid-template-columns: 1fr; gap: 28px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-photo { width: min(60vw, 220px); margin: 0 auto; }
  .coil, .star-mas { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 14.5px; }
  .universo-grid { gap: 26px 18px; }
  .arch figcaption { margin-top: 14px; font-size: 17px; }
  .arch-img::before { translate: 7px -7px; }
  .box { padding: 28px 22px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js [data-reveal] .orbit { stroke-dashoffset: 0; }
}

/* ---------- Páginas legales y 404 ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14.5px; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.back svg { width: 17px; height: 17px; rotate: 180deg; }
.back:hover { color: var(--ink); }
.legal { padding: clamp(30px, 5vw, 64px) 0 clamp(70px, 8vw, 110px); }
.legal-card { max-width: 780px; margin: 0 auto; }
.legal-card h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.1; }
.legal-card .updated { margin: 10px 0 34px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-3); }
.legal-card h2 { margin: 40px 0 10px; font-size: clamp(22px, 2.4vw, 28px); }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card ul { padding-left: 1.2em; }
.legal-card a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.legal-card strong { font-weight: 500; color: var(--ink); }
.pendiente { padding: 0 .3em; border-radius: 3px; background: #f1e2ae; color: #5e4a00; font-weight: 500; }
.lost { display: grid; place-items: center; min-height: 70vh; padding: 40px 0 80px; text-align: center; }
.lost h1 { font-size: clamp(90px, 18vw, 170px); line-height: .9; }
.lost .note-italic { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 42px); }
.lost p { margin: 0 0 28px; color: var(--ink-2); }
