/* =========================================================
   Rocio Monge · Productora de eventos
   Hoja de estilos principal
   ========================================================= */

/* ---------- Tipografías de marca ----------
   Coloca los archivos de fuente en /fonts (ver fonts/LEEME.txt).
   Mientras no estén, el sitio usa Instrument Serif y Outfit como respaldo. */
@font-face {
  font-family: "Bonny";
  src: local("Bonny Variable"), local("Bonny-Variable"), local("BonnyVariable"),
       url("../../fonts/Bonny-Variable.woff2") format("woff2"),
       url("../../fonts/Bonny-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MADE Tommy";
  src: local("MADE Tommy"), local("MADETOMMY"), local("MADE TOMMY Regular"),
       url("../../fonts/MADETommy-Regular.woff2") format("woff2"),
       url("../../fonts/MADETommy-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "MADE Tommy";
  src: local("MADE Tommy Medium"), local("MADETOMMY-Medium"),
       url("../../fonts/MADETommy-Medium.woff2") format("woff2"),
       url("../../fonts/MADETommy-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "MADE Tommy";
  src: local("MADE Tommy Bold"), local("MADETOMMY-Bold"),
       url("../../fonts/MADETommy-Bold.woff2") format("woff2"),
       url("../../fonts/MADETommy-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta del manual de marca */
  --white: #ffffff;
  --blush: #FCE2E2;
  --rose: #EE9FAF;
  --raspberry: #BB5066;
  --wine: #8E2940;
  --bordeaux: #611F2E;

  --ink: #611F2E;
  --ink-soft: #7a4652;
  --line: rgba(97, 31, 46, .12);
  --line-strong: rgba(97, 31, 46, .22);

  --glass: rgba(255, 255, 255, .56);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-blur: blur(20px) saturate(170%);
  --shadow-soft: 0 24px 60px -28px rgba(142, 41, 64, .35), 0 2px 8px rgba(142, 41, 64, .05);
  --shadow-lift: 0 34px 80px -30px rgba(142, 41, 64, .45), 0 4px 14px rgba(142, 41, 64, .08);

  --f-title: "Bonny", "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-text: "MADE Tommy", "Outfit", "Poppins", system-ui, sans-serif;

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --arch: 999px 999px var(--r-lg) var(--r-lg);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rose); color: var(--bordeaux); }

h1, h2, h3, h4, .display {
  font-family: var(--f-title);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.005em;
  margin: 0 0 .4em;
  color: var(--bordeaux);
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 9.5vw, 8.8rem); }
h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.02; }
h4 { font-size: 1.35rem; line-height: 1.1; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.section-head p { margin: 0; }
.kicker { font-weight: 500; color: var(--raspberry); font-size: 1rem; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--bordeaux); color: var(--white); padding: 10px 18px; border-radius: 999px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fondo ambiental (da vida al vidrio) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform;
}
.ambient .a1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: var(--blush); opacity: .9; }
.ambient .a2 { width: 32vw; height: 32vw; right: -8vw; top: 24vh; background: var(--rose); opacity: .28; }
.ambient .a3 { width: 38vw; height: 38vw; left: 30vw; bottom: -18vw; background: var(--blush); opacity: .7; }

/* ---------- Vidrio ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.glass-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
/* Reflejo que sigue al cursor */
.glass-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .9), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.glass-card:hover::after { opacity: 1; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--bordeaux); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 1rem; line-height: 1;
  overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
  box-shadow: 0 12px 30px -14px rgba(97, 31, 46, .7);
}
.btn::before { /* destello */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(97, 31, 46, .8); background: var(--wine); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); transition: transform .45s var(--ease); }
.btn:hover .dot { transform: scale(1.6); }
.btn-glass {
  --bg: rgba(255, 255, 255, .6); --fg: var(--bordeaux);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-soft);
}
.btn-glass:hover { background: var(--white); }
.btn-light { --bg: var(--white); --fg: var(--bordeaux); }
.btn-light:hover { background: var(--blush); }
.btn-sm { padding: 11px 18px; font-size: .95rem; }

