/* ==========================================================================
   CB STUDIO — main.css (hoja de estilos única del sitio)

   1  Tokens            7  Enfoque            13 Preguntas
   2  Base y reset      8  Soluciones         14 Contacto
   3  Botones y enlaces 9  (libre)             15 Pie y flotantes
   4  Header y menú     10 Propuestas (home)  16 Animaciones de entrada
   5  Hero              11 Proceso            17 Movimiento reducido
   6  Franja            12 Sobre CB

   Los 3 idiomas usan exactamente este CSS y el mismo HTML: lo único que cambia
   son los textos. Las propuestas por rubro cargan además propuestas.css.
   ========================================================================== */

/* Fuentes propias (Fraunces e Inter, licencia OFL): variables, recortadas a caracteres latinos.
   Para actualizarlas, cambiá el número de versión del archivo (-v1 → -v2) acá y en el <head>. */
@font-face { font-family: 'Fraunces'; src: url("/assets/fonts/fraunces-v1.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url("/assets/fonts/fraunces-italic-v1.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url("/assets/fonts/inter-v1.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }

/* 1 ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  /* paleta oficial */
  --espresso: #211D1A;   /* tinta, textos y fondos oscuros */
  --ivory:    #F5F1E9;   /* fondo principal */
  --walnut:   #765943;   /* secundario */
  --sand:     #D8C9B5;   /* líneas y superficies */
  --bronze:   #B18A62;   /* acentos */
  --sage:     #899184;   /* acento complementario */
  /* derivados */
  --walnut-dark: #5E4636;
  --paper-soft: #E6DBCF;  /* fondo de secciones alternas */
  --paper-card: #FBF9F4;  /* tarjetas */
  --ink-2: #5C5047;       /* texto secundario */
  --ink-3: #7A6E62;       /* texto atenuado */
  --on-dark: #E0D4C6;
  --whatsapp: #25D366;    --whatsapp-dark: #20BA5A;
  /* tipografía */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  /* medidas */
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
  --section-y: clamp(4rem, 7.5vw, 6.5rem);
  /* movimiento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-ink: cubic-bezier(.65, 0, .2, 1);
}
@media (max-width: 520px) { :root { --header-h: 68px; } }

/* 2 ── BASE Y RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { background: var(--ivory); color: var(--espresso); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; overscroll-behavior-y: none; }
body::after { /* textura de papel muy sutil */
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a, button { color: inherit; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; touch-action: manipulation; }
ul, ol { list-style: none; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; padding: .7rem 1.2rem; border-radius: 50px; background: var(--espresso); color: #fff; font-size: .8rem; transition: top .2s ease; }
.skip-link:focus { top: .8rem; }
.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* Tipografía de secciones */
.section-tag { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; color: var(--walnut); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.section-tag::before { content: ""; width: 1.7rem; height: 1px; background: var(--bronze); }
.section-title, .approach-title, .props-title, .process-title, .about-title, .contact-title {
  font: 400 clamp(2.1rem, 4.4vw, 3.7rem)/1.06 var(--serif); letter-spacing: -.035em; text-wrap: balance;
}
[data-split] .ln { display: block; }
[data-split] .ln > span { display: inline; }
.mx-h .ln > span { display: block; }

/* 3 ── BOTONES Y ENLACES ────────────────────────────────────────────────── */
.btn-primary, .btn-header {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  background: var(--walnut); color: var(--ivory); border-radius: 2px; font-weight: 600; text-transform: uppercase;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background-color .3s ease;
}
.btn-primary { padding: 1.05rem 1.5rem; font-size: .74rem; letter-spacing: .08em; translate: var(--mx, 0) var(--my, 0); }
.btn-header { padding: .8rem 1.1rem; font-size: .7rem; font-weight: 500; letter-spacing: .09em; flex-shrink: 0; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-primary:active, .btn-header:active { transform: scale(.97); transition-duration: .1s; }
.btn-secondary, .solutions-all-link, .work-link, .faq-cta a {
  display: inline-block; padding-bottom: 3px; border-bottom: 1px solid var(--bronze);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease, transform .28s var(--ease-out);
}
.btn-secondary:active, .solutions-all-link:active, .work-link:active, .faq-cta a:active { opacity: .65; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--walnut-dark); color: #fff; box-shadow: 0 12px 28px rgba(33,29,26,.16); transform: translateY(-2px); }
  .btn-header:hover { background: var(--walnut-dark); color: #fff; }
  .btn-secondary:hover, .solutions-all-link:hover, .faq-cta a:hover { color: var(--walnut); border-color: var(--walnut); transform: translateY(-2px); }
  .work-link:hover { color: #fff; transform: translateY(-2px); }
}
@media (max-width: 640px) { .btn-primary { width: 100%; } }

/* 4 ── HEADER Y MENÚ ────────────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center;
  background: rgba(245,241,233,.9); border-bottom: 1px solid rgba(118,89,67,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease-out), background-color .3s ease, box-shadow .3s ease;
}
.header.scrolled { background: rgba(245,241,233,.97); box-shadow: 0 8px 30px rgba(33,29,26,.06); }
.header.is-hidden { transform: translateY(-100%); }
.nav-container { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand-logo { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; white-space: nowrap; z-index: 1001; }
.monogram {
  display: block; flex: none; width: 2.05rem; aspect-ratio: 247.5 / 258; background: currentColor; color: var(--espresso);
  -webkit-mask: url("/assets/img/logo-mark.svg") center / contain no-repeat; mask: url("/assets/img/logo-mark.svg") center / contain no-repeat;
}
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: .12rem; }
.brand-name { font: 500 .76rem/1.2 var(--serif); letter-spacing: .19em; text-transform: uppercase; }
.brand-descriptor { color: var(--ink-3); font: 500 .48rem/1.2 var(--sans); letter-spacing: .23em; text-transform: uppercase; }
@media (max-width: 520px) { .monogram { width: 1.8rem; } .brand-name { font-size: .7rem; } .brand-descriptor { font-size: .43rem; } }

.nav-links { display: flex; gap: clamp(1.1rem, 2vw, 2.2rem); }
.nav-link { position: relative; white-space: nowrap; color: var(--ink-2); font-size: .68rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; transition: color .3s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--walnut); transition: width .35s var(--ease-out); }
.nav-link:hover, .nav-link.is-current { color: var(--espresso); }
.nav-link:hover::after, .nav-link.is-current::after { width: 100%; }
.mobile-only-btn { display: none; }

.hamburger-btn { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 32px; height: 32px; flex-shrink: 0; z-index: 1001; }
.hamburger-btn .line { width: 100%; height: 1.5px; background: var(--espresso); transition: transform .35s var(--ease-out); }
.hamburger-btn.active .line-1 { transform: translateY(3.75px) rotate(45deg); }
.hamburger-btn.active .line-2 { transform: translateY(-3.75px) rotate(-45deg); }

/* Selector de idioma (muestra solo el idioma activo) */
.lang-dd { position: relative; }
.lang-dd > summary { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .2rem; list-style: none; cursor: pointer; user-select: none; color: var(--walnut); font-size: .7rem; font-weight: 600; letter-spacing: .08em; }
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-dd > summary svg { transition: transform .2s ease; }
.lang-dd[open] > summary svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 1003; min-width: 9.75rem; padding: .35rem; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 8px; box-shadow: 0 16px 36px rgba(33,29,26,.14); animation: lang-in .18s ease both; }
.lang-menu a { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 5px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.lang-menu a b { min-width: 1.5rem; color: var(--walnut); font-weight: 700; letter-spacing: .1em; }
.lang-menu a:hover, .lang-menu a[aria-current="page"] { background: var(--paper-soft); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 1120px) {
  .hamburger-btn { display: flex; }
  .desktop-only-btn { display: none; }
  .language-switch { margin-left: auto; }
  .nav-menu {
    position: absolute; top: 100%; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); padding: 1.6rem var(--pad) 1.8rem;
    background: var(--ivory); border-bottom: 1px solid var(--sand); box-shadow: 0 24px 40px rgba(33,29,26,.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .35s var(--ease-out), visibility .3s;
  }
  .nav-menu.active { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 1.3rem; margin-bottom: 1.6rem; }
  .nav-link { font-size: .74rem; }
  .mobile-only-btn { display: flex; width: 100%; }
}

/* 5 ── HERO ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem); }
.hero::before { /* anillo decorativo */
  content: ""; position: absolute; right: -14%; top: -30%; width: min(60vw, 820px); aspect-ratio: 1; border: 1px solid rgba(216,201,181,.7); border-radius: 50%; pointer-events: none; animation: ring-breath 18s ease-in-out infinite alternate;
}
.hero-container { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hero-brand-tag { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; color: var(--walnut); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero-brand-tag { animation: hero-in .8s var(--ease-out) .05s backwards; }
.hero-tag-mark { display: inline-block; width: 24px; height: 1px; background: var(--walnut); transform-origin: left; animation: grow-x .9s var(--ease-out) .1s backwards; }
.hero-title { margin-bottom: 1.6rem; font: 400 clamp(2.7rem, 5.6vw, 5.2rem)/1 var(--serif); letter-spacing: -.045em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .ln > span { display: block; animation: ln-up 1.05s var(--ease-out) both; animation-delay: calc(.18s + var(--i, 0) * .11s); }
.hero-title .ln:nth-child(4) em { animation-delay: 1.35s; }
.hero-title em {
  font-style: italic; color: var(--walnut); padding-bottom: .03em;
  background: linear-gradient(var(--bronze), var(--bronze)) 0 96% / 0 .045em no-repeat; animation: ink-line .95s var(--ease-ink) 1s forwards;
}
.hero-tagline { max-width: 28rem; margin-bottom: 2.2rem; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.75; animation: hero-in 1s var(--ease-out) .7s backwards; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-bottom: 2.4rem; animation: hero-in 1s var(--ease-out) .85s backwards; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; color: var(--ink-2); font-size: .74rem; animation: hero-in 1s var(--ease-out) 1s backwards; }
.trust li { display: flex; align-items: center; gap: .55rem; }
.trust li::before { content: ""; width: 5px; height: 5px; background: var(--bronze); transform: rotate(45deg); }

.hero-eye-visual { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hero-eye-image { width: 100%; aspect-ratio: 1400 / 1270; object-fit: cover; mix-blend-mode: multiply; will-change: transform; transform: translate3d(calc(var(--ex, 0) * 10px), calc(var(--ey, 0) * 8px + var(--sy, 0px)), 0); transition: transform .3s ease-out; animation: eye-open 1.7s var(--ease-ink) .15s backwards; }
.hero-eye-caption { display: flex; align-items: center; gap: .7rem; align-self: flex-end; padding: .9rem .25rem 0; color: var(--walnut); font: italic 400 clamp(1rem, 1.35vw, 1.2rem)/1.3 var(--serif); animation: fade-up .9s var(--ease-out) 1.45s backwards; }
.hero-eye-caption__line { width: 28px; height: 1px; background: var(--bronze); transform-origin: left; animation: grow-x 1s var(--ease-out) 1.55s backwards; }

@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } }
@keyframes ln-up { from { transform: translateY(108%); } }
@keyframes ink-line { to { background-size: 100% .045em; } }
@keyframes eye-open { from { clip-path: circle(0% at 65% 47%); scale: 1.09; } to { clip-path: circle(112% at 65% 47%); scale: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes ring-breath { to { transform: scale(1.05) translate3d(-8px, 6px, 0); } }

/* Tablet y ventanas angostas (701–980px): se mantienen las dos columnas, así el hero llena la pantalla */
@media (min-width: 701px) and (max-width: 980px) {
  .hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
  .hero-container { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.5rem clamp(1.4rem, 3.5vw, 2.6rem); }
  .hero-title { font-size: clamp(2.4rem, 6.2vw, 3.6rem); margin-bottom: 1.3rem; }
  .hero-tagline { margin-bottom: 1.8rem; }
  .hero-actions { gap: .9rem 1.4rem; margin-bottom: 1.8rem; }
}
/* Celulares: una sola columna; la imagen va arriba como banner, así la animación se ve en la primera pantalla */
@media (max-width: 700px) {
  .hero { padding-top: calc(var(--header-h) + 1.1rem); padding-bottom: 2.6rem; }
  .hero-container { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-eye-visual { order: -1; width: min(100%, 560px); justify-self: center; }
  .hero-eye-image { aspect-ratio: 16 / 11; object-position: 65% 47%; }
  .hero-eye-visual::before { aspect-ratio: 16 / 11; }
  .hero-eye-caption { display: none; }
  .hero-tagline { max-width: 40rem; }
  .hero-chips li:nth-child(1) { top: 7%; left: 3%; }
  .hero-chips li:nth-child(2) { top: 15%; right: 3%; }
  .hero-chips li:nth-child(3) { bottom: 9%; left: 3%; }
  .hero-chips li:nth-child(4) { display: none; }
}
@media (max-width: 520px) {
    .hero-actions { gap: 1rem; }
    .hero-bottomline span:nth-child(2) { display: none; }
}

/* Etiquetas flotantes alrededor del ojo: muestran de un vistazo qué hace el estudio */
.hero-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-chips li {
  position: absolute; display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--sand); border-radius: 50px;
  background: rgba(251,249,244,.94); box-shadow: 0 14px 30px rgba(33,29,26,.12); color: var(--walnut); font: 600 .72rem/1 var(--sans); letter-spacing: .08em;
  animation: chip-in .8s var(--ease-out) calc(1.05s + var(--i) * .15s) backwards, chip-float 6.5s ease-in-out calc(var(--i) * -1.7s) infinite;
}
.hero-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.hero-chips li:nth-child(1) { top: 8%; left: -5%; }
.hero-chips li:nth-child(2) { top: 30%; right: -5%; }
.hero-chips li:nth-child(3) { bottom: 26%; left: -7%; }
.hero-chips li:nth-child(3)::before { background: var(--whatsapp); }
.hero-chips li:nth-child(4) { bottom: 11%; right: 3%; }
.hero-chips li:nth-child(4)::before { background: var(--sage); }
/* Espera: main.js lo activa hasta que la imagen terminó de cargar; al soltarlo arranca toda la secuencia */
/* Mientras espera, un anillo marca el punto desde donde se va a abrir el ojo (evita un hueco vacío) */
.hero-eye-visual::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; aspect-ratio: 1400 / 1270; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(circle at 65% 47%, rgba(177,138,98,.7) 0 2.5px, transparent 3.5px), radial-gradient(circle at 65% 47%, transparent 0 17px, rgba(177,138,98,.45) 18px 19px, transparent 20px);
  animation: eye-wait 1.6s ease-in-out infinite;
}
.hero-eye-visual.eye-hold::before { opacity: 1; }
@keyframes eye-wait { 50% { scale: 1.12; transform-origin: 65% 47%; } }
.hero-eye-visual.eye-hold .hero-eye-image { animation: none; clip-path: circle(0% at 65% 47%); }
.hero-eye-visual.eye-hold .hero-chips li, .hero-eye-visual.eye-hold .hero-eye-caption { animation: none; opacity: 0; }
@keyframes chip-in { from { opacity: 0; scale: .8; } }
@keyframes chip-float { 50% { translate: 0 -9px; } }
@media (max-width: 980px) {
  .hero-chips li:nth-child(1) { left: 2%; } .hero-chips li:nth-child(3) { left: 2%; } .hero-chips li:nth-child(2) { right: 2%; }
}
@media (max-width: 520px) { .hero-chips li { padding: .45rem .8rem; font-size: .64rem; } }

/* 6 ── FRANJA ───────────────────────────────────────────────────────────── */
.vibe-band { overflow: hidden; background: var(--espresso); color: var(--ivory); }
.vibe-track { display: flex; width: max-content; animation: vibe-move 42s linear infinite; }
.vibe-track ul { display: flex; flex: none; }
.vibe-track li { display: flex; align-items: center; gap: 1.7rem; padding: 1rem 0 1rem 1.7rem; font: italic 400 clamp(1.05rem, 1.8vw, 1.35rem) var(--serif); white-space: nowrap; }
.vibe-track li::after { content: ""; width: 6px; height: 6px; background: var(--bronze); transform: rotate(45deg); }
.vibe-band:hover .vibe-track { animation-play-state: paused; }
@keyframes vibe-move { to { transform: translateX(-50%); } }

/* 7 ── ENFOQUE (tarjetas en escalera) ───────────────────────────────────── */
.approach { position: relative; overflow: hidden; padding: var(--section-y) 0; background: var(--paper-soft); }
.approach::before { content: ""; position: absolute; left: -14%; bottom: -40%; width: min(60vw, 760px); aspect-ratio: 1; border: 1px solid rgba(118,89,67,.22); border-radius: 50%; pointer-events: none; }
.approach-header { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.approach-title { max-width: 20ch; font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
.approach-description { max-width: 24rem; color: var(--ink-2); line-height: 1.7; }
.approach-pillars { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; margin-top: clamp(2.6rem, 5vw, 4.2rem); counter-reset: pilar; }
.pillar-item { position: relative; overflow: hidden; counter-increment: pilar; padding: 1.8rem 1.8rem 2rem; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 6px; box-shadow: 0 18px 40px rgba(33,29,26,.06); transition: translate .45s var(--ease-out), box-shadow .45s ease, border-color .3s ease; }
.pillar-item:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.pillar-item:nth-child(3) { margin-top: clamp(3rem, 8vw, 7rem); }
.pillar-item::after { content: "0" counter(pilar); position: absolute; right: 1.2rem; top: .5rem; color: var(--sand); font: italic 400 4.4rem/1 var(--serif); pointer-events: none; }
.pillar-icon { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.3rem; border: 1px solid var(--sand); border-radius: 50%; background: var(--ivory); color: var(--walnut); }
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-title { position: relative; margin-bottom: .5rem; font: 500 1.3rem/1.25 var(--serif); letter-spacing: -.02em; }
.pillar-text { position: relative; max-width: 22rem; color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .pillar-item:hover { translate: 0 -8px; border-color: var(--bronze); box-shadow: 0 28px 50px rgba(33,29,26,.11); } }
@media (max-width: 980px) {
  .approach-header { grid-template-columns: 1fr; }
  .approach-title { max-width: none; }
  .approach-pillars { grid-template-columns: 1fr; }
  .pillar-item:nth-child(n) { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; margin-top: 0; padding: 1.3rem 1.4rem; }
  .pillar-icon { grid-row: span 2; margin-bottom: 0; }
  .pillar-item::after { top: auto; bottom: .1rem; right: .9rem; font-size: 2.8rem; opacity: .7; }
}

/* 8 ── SOLUCIONES (bento con mini-maquetas animadas) ────────────────────── */
.solutions { padding: var(--section-y) 0; }
.solutions-all-link { flex-shrink: 0; white-space: nowrap; }
.solutions-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.solutions-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.solution-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sand); border-radius: 10px; background: var(--paper-card); transition: translate .5s var(--ease-out), box-shadow .5s ease; }
.solution-card:nth-child(1) { grid-column: span 7; background: var(--walnut); border-color: var(--walnut); color: var(--ivory); }
.solution-card:nth-child(2) { grid-column: span 5; }
.solution-card:nth-child(3) { grid-column: span 5; background: var(--sand); border-color: var(--sand); }
.solution-card:nth-child(4) { grid-column: span 7; background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.solution-card::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy2, 50%), rgba(255,255,255,.16), transparent 70%); transition: opacity .4s ease; }
.sol-body { position: relative; z-index: 1; display: grid; gap: .55rem; padding: 1.3rem 1.7rem 1.8rem; }
.solution-num { color: var(--bronze); font: italic 400 1.1rem var(--serif); }
.solution-card:nth-child(1) .solution-num, .solution-card:nth-child(4) .solution-num { color: #E3C9A6; }
.solution-card h3 { font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.03em; }
.solution-desc { max-width: 30rem; font-size: .98rem; line-height: 1.55; opacity: .82; }
.sol-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.sol-chips li { padding: .28rem .75rem; border: 1px solid currentColor; border-radius: 50px; font-size: .66rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; opacity: .7; }
@media (hover: hover) and (pointer: fine) {
  .solution-card:hover { translate: 0 -6px; box-shadow: 0 30px 56px rgba(33,29,26,.2); }
  .solution-card:hover::before { opacity: 1; }
}

/* mini-maquetas: cada servicio se "dibuja" y reacciona al pasar el mouse */
.sol-art { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: hidden; padding: 1.5rem 1.5rem 0;
  --m-win: #F5F1E9; --m-bar: #E6DBCF; --m-ink: #211D1A; --m-mute: #D8C9B5; --m-accent: #B18A62; --m-img: #E6DBCF; }
.sol-art * { transform-box: fill-box; }
.sol-art .m-win { fill: var(--m-win); } .sol-art .m-bar { fill: var(--m-bar); } .sol-art .m-ink { fill: var(--m-ink); }
.sol-art .m-mute { fill: var(--m-mute); } .sol-art .m-accent { fill: var(--m-accent); } .sol-art .m-img { fill: var(--m-img); }
.sol-art .m-stroke { stroke: var(--sand); stroke-width: 1.5; }
.sol-art .m-line { fill: none; stroke: var(--m-win); stroke-width: 3; stroke-linecap: round; }
.sol-art--site { --m-win: #FBF9F4; --m-accent: #765943; }
.sol-art--shop { --m-accent: #899184; }
.m-type { transform-origin: left center; }
.solution-card:hover .m-type { animation: m-type .9s var(--ease-out) both; }
.m-cta { transform-origin: center; animation: m-pulse 2.8s ease-in-out infinite; }
.m-nav { animation: m-nav 5.6s ease-in-out infinite; }
.m-chat { animation: m-bob 3.4s ease-in-out infinite; }
.m-bubble { fill: #FBF9F4; stroke: #B8AB99; stroke-width: 1; }
.m-dot { fill: #899184; animation: m-dot 1.2s ease-in-out infinite; }
.m-wa { fill: var(--whatsapp); }
.m-wa-glyph { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-reveal, .m-handle { transition: transform .9s var(--ease-out); }
.solution-card:hover .m-reveal, .solution-card:hover .m-handle { transform: translateX(-78px); }
@keyframes m-type { from { transform: scaleX(.08); } }
@keyframes m-pulse { 50% { scale: 1.08; } }
@keyframes m-nav { 0%, 18%, 100% { fill: var(--m-mute); } 6%, 12% { fill: var(--m-accent); } }
@keyframes m-bob { 50% { translate: 0 -6px; } }
@keyframes m-dot { 50% { opacity: .25; } }
@media (max-width: 980px) {
  .solutions-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .solution-card:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 700px) { .solution-card:nth-child(n) { grid-column: 1 / -1; } }

/* Enlace secundario sobre fondo oscuro (404 y guías) */
.work-link { color: #F0D7B8; border-color: #D4B28B; }

/* 10 ── PROPUESTAS (home: sección oscura con tarjetas en abanico) ───────── */
.props { position: relative; overflow: hidden; padding: var(--section-y) 0; background: var(--espresso); color: var(--ivory); }
.props::before { content: ""; position: absolute; right: -12%; top: -28%; width: min(58vw, 740px); aspect-ratio: 1; border: 1px solid rgba(216,201,181,.16); border-radius: 50%; pointer-events: none; }
.props::after { content: ""; position: absolute; left: -10%; bottom: -34%; width: min(44vw, 560px); aspect-ratio: 1; border: 1px solid rgba(216,201,181,.1); border-radius: 50%; pointer-events: none; }
.props .container { position: relative; z-index: 1; }
.props .section-tag { color: #D9BC95; }
.props .section-tag::before { background: var(--bronze); }
.props-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.props-title { max-width: 18ch; color: var(--ivory); }
.props .btn-primary { background: var(--ivory); color: var(--espresso); }
.props-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(2.4rem, 5vw, 3.6rem); counter-reset: paso; border-top: 1px solid rgba(245,241,233,.3); }
.props-steps li { position: relative; padding: 1.1rem 0 0 2.4rem; counter-increment: paso; color: rgba(224,212,198,.85); font-size: .95rem; line-height: 1.5; }
.props-steps li::before { content: counter(paso); position: absolute; left: 0; top: .85rem; color: #D9BC95; font: italic 400 1.6rem/1 var(--serif); }
.props-steps b { color: var(--ivory); font-weight: 600; }
.props-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); padding-top: .9rem; }
.prop-card { display: grid; transition: rotate .5s var(--ease-out), translate .5s var(--ease-out), box-shadow .4s ease, border-color .25s ease, background-color .25s ease; }
.prop-card--feature { grid-template-rows: auto 1fr; overflow: hidden; background: var(--paper-card); color: var(--espresso); border: 1px solid var(--sand); border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.prop-card--feature:nth-child(1) { rotate: -2.4deg; translate: 0 .7rem; }
.prop-card--feature:nth-child(2) { translate: 0 -.9rem; }
.prop-card--feature:nth-child(3) { rotate: 2.4deg; translate: 0 .7rem; }
.prop-art { width: 100%; height: auto; padding: 1.4rem 1.4rem 0; background: var(--paper-soft); border-bottom: 1px solid var(--sand); }
.prop-body { display: grid; align-content: start; justify-items: start; gap: .9rem; padding: 1.3rem 1.4rem 1.5rem; }
.prop-body h3, .prop-open-text h3 { font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.15 var(--serif); letter-spacing: -.03em; }
.prop-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.prop-chips li { padding: .28rem .75rem; border: 1px solid var(--sand); border-radius: 50px; color: var(--ink-2); font-size: .72rem; }
.prop-go { color: var(--walnut); font-size: .76rem; font-weight: 600; transition: letter-spacing .3s ease; }
.prop-card--open { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; margin-top: .6rem; padding: 1.3rem 1.6rem; border: 1px dashed rgba(177,138,98,.7); border-radius: 6px; }
.prop-card--open .prop-go { color: #D9BC95; }
.prop-open-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.4rem; }
.prop-open-text p { color: rgba(224,212,198,.8); font-size: .95rem; }

/* contenedor ilustrado: las ventanas se encienden al pasar el mouse */
.c-ground { stroke: var(--espresso); stroke-width: 2; opacity: .35; }
.c-body { fill: var(--walnut); }
.c-ribs { stroke: rgba(33,29,26,.28); stroke-width: 3; }
.c-band { fill: var(--espresso); }
.c-corner { fill: var(--bronze); stroke: var(--espresso); stroke-width: 2; }
.c-win { fill: #17130F; transition: fill .45s ease, filter .45s ease; }
.c-door { fill: #4A3526; stroke: var(--espresso); stroke-width: 3; }
.c-win:nth-of-type(2) { transition-delay: .08s; } .c-win:nth-of-type(3) { transition-delay: .16s; } .c-win:nth-of-type(4) { transition-delay: .24s; }
.prop-card--feature:hover .c-win, .prop-card--feature:focus-visible .c-win { fill: #E6C79A; filter: drop-shadow(0 0 6px rgba(230,199,154,.85)); }
@media (hover: hover) and (pointer: fine) {
  .props .btn-primary:hover { background: #fff; color: var(--espresso); }
  .prop-card--feature:hover { rotate: 0deg; translate: 0 -1rem; box-shadow: 0 40px 70px rgba(0,0,0,.45); }
  .prop-card--feature:hover .prop-go { letter-spacing: .04em; }
  .prop-card--open:hover { border-color: var(--bronze); background: rgba(255,255,255,.05); }
}
@media (max-width: 980px) {
  .props-head { flex-direction: column; align-items: flex-start; }
  .props-steps { grid-template-columns: 1fr; gap: .2rem; }
  .props-steps li { padding-bottom: .8rem; }
  .prop-card--feature:nth-child(n) { rotate: none; translate: none; }
}
@media (max-width: 700px) {
  .props-head .btn-primary { width: auto; }
  .props-list { grid-template-columns: 1fr; }
  .prop-card--open { grid-template-columns: 1fr; }
}

/* 11 ── PROCESO (imagen en arco, pasos en escalera) ─────────────────────── */
.process { padding: var(--section-y) 0; }
.process-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "visual header" "visual steps"; gap: 0 clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.process-visual, .about-visual { position: relative; isolation: isolate; }
.process-visual::after, .about-visual::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid var(--bronze); border-radius: 3px; }
.process-img, .about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: 0 24px 50px rgba(33,29,26,.16); }
.process-img { border-radius: 999px 999px 4px 4px; }
.process-visual::after { border-radius: 999px 999px 4px 4px; }
.process-visual { grid-area: visual; position: sticky; top: calc(var(--header-h) + 2rem); margin-right: 14px; }
.process-header { grid-area: header; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.process-steps { grid-area: steps; display: grid; gap: .9rem; }
.process-step-item { --k: 0; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1rem; align-items: start; margin-left: calc(var(--k) * clamp(0rem, 3.4vw, 3.2rem)); padding: 1.3rem 1.6rem; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 8px; box-shadow: 0 14px 30px rgba(33,29,26,.05); transition: translate .4s var(--ease-out), box-shadow .4s ease, border-color .3s ease; }
.process-step-item:nth-child(2) { --k: 1; } .process-step-item:nth-child(3) { --k: 2; } .process-step-item:nth-child(4) { --k: 3; }
.process-step-item:nth-child(4) { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.process-step-item:nth-child(4) .step-text { color: rgba(224,212,198,.82); }
.process-step-item:nth-child(4) .step-number { color: #E3C9A6; }
.step-number { color: var(--bronze); font: italic 400 2.4rem/1 var(--serif); }
.step-title { margin-bottom: .3rem; font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.025em; }
.step-text { max-width: 32rem; color: var(--ink-2); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .process-step-item:hover { translate: 6px 0; box-shadow: 0 22px 40px rgba(33,29,26,.1); border-color: var(--bronze); } }
@media (max-width: 760px) {
  .process-container { grid-template-columns: 1fr; grid-template-areas: "header" "visual" "steps"; }
  .process-visual { position: relative; top: 0; width: min(100%, 460px); margin: 0 14px 2.5rem 0; }
  .process-step-item { margin-left: calc(var(--k) * 1rem); }
}

/* 12 ── SOBRE CB (collage: tarjeta superpuesta y etiquetas inclinadas) ──── */
.about { position: relative; overflow: hidden; padding: var(--section-y) 0; }
.about-container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "header visual" "body visual"; grid-template-rows: auto 1fr; gap: 0 clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.about-header { grid-area: header; margin-bottom: 1.4rem; }
.about-body { grid-area: body; position: relative; z-index: 2; }
.about-visual { grid-area: visual; margin-right: 14px; }
.about-img { border-radius: 240px 6px 6px 6px; }
.about-visual::after { border-radius: 240px 6px 6px 6px; }
.about-description { max-width: 34rem; margin: 0 -3.5rem 1.2rem 0; padding: 1.6rem 1.8rem; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 8px; box-shadow: 0 20px 44px rgba(33,29,26,.08); color: var(--ink-2); line-height: 1.75; }
.about-location { display: flex; align-items: center; gap: .6rem; color: var(--walnut); font-size: .76rem; font-weight: 500; letter-spacing: .06em; }
.about-values { margin-top: 1.8rem; }
.about-values h3 { margin-bottom: .9rem; color: var(--ink-3); font: 600 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.about-values ul { display: flex; flex-wrap: wrap; gap: .7rem .6rem; }
.about-values li { padding: .5rem 1.05rem; border: 1px solid var(--sand); border-radius: 50px; background: var(--paper-card); box-shadow: 0 8px 18px rgba(33,29,26,.06); color: var(--ink-2); font-size: .85rem; line-height: 1.4; transition: rotate .4s var(--ease-out), translate .4s var(--ease-out); }
.about-values li:nth-child(1) { rotate: -2.2deg; } .about-values li:nth-child(2) { rotate: 1.6deg; translate: 0 3px; } .about-values li:nth-child(3) { rotate: -1.2deg; } .about-values li:nth-child(4) { rotate: 2deg; translate: 0 -2px; }
@media (hover: hover) { .about-values li:hover { rotate: 0deg; translate: 0 -3px; } }
@media (max-width: 760px) {
  .about-container { grid-template-columns: 1fr; grid-template-areas: "header" "visual" "body"; }
  .about-visual { width: min(100%, 460px); margin: 0 14px 2.5rem 0; }
  .about-description { margin-right: 0; }
}

/* 13 ── PREGUNTAS (tarjetas numeradas en dos columnas) ──────────────────── */
.faq { padding: var(--section-y) 0; background: var(--paper-soft); }
.faq-container { display: block; }
.faq-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.faq-side .section-tag { grid-column: 1; }
.faq-side .section-title { grid-column: 1; }
.faq-cta { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; color: var(--ink-2); font-size: .92rem; }
.faq-cta a { display: block; width: fit-content; margin-top: .7rem; color: var(--walnut); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: start; counter-reset: q; }
.faq-item { position: relative; counter-increment: q; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 8px; transition: border-color .3s ease, box-shadow .4s ease; }
.faq-item::before { content: "0" counter(q); position: absolute; left: 1.4rem; top: 1.45rem; color: var(--bronze); font: italic 400 1rem/1 var(--serif); }
.faq-item[open] { border-color: var(--bronze); box-shadow: 0 20px 40px rgba(33,29,26,.09); }
.faq-item summary { position: relative; display: block; padding: 1.3rem 3rem 1.3rem 3.4rem; list-style: none; cursor: pointer; font: 400 clamp(1.08rem, 1.5vw, 1.28rem)/1.3 var(--serif); letter-spacing: -.02em; transition: color .25s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 14px; height: 1px; background: var(--walnut); transition: transform .35s var(--ease-out); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item[open] summary { color: var(--walnut); }
.faq-item p { padding: 0 1.4rem 1.4rem 3.4rem; color: var(--ink-2); line-height: 1.7; animation: fade-up .5s var(--ease-out) both; }
@media (hover: hover) { .faq-item summary:hover { color: var(--walnut); } }
@media (max-width: 980px) { .faq-list { grid-template-columns: 1fr; } .faq-side { grid-template-columns: 1fr; } .faq-cta { grid-column: 1; grid-row: auto; margin-top: 1.4rem; } }

/* 14 ── CONTACTO ────────────────────────────────────────────────────────── */
.contact-section { padding: var(--section-y) 0; }
.contact-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-description { max-width: 26rem; margin-top: 1.2rem; color: var(--ink-2); line-height: 1.7; }
.contact-direct { max-width: 28rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--sand); }
.contact-direct__label { margin-bottom: .8rem; color: var(--ink-3); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.contact-direct ul { display: grid; gap: .6rem; }
.contact-direct a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--sand); background: var(--paper-card); transition: border-color .25s ease, transform .3s var(--ease-out); }
.contact-direct a span { color: var(--ink-3); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-direct a b { font-weight: 500; font-size: .9rem; text-align: right; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .contact-direct a:hover { border-color: var(--walnut); transform: translateY(-2px); } }

.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--paper-card); border: 1px solid var(--sand); border-radius: 4px; box-shadow: 0 24px 50px rgba(33,29,26,.06); }
.form-input { width: 100%; padding: .95rem 1rem; border: 1px solid var(--sand); border-radius: 2px; background: var(--ivory); color: var(--espresso); font: inherit; font-size: .95rem; transition: border-color .25s ease, box-shadow .25s ease; }
.form-input::placeholder { color: var(--ink-3); }
.form-input:focus { outline: none; border-color: var(--walnut); box-shadow: 0 0 0 3px rgba(118,89,67,.14); }
select.form-input { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23765943' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
select.form-input:invalid { color: var(--ink-3); }
textarea.form-input { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.form-submit-btn { width: 100%; padding-block: 1.15rem; }
.form-note { color: var(--ink-3); font-size: .78rem; line-height: 1.6; }
.form-status { min-height: 1.2em; font-size: .84rem; font-weight: 500; }
.form-status.is-ok { color: #4F6B4A; }
@media (max-width: 980px) { .contact-container { grid-template-columns: 1fr; } .contact-description, .contact-direct { max-width: none; } }

/* Contacto: anillo decorativo y tarjeta con marco desplazado */
.contact-section { position: relative; isolation: isolate; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; left: -12%; top: -30%; width: min(50vw, 640px); aspect-ratio: 1; border: 1px solid rgba(216,201,181,.7); border-radius: 50%; pointer-events: none; }
.contact-container { position: relative; }
.contact-form { position: relative; margin: 0 14px 14px 0; }
.contact-form::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid var(--bronze); border-radius: 4px; }

/* 15 ── PIE Y FLOTANTES ─────────────────────────────────────────────────── */
.footer { padding: clamp(2.5rem, 5vw, 3.5rem) 0; background: var(--espresso); color: var(--on-dark); border-top: 1px solid rgba(245,241,233,.12); }
.footer-container { display: grid; grid-template-columns: auto 1fr; gap: 2rem 3rem; align-items: center; }
.footer-logo .monogram { color: var(--ivory); }
.footer-logo .brand-name { color: var(--ivory); }
.footer-logo .brand-descriptor { color: rgba(245,241,233,.68); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem 2rem; }
.footer-link { color: var(--on-dark); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .25s ease; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .8rem 2rem; padding-top: 2rem; border-top: 1px solid rgba(245,241,233,.12); grid-column: 1 / -1; }
.social-link { display: flex; align-items: center; gap: .55rem; color: var(--on-dark); font-size: .82rem; transition: color .25s ease, transform .25s var(--ease-out); }
.footer-link:hover, .social-link:hover { color: #fff; }
.social-link:hover { transform: translateY(-2px); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; grid-column: 1 / -1; color: rgba(224,212,198,.7); font-size: .72rem; }
@media (max-width: 760px) { .footer-container { grid-template-columns: 1fr; } .footer-nav { justify-content: flex-start; gap: .8rem 1.5rem; } .footer-link { font-size: .66rem; } }

.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 1100; height: 2px; background: var(--walnut); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.whatsapp-float { position: fixed; right: 25px; bottom: 25px; z-index: 900; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--whatsapp); color: #fff; animation: wa-pulse 2s infinite; transition: transform .3s cubic-bezier(.175,.885,.32,1.275), background-color .25s ease, opacity .5s ease, scale .5s var(--ease-out); }
.whatsapp-float:hover { background: var(--whatsapp-dark); transform: scale(1.12) rotate(6deg); animation: none; }
.whatsapp-float:active { transform: scale(.92); transition-duration: .1s; }
.mx .whatsapp-float { opacity: 0; scale: .7; pointer-events: none; }
.mx.wa-on .whatsapp-float { opacity: 1; scale: 1; pointer-events: auto; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-to-top { position: fixed; right: 33px; bottom: calc(93px + env(safe-area-inset-bottom, 0px)); z-index: 890; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(118,89,67,.25); border-radius: 50%; background: var(--ivory); color: var(--walnut); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, visibility .3s ease, transform .25s var(--ease-out), background-color .25s ease, color .25s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--walnut); color: var(--ivory); }
@media (max-width: 640px) { .whatsapp-float { right: 20px; bottom: 20px; width: 50px; height: 50px; } .whatsapp-float svg { width: 25px; height: 25px; } .back-to-top { right: 25px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* 404 */
.error-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.2rem; padding: 2rem; text-align: center; }
.error-links { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; justify-content: center; align-items: center; }

/* 16 ── ANIMACIONES DE ENTRADA (solo si main.js las activa: clase .mx) ──── */
.mx-h .ln { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.mx .mx-h .ln > span { transform: translateY(108%); }
.mx .mx-h.is-in .ln > span { transform: none; transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }
.mx .rv { opacity: 0; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.mx .rv[data-rv="up"] { transform: translateY(30px); }
.mx .rv[data-rv="soft"] { transform: translateY(14px); }
.mx .rv[data-rv="left"] { transform: translateX(-30px); }
.mx .rv[data-rv="scale"] { transform: translateY(36px) scale(.97); }
.mx .rv.is-in { opacity: 1; transform: none; }
.mx .img-box { background: linear-gradient(100deg, #D8C9B5 30%, #E6DBCF 50%, #D8C9B5 70%) 0 0 / 220% 100%; animation: shimmer 1.7s linear infinite; }
.mx .img-box.is-ready { animation: none; }
.mx .img-box > img { opacity: 0; filter: blur(10px); scale: 1.07; transition: opacity .9s ease, filter 1.1s var(--ease-out), scale 1.5s var(--ease-out); }
.mx .img-box.is-ready > img { opacity: 1; filter: none; scale: 1; }
.mx .pillar-icon svg :is(path, rect, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease-ink) .25s; }
.mx .pillar-icon svg.is-drawn :is(path, rect, circle) { stroke-dashoffset: 0; }

/* 17 ── MOVIMIENTO REDUCIDO ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .vibe-track { animation: none !important; }
  .hero-chips li, .m-cta, .m-nav, .m-chat, .m-dot { animation: none !important; }
  .hero-eye-visual.eye-hold .hero-eye-image { clip-path: none; }
  .hero-eye-visual::before { display: none; }
  .hero-eye-visual.eye-hold .hero-chips li, .hero-eye-visual.eye-hold .hero-eye-caption { opacity: 1; }
}

/* Sección «Incluido»: mosaico con íconos y panel oscuro de mantenimiento */
.included-sec { padding: var(--section-y) 0; background: var(--paper-soft); }
.included-sub { margin: clamp(2rem, 4vw, 3rem) 0 1rem; color: var(--walnut); font: 600 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.included-head + .included-sub { margin-top: 0; }
.included-title { font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.03em; }
.included-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.included-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1rem); }
.included-item { position: relative; display: grid; align-content: start; gap: .35rem; padding: 1.4rem; background: var(--paper-card); border: 1px solid var(--sand); border-radius: 10px; transition: translate .4s var(--ease-out), box-shadow .4s ease; }
.included-ico { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: .7rem; border: 1px solid currentColor; border-radius: 50%; color: var(--walnut); }
.included-item h4 { font: 500 1.12rem/1.25 var(--serif); letter-spacing: -.015em; }
.included-item p { color: var(--ink-2); font-size: .9rem; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .included-item:hover { translate: 0 -5px; box-shadow: 0 22px 40px rgba(33,29,26,.12); } }
.included-grid:not(.included-grid--4) .included-item:nth-child(1),
.included-grid:not(.included-grid--4) .included-item:nth-child(6),
.included-grid:not(.included-grid--4) .included-item:nth-child(9) { grid-column: span 2; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; align-items: center; align-content: center; }
.included-grid:not(.included-grid--4) .included-item:nth-child(1) .included-ico,
.included-grid:not(.included-grid--4) .included-item:nth-child(6) .included-ico,
.included-grid:not(.included-grid--4) .included-item:nth-child(9) .included-ico { grid-row: span 2; margin-bottom: 0; }
.included-grid:not(.included-grid--4) .included-item:nth-child(1) { background: var(--walnut); border-color: var(--walnut); color: var(--ivory); }
.included-grid:not(.included-grid--4) .included-item:nth-child(1) .included-ico { color: #E3C9A6; }
.included-grid:not(.included-grid--4) .included-item:nth-child(1) p { color: rgba(245,241,233,.84); }
.included-grid:not(.included-grid--4) .included-item:nth-child(6) { background: var(--sand); border-color: var(--sand); }
.included-grid:not(.included-grid--4) .included-item:nth-child(6) p, .included-grid:not(.included-grid--4) .included-item:nth-child(9) p { color: rgba(33,29,26,.82); }
.included-grid:not(.included-grid--4) .included-item:nth-child(9) { background: var(--sage); border-color: var(--sage); color: var(--espresso); }
.included-grid:not(.included-grid--4) .included-item:nth-child(9) .included-ico { color: var(--espresso); }
.included-note, .included-foot { max-width: 62ch; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.included-foot { margin-top: clamp(1.4rem, 2.5vw, 2rem); }
.included-panel { margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--espresso); color: var(--ivory); border-radius: 10px; }
.included-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.2rem; }
.included-panel .included-sub { margin: 0; color: #E3C9A6; }
.included-panel .included-note { color: rgba(224,212,198,.78); }
.included-panel .included-item { background: rgba(245,241,233,.05); border-color: rgba(245,241,233,.14); color: var(--ivory); }
.included-panel .included-ico { color: #E3C9A6; }
.included-panel .included-item p { color: rgba(224,212,198,.78); }
@media (max-width: 980px) { .included-grid, .included-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .included-grid, .included-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .included-item { padding: 1.1rem 1rem; }
  .included-item h4 { font-size: 1rem; }
  .included-item p { font-size: .82rem; }
  .included-ico { width: 2.4rem; height: 2.4rem; margin-bottom: .5rem; }
}

/* Tarjeta «Salud y bienestar»: clínica en tonos verdes, distinta del contenedor */
.prop-art--salud { background: #DDEDEA; }
.prop-art--salud .h-wall { fill: #F7FBFA; stroke: #1F5652; stroke-width: 2; }
.prop-art--salud .h-roof { fill: #2F7F79; }
.prop-art--salud .c-win { fill: #1F4A47; }
.prop-art--salud .h-door { fill: #DDEDEA; stroke: #1F5652; stroke-width: 2; }
.prop-art--salud .h-cross-bg { fill: #2F7F79; }
.prop-art--salud .h-cross { stroke: #fff; stroke-width: 3; fill: none; }
.prop-art--salud .c-ground { stroke: #1F5652; }

/* Tarjeta «Gastronomía»: local con toldo a rayas, en terracota */
.prop-art--gastro { background: #F4E4D4; }
.prop-art--gastro .g-wall { fill: #F6E7D4; stroke: #7A3B25; stroke-width: 2; }
.prop-art--gastro .g-sign, .prop-art--gastro .g-a { fill: #B5482F; }
.prop-art--gastro .g-b { fill: #FFF4E6; }
.prop-art--gastro .c-win { fill: #3A2A22; }
.prop-art--gastro .g-door { fill: #6B7A3E; stroke: #7A3B25; stroke-width: 2; }
.prop-art--gastro .c-ground { stroke: #7A3B25; }
