/* =====================================================================
   redesign.css · v3 — "Editorial Luxury"
   Mantiene la identidad (burdeos, crema, serif Playfair) y la lleva a otro nivel:
   cabecera flotante, tarjetas de doble borde, bento, sticky y movimiento.
   Se carga DESPUÉS de components.css y lo sobrescribe.
   ===================================================================== */

:root {
  --ink: #1B1214;
  --wine: #7A0E1A;
  --wine-mid: #5E0A13;
  --wine-deep: #3A050B;
  --brass: #C9A37A;
  --brass-soft: #E8D3B1;
  --paper: #FAF7F2;
  --paper-2: #F3ECE2;
  --paper-3: #E9DDCC;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --header-height: 68px;
  --sticky-top: 112px;
  --shadow-soft: 0 34px 60px -34px rgba(58, 5, 11, 0.38);
  --shadow-ring: 0 0 0 1px rgba(122, 14, 26, 0.07);
}

/* ---------- Base ---------- */
body {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
}
body::before { /* grano de papel */
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.04; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--wine); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); color: #5A4C4D; max-width: 60ch; line-height: 1.6; }
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.container { max-width: 1280px; }
.text-center .lead { margin-inline: auto; }

/* Etiquetas (pill) */
.eyebrow, .pill {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(122, 14, 26, 0.28); background: rgba(122, 14, 26, 0.05);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine);
  margin-bottom: 1.15rem;
}
.eyebrow::before, .eyebrow::after, .text-center > .eyebrow::after { content: none; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }
.pill--light, .on-dark .eyebrow, .section--dark .eyebrow {
  color: var(--brass-soft); border-color: rgba(232, 211, 177, 0.35); background: rgba(232, 211, 177, 0.08);
}
.pill--light::before, .on-dark .eyebrow::before { background: var(--brass); }

/* ---------- Botones: píldora con icono anidado ---------- */
.btn {
  border-radius: 999px; padding: 0.9rem 1.5rem; min-height: 50px; font-weight: 600; letter-spacing: 0.005em; border-width: 1px;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; min-height: 56px; }