.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-underline:hover { background-size: 100% 1.5px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(252, 226, 226, .6); border: 1px solid rgba(238, 159, 175, .45);
  color: var(--wine); font-size: .92rem; font-weight: 500; line-height: 1.2;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1240px, 100% - 28px); margin-inline: auto; padding: 8px 8px 8px 18px; border-radius: 999px;
  transition: background .4s, box-shadow .4s, padding .4s var(--ease);
}
.site-header.scrolled .nav { background: var(--glass-strong); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--bordeaux); }
.brand svg { width: 30px; height: auto; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: grid; line-height: .95; }
.brand-text b { font-family: var(--f-text); font-weight: 700; font-size: .98rem; letter-spacing: .04em; }
.brand-text small { font-size: .66rem; letter-spacing: .02em; color: var(--raspberry); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .98rem;
  transition: background .3s, color .3s;
}
.nav-links a:hover { background: rgba(252, 226, 226, .8); }
.nav-links a[aria-current="page"] { background: var(--white); color: var(--wine); box-shadow: 0 6px 18px -10px rgba(142, 41, 64, .5); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bordeaux); border-radius: 2px; transition: transform .4s var(--ease); }
.menu-toggle span { top: 19px; }
.menu-toggle span::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-open .menu-toggle span { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span::before { transform: translateY(-7px) rotate(-90deg); }

.mobile-menu {
  position: fixed; inset: 76px 14px auto; z-index: 89; padding: 14px; border-radius: var(--r-lg);
  display: grid; gap: 4px; opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.mobile-menu a { font-family: var(--f-title); font-weight: 700; font-size: 2.1rem; padding: 8px 14px; border-radius: var(--r-md); }
.mobile-menu a[aria-current="page"] { background: var(--white); color: var(--wine); }
.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Hero (inicio) ---------- */
.hero { position: relative; height: 230vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; }
.hero-copy { transform: translate3d(0, calc(var(--p, 0) * -90px), 0); opacity: calc(1 - var(--p, 0) * 2.2); }
.hero-copy h1 { font-size: clamp(4.2rem, 11.5vw, 10.5rem); line-height: .84; margin-bottom: .18em; letter-spacing: .005em; }
.hero-copy h1 .role { display: block; font-family: var(--f-text); font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: .02em; color: var(--raspberry); line-height: 1.3; margin-top: 18px; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage { position: relative; aspect-ratio: 1; width: min(560px, 100%); justify-self: center;
  transform: translate3d(calc(var(--p, 0) * var(--stage-x, -24vw)), calc(var(--p, 0) * -9vh), 0) scale(calc(1 - var(--p, 0) * .28)); }
.ring {
  position: absolute; border-radius: 50%; inset: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .8), rgba(252, 226, 226, .35) 60%, rgba(238, 159, 175, .18));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 #fff;
}
.ring.r2 { inset: 12%; transform: scale(calc(1 + var(--p, 0) * .5)); background: rgba(255, 255, 255, .45); }
.ring.r1 { transform: scale(calc(1 + var(--p, 0) * 1.3)); opacity: calc(1 - var(--p, 0) * 1.1); }
.medallion {
  position: absolute; inset: 24%; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow-lift);
  transform: scale(calc(1 + var(--p, 0) * .35)) rotate(calc(var(--p, 0) * -8deg));
}
.medallion svg.mono { width: 46%; height: auto; }
.slogan-ring { position: absolute; inset: 15%; animation: spin 38s linear infinite; }
.slogan-ring text { font-family: var(--f-text); font-weight: 500; font-size: 15.5px; letter-spacing: .22em; fill: var(--wine); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-tag {
  position: absolute; padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .92rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  animation: bob 6s var(--ease-soft) infinite;
}
.float-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--raspberry); }
.float-tag.t1 { top: 6%; left: -4%; transform: translate3d(calc(var(--p, 0) * -160px), calc(var(--p, 0) * -120px), 0); }
.float-tag.t2 { top: 38%; right: -8%; animation-delay: -2s; transform: translate3d(calc(var(--p, 0) * 180px), calc(var(--p, 0) * -40px), 0); }
.float-tag.t3 { bottom: 10%; left: 2%; animation-delay: -4s; transform: translate3d(calc(var(--p, 0) * -120px), calc(var(--p, 0) * 140px), 0); }
.float-tag.t4 { bottom: -2%; right: 12%; animation-delay: -3s; transform: translate3d(calc(var(--p, 0) * 140px), calc(var(--p, 0) * 160px), 0); }
@keyframes bob { 50% { translate: 0 -8px; } }

.hero-outro {
  position: absolute; inset: auto 0 12vh; text-align: center; pointer-events: none;
  opacity: clamp(0, calc((var(--p, 0) - .55) * 4), 1);
  transform: translate3d(0, calc((1 - var(--p, 0)) * 60px), 0);
}
.hero-outro p { font-family: var(--f-title); font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1; margin: 0 auto; max-width: none; color: var(--bordeaux); }
.hero-outro p + p { color: var(--raspberry); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 8px;
  font-size: .82rem; color: var(--ink-soft); opacity: calc(1 - var(--p, 0) * 5);
}
.scroll-hint span { width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--raspberry); translate: -50% 0; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Frase que se enciende con el scroll ---------- */
.statement { height: 220vh; position: relative; }
.statement-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.statement p {
  font-family: var(--f-title); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 5rem); line-height: 1.05;
  max-width: 20ch; margin: 0; text-align: center;
}
.statement .w { color: rgba(238, 159, 175, .45); transition: color .5s var(--ease); }
.statement .w.on { color: var(--bordeaux); }

