/* Equus Dinàmic · estilos comunes (AX Creative, 2026) */
:root {
  --paper: #F3EEE4;
  --paper-2: #E9E1D2;
  --paper-3: #DDD2BE;
  --ink: #1D2820;
  --ink-soft: #3F4A41;
  --forest: #2E4734;
  --moss: #6E7C4E;
  --leather: #9C6534;
  --leather-dark: #7E4F27;
  --sand: #CDB894;
  --line: rgba(29, 40, 32, .14);
  --white: #FBF9F4;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 6px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-variant-numeric: lining-nums;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--sand); color: var(--ink); }

/* ---------- Tipografía ---------- */
h1, h2, h3, .display, .stat b {
  font-variant-numeric: lining-nums;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}
.h-xxl { font-size: clamp(52px, 9vw, 148px); }
.h-xl  { font-size: clamp(44px, 6.4vw, 104px); }
.h-l   { font-size: clamp(36px, 4.6vw, 72px); }
.h-m   { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.h-s   { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.lead  { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
p { margin: 0 0 1em; }
.small { font-size: 14px; }
.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 110px) 0; }
.bg-2 { background: var(--paper-2); }
.bg-forest { background: var(--forest); color: var(--paper); }
.bg-forest .lead, .bg-forest .muted { color: rgba(243, 238, 228, .78); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--leather); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid var(--leather);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--leather-dark); border-color: var(--leather-dark); }
.btn .shoe { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .shoe { transform: rotate(-20deg) translateX(3px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bg-forest .btn--ghost:hover, .on-photo .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  color: var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.has-hero .site-header:not(.is-solid) { color: var(--white); }
.site-header.is-solid { background: rgba(243, 238, 228, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 92px; aspect-ratio: 1092 / 689;
  background: currentColor;
  -webkit-mask: url(../img/logo.png) center / contain no-repeat;
  mask: url(../img/logo.png) center / contain no-repeat;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; background: none; border: 0; color: inherit; cursor: pointer;
  position: relative;
}
.nav > a::after, .nav .dd > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav > a:hover::after, .nav .dd > button:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; padding: 12px 20px; font-size: 14px; }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: -10px; min-width: 300px;
  background: var(--paper); color: var(--ink); border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(29, 40, 32, .35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.dd-menu a:hover { background: var(--paper-2); }
.dd-menu a span { font-size: 12px; color: var(--ink-soft); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--forest); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .site-header { color: var(--paper) !important; background: transparent !important; box-shadow: none !important; }
.mobile-menu a { font-family: var(--serif); font-size: 36px; line-height: 1.2; text-decoration: none; padding: 6px 0; }
.mobile-menu a.sub { font-family: var(--sans); font-size: 17px; padding: 6px 0 6px 18px; opacity: .8; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; font-family: var(--sans); font-size: 15px; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* ---------- Loader (caballito al galope) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader-inner { width: min(360px, 80vw); text-align: center; }
.loader-horse { width: 170px; margin: 0 auto; color: var(--forest); }
.loader-track { position: relative; height: 26px; margin-top: 10px; }
.loader-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.loader-prints { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.loader-prints svg { width: 14px; height: 14px; color: var(--leather); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.loader-prints svg.on { opacity: 1; transform: none; }
.loader-prints svg:nth-child(odd) { margin-top: -10px; } .loader-prints svg:nth-child(even) { margin-top: 10px; }
.loader-text { margin-top: 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; }

/* Caballo SVG: animación de galope (orígenes en el propio SVG) */
.horse .body-g { animation: bob .5s infinite linear; }
.horse .leg-fl { animation: legF .5s infinite linear; }
.horse .leg-fr { animation: legF .5s infinite linear; animation-delay: -.08s; }
.horse .leg-bl { animation: legB .5s infinite linear; animation-delay: -.25s; }
.horse .leg-br { animation: legB .5s infinite linear; animation-delay: -.33s; }
.horse .shin { animation: shin .5s infinite linear; }
.horse .leg-fr .shin { animation-delay: -.08s; } .horse .leg-bl .shin { animation-delay: -.25s; } .horse .leg-br .shin { animation-delay: -.33s; }
.horse .tail { animation: tail .5s infinite ease-in-out; }
.horse .head-g { animation: head .5s infinite ease-in-out; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-4px) rotate(-2deg); } 50% { transform: translateY(-1px) rotate(0); } 75% { transform: translateY(-5px) rotate(2deg); } }
@keyframes legF { 0% { transform: rotate(-38deg); } 50% { transform: rotate(30deg); } 100% { transform: rotate(-38deg); } }
@keyframes legB { 0% { transform: rotate(34deg); } 50% { transform: rotate(-30deg); } 100% { transform: rotate(34deg); } }
@keyframes shin { 0%,100% { transform: rotate(0); } 30% { transform: rotate(55deg); } 60% { transform: rotate(5deg); } }
@keyframes tail { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes head { 0%,100% { transform: rotate(4deg); } 50% { transform: rotate(-6deg); } }

/* ---------- Transición entre páginas ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 90; background: var(--forest); pointer-events: none;
  transform: translateY(100%);
}
.curtain .horse { position: absolute; top: 50%; left: -200px; width: 150px; color: var(--paper); transform: translateY(-50%); }
.curtain.is-in { transform: none; transition: transform .7s var(--ease); pointer-events: all; }
.curtain.is-in .horse { left: calc(50% - 75px); transition: left .7s cubic-bezier(.2,.7,.3,1); }
.curtain.is-out { transform: translateY(-100%); transition: transform .9s var(--ease) .15s; }
.curtain.is-out .horse { left: calc(100% + 40px); transition: left .7s cubic-bezier(.5,0,.8,.4); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 22, .38) 0%, rgba(20, 28, 22, 0) 30%, rgba(20, 28, 22, 0) 45%, rgba(20, 28, 22, .62) 100%); }
.hero-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); }
.hero-content .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero h1 { max-width: 11em; text-shadow: 0 2px 40px rgba(0, 0, 0, .2); }
.hero-side { max-width: 360px; font-size: 16px; }
.hero-side p { color: rgba(251, 249, 244, .9); }
.hero-scroll { position: absolute; z-index: 2; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; opacity: .85; }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: currentColor; animation: scrollLine 2.2s infinite var(--ease); transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 1180px) { .hero-scroll { display: none; } }

/* Hero de página interior */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.page-hero .hero-media img { transform: scale(1.08); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 22, .35), rgba(20, 28, 22, 0) 35%, rgba(20, 28, 22, .6)); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 8vh, 90px); }
.page-hero .crumbs { font-size: 14px; margin-bottom: 18px; opacity: .85; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }

/* Líneas que suben (split) */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: block; }

/* ---------- Manifiesto con palabras que se llenan ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; max-width: 22em; }
.manifesto .w { color: rgba(29, 40, 32, .16); transition: color .2s; }
.manifesto .w.on { color: var(--ink); }

/* Foto con cortina */
.reveal-img { overflow: hidden; border-radius: var(--radius); position: relative; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.js .reveal-img { clip-path: inset(100% 0 0 0); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.is-in img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
.caption { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* Aparición suave */
.js [data-fade] { opacity: 0; transform: translateY(28px); }
[data-fade].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ---------- Mapa de la finca ---------- */
.finca { position: relative; }
.finca-pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) 0 40px; }
.finca-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.finca-steps { position: relative; min-height: 300px; }
.finca-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.finca-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.finca-step .num { font-family: var(--serif); font-size: 20px; color: var(--leather); margin-bottom: 10px; display: block; }
.finca-step p { color: var(--ink-soft); max-width: 30em; }
.finca-progress { display: flex; gap: 8px; margin-top: 40px; }
.finca-progress i { height: 3px; flex: 1; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.finca-progress i::after { content: ""; position: absolute; inset: 0; background: var(--leather); transform: scaleX(var(--p, 0)); transform-origin: left; }
.map-svg { width: 100%; height: auto; max-height: 76svh; }
.map-svg .zone { transition: opacity .6s var(--ease); }
.map-svg .zone-label { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; fill: var(--ink); }
.map-svg .zone.dim { opacity: .35; }
.map-svg .track-done { stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (max-width: 900px) {
  .finca-grid { grid-template-columns: 1fr; }
  .finca-steps { min-height: 210px; order: 2; }
  .finca-pin { align-items: flex-start; }
}

/* ---------- Galería horizontal ---------- */
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); width: max-content; align-items: flex-end; }
.hscroll-item { flex: none; width: clamp(260px, 30vw, 460px); }
.hscroll-item:nth-child(3n+2) { width: clamp(300px, 40vw, 620px); }
.hscroll-item .reveal-img { aspect-ratio: 4 / 5; }
.hscroll-item:nth-child(3n+2) .reveal-img { aspect-ratio: 3 / 2; }
.hscroll-item h3 { font-size: 24px; margin-top: 16px; }
.hscroll-intro { width: clamp(260px, 28vw, 400px); flex: none; align-self: center; padding-right: 20px; }
@media (max-width: 760px) {
  .hscroll-track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .hscroll-item, .hscroll-item:nth-child(3n+2), .hscroll-intro { width: 100%; }
}

/* ---------- Servicios en lista ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
}
.svc-row .n { font-family: var(--serif); font-size: 20px; color: var(--leather); }
.svc-row h3 { font-size: clamp(32px, 4.4vw, 64px); transition: transform .6s var(--ease), color .4s; }
.svc-row p { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; }
.svc-row .tag { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.svc-row:hover h3 { transform: translateX(14px); color: var(--leather-dark); }
.svc-float { position: fixed; z-index: 30; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .35s var(--ease), transform .5s var(--ease); top: 0; left: 0; }
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.svc-float img.on { opacity: 1; }
.svc-row .thumb { display: none; }
@media (hover: none), (max-width: 860px) {
  .svc-float { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .svc-row .thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
  .svc-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-row .tag { justify-self: start; }
}

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid rgba(243, 238, 228, .3); padding-top: 22px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 7vw, 110px); line-height: 1; }
.stat > span { display: block; margin-top: 12px; font-size: 15px; color: rgba(243, 238, 228, .78); max-width: 16em; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* ---------- Línea del pulso (OPP) ---------- */
.pulse { width: 100%; height: 160px; display: block; overflow: visible; }
.pulse path { fill: none; stroke: var(--leather); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bg-forest .pulse path { stroke: var(--sand); }
.pulse-labels { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 10px; }

.opp-pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) 0 40px; }
.opp-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 28px; counter-reset: p; }
.opp-points li { padding: 16px 0 0; border-top: 1px solid rgba(243, 238, 228, .25); font-size: 16px; opacity: .35; transition: opacity .5s var(--ease), border-color .5s; counter-increment: p; }
.opp-points li::before { content: counter(p, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 18px; color: var(--sand); margin-bottom: 4px; }
.opp-points li.on { opacity: 1; border-color: var(--sand); }
@media (max-width: 860px) { .opp-points { grid-template-columns: 1fr 1fr; } }

/* ---------- Equipo ---------- */
.team-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.person { text-decoration: none; display: block; }
.person .reveal-img { aspect-ratio: 4 / 5; }
.person-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.person-photo img { transition: transform 1.2s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person h3 { font-size: clamp(28px, 3vw, 42px); margin-top: 20px; }
.person .role { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.person .more { margin-top: 14px; display: inline-flex; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.team-grid .person .reveal-img { aspect-ratio: 1 / 1; }
.team-grid .person h3 { font-size: 26px; margin-top: 14px; }
.team-grid .person .ini { aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--paper-3); display: grid; place-items: center; font-family: var(--serif); font-size: 64px; color: var(--forest); }
@media (max-width: 700px) { .team-feature { grid-template-columns: 1fr; } }

/* Línea de tiempo de formación */
.timeline { position: relative; padding-left: 38px; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 8px; top: 6px; width: 1px; height: calc(100% - 12px); background: var(--leather); transform-origin: top; transform: scaleY(0); }
.timeline li { list-style: none; position: relative; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 22px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--leather); transition: background .4s; }
.timeline li.on::before { background: var(--leather); }
.timeline ul { margin: 0; padding: 0; }

/* ---------- Valores / listas ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); }
.value svg { width: 40px; height: 40px; color: var(--leather); margin-bottom: 18px; }
.value h3 { font-size: 28px; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value { padding-right: 0; } }

.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.6vw, 23px); }
.feature-list li svg { flex: none; width: 20px; height: 20px; color: var(--leather); transform: translateY(3px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--white); }

/* Galería mosaico */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.mosaic .reveal-img { height: 100%; }
.m-a { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.m-b { grid-column: 8 / 13; }
.m-c { grid-column: 1 / 5; }
.m-d { grid-column: 5 / 13; aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .mosaic > * { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; } }

/* ---------- Próximamente ---------- */
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; margin-bottom: 22px; }
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--leather); box-shadow: 0 0 0 3px rgba(156, 101, 52, .15); }
.form-note { font-size: 13px; color: var(--ink-soft); }
.bg-forest .field input, .bg-forest .field textarea, .bg-forest .field select { background: rgba(251, 249, 244, .08); color: var(--paper); border-color: rgba(243, 238, 228, .25); }
.bg-forest .form-note { color: rgba(243, 238, 228, .7); }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }

.contact-block { display: grid; gap: 26px; }
.contact-block a { text-decoration: none; }
.contact-block .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.contact-block .v { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
.contact-block a.v:hover { color: var(--leather-dark); }
.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }

/* ---------- Banda CTA con foto ---------- */
.cta-photo { position: relative; overflow: hidden; color: var(--white); min-height: 86svh; display: flex; align-items: center; }
.cta-photo .hero-media img { transform: scale(1.15); }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 22, .45); }
.cta-photo .wrap { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-photo .lead { color: rgba(251, 249, 244, .9); text-align: center; }
.on-photo .btn--ghost { color: var(--white); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(60px, 8vw, 110px); overflow: hidden; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; color: rgba(243, 238, 228, .6); }
.footer-top a { text-decoration: none; display: block; padding: 4px 0; color: rgba(243, 238, 228, .9); }
.footer-top a:hover { color: var(--sand); }
.footer-logo { width: 150px; aspect-ratio: 1092 / 689; background: var(--paper); -webkit-mask: url(../img/logo.png) center / contain no-repeat; mask: url(../img/logo.png) center / contain no-repeat; margin-bottom: 22px; }
.footer-claim { font-family: var(--serif); font-size: 28px; line-height: 1.2; max-width: 12em; }
.montseny { display: block; width: 100%; height: auto; margin-top: 60px; color: var(--sand); }
.montseny path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(243, 238, 228, .14); font-size: 13px; color: rgba(243, 238, 228, .6); }
.footer-bottom a { color: inherit; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* Utilidades */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.stack-s > * + * { margin-top: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.head-row .lead { max-width: 30em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal-img { clip-path: none; }
  .js [data-fade] { opacity: 1; transform: none; }
}