.btn-primary {
  background: linear-gradient(180deg, #8C1122 0%, #6B0B17 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 30px -14px rgba(122, 14, 26, 0.75);
}
.btn-primary:hover { background: linear-gradient(180deg, #98142A 0%, #74101D 100%); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 22px 36px -16px rgba(122, 14, 26, 0.8); }
.btn-primary:not(.btn-block)::after, .btn-arrow::after {
  content: "↗"; display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -4px -12px -4px 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); font-size: 0.95rem; transition: transform 0.6s var(--ease), background-color 0.3s ease;
}
.btn-primary:hover::after, .btn-arrow:hover::after { transform: translate(2px, -2px) scale(1.08); background: rgba(255, 255, 255, 0.26); }
.header-cta-call { padding: 0.6rem 0.8rem 0.6rem 1.2rem; min-height: 46px; }
.btn-secondary { background: transparent; border-color: rgba(122, 14, 26, 0.38); color: var(--wine); }
.btn-secondary:hover { background: rgba(122, 14, 26, 0.07); border-color: var(--wine); transform: translateY(-2px); }
.btn-whatsapp { background: linear-gradient(180deg, #34AE66, #2A8F55); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 16px 30px -16px rgba(42, 143, 85, 0.85); }
.btn-whatsapp:hover { transform: translateY(-2px); background: linear-gradient(180deg, #3BBA70, #2E985A); }
.btn-light { background: #fff; color: var(--wine); box-shadow: 0 16px 30px -16px rgba(0,0,0,.55); }
.btn-light:hover { transform: translateY(-2px); }
.on-dark .btn-secondary, .cta-block .btn-secondary, .hx .btn-secondary, .section--dark .btn-secondary {
  color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,.04);
}
.on-dark .btn-secondary:hover, .hx .btn-secondary:hover, .cta-block .btn-secondary:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Cabecera flotante (pill de cristal) ---------- */
.site-header {
  position: sticky; top: 14px; z-index: 100; width: min(1280px, calc(100% - 24px)); margin: 14px auto 0;
  border: 1px solid rgba(122, 14, 26, 0.1); border-radius: 999px;
  background: rgba(250, 247, 242, 0.74); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 18px 44px -22px rgba(58, 5, 11, 0.5);
  transition: background-color .4s ease, box-shadow .4s ease, transform .6s var(--ease);
}
.site-header.is-scrolled { background: rgba(250, 247, 242, 0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 22px 50px -22px rgba(58, 5, 11, 0.6); }
.site-header .container { max-width: none; padding-inline: 14px 12px; }
.site-header__inner { min-height: 68px; }
.site-header__logo img { height: 40px; }
.site-header.is-scrolled .site-header__logo img { height: 34px; }
.nav-toggle { border-radius: 50%; border-color: rgba(122,14,26,.18); background: rgba(255,255,255,.6); width: 46px; height: 46px; }
@media (min-width: 1080px) {
  .main-nav { gap: 0.25rem; font-size: 0.9rem; font-weight: 600; }
  .main-nav > ul { gap: 0.15rem; }
  .main-nav a { padding: 0.55rem 0.95rem; border-bottom: 0; border-radius: 999px; transition: background-color .3s ease, color .3s ease; }
  .main-nav a:hover { background: rgba(122, 14, 26, 0.08); color: var(--wine); border: 0; }
  .main-nav a[aria-current="page"] { background: rgba(122, 14, 26, 0.1); color: var(--wine); border: 0; }
}
.dropdown {
  border: 1px solid rgba(122, 14, 26, 0.1); border-radius: 22px; padding: 0.5rem; margin-top: 0.8rem;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -28px rgba(58, 5, 11, 0.55);
}
.dropdown li a { border-radius: 14px; padding: 0.6rem 0.9rem; font-weight: 500; }
.dropdown li a:hover { background: var(--paper-2); }

/* Menú móvil a pantalla completa */
.mobile-nav { background: rgba(250, 247, 242, 0.96); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); }
.mobile-nav__body a { font-size: 1.7rem; font-family: var(--font-serif); letter-spacing: -0.01em; border-bottom: 1px solid rgba(122,14,26,.1); }
.mobile-nav__sub a { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: #5A4C4D; }
.mobile-nav__close { border-radius: 50%; background: #fff; }
.mobile-nav.is-open .mobile-nav__body > * { animation: navIn 0.8s var(--ease) both; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(1) { animation-delay: .04s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(2) { animation-delay: .08s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(3) { animation-delay: .12s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(4) { animation-delay: .16s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(5) { animation-delay: .2s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(6) { animation-delay: .24s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(7) { animation-delay: .28s; }
.mobile-nav.is-open .mobile-nav__body > *:nth-child(n+8) { animation-delay: .32s; }
@keyframes navIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Movimiento: aparición con desenfoque ---------- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.stagger > .reveal:nth-child(6) { transition-delay: .4s; }
/* titulares que suben palabra a palabra */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-words .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split-words.is-visible .w > span { transform: none; }
/* apertura de imagen con máscara */
.mask-reveal { clip-path: inset(10% 8% 10% 8% round var(--r-xl)); transition: clip-path 1.4s var(--ease); }
.mask-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--r-xl)); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .split-words .w > span, .mask-reveal { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
}

/* ---------- Doble borde (bezel) ---------- */
.bezel { padding: 8px; border-radius: calc(var(--r-xl) + 8px); background: rgba(122, 14, 26, 0.05); box-shadow: var(--shadow-ring), 0 40px 70px -40px rgba(58,5,11,.45); }
.bezel > * { border-radius: var(--r-xl); overflow: hidden; }
.on-dark .bezel { background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -40px rgba(0,0,0,.7); }

/* ---------- Tarjetas generales ---------- */
.card { border: 0; border-radius: var(--r-lg); background: #fff; padding: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); box-shadow: var(--shadow-ring), 0 28px 50px -34px rgba(58, 5, 11, 0.4), inset 0 1px 0 #fff; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-ring), 0 40px 60px -34px rgba(58, 5, 11, 0.5), inset 0 1px 0 #fff; }
.page-header {
  position: relative; overflow: hidden; border: 0; isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  background: radial-gradient(120% 140% at 88% -25%, rgba(122, 14, 26, 0.17), transparent 56%), linear-gradient(180deg, var(--paper-2), var(--paper));
}
.page-header::after { content: ""; position: absolute; z-index: -1; right: -9%; top: -34%; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(122, 14, 26, 0.18); box-shadow: 0 0 0 64px rgba(122, 14, 26, 0.04), 0 0 0 150px rgba(122, 14, 26, 0.025); }
.page-header h1 { max-width: 17ch; font-size: clamp(2.4rem, 1.3rem + 4.6vw, 5rem); line-height: 1; }
.breadcrumbs { padding-block: 1.2rem 0.4rem; font-size: 0.82rem; }
.icon-list li::before { content: ""; width: 8px; height: 8px; margin-top: 0.62rem; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 4px rgba(122, 14, 26, 0.12); }
.icon-list li { gap: 0.9rem; padding: 0.42rem 0; }
.badge { border-radius: 8px; letter-spacing: 0.04em; }

/* ---------- Portada (home) ---------- */
.hx {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: space-between;
  margin-top: calc(-1 * (var(--header-height) + 28px)); padding-top: calc(var(--header-height) + 28px);
  background: var(--wine-deep);
}
.hx__bg { position: absolute; inset: -7% 0; z-index: -2; will-change: transform; }
.hx__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hx::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 70% at 50% 38%, rgba(30, 4, 8, 0.2), rgba(30, 4, 8, 0.78) 100%),
  linear-gradient(180deg, rgba(30, 4, 8, 0.55) 0%, rgba(30, 4, 8, 0.12) 36%, rgba(24, 3, 6, 0.9) 100%); }
.hx__inner { width: min(1100px, 100%); margin: auto; padding: 3rem 1.5rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hx__logo { width: min(440px, 78vw); filter: brightness(0) invert(1); opacity: 0.96; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.hx h1 { color: #fff; font-weight: 500; font-size: clamp(2.5rem, 1.1rem + 6.1vw, 6.2rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.hx h1 em { color: var(--brass-soft); }
.hx__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.hx__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1rem, 4vw, 3.4rem); margin-top: clamp(2rem, 4vw, 3.4rem);
  padding: 1.1rem clamp(1.2rem, 3vw, 2.4rem); border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.hx__stats div { text-align: center; line-height: 1.2; }
.hx__stats strong { display: block; font-family: var(--font-serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.hx__stats span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }
.hx__enter > * { opacity: 0; transform: translateY(30px); filter: blur(8px); animation: hxIn 1.2s var(--ease) forwards; }
.hx__enter > *:nth-child(1) { animation-delay: .1s; } .hx__enter > *:nth-child(2) { animation-delay: .28s; }
.hx__enter > *:nth-child(3) { animation-delay: .46s; } .hx__enter > *:nth-child(4) { animation-delay: .64s; }
@keyframes hxIn { to { opacity: 1; transform: none; filter: none; } }

/* cinta de áreas (marquee) */
.marquee { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, 0.16); background: rgba(20, 3, 6, 0.55); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; padding-block: 0.95rem; }
.marquee__track span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); color: rgba(255, 255, 255, 0.82); padding-inline: 1.4rem; white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin-left: 2.8rem; color: var(--brass); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--light { background: var(--paper-2); border-color: rgba(122,14,26,.12); }
.marquee--light .marquee__track span { color: var(--wine-mid); }
@media (prefers-reduced-motion: reduce) { .marquee__track, .hx__bg img { animation: none; } .hx__enter > * { opacity: 1; transform: none; filter: none; animation: none; } }
@media (max-width: 640px) {
  .hx__stats { grid-template-columns: 1fr 1fr 1fr; border-radius: 26px; padding: 0.9rem 0.8rem; gap: 0.6rem; width: 100%; }
  .hx__stats span { font-size: 0.64rem; letter-spacing: 0; }
  .hx__actions { width: 100%; max-width: 380px; } .hx__actions .btn { flex: 1 1 100%; }
}

/* ---------- Cabeceras de sección ---------- */
.sec-head { display: grid; gap: 0.6rem; margin-bottom: clamp(2rem, 4vw, 3.8rem); }
.sec-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; } }
.sec-head h2 { max-width: 18ch; }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head--center h2 { max-width: 20ch; }

/* ---------- Servicio destacado: Ley de la Segunda Oportunidad ---------- */
.spot { position: relative; isolation: isolate; overflow: clip; color: #fff; background: var(--wine-deep); }
.spot__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.55; }
.spot__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; filter: saturate(1.1); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(40,4,9,.97) 0%, rgba(58,5,11,.88) 45%, rgba(58,5,11,.35) 100%); }
.spot h2, .spot h3 { color: #fff; }
.spot h2 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 5.2rem); line-height: 0.98; font-weight: 500; max-width: 13ch; }
.spot h2 em { color: var(--brass-soft); }
.spot__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .spot__grid { grid-template-columns: 1.15fr 0.85fr; gap: 5rem; } }
.spot__lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 52ch; margin-block: 1.4rem 1.8rem; line-height: 1.6; }
.spot__points { display: grid; gap: 0.9rem; margin-bottom: 2rem; }
.spot__points li { display: grid; grid-template-columns: 28px 1fr; gap: 0.9rem; align-items: start; color: rgba(255,255,255,.88); }
.spot__points li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(201,163,122,.2); color: var(--brass-soft); font-size: .8rem; font-weight: 700; }
.spot__team { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.spot__faces { display: flex; }
.spot__faces img, .spot__faces .face { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--wine-deep); margin-left: -14px; background: var(--wine); }
.spot__faces > :first-child { margin-left: 0; }
.spot__faces .face { display: grid; place-items: center; color: var(--brass-soft); font-size: 1.1rem; }
.spot__team p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.78); max-width: 38ch; line-height: 1.45; }
.spot__visual { position: relative; }
.spot__visual .bezel > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; display: block; }
.spot__chip {
  position: absolute; display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.1rem 0.8rem 0.8rem; border-radius: 20px;
  background: rgba(250,247,242,.92); color: var(--ink); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(12px); font-size: .86rem; line-height: 1.3;
}
.spot__chip strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; }
.spot__chip i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #fff; font-style: normal; flex-shrink: 0; }
.spot__chip--a { left: -1.5rem; bottom: 18%; animation: floaty 7s ease-in-out infinite; }
.spot__chip--b { right: -1rem; top: 10%; animation: floaty 8s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (max-width: 999px) { .spot__chip--a { left: 0.6rem; } .spot__chip--b { right: 0.6rem; } .spot__visual { max-width: 460px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .spot__chip { animation: none; } }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.bento__card { position: relative; display: block; padding: 6px; border-radius: 30px; background: rgba(122, 14, 26, 0.05); box-shadow: var(--shadow-ring); transition: transform .8s var(--ease), box-shadow .8s var(--ease); isolation: isolate; }
.bento__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-ring), 0 40px 60px -32px rgba(58, 5, 11, 0.6); }
.bento__in { position: relative; height: 100%; min-height: 260px; border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end; background: var(--wine-deep); }
.bento__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bento__card:hover .bento__in img { transform: scale(1.07); }
.bento__in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(24,3,7,.92) 0%, rgba(24,3,7,.4) 52%, rgba(24,3,7,.06) 100%); }
.bento__body { position: relative; z-index: 2; width: 100%; padding: clamp(1.1rem, 2vw, 1.8rem); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.bento__body h3 { color: #fff; margin: 0 0 0.3rem; font-weight: 500; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.8rem); }
.bento__body p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); max-width: 34ch; line-height: 1.45; }
.bento__arrow { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); transition: transform .7s var(--ease), background-color .3s ease; font-size: 1.1rem; }
.bento__card:hover .bento__arrow { transform: translate(3px, -3px) rotate(0deg); background: var(--wine); border-color: var(--wine); }
.bento__tag { position: absolute; z-index: 2; top: 1rem; left: 1rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; padding: .38rem .8rem; border-radius: 999px; background: rgba(250,247,242,.92); color: var(--wine); }
.bento__card--feature .bento__in { background: var(--wine); }
.bento__card--feature .bento__in::before { background: linear-gradient(0deg, rgba(58,5,11,.95) 0%, rgba(58,5,11,.5) 50%, rgba(58,5,11,.1) 100%); }
.bento__card--feature .bento__body h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); line-height: 1; }
.bento__card--feature .bento__body p { font-size: 1rem; }
.bento__card--feature { background: linear-gradient(140deg, rgba(201,163,122,.55), rgba(122,14,26,.25)); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__card--feature { grid-column: 1 / -1; } .bento__card--feature .bento__in { min-height: 420px; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
  .bento__card { grid-column: span 4; }
  .bento__card--feature { grid-column: 1 / span 7; grid-row: span 2; }
  .bento__card--feature .bento__in { min-height: 100%; }
  .bento__card--wide { grid-column: span 5; }
}
@media (max-width: 639px) { .bento__in { min-height: 220px; } .bento__body p { display: none; } }

/* ---------- Despacho (editorial) ---------- */
.about-x { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .about-x { grid-template-columns: 0.95fr 1.05fr; } .about-x__text { position: sticky; top: var(--sticky-top); } }
.about-x__text p { max-width: 56ch; }
.about-x__media { position: relative; }
.about-x__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; display: block; }
.about-x__card { position: absolute; left: clamp(-3rem, -3vw, -0.5rem); bottom: clamp(1.2rem, 4vw, 3rem); max-width: 300px; padding: 1.2rem 1.4rem; border-radius: 22px; background: rgba(250,247,242,.94); box-shadow: 0 30px 50px -26px rgba(0,0,0,.6); backdrop-filter: blur(10px); }
.about-x__card strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: .35rem; }
.about-x__card span { font-size: .88rem; color: #5A4C4D; line-height: 1.45; display: block; }
@media (max-width: 999px) { .about-x__card { left: 0.8rem; right: 0.8rem; max-width: none; } }

/* ---------- Cifras ---------- */
.numbers { position: relative; isolation: isolate; overflow: clip; background: var(--wine-deep); color: #fff; }
.numbers__bg { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.numbers__bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 20% 0%, rgba(122,14,26,.55), rgba(40,4,9,.95)); }
.numbers h2 { color: #fff; max-width: 16ch; } .numbers h2 em { color: var(--brass-soft); }
.numbers__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) { .numbers__grid { grid-template-columns: repeat(4, 1fr); } }
.numbers__item { padding: clamp(1.4rem, 3vw, 2.6rem) clamp(.5rem, 2vw, 1.8rem) 0; border-right: 1px solid rgba(255,255,255,.12); }
.numbers__item:nth-child(even) { border-right: 0; }
@media (min-width: 900px) { .numbers__item { border-right: 1px solid rgba(255,255,255,.12); } .numbers__item:nth-child(even) { border-right: 1px solid rgba(255,255,255,.12); } .numbers__item:last-child { border-right: 0; } }
.numbers__item strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; }
.numbers__item strong small { font-size: .45em; color: var(--brass-soft); margin-left: .1em; }
.numbers__item span { display: block; margin-top: .7rem; font-size: .92rem; color: rgba(255,255,255,.72); max-width: 24ch; line-height: 1.45; }