/* ---------- Acerca de ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.portrait { position: sticky; top: 110px; container-type: inline-size; }
.panel-sub { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.4; max-width: none; }
.panel-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--rose); }
/* ---------- Foto que sale del círculo ---------- */
.pop { position: relative; width: 100%; aspect-ratio: 1 / 1.12; }
.pop-orb, .pop-glow, .pop-ring, .pop-arc { position: absolute; left: 50%; border-radius: 50%; }
.pop-orb {
  width: 78cqw; height: 78cqw; bottom: 4cqw; margin-left: -39cqw; overflow: hidden;
  background: radial-gradient(circle at 32% 26%, #fff 0%, var(--blush) 38%, var(--rose) 100%);
  box-shadow: 0 50px 90px -40px rgba(142, 41, 64, .6), inset 0 -30px 60px -20px rgba(187, 80, 102, .45), inset 0 2px 0 #fff;
  transform: scale(.55); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s var(--ease);
}
.pop-mono { position: absolute; right: 8%; top: 12%; width: 34%; opacity: .5; transform: rotate(-8deg); }
.pop-glow { width: 64cqw; height: 64cqw; bottom: 11cqw; margin-left: -32cqw; background: var(--rose); filter: blur(60px); opacity: 0; transition: opacity 1.4s var(--ease) .3s; }
.pop-ring { width: 90cqw; height: 90cqw; bottom: -2cqw; margin-left: -45cqw; opacity: 0; transition: opacity 1s var(--ease) .4s; animation: spin 90s linear infinite; }
.pop-arc { width: 90cqw; height: 90cqw; bottom: -2cqw; margin-left: -45cqw; transform: rotate(-150deg); }
.pop-arc circle { stroke-dashoffset: 26; transition: stroke-dashoffset 1.6s var(--ease) .6s; }
/* La foto: arriba del centro del círculo se ve completa; debajo, solo dentro del círculo */
.pop-cut {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, #000), radial-gradient(circle 39cqw at 50% calc(100% - 43cqw), #000 99.4%, transparent 100%);
  mask-image: linear-gradient(#000, #000), radial-gradient(circle 39cqw at 50% calc(100% - 43cqw), #000 99.4%, transparent 100%);
  -webkit-mask-size: 100% calc(100% - 43cqw), 100% 100%; mask-size: 100% calc(100% - 43cqw), 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: top, center; mask-position: top, center;
}
.pop-img { position: absolute; left: 50%; bottom: 4cqw; width: 96cqw; margin-left: -48cqw; display: block;
  transform: translate3d(0, 34%, 0) scale(.94); opacity: 0;
  transition: transform 1.5s var(--ease) .25s, opacity .7s var(--ease) .25s; }
.pop-img img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(97, 31, 46, .28)); }
.pop-dot { position: absolute; border-radius: 50%; opacity: 0; transition: opacity 1s var(--ease) .9s; }
.pop-dot.d1 { width: 5cqw; height: 5cqw; left: 3cqw; top: 36cqw; background: var(--bordeaux); }
.pop-dot.d2 { width: 11cqw; height: 11cqw; right: 1cqw; top: 22cqw; background: linear-gradient(140deg, var(--blush), var(--rose)); box-shadow: var(--shadow-soft); }
.pop-dot.d3 { width: 7cqw; height: 7cqw; left: 12cqw; bottom: 14cqw; border: 1.5px solid var(--raspberry); }
.pop-spark { position: absolute; opacity: 0; transform: scale(0) rotate(-45deg); transition: transform 1s var(--ease) 1.1s, opacity .5s 1.1s; }
.pop-spark.s1 { width: 6cqw; left: 16cqw; top: 14cqw; }
.pop-spark.s2 { width: 4cqw; right: 16cqw; top: 8cqw; transition-delay: 1.3s; }
.pop-badge { position: absolute; left: 4cqw; bottom: 26cqw; width: 15cqw; height: 15cqw; min-width: 54px; min-height: 54px; border-radius: 50%; display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease) 1s, transform 1s var(--ease) 1s; }
.pop-badge svg { width: 42%; }
.portrait.in .pop-orb { transform: none; opacity: 1; }
.portrait.in .pop-glow { opacity: .45; }
.portrait.in .pop-ring, .portrait.in .pop-dot { opacity: 1; }
.portrait.in .pop-arc circle { stroke-dashoffset: 0; }
.portrait.in .pop-img { transform: translate3d(0, var(--lift, 0px), 0); opacity: 1; }
.portrait.in .pop-spark { opacity: 1; transform: none; animation: twinkle 3.6s ease-in-out 2.2s infinite; }
.portrait.in .pop-badge { opacity: 1; transform: none; }
.portrait:hover .pop-orb { transform: scale(1.03); }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .6; } }
.portrait-card { position: absolute; right: -28px; bottom: -2cqw; z-index: 2; padding: 16px 20px; border-radius: var(--r-md); max-width: 240px; background: rgba(255, 255, 255, .88);
  opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) 1.2s, transform 1s var(--ease) 1.2s; }
.portrait.in .portrait-card { opacity: 1; transform: none; }
.portrait-card strong { display: block; font-family: var(--f-title); font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.portrait-card span { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; display: block; }
.about-copy > p { color: var(--ink-soft); font-size: 1.1rem; }
.about-copy > h2 + p { color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; }
.values { margin: 34px 0 44px; }
.values .chip { background: var(--white); border-color: var(--line); color: var(--bordeaux); }
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.skill { padding: 22px; border-radius: var(--r-md); }
.skill h3 { font-size: 1.45rem; margin-bottom: 6px; }
.skill p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.vm article { padding: 26px; border-radius: var(--r-lg); }
.vm article:last-child { background: var(--bordeaux); color: var(--blush); border-color: transparent; }
.vm article:last-child h3 { color: var(--white); }
.vm article:last-child p { color: var(--blush); }
.vm p { margin: 0; font-size: .98rem; }

/* ---------- Galería horizontal de proyectos ---------- */
.showcase { position: relative; }
.showcase-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; gap: 36px; }
.showcase-track { display: flex; gap: 28px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; width: max-content; }
.showcase-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.showcase-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--rose), var(--raspberry)); transform-origin: left; transform: scaleX(var(--hp, 0)); }

.p-card { display: block; width: clamp(280px, 30vw, 390px); flex: none; }
.showcase .p-card { width: clamp(240px, min(30vw, calc((100vh - 400px) * .8)), 380px); }
.showcase .section-head h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 0; }
.showcase-sticky { padding-top: 70px; }
.p-card .art {
  aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; position: relative;
  box-shadow: var(--shadow-soft); transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.p-card .art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.p-card:hover .art { box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.p-card:hover .art svg { transform: scale(1.06); }
.p-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.p-card h3 { margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.p-card .rubro { font-size: .9rem; color: var(--raspberry); font-weight: 500; white-space: nowrap; }
.p-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: .98rem; }
.p-card .open {
  position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .7); color: var(--bordeaux);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .8);
  transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.p-card:hover .open, .p-card:focus-visible .open { transform: none; opacity: 1; }
.showcase-end { width: clamp(260px, 26vw, 340px); flex: none; align-self: center; display: grid; gap: 18px; padding: 32px; border-radius: var(--r-lg); }
.showcase-end h3 { margin: 0; }

/* ---------- Servicios (tarjetas) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.service .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blush), #fff); color: var(--wine); border: 1px solid rgba(238, 159, 175, .5);
  transition: transform .6s var(--ease), background .4s;
}
.service:hover .ico { transform: rotate(-8deg) scale(1.06); background: linear-gradient(150deg, var(--rose), var(--blush)); }
.service h3 { margin: 6px 0 0; font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.service p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.service ul { display: grid; gap: 8px; margin-top: 4px; }
.service li { display: flex; gap: 10px; font-size: .95rem; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); margin-top: .62em; }
.service .ideal { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.service .ideal b { color: var(--wine); font-weight: 500; }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--bordeaux); color: var(--blush); padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px); isolation: isolate; }
.cta-band .pattern { position: absolute; inset: -20%; z-index: -1; opacity: .16; }
.cta-band h2 { color: var(--white); max-width: 14ch; }
.cta-band p { color: var(--blush); max-width: 46ch; font-size: 1.12rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-band .glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: var(--raspberry); filter: blur(90px); opacity: .55; z-index: -1; }
.cta-band .mono-float { position: absolute; right: clamp(20px, 8vw, 120px); bottom: -40px; width: clamp(160px, 22vw, 300px); opacity: .9; z-index: -1; }

/* ---------- Pie de página ---------- */
.site-footer { padding: 90px 0 36px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h4 { font-family: var(--f-text); font-size: .95rem; font-weight: 700; margin-bottom: 16px; color: var(--wine); letter-spacing: .01em; }
.footer-top li + li { margin-top: 8px; }
.footer-top a { color: var(--ink-soft); transition: color .3s; }
.footer-top a:hover { color: var(--bordeaux); }
.footer-brand p { color: var(--ink-soft); max-width: 34ch; margin-top: 16px; }
.footer-word {
  font-family: var(--f-title); font-weight: 700; font-size: clamp(4rem, 17vw, 16rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.2px var(--rose); white-space: nowrap; margin: 70px 0 30px; user-select: none;
  text-align: center;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--wine); transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--blush); transform: translateY(-3px); }

/* ---------- Botón flotante de contacto ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; font-weight: 500; cursor: pointer; color: var(--bordeaux);
  transform: translateY(120px); transition: transform .6s var(--ease);
}
.fab.show { transform: none; }
.fab .pulse { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--bordeaux); display: grid; place-items: center; color: var(--white); }
.fab .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--rose); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Panel de contacto ---------- */
.contact-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(97, 31, 46, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.contact-panel {
  position: fixed; z-index: 121; top: 12px; right: 12px; bottom: 12px; width: min(520px, 100% - 24px);
  border-radius: var(--r-xl); overflow: auto; overscroll-behavior: contain; padding: 30px clamp(22px, 4vw, 38px) 34px;
  background: rgba(255, 255, 255, .86);
  transform: translateX(calc(100% + 30px)); transition: transform .7s var(--ease), visibility 0s .7s; visibility: hidden;
}
.contact-open .contact-overlay { opacity: 1; pointer-events: auto; }
.contact-open .contact-panel { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
.contact-open { overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 8px; }
.panel-head h2 { font-size: clamp(2.4rem, 5vw, 3.2rem); margin: 0; }
.close-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.close-btn:hover { transform: rotate(90deg); background: var(--blush); }
.quick-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 26px; }
.quick-contact a { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--r-md); background: rgba(252, 226, 226, .55); border: 1px solid rgba(238, 159, 175, .35); font-size: .88rem; font-weight: 500; color: var(--wine); transition: transform .4s var(--ease), background .3s; }
.quick-contact a:hover { transform: translateY(-3px); background: var(--blush); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--wine); padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background-color: rgba(255, 255, 255, .85);
  transition: border-color .3s, box-shadow .3s, background-color .3s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--raspberry); box-shadow: 0 0 0 4px rgba(238, 159, 175, .35); background-color: var(--white); }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field .err { font-size: .82rem; color: #b3261e; min-height: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.type-options { display: flex; flex-wrap: wrap; gap: 8px; }
.type-options input { position: absolute; opacity: 0; pointer-events: none; }
.type-options label {
  cursor: pointer; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: .9rem; font-weight: 500; color: var(--ink); transition: all .35s var(--ease);
}
.type-options label:hover { border-color: var(--rose); }
.type-options input:checked + label { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--white); transform: scale(1.03); }
.type-options input:focus-visible + label { outline: 3px solid var(--rose); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form .btn { width: 100%; padding: 17px; }
.form-fields { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.form-fields:disabled { opacity: .75; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.counter { font-size: .78rem; color: var(--ink-soft); white-space: nowrap; transition: color .3s; }
.counter.near { color: var(--raspberry); }
.field.valid input { border-color: rgba(187, 80, 102, .5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BB5066' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field.invalid input, .field.invalid textarea { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.btn-submit .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.sending .btn-submit .spinner { display: block; }
.sending .btn-submit .dot { display: none; }
.form-state { display: none; text-align: center; padding: 18px 4px 6px; outline: none; }
.form-state h3 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.state-text { margin: 0 auto 18px; color: var(--ink-soft); max-width: 42ch; }
.state-text[data-mode-text] { display: none; }
.mode-sent [data-mode-text="sent"], .mode-mailto [data-mode-text="mailto"] { display: block; }
.form-state .check, .form-state .warn { width: 76px; height: 76px; margin: 0 auto 16px; }
.form-state .check circle, .form-state .warn circle { stroke-dasharray: 240; stroke-dashoffset: 240; }
.form-state .check path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.form-state .warn path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.sent .form-success .check circle, .failed .form-error .warn circle { animation: draw 1s var(--ease) forwards; }
.sent .form-success .check path, .failed .form-error .warn path { animation: draw .6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent .form, .failed .form { display: none; }
.sent .form-success, .failed .form-error { display: block; animation: stateIn .7s var(--ease); }
@keyframes stateIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; text-align: left; }
.summary:empty { display: none; }
.summary div { padding: 12px 14px; border-radius: 14px; background: rgba(252, 226, 226, .6); border: 1px solid rgba(238, 159, 175, .4); }
.summary dt { font-size: .76rem; color: var(--raspberry); font-weight: 500; }
.summary dd { margin: 2px 0 0; font-weight: 500; font-size: .92rem; }
.next-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; text-align: left; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; opacity: 0; animation: stateIn .6s var(--ease) forwards; }
.next-steps li:nth-child(1) { animation-delay: .5s; } .next-steps li:nth-child(2) { animation-delay: .62s; } .next-steps li:nth-child(3) { animation-delay: .74s; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bordeaux); color: #fff; font-family: var(--f-title); font-weight: 700; }
.next-steps b { font-weight: 500; }
.next-steps span { font-size: .9rem; color: var(--ink-soft); }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 640px) { .summary { grid-template-columns: 1fr; } }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { padding: clamp(150px, 20vw, 220px) 0 clamp(50px, 8vw, 90px); position: relative; }
.page-hero h1 { margin-bottom: .22em; }
.page-hero .lead { margin: 0; }
.page-hero .deco {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 130px; width: clamp(120px, 18vw, 240px); opacity: .9;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--rose); }
.breadcrumb a:hover { color: var(--bordeaux); }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%; }
.filters button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); transition: background .35s var(--ease), color .3s;
}
.filters button:hover { color: var(--bordeaux); }
.filters button[aria-pressed="true"] { background: var(--bordeaux); color: var(--white); }
[data-item] { transition: opacity .5s var(--ease), transform .6s var(--ease); }
[data-item].is-hidden { display: none; }
[data-item].is-entering { opacity: 0; transform: translateY(16px) scale(.98); }