/* ---------- Equipo ---------- */
.crew { display: grid; gap: 14px; }
@media (min-width: 900px) { .crew { grid-template-columns: 1fr 1fr 0.9fr; } }
.crew__card { position: relative; display: block; padding: 6px; border-radius: 30px; background: rgba(122,14,26,.05); box-shadow: var(--shadow-ring); transition: transform .8s var(--ease); }
.crew__card:hover { transform: translateY(-6px); }
.crew__in { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--wine-deep); }
.crew__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.4s var(--ease), filter .8s ease; filter: saturate(.92); }
.crew__card:hover .crew__in img { transform: scale(1.05); filter: saturate(1.05); }
.crew__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,3,7,.92) 0%, rgba(24,3,7,0) 56%); }
.crew__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.4rem; color: #fff; }
.crew__body h3 { color: #fff; font-weight: 500; margin: 0 0 .35rem; }
.crew__role { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--brass-soft); display: block; margin-bottom: .55rem; }
.crew__body p { font-size: .9rem; color: rgba(255,255,255,.82); margin: 0 0 .9rem; line-height: 1.45; }
.crew__link { font-weight: 600; font-size: .9rem; display: inline-flex; gap: .5rem; align-items: center; }
.crew__link::after { content: "→"; transition: transform .6s var(--ease); } .crew__card:hover .crew__link::after { transform: translateX(5px); }
.crew__card--econ .crew__in { background: radial-gradient(120% 90% at 0% 0%, #8C1122, var(--wine-deep)); display: flex; align-items: center; justify-content: center; aspect-ratio: auto; min-height: 100%; }
.crew__card--econ .crew__in::after { display: none; }
.crew__card--econ { display: flex; } .crew__card--econ .crew__in { flex: 1; aspect-ratio: auto; }
.crew__card--econ .crew__body { position: relative; padding: 2rem 1.6rem; }
.crew__econ-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(232,211,177,.12); border: 1px solid rgba(232,211,177,.3); color: var(--brass-soft); margin-bottom: 1.3rem; }
.crew__card--econ .crew__in { align-items: flex-end; justify-content: flex-start; }
.crew__card--econ .crew__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
@media (max-width: 899px) { .crew__in { aspect-ratio: 5/4; } .crew__card--econ .crew__in { aspect-ratio: auto; } }

/* ---------- Proceso sticky (tarjetas que se apilan) ---------- */
.flow { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .flow { grid-template-columns: 0.8fr 1.2fr; } .flow__intro { position: sticky; top: var(--sticky-top); } }
.flow__stack { display: grid; gap: 1.2rem; }
.flow__step { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-ring), 0 30px 50px -34px rgba(58,5,11,.45); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; }
@media (min-width: 1000px) {
  .flow__step { position: sticky; top: calc(var(--sticky-top) + var(--n) * 22px); }
}
.flow__n { font-family: var(--font-serif); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: .9; color: var(--wine); font-weight: 500; opacity: .9; }
.flow__step h3 { margin-bottom: .5rem; }
.flow__step p { margin: 0; color: #5A4C4D; max-width: 48ch; }
.flow__step:nth-child(even) { background: linear-gradient(160deg, #fff, var(--paper-2)); }

/* ---------- Prensa / Hemeroteca ---------- */
.press-x { display: grid; gap: 14px; }
@media (min-width: 900px) { .press-x { grid-template-columns: 1.3fr 1fr 1fr; } }
.clip { position: relative; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4vw, 2.2rem); border-radius: 6px 26px 6px 26px; background: #FFFDF8; box-shadow: var(--shadow-ring), 0 30px 50px -34px rgba(58,5,11,.45); transition: transform .8s var(--ease); }
.clip:hover { transform: translateY(-6px) rotate(-.4deg); }
.clip::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(122,14,26,.14); border-radius: 4px 20px 4px 20px; pointer-events: none; }
.clip__src { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--wine); margin-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.clip h3 { font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); margin-bottom: .8rem; }
.clip p { color: #5A4C4D; font-size: .95rem; flex-grow: 1; }
.clip__more { font-weight: 600; color: var(--wine); display: inline-flex; gap: .5rem; margin-top: 1rem; } .clip__more::after { content: "→"; transition: transform .6s var(--ease); } .clip:hover .clip__more::after { transform: translateX(5px); }
.clip--lead h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.02; }

/* ---------- Opiniones ---------- */
.testimonial-card { border-radius: var(--r-lg); background: #fff; position: relative; box-shadow: var(--shadow-ring), 0 28px 50px -34px rgba(58,5,11,.4); }
.testimonial-track .testimonial-card { border: 0; border-radius: var(--r-lg); width: min(380px, 84vw); padding: 1.8rem; }
.testimonial-card__quote { font-style: normal; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); -webkit-line-clamp: 8; }
.testimonial-card__quote::before { content: "“"; display: block; font-size: 3.2rem; line-height: .6; color: var(--wine); opacity: .5; margin-bottom: .4rem; }
.testimonial-card__stars { color: var(--brass); }
.testimonial-card .badge { background: var(--paper-2); }

/* ---------- Contacto + formulario ---------- */
.contact-x { display: grid; gap: 14px; }
@media (min-width: 1000px) { .contact-x { grid-template-columns: 0.85fr 1.15fr; } }
.contact-x__info { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 420px; background: var(--wine-deep); }
.contact-x__info img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.contact-x__info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,4,9,.55), rgba(40,4,9,.92)); }
.contact-x__info h3, .contact-x__info h2 { color: #fff; }
.contact-x__phone { font-family: var(--font-serif); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; display: block; margin: .8rem 0 1.2rem; }
.contact-x__list li { display: flex; gap: .8rem; padding: .5rem 0; color: rgba(255,255,255,.85); font-size: .96rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-x__list li:last-child { border-bottom: 0; }
.contact-x__form { border-radius: var(--r-xl); background: #fff; padding: clamp(1.4rem, 3vw, 2.8rem); box-shadow: var(--shadow-ring), 0 40px 70px -44px rgba(58,5,11,.5); }
.form-field input, .form-field select, .form-field textarea { border: 1px solid #E3D8C8; border-radius: 14px; background: var(--paper); padding: .9rem 1rem; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--wine); background: #fff; box-shadow: 0 0 0 4px rgba(122,14,26,.12); }
.form-field label { font-size: .88rem; letter-spacing: .01em; }

/* ---------- CTA oscuro ---------- */
.cta-block { position: relative; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(120% 140% at 100% 0%, #8C1122, var(--wine-deep) 70%); isolation: isolate; box-shadow: 0 50px 80px -50px rgba(58,5,11,.8); }
.cta-block::after { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(232,211,177,.25); box-shadow: 0 0 0 50px rgba(232,211,177,.05), 0 0 0 110px rgba(232,211,177,.03); }
.urgency-banner { border-radius: var(--r-xl); background: linear-gradient(120deg, #1B1214, #2B1A1D); box-shadow: 0 40px 70px -46px rgba(0,0,0,.8); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(122,14,26,.14); }
.faq-item summary { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); padding-block: 1.4rem; transition: color .3s ease; }
.faq-item summary:hover { color: var(--wine); }
.faq-item summary::after { content: "+"; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(122,14,26,.3); font-family: var(--font-sans); font-size: 1.3rem; font-weight: 300; line-height: 1; transition: transform .6s var(--ease), background-color .3s ease, color .3s ease; }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine); }

/* ---------- Pie de página ---------- */
.site-footer { position: relative; margin-top: clamp(3rem, 6vw, 6rem); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; background: var(--ink); padding-block: clamp(3.5rem, 6vw, 6rem) 2rem; box-shadow: none; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -240px; width: 720px; height: 480px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(122,14,26,.55), transparent); pointer-events: none; }
.site-footer > .container { position: relative; }
.site-footer h4 { letter-spacing: .2em; font-size: .72rem; color: var(--brass-soft); }
.site-footer a { transition: color .3s ease; }
.site-footer__links a { padding-block: 5px; }

/* ---------- Barra móvil ---------- */
.mobile-bar { left: 10px; right: 10px; bottom: calc(10px + var(--safe-bottom)); height: 60px; padding-bottom: 0; border-radius: 999px; overflow: hidden; background: rgba(40, 4, 9, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 40px -18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14); }
.mobile-bar a { min-height: 60px; font-size: .92rem; }
.mobile-bar a.mobile-bar__whatsapp { background: linear-gradient(180deg,#34AE66,#2A8F55); }
body { padding-bottom: calc(80px + var(--safe-bottom)); }
@media (min-width: 860px) { body { padding-bottom: 0; } }
.cookie-banner { border-radius: 22px; border: 0; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); bottom: calc(86px + var(--safe-bottom)); }
@media (min-width: 860px) { .cookie-banner { bottom: 1.5rem; } }
.urgency-popup { border-radius: 30px; }

/* ---------- Barra de progreso ---------- */
.scroll-progress { z-index: 170; height: 2px; }
.scroll-progress span { background: linear-gradient(90deg, var(--brass), var(--wine)); }

/* ---------- Páginas de servicio ---------- */
.service-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 5vw, 7rem); background: radial-gradient(110% 130% at 92% -20%, rgba(122,14,26,.17), transparent 56%), linear-gradient(180deg, var(--paper-2), var(--paper)); }
.service-hero__grid { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .service-hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.service-hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.5vw, 5rem); line-height: 1; max-width: 14ch; margin-bottom: 1.3rem; }
.service-hero .hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; justify-content: flex-start; }
.service-hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.service-hero__facts li { font-size: .82rem; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-ring); color: var(--wine-mid); }
.service-hero__media { position: relative; }
.service-hero__media .bezel img { width: 100%; aspect-ratio: 5/4; object-fit: cover; display: block; }
.service-hero__badge { position: absolute; left: -1rem; bottom: 1.6rem; padding: .9rem 1.2rem; border-radius: 20px; background: rgba(250,247,242,.95); box-shadow: 0 26px 44px -22px rgba(0,0,0,.55); font-size: .84rem; max-width: 240px; line-height: 1.35; }
.service-hero__badge strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
@media (max-width: 959px) { .service-hero__badge { left: .8rem; } }