/* Grilla de proyectos */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 3vw, 36px); }
.projects-grid .p-card { width: auto; grid-column: span 4; }
.projects-grid .p-card:nth-child(1) { grid-column: span 7; }
.projects-grid .p-card:nth-child(2) { grid-column: span 5; margin-top: 90px; }
.projects-grid .p-card:nth-child(1) .art, .projects-grid .p-card:nth-child(2) .art { aspect-ratio: 5 / 5.4; }
.projects-grid .p-card:nth-child(1) .art { aspect-ratio: 7 / 6; border-radius: var(--r-xl); }

/* ---------- Detalle de proyecto ---------- */
.project-hero { padding: clamp(140px, 17vw, 190px) 0 0; }
.project-hero .title-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.project-hero h1 { font-size: clamp(3.6rem, 10vw, 9rem); margin-bottom: .1em; }
.project-hero .tag { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); margin-top: 44px; }
.facts div { padding: 20px 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .84rem; color: var(--raspberry); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.hero-art { margin-top: 28px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow-lift); position: relative; }
.hero-art svg { width: 100%; height: 115%; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.story h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.story p { color: var(--ink-soft); font-size: 1.1rem; }
.summary-quote { font-family: var(--f-title); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; color: var(--bordeaux); max-width: 24ch; margin: 0 0 clamp(60px, 9vw, 110px); }

.palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(50px, 7vw, 80px); max-width: 640px; }
.swatch { border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--ease); }
.swatch:hover { transform: translateY(-8px); }
.swatch i { display: block; aspect-ratio: 1 / 1.05; }
.swatch span { display: block; padding: 10px 14px; font-size: .85rem; font-weight: 500; }

.steps { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 31px; top: 30px; width: 2px; height: calc((100% - 60px) * var(--sp, 0)); background: linear-gradient(var(--rose), var(--raspberry)); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 18px 22px 18px 0; }
.step .n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-strong);
  font-family: var(--f-title); font-size: 1.6rem; font-weight: 700; color: var(--wine); position: relative; z-index: 1;
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease);
}
.step.on .n { background: var(--bordeaux); color: var(--white); border-color: var(--bordeaux); transform: scale(1.06); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 10px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(96px, 11vw, 160px); gap: clamp(10px, 1.4vw, 18px); }
.g-item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: rgba(252, 226, 226, .5); transition: box-shadow .6s var(--ease); }
.g-item:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.g-item:nth-child(2) { grid-column: span 2; grid-row: span 3; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.g-item:nth-child(3), .g-item:nth-child(4), .g-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.g-open { all: unset; display: block; position: absolute; inset: 0; cursor: zoom-in; overflow: hidden; border-radius: inherit;
  clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) var(--d, 0s); }
.g-item.in .g-open { clip-path: inset(0 0 0 0); }
.g-open:focus-visible { outline: 3px solid var(--rose); outline-offset: -3px; border-radius: inherit; }
.g-media { position: absolute; inset: -8% 0; display: block; transform: translate3d(0, var(--gy, 0px), 0) scale(1.22);
  transition: transform 1.6s var(--ease), opacity 1s var(--ease) var(--d, 0s); }
.g-item.in .g-media { transform: translate3d(0, var(--gy, 0px), 0) scale(1.06); }
.g-item.in:hover .g-media, .g-item.in:focus-within .g-media { transform: translate3d(0, var(--gy, 0px), 0) scale(1.13); transition-duration: .9s; }
.g-media svg { width: 100%; height: 100%; }
.g-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(to top, rgba(40, 10, 18, .5), transparent 45%); opacity: .55; transition: opacity .6s var(--ease); }
.g-item:hover::after, .g-item:focus-within::after { opacity: 1; }
.g-item:hover { box-shadow: var(--shadow-lift); }
.g-cap { position: absolute; left: 14px; bottom: 14px; right: 64px; z-index: 1; pointer-events: none; width: fit-content;
  padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500; line-height: 1.3; color: var(--bordeaux);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .8);
  transform: translateY(14px); opacity: 0; transition: transform .8s var(--ease) calc(var(--d, 0s) + .5s), opacity .6s var(--ease) calc(var(--d, 0s) + .5s); }
.g-item.in .g-cap { transform: translateY(4px); opacity: .95; }
.g-item.in:hover .g-cap, .g-item.in:focus-within .g-cap { transform: none; opacity: 1; transition-delay: 0s; }
.g-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--bordeaux); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: scale(.4) rotate(-90deg); opacity: 0; transition: transform .6s var(--ease), opacity .35s; }
.g-item:hover .g-zoom, .g-item:focus-within .g-zoom { transform: none; opacity: 1; }
.g-hint { margin: 14px 0 0; }
@media (hover: none) { .g-zoom { transform: none; opacity: 1; } }

/* ---------- Visor de galería ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: auto 1fr auto;
  align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s; }
.lightbox.open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease), visibility 0s; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(40, 10, 18, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; position: relative; color: var(--blush); font-weight: 500; }
.lb-stage { grid-column: 2; grid-row: 2; margin: 0; position: relative; display: grid; justify-items: center; gap: 14px; min-height: 0; height: 100%; align-content: center;
  transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.open .lb-stage { transform: none; }
.lb-media { --ar: 1.33; aspect-ratio: var(--ar); width: auto; height: min(calc(100vh - 250px), calc((100vw - 220px) / var(--ar))); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.lb-media svg { width: 100%; height: 100%; display: block; }
.lb-media.slide-next { animation: lbNext .55s var(--ease); }
.lb-media.slide-prev { animation: lbPrev .55s var(--ease); }
@keyframes lbNext { from { opacity: 0; transform: translateX(40px) scale(.97); } }
@keyframes lbPrev { from { opacity: 0; transform: translateX(-40px) scale(.97); } }
.lb-caption { color: var(--white); text-align: center; max-width: 60ch; font-size: 1rem; }
.lb-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; display: grid; place-items: center;
  color: var(--white); background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, transform .4s var(--ease), color .3s; }
.lb-btn:hover { background: var(--white); color: var(--bordeaux); transform: scale(1.06); }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { grid-column: 1; grid-row: 2; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 2; justify-self: center; }
.lb-prev:hover { transform: translateX(-3px); } .lb-next:hover { transform: translateX(3px); }
.lb-thumbs { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; position: relative; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; border: 2px solid transparent; background: none;
  opacity: .5; transition: opacity .3s, border-color .3s, transform .4s var(--ease); }
.lb-thumbs button svg { width: 100%; height: 100%; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--rose); transform: translateY(-3px); }
.lb-open { overflow: hidden; }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result { padding: 30px; border-radius: var(--r-lg); }
.result strong { display: block; font-family: var(--f-title); font-size: clamp(3.2rem, 6vw, 5rem); line-height: .9; color: var(--wine); }
.result span { color: var(--ink-soft); }

.testimonial { padding: clamp(34px, 6vw, 70px); border-radius: var(--r-xl); position: relative; }
.testimonial blockquote { margin: 0; font-family: var(--f-title); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; color: var(--bordeaux); max-width: 30ch; }
.testimonial figcaption { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testimonial .avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(140deg, var(--rose), var(--raspberry)); display: grid; place-items: center; color: var(--white); font-weight: 700; }
.testimonial .qmark { position: absolute; right: clamp(20px, 5vw, 60px); top: -20px; width: clamp(80px, 12vw, 140px); color: var(--rose); opacity: .6; }

.next-project { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 28px; border-radius: var(--r-xl); }
.next-project small { color: var(--raspberry); font-weight: 500; font-size: .95rem; }
.next-project h2 { margin: 6px 0 0; transition: letter-spacing .6s var(--ease); }
.next-project:hover h2 { letter-spacing: .02em; }
.next-project .art { width: clamp(120px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: transform .8s var(--ease); }
.next-project:hover .art { transform: rotate(-6deg) scale(1.05); }
.next-project .art svg { width: 100%; height: 100%; }

/* ---------- Proceso (servicios) ---------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.process .sticky-head { position: sticky; top: 130px; align-self: start; }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.format { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.format.featured { background: var(--bordeaux); color: var(--blush); border-color: transparent; }
.format.featured h3, .format.featured .price { color: var(--white); }
.format.featured li::before { background: var(--rose); }
.format .price { font-family: var(--f-title); font-size: 1.5rem; color: var(--wine); }
.format ul { display: grid; gap: 9px; margin-bottom: 10px; }
.format li { display: flex; gap: 10px; font-size: .97rem; }
.format li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--raspberry); margin-top: .62em; }
.format .btn { margin-top: auto; }
.format p { margin: 0; }
.format.featured p { color: var(--blush); }

/* ---------- Recursos ---------- */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.resource .thumb { aspect-ratio: 16 / 10; border-radius: var(--r-md); position: relative; overflow: hidden; margin-bottom: 6px; }
.resource .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease); }
.resource:hover .thumb svg { transform: scale(1.05) rotate(-1deg); }
.resource .type { font-size: .85rem; font-weight: 500; color: var(--raspberry); display: flex; justify-content: space-between; }
.resource h3 { font-size: 1.75rem; margin: 0; }
.resource p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.resource .btn { margin-top: auto; align-self: flex-start; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip { padding: 28px; border-top: 2px solid var(--rose); }
.tip h3 { font-size: 1.7rem; }
.tip p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: var(--r-md); padding: 0 24px; transition: background .4s; }
.faq details[open] { background: var(--glass-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 500; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--bordeaux); translate: -50% -50%; }
.faq summary .pm::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.faq details[open] .pm { background: var(--blush); transform: rotate(180deg); }
.faq details[open] .pm::after { rotate: 0deg; }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Página de contacto ---------- */
.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.contact-list a:hover { transform: translateX(6px); background: var(--white); }
.contact-list small { display: block; color: var(--ink-soft); font-size: .85rem; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blush); color: var(--wine); flex: none; }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
[data-speed] { will-change: transform; }