.subnav { position: sticky; top: 92px; z-index: 90; width: min(1280px, calc(100% - 24px)); margin: -1.4rem auto 0; border-radius: 999px; background: rgba(250,247,242,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-ring), 0 20px 40px -24px rgba(58,5,11,.5); overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav ul { display: flex; gap: .2rem; padding: .4rem; width: max-content; margin-inline: auto; }
.subnav a { display: block; padding: .6rem 1.1rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #5A4C4D; white-space: nowrap; transition: background-color .3s ease, color .3s ease; }
.subnav a:hover { color: var(--wine); }
.subnav a.is-active { background: var(--wine); color: #fff; }
@media (max-width: 859px) { .subnav { top: 88px; margin-top: -1rem; } }

.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.8rem 1.6rem 1.7rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-ring), 0 28px 48px -34px rgba(58,5,11,.42); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 3rem; line-height: .9; color: var(--wine); opacity: .85; margin-bottom: 1.2rem; font-weight: 500; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { margin: 0; color: #5A4C4D; font-size: .96rem; }

.info-x { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .info-x { grid-template-columns: .85fr 1.15fr; } .info-x__side { position: sticky; top: var(--sticky-top); } }
.info-x__side .bezel img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-top: 0; }
.info-x__side p { margin-top: 1.2rem; }
.info-panels { display: grid; gap: 10px; }
.info-panel { border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-ring), 0 20px 40px -32px rgba(58,5,11,.4); overflow: hidden; transition: box-shadow .5s var(--ease); }
.info-panel[open] { box-shadow: var(--shadow-ring), 0 34px 54px -32px rgba(58,5,11,.5); }
.info-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; min-height: 72px; font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; letter-spacing: -.01em; }
.info-panel summary::-webkit-details-marker { display: none; }
.info-panel summary .n { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .2em; color: var(--wine); font-weight: 700; }
.info-panel summary::after { content: "+"; margin-left: auto; display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(122,14,26,.3); font-family: var(--font-sans); font-weight: 300; font-size: 1.3rem; transition: transform .6s var(--ease), background-color .3s, color .3s; }
.info-panel[open] summary::after { transform: rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine); }
.info-panel__body { padding: 0 1.5rem 1.6rem; color: #5A4C4D; animation: panelIn .7s var(--ease); }
.info-panel__body p { margin-bottom: .8rem; } .info-panel__body ul { margin-top: .6rem; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.team-strip { display: grid; gap: 14px; }
@media (min-width: 760px) { .team-strip { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: center; padding: 1rem; padding-right: 1.4rem; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-ring), 0 26px 46px -34px rgba(58,5,11,.45); transition: transform .7s var(--ease); }
.person:hover { transform: translateY(-4px); }
.person img, .person__ico { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; object-position: 50% 14%; }
.person__ico { display: grid; place-items: center; background: radial-gradient(120% 90% at 0% 0%, #8C1122, var(--wine-deep)); color: var(--brass-soft); }
.person h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.person__role { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--wine); display: block; margin-bottom: .35rem; }
.person p { margin: 0; font-size: .86rem; color: #5A4C4D; line-height: 1.45; }

.contact-panel__grid { display: grid; gap: 14px; margin-top: clamp(1.8rem, 3vw, 3rem); }
@media (min-width: 1000px) { .contact-panel__grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; } .contact-panel__aside { position: sticky; top: var(--sticky-top); } }
.contact-panel__aside .contact-x__info { min-height: 0; }

/* utilidades */
.on-dark { color: #fff; }
.stack-lg > * + * { margin-top: clamp(1.4rem, 2vw, 2.2rem); }
.mt-0 { margin-top: 0 !important; }

/* ---------- Ajustes home ---------- */
@media (min-width: 1000px) { .econ-x { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem !important; } }
.econ-x .icon-list li { color: var(--ink); }
.hx__actions .btn-light::after { background: rgba(122,14,26,.12); }

/* ---------- Correcciones v3.1 ---------- */
.site-header { background: rgba(250, 247, 242, 0.9); }
.site-header__logo img { height: 42px; width: auto; }
.site-header.is-scrolled .site-header__logo img { height: 36px; }
.hx__enter > .hx__logo { animation: hxLogoIn 1.2s var(--ease) forwards; }
@keyframes hxLogoIn { from { opacity: 0; transform: translateY(30px); } to { opacity: .96; transform: none; } }
.hx__logo { width: min(340px, 70vw); margin-bottom: clamp(1.2rem, 2.4vw, 2.2rem); }
.hx h1 { font-size: clamp(2.3rem, 1rem + 4.5vw, 4.9rem); max-width: 19ch; line-height: 1; }
.hx__inner { padding-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .hx__enter > .hx__logo { animation: none; opacity: .96; transform: none; } }
.hx__enter > .hx__logo { filter: brightness(0) invert(1); height: auto; }
.spot__visual .bezel > img, .about-x__media img, .service-hero__media .bezel img, .info-x__side .bezel img { height: auto; }

/* ---------- Banda oscura (páginas de servicio) ---------- */
.band-dark { position: relative; isolation: isolate; color: #fff; background: radial-gradient(90% 120% at 0% 0%, #7A0E1A 0%, transparent 60%), radial-gradient(80% 100% at 100% 100%, rgba(201,163,122,.18), transparent 60%), var(--wine-deep); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark h2 em { color: var(--brass-soft); }
.band-dark .person h3 { color: var(--ink); }
.cta-block .pill { margin-bottom: .9rem; }
.cta-block h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem); line-height: 1.05; }
.cta-block h2 em { color: var(--brass-soft); }
.cta-block .icon-list li::before { background: var(--brass); box-shadow: 0 0 0 4px rgba(201,163,122,.22); }
.about-x__text .icon-list li { color: var(--ink); }
.service-hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.9vw, 4.3rem); max-width: 16ch; }

/* ---------- Zonas de actuación (etiquetas) ---------- */
.zone-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; padding: 0; }
.zone-chips li { list-style: none; padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--wine); background: rgba(122, 14, 26, 0.06); border: 1px solid rgba(122, 14, 26, 0.2); }