/* ---------- Transición entre páginas ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; }
.pc-layer { position: absolute; inset: 0; transform: translateY(101%); border-radius: 50% 50% 0 0 / 14% 14% 0 0; }
.pc-rose { background: var(--rose); }
.pc-wine { background: var(--bordeaux); }
.pc-mark { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; opacity: 0; }
.pc-mark svg { width: 64px; }
.pc-bar { display: block; width: 90px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.pc-bar::after { content: ""; position: absolute; inset: 0; background: var(--rose); transform: scaleX(0); transform-origin: left; }
.pt-leave .page-curtain { visibility: visible; pointer-events: auto; }
.pt-leave .pc-rose { animation: pcCover .7s cubic-bezier(.76, 0, .24, 1) forwards; }
.pt-leave .pc-wine { animation: pcCover .7s cubic-bezier(.76, 0, .24, 1) .09s forwards; }
.pt-leave .pc-mark { animation: pcMarkIn .5s var(--ease) .42s forwards; }
.pt-leave .pc-bar::after { animation: pcBar .5s var(--ease) .45s forwards; }
.pt-enter .page-curtain { visibility: visible; }
.pt-enter .pc-layer { transform: none; border-radius: 0; }
.pt-enter .pc-wine { animation: pcUncover .8s cubic-bezier(.76, 0, .24, 1) .12s forwards; }
.pt-enter .pc-rose { animation: pcUncover .8s cubic-bezier(.76, 0, .24, 1) .2s forwards; }
.pt-enter .pc-mark { opacity: 1; animation: pcMarkOut .4s var(--ease) forwards; }
.pt-enter main { animation: pageIn 1s var(--ease) .25s both; }
@keyframes pcCover { to { transform: none; border-radius: 0; } }
@keyframes pcUncover { from { transform: none; border-radius: 0; } to { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 14% 14%; } }
@keyframes pcMarkIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pcMarkOut { to { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes pcBar { to { transform: scaleX(1); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Avisos (toast) ---------- */
.toast-region { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: grid; gap: 8px; transform: translateX(-50%); width: min(420px, 100% - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(97, 31, 46, .94); color: var(--white);
  box-shadow: 0 20px 50px -20px rgba(97, 31, 46, .7); font-size: .95rem; line-height: 1.35; pointer-events: auto;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: toastIn .6s var(--ease); }
.toast.bye { animation: toastOut .4s var(--ease) forwards; }
.toast i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--bordeaux); font-style: normal; font-weight: 700; }
.toast.is-error i { background: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .hero { height: 190vh; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 90px; text-align: left; }
  .hero-stage { width: min(360px, 78vw); order: -1; --stage-x: 0px; }
  .hero-copy h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .hero-outro { bottom: 16vh; padding-inline: 20px; }
  .about-grid, .story, .process, .contact-page, .section-head.split, .project-hero .title-row { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .portrait-card { right: 0; bottom: -10cqw; max-width: 200px; padding: 12px 16px; }
  .portrait-card strong { font-size: 1.3rem; }
  .portrait-card span { font-size: .8rem; }
  .portrait { margin-bottom: 40px; }
  .process .sticky-head { position: static; }
  .projects-grid .p-card, .projects-grid .p-card:nth-child(1), .projects-grid .p-card:nth-child(2) { grid-column: span 12; margin-top: 0; }
  .projects-grid .p-card:nth-child(1) .art, .projects-grid .p-card:nth-child(2) .art { aspect-ratio: 4 / 4.4; }
  .tips, .results { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(110px, 30vw, 190px); }
  .g-item:nth-child(n) { grid-column: span 1; grid-row: span 2; }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .g-cap { font-size: .8rem; padding: 6px 12px; left: 10px; bottom: 10px; right: 58px; }
  .g-item:not(:first-child) .g-cap { display: none; }
  .g-zoom { width: 36px; height: 36px; right: 10px; bottom: 10px; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; }
  .lb-stage { grid-column: 1 / -1; }
  .lb-media { height: min(calc(100vh - 300px), calc((100vw - 40px) / var(--ar))); }
  .lb-prev, .lb-next { grid-row: 3; }
  .lb-prev { grid-column: 1; justify-self: end; margin-right: 8px; } .lb-next { grid-column: 2; justify-self: start; margin-left: 8px; }
  .lb-thumbs { grid-row: 4; justify-content: flex-start; }
  .page-hero .deco { display: none; }
  .hero-art { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 760px) {
  .showcase { height: auto !important; }
  .showcase-sticky { position: relative; height: auto; padding-block: 20px; }
  .showcase-track { overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; transform: none !important; padding-bottom: 16px; scrollbar-width: none; }
  .showcase-track::-webkit-scrollbar { display: none; }
  .p-card { scroll-snap-align: center; width: 78vw; }
  .showcase-progress { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .services-grid, .resources-grid, .skills, .vm, .palette { grid-template-columns: 1fr 1fr; }
  .services-grid, .resources-grid, .vm { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .next-project { grid-template-columns: 1fr; }
  .float-tag { font-size: .8rem; padding: 8px 12px; }
  .fab .label { display: none; }
  .fab { padding: 8px; }
  .skills { grid-template-columns: 1fr; }
  .filters { border-radius: var(--r-lg); }
  .quick-contact { grid-template-columns: repeat(3, 1fr); }
}

/* Movimiento reducido: sin parallax ni animaciones continuas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero, .statement { height: auto; }
  .hero-sticky, .statement-sticky { position: relative; height: auto; min-height: 100vh; }
  .hero-copy, .float-tag, .ring, .medallion { transform: none !important; opacity: 1 !important; }
  .hero-outro { position: relative; inset: auto; opacity: 1; transform: none; padding-bottom: 60px; }
  .statement .w { color: var(--bordeaux); }
  .reveal { opacity: 1; transform: none; }
  .pop-orb, .pop-img, .pop-ring, .pop-dot, .pop-spark, .pop-badge, .portrait-card { opacity: 1 !important; transform: none !important; }
  .pop-glow { opacity: .45 !important; }
  .page-curtain { display: none !important; }
  .g-open { clip-path: none !important; }
  .g-cap { opacity: 1 !important; transform: none !important; }
  .g-item .g-media { opacity: 1 !important; transform: scale(1.06) !important; }
  .showcase { height: auto !important; }
  .showcase-sticky { position: relative; height: auto; padding-block: 40px; }
  .showcase-track { overflow-x: auto; transform: none !important; width: 100%; }
}