/* ---------- Funciones del departamento económico ---------- */
.fn-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.fn { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-ring), 0 24px 44px -32px rgba(58, 5, 11, 0.42), inset 0 1px 0 #fff; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.fn:hover { transform: translateY(-5px); box-shadow: var(--shadow-ring), 0 38px 54px -32px rgba(58, 5, 11, 0.5), inset 0 1px 0 #fff; }
.fn__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--wine); background: rgba(122, 14, 26, 0.08); margin-bottom: 0.3rem; }
.fn__ic svg { width: 24px; height: 24px; }
.fn h3 { font-size: 1.2rem; line-height: 1.15; }
.fn p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: #5A4C4D; }
.fn--feature { color: #fff; background: radial-gradient(110% 120% at 0% 0%, var(--wine) 0%, transparent 62%), var(--wine-deep); }
.fn--feature h3 { color: #fff; }
.fn--feature p { color: rgba(255, 255, 255, 0.82); }
.fn--feature .fn__ic { background: rgba(255, 255, 255, 0.12); color: var(--brass-soft); }
.fn__tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--brass-soft); }
@media (min-width: 900px) { .fn-grid { grid-template-columns: repeat(3, 1fr); } .fn--feature { grid-column: span 2; } }
.collab { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 900px) { .collab { grid-template-columns: 1.1fr 0.9fr; } }
.collab__card { border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); background: var(--paper-2); box-shadow: var(--shadow-ring); }
.collab__card h3 { margin-bottom: 0.7rem; }
.collab__card p { margin: 0 0 0.9rem; color: #4F4244; }
.collab__card--dark { background: radial-gradient(100% 120% at 100% 0%, rgba(201, 163, 122, 0.22), transparent 60%), var(--wine-deep); color: #fff; }
.collab__card--dark h3 { color: #fff; }
.collab__card--dark p { color: rgba(255, 255, 255, 0.84); }

/* ---------- Cabecera de página con foto de fondo ---------- */
.page-header--photo { color: #fff; background: var(--wine-deep); }
.page-header--photo::after { display: none; }
.page-header--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 4, 8, 0.86) 0%, rgba(30, 4, 8, 0.6) 55%, rgba(30, 4, 8, 0.34) 100%), linear-gradient(180deg, rgba(30, 4, 8, 0.3), rgba(30, 4, 8, 0.55)); }
.page-header__bg { position: absolute; inset: 0; z-index: -2; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-header--photo h1 { color: #fff; }
.page-header--photo h1 em { color: var(--brass-soft); }
.page-header--photo .lead { color: rgba(255, 255, 255, 0.86); }
.site-footer__credit { display: block; flex-basis: 100%; font-size: 0.7rem; opacity: 0.6; }
.collab { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .collab { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.collab__card .btn { white-space: normal; max-width: 100%; text-align: center; height: auto; min-height: 48px; }

/* Móvil: nada debe ensanchar la página (botones con texto largo, rejillas antiguas) */
.grid > *, .grid--2 > * { min-width: 0; }
.btn { max-width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }
