/* =============================================================
   ARÍSTIDES GUADUA — styles.css  (versión «bambú que se mece»)
   Formas orgánicas, vidrio translúcido, fotografía a sangre,
   serif elegante + sans ligera. Verde bosque, lima suave y guadua.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --cream: #f4f1e8;
  --cream-2: #ebe6d6;
  --paper: #fbf9f3;
  --ink: #12261a;
  --ink-soft: #3a5042;
  --mute: #6b7a6f;
  --forest: #1f4d2e;
  --forest-deep: #0d2216;
  --moss: #5b7a3f;
  --lime: #bfe05a;
  --lime-soft: #dcee9f;
  --guadua: #c9a45b;
  --guadua-soft: #ecdcb3;
  --danger: #a3261c;

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 36px;
  --r-xl: 56px;

  --glass-dark: rgba(255, 255, 255, .12);
  --glass-dark-line: rgba(255, 255, 255, .3);
  --glass-light: rgba(255, 255, 255, .58);
  --glass-light-line: rgba(255, 255, 255, .8);
  --shadow-soft: 0 30px 70px -30px rgba(13, 34, 22, .35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sway: cubic-bezier(0.37, 0, 0.18, 1);
  --gutter: 20px;
}
@media (min-width: 720px) { :root { --gutter: 36px; --r-xl: 72px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; } }

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.7; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1; letter-spacing: -.012em; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .7rem 1.1rem; background: var(--lime); color: var(--ink); font-weight: 600; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 1080px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--lime-soft); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--glass-dark); border: 1px solid var(--glass-dark-line); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(191, 224, 90, .25); }
.glass {
  background: var(--glass-light); border: 1px solid var(--glass-light-line); border-radius: var(--r-lg);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: var(--shadow-soft);
}
.glass-dark {
  background: var(--glass-dark); border: 1px solid var(--glass-dark-line); border-radius: var(--r-lg); color: #fff;
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(251, 249, 243, .94); }
  .glass-dark, .chip { background: rgba(13, 34, 22, .6); }
}
.stock-note { position: absolute; right: 14px; bottom: 12px; z-index: 3; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* 4. Typography ------------------------------------------------ */
.display-xl { font-size: clamp(3rem, 8.4vw, 8rem); line-height: .92; letter-spacing: -.025em; }
.display-lg { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: .96; letter-spacing: -.02em; }
.display-md { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1; }
.display-sm { font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.05; }
.display-xl em, .display-lg em, .display-md em { color: var(--moss); font-weight: 500; }
.on-dark .display-xl em, .on-dark .display-lg em, .on-dark .display-md em, .hero em, .banner em { color: var(--lime); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.75; color: var(--ink-soft); font-weight: 400; max-width: 58ch; }
.on-dark .lede, .hero .lede, .banner .lede { color: rgba(255, 255, 255, .86); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* 5. Buttons --------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 54px; padding: .85rem 1.7rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; text-align: center;
  background: var(--lime); color: var(--forest-deep); border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-deep); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover { color: var(--lime); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(13, 34, 22, .45); }
.btn:hover::before { transform: none; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost::before { background: var(--lime); }
.btn-ghost:hover { color: var(--forest-deep); }
.btn-glass { background: var(--glass-dark); color: #fff; border-color: var(--glass-dark-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass::before { background: #fff; }
.btn-glass:hover { color: var(--forest-deep); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest::before { background: var(--lime); }
.btn-forest:hover { color: var(--forest-deep); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* 6. Header (píldora de vidrio) -------------------------------- */
.hdr {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(1280px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px 8px 8px 20px; border-radius: 999px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.hdr.is-solid, .nav-open .hdr {
  background: rgba(244, 241, 232, .8); color: var(--ink); border-color: rgba(31, 77, 46, .14); box-shadow: 0 14px 50px -22px rgba(13, 34, 22, .45);
}
.nav-open .hdr { background: transparent; color: #fff; box-shadow: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { height: 38px; width: auto; filter: brightness(0) invert(1); transition: filter .5s; }
.hdr.is-solid .brand img { filter: none; }
.nav-open .hdr .brand img { filter: brightness(0) invert(1); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: .82; letter-spacing: .04em; text-transform: uppercase; }
.brand-name span { display: block; font-weight: 500; font-style: italic; text-transform: none; letter-spacing: .02em; color: var(--lime); font-size: 1.2rem; }
.hdr.is-solid .brand-name span { color: var(--moss); }
.nav-d { display: none; }
.nav-toggle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); position: relative; z-index: 2; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), background .3s; }
.nav-toggle i { position: relative; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; }
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; }
.nav-open .nav-toggle i { background: transparent; }
.nav-open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle i::after { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  background: radial-gradient(120% 80% at 80% 0%, rgba(91, 122, 63, .55), transparent 60%), rgba(13, 34, 22, .94); color: #fff;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden; transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.nav-open .menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu a.menu-link { display: flex; align-items: baseline; justify-content: space-between; padding: .55rem 0; font-family: var(--display); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu a.menu-link small { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; color: var(--lime-soft); }
.menu a.menu-link[aria-current="page"] { font-style: italic; color: var(--lime); }
.menu .btn { margin-top: 1.8rem; align-self: stretch; }
body.nav-open { overflow: hidden; }
/* Sin JS: menú visible como lista simple bajo el logo */
html:not(.js) .menu { position: static; visibility: visible; clip-path: none; background: var(--forest-deep); padding: 90px var(--gutter) 30px; }
html:not(.js) .nav-toggle { display: none; }

@media (min-width: 1024px) {
  .nav-toggle, .menu { display: none; }
  .nav-d { display: flex; align-items: center; gap: .2rem; margin-left: auto; margin-right: .8rem; }
  .nav-d a { padding: .6rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .4s var(--ease), color .4s; }
  .nav-d a:hover { background: rgba(255, 255, 255, .16); }
  .hdr.is-solid .nav-d a:hover { background: rgba(31, 77, 46, .09); }
  .nav-d a[aria-current="page"] { background: rgba(255, 255, 255, .2); }
  .hdr.is-solid .nav-d a[aria-current="page"] { background: rgba(31, 77, 46, .12); }
  .hdr .btn { min-height: 46px; padding: .6rem 1.3rem; }
}
html:not(.js) .nav-d { display: none; }

/* Barra de crecimiento (caña de bambú) ------------------------- */
.stalk { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); width: 6px; height: min(46vh, 380px); z-index: 60; display: none; pointer-events: none; }
.stalk::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: rgba(31, 77, 46, .14); }
.stalk i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--p, 0%); border-radius: 6px; background: linear-gradient(180deg, var(--lime), var(--moss)); transition: height .2s linear; }
.stalk b { position: absolute; left: -3px; right: -3px; height: 2px; border-radius: 2px; background: rgba(244, 241, 232, .9); box-shadow: 0 0 0 1px rgba(31, 77, 46, .25); }
@media (min-width: 1280px) { .stalk { display: block; } }

/* 7. Hero ------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--forest-deep); isolation: isolate; }
.hero-media, .banner-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .banner-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: breathe 30s var(--ease-sway) infinite alternate; }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.hero::before, .banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 34, 22, .5) 0%, rgba(13, 34, 22, .1) 24%, rgba(13, 34, 22, .35) 52%, rgba(13, 34, 22, .88) 100%), linear-gradient(90deg, rgba(13, 34, 22, .55), rgba(13, 34, 22, 0) 75%); }
.hero-in { width: 100%; padding-block: 140px clamp(2.4rem, 6vw, 5rem); display: grid; gap: 2rem; }
.hero-copy { display: grid; gap: 1.6rem; max-width: 980px; }
.hero h1 { font-size: clamp(2.9rem, 6.8vw, 6.6rem); line-height: .92; letter-spacing: -.026em; font-weight: 500; text-shadow: 0 2px 40px rgba(0, 0, 0, .4); }
.hero .lede { max-width: 54ch; }
.hero-side { display: grid; gap: .8rem; align-self: end; }
.hero-card { padding: 1.2rem 1.4rem; border-radius: var(--r-md); display: grid; gap: .25rem; max-width: 320px; }
.hero-card b { font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1; }
.hero-card span { font-size: .8rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); display: none; animation: drip 2.6s var(--ease-sway) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1fr auto; align-items: end; }
  .hero-scroll { display: block; }
}
.rise > * { animation: riseIn 1.2s var(--ease) both; }
.rise > *:nth-child(2) { animation-delay: .12s; } .rise > *:nth-child(3) { animation-delay: .24s; } .rise > *:nth-child(4) { animation-delay: .36s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(36px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Banner de páginas internas */
.banner { position: relative; min-height: 64svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--forest-deep); isolation: isolate; }
.banner-in { width: 100%; padding-block: 150px clamp(2.4rem, 5vw, 4.4rem); display: grid; gap: 1.4rem; }
.banner h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .94; letter-spacing: -.025em; max-width: 16ch; }
.banner .lede { max-width: 56ch; }
.banner.short { min-height: 52svh; }

/* 8. Secciones ------------------------------------------------- */
.sec { position: relative; padding-block: clamp(4.5rem, 10vw, 9rem); }
.sec-tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.sec-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.4rem, 5vw, 4.5rem); max-width: 900px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.center .lede { margin-inline: auto; }
.on-dark { color: #fff; background: var(--forest-deep); position: relative; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; z-index: 0; }
.blob-lime { background: var(--lime); } .blob-moss { background: var(--moss); } .blob-guadua { background: var(--guadua-soft); }
.sec > .wrap, .sec > .wrap-rel { position: relative; z-index: 1; }
.wave { display: block; width: 100%; height: clamp(40px, 7vw, 110px); }
.wave-top { position: absolute; left: 0; right: 0; top: 1px; transform: translateY(-100%); }

/* Declaración (palabras que se encienden) */
.statement { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.015em; text-align: center; max-width: 24ch; margin-inline: auto; }
.statement em { color: var(--moss); }
.statement .w { opacity: .2; transition: opacity .5s var(--ease); }
.statement .w.on { opacity: 1; }
.statement-sub { text-align: center; margin: 1.8rem auto 0; max-width: 54ch; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.6rem 1.4rem 1.5rem; border-radius: var(--r-lg); display: grid; gap: .35rem; }
.stat-n { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 5.4vw, 4.8rem); line-height: .9; color: var(--forest); font-variant-numeric: lining-nums tabular-nums; }
.stat-n small { font-size: .5em; color: var(--moss); margin-left: .1em; }
.stat-l { font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }

/* Rutas (tarjetas con foto) */
.routes { display: grid; gap: 16px; }
@media (min-width: 960px) { .routes { grid-template-columns: 1fr 1fr; gap: 22px; } }
.route { position: relative; min-height: 520px; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
@media (min-width: 960px) { .route { min-height: 640px; } .route:nth-child(1) { border-top-left-radius: 220px; } .route:nth-child(2) { border-top-right-radius: 220px; } }
.route img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.route::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 34, 22, .05) 30%, rgba(13, 34, 22, .78) 100%); transition: opacity .6s; }
.route:hover img { transform: scale(1.06); }
.route-body { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.route-body .glass-dark { padding: 1.3rem 1.4rem; border-radius: var(--r-md); display: grid; gap: .8rem; }
.route h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.route p { font-size: .95rem; color: rgba(255, 255, 255, .88); max-width: 46ch; }
.route .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.route .tags span { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); }
.route .go { width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--forest-deep); display: grid; place-items: center; font-size: 1.3rem; justify-self: end; margin-top: -3.7rem; transition: transform .7s var(--ease); }
.route:hover .go { transform: rotate(-45deg) scale(1.08); }
.route-alt { margin-top: 1.4rem; padding: 1.1rem 1.6rem; border-radius: 999px; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; justify-content: space-between; font-size: .95rem; }

/* Servicios (bento fluido) */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .t1 { grid-column: span 4; } .bento .t2 { grid-column: span 2; } .bento .t3, .bento .t4, .bento .t5 { grid-column: span 2; } .bento .t1, .bento .t2 { min-height: 440px; } }
.tile { position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(13, 34, 22, .6) 100%); }
.tile:hover img { transform: scale(1.07); }
.tile-cap { margin: 12px; padding: 1.1rem 1.2rem; border-radius: var(--r-md); display: grid; gap: .3rem; width: calc(100% - 24px); }
.tile-cap .n { font-size: .68rem; font-weight: 600; letter-spacing: .2em; color: var(--lime-soft); }
.tile-cap h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.tile-cap p { font-size: .88rem; color: rgba(255, 255, 255, .85); line-height: 1.55; }
.t1 { border-bottom-right-radius: 140px; } .t2 { border-top-left-radius: 140px; } .t5 { border-top-right-radius: 140px; }

/* Materiales (arcos) */
.arches { display: grid; gap: 3rem; }
@media (min-width: 960px) { .arches { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; align-items: start; } .arch:nth-child(2) { margin-top: 5rem; } .arch:nth-child(3) { margin-top: 2rem; } }
.arch figure { border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; position: relative; box-shadow: var(--shadow-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.arch:hover img { transform: scale(1.06); }
.arch-body { padding: 1.6rem .6rem 0; text-align: center; display: grid; gap: .6rem; justify-items: center; }
.arch-body .n { font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--moss); text-transform: uppercase; }
.arch-body p { font-size: .95rem; color: var(--ink-soft); max-width: 36ch; }

/* Proyectos: riel horizontal */
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: 2.4rem; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.pcard { position: relative; flex: none; width: min(80vw, 420px); aspect-ratio: 4 / 5.2; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.pcard:nth-child(even) { border-top-left-radius: 160px; } .pcard:nth-child(odd) { border-top-right-radius: 160px; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); user-select: none; -webkit-user-drag: none; }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(13, 34, 22, .72) 100%); }
.pcard:hover img { transform: scale(1.06); }
.pcard-cap { margin: 12px; padding: 1.1rem 1.2rem; border-radius: var(--r-md); width: calc(100% - 24px); display: grid; gap: .5rem; }
.pcard-cap .m { font-size: .66rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--lime-soft); }
.pcard-cap h3 { font-size: 1.7rem; }
.pcard-cap .sp { display: flex; flex-wrap: wrap; gap: .35rem; }
.pcard-cap .sp span { font-size: .7rem; padding: .22rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.rail-bar { height: 2px; background: rgba(31, 77, 46, .16); border-radius: 2px; margin-top: .6rem; overflow: hidden; }
.rail-bar i { display: block; height: 100%; width: 20%; background: var(--moss); border-radius: 2px; transform-origin: left; transition: transform .2s linear; }

/* Cobertura (foto grande con vidrio) */
.panorama { position: relative; margin-inline: 12px; border-radius: var(--r-xl); overflow: hidden; min-height: 640px; display: flex; align-items: center; color: #fff; isolation: isolate; }
.panorama-media { position: absolute; inset: -8% 0; z-index: -2; }
.panorama-media img { width: 100%; height: 100%; object-fit: cover; }
.panorama::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 34, 22, .65), rgba(13, 34, 22, .08) 70%); }
.panorama-card { padding: clamp(1.6rem, 3.4vw, 2.8rem); border-radius: var(--r-lg); max-width: 560px; display: grid; gap: 1.2rem; }
.panorama-card p { color: rgba(255, 255, 255, .9); }

/* Proceso */
.steps-grid { display: grid; gap: 14px; position: relative; z-index: 1; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } .steps-grid .stp:nth-child(2) { margin-top: 2.4rem; } .steps-grid .stp:nth-child(3) { margin-top: 4.8rem; } .steps-grid .stp:nth-child(4) { margin-top: 7.2rem; } }
.stp { padding: 1.8rem 1.6rem; border-radius: var(--r-lg); display: grid; gap: .8rem; align-content: start; min-height: 260px; }
.stp .n { font-family: var(--display); font-size: 3.6rem; line-height: .9; color: var(--lime); font-style: italic; }
.stp h3 { font-size: 1.8rem; }
.stp p { font-size: .92rem; color: rgba(255, 255, 255, .82); line-height: 1.65; }

/* Cierre */
.closing { position: relative; margin: 0 12px 12px; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; display: grid; place-items: center; text-align: center; color: #fff; isolation: isolate; padding: 4rem var(--gutter); }
.closing-media { position: absolute; inset: -6% 0; z-index: -2; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(13, 34, 22, .35), rgba(13, 34, 22, .75)); }
.closing-in { display: grid; gap: 1.6rem; justify-items: center; max-width: 820px; }
.closing .btns { justify-content: center; }

/* 9. Páginas internas ------------------------------------------ */
/* Servicios: bloques alternados */
.svc { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.4rem, 5vw, 4.4rem); }
@media (min-width: 960px) { .svc { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); } .svc.flip .svc-media { order: 2; } }
.svc-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-soft); }
.svc:nth-of-type(odd) .svc-media { border-top-left-radius: 200px; } .svc:nth-of-type(even) .svc-media { border-top-right-radius: 200px; }
.svc-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; max-width: none; }
.svc-copy { display: grid; gap: 1.4rem; align-content: center; }
.svc-copy .n { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--moss); line-height: 1; }
.points { display: grid; gap: .6rem; }
.points li { display: flex; gap: .9rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.6; padding: .9rem 1.2rem; border-radius: var(--r-md); background: var(--glass-light); border: 1px solid var(--glass-light-line); }
.points li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .55rem; border-radius: 50%; background: var(--moss); }
.svc-note { font-size: .82rem; color: var(--mute); padding-left: 1rem; border-left: 2px solid var(--guadua); line-height: 1.6; }

/* Proyectos: cuadrícula */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.filter { padding: .65rem 1.2rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--glass-light); border: 1px solid rgba(31, 77, 46, .18); transition: background .4s var(--ease), color .4s, transform .4s var(--ease); min-height: 44px; }
.filter:hover { transform: translateY(-2px); background: #fff; }
.filter[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter-count { font-size: .78rem; color: var(--mute); letter-spacing: .08em; margin-bottom: 1.6rem; }
.proj-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
.proj { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; min-height: 460px; background: var(--forest); }
@media (min-width: 720px) { .proj { min-height: 520px; } .proj:nth-child(3n+1) { border-top-left-radius: 150px; } .proj:nth-child(3n+3) { border-top-right-radius: 150px; } }
.proj figure { position: absolute; inset: 0; z-index: -2; }
.proj figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.proj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(13, 34, 22, .8) 100%); pointer-events: none; }
.proj:hover figure img { transform: scale(1.06); }
.proj-cap { margin: 12px; padding: 1.2rem 1.3rem 1.1rem; border-radius: var(--r-md); display: grid; gap: .55rem; position: relative; z-index: 2; }
.proj-meta { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--lime-soft); }
.proj h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.proj-sum { font-size: .85rem; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.proj-specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.proj-specs div { font-size: .72rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .16); display: flex; gap: .4rem; }
.proj-specs dt { color: var(--lime-soft); } .proj-specs dd { margin: 0; font-weight: 600; }
.proj-open { margin-top: .3rem; display: flex; justify-content: space-between; align-items: center; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; width: 100%; text-align: left; color: #fff; }
.proj-open span:last-child { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); font-size: 1.1rem; transition: transform .6s var(--ease); }
.proj:hover .proj-open span:last-child { transform: rotate(90deg); }
button.proj-open::after { content: ""; position: absolute; inset: -600px -12px -12px -12px; z-index: 1; cursor: pointer; }
.proj-hit { position: absolute; inset: 0; z-index: 1; }
.proj[hidden] { display: none; }
.proj-pending { background: radial-gradient(90% 70% at 20% 10%, rgba(191, 224, 90, .35), transparent 60%), linear-gradient(160deg, var(--forest), var(--forest-deep)); }
.proj-pending figure { display: grid; place-items: center; }
.proj-pending figure span { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; padding: .55rem 1rem; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 999px; margin-bottom: 140px; }
.proj-pending summary { cursor: pointer; font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--lime-soft); padding: .3rem 0; }
.proj-pending .prose { color: rgba(255, 255, 255, .85); font-size: .85rem; margin-top: .5rem; }
.tag-render { position: absolute; top: 16px; left: 16px; z-index: 3; }
html:not(.js) .proj-story[hidden] { display: block; font-size: .85rem; padding-top: .6rem; color: rgba(255, 255, 255, .85); }
html:not(.js) button.proj-open { display: none; }

/* Lightbox de vidrio */
.lb { border: 0; padding: 0; background: rgba(8, 20, 13, .92); color: #fff; width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lb::backdrop { background: rgba(8, 20, 13, .75); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); gap: 1rem; }
.lb-title { font-family: var(--display); font-size: 1.8rem; line-height: 1.05; }
.lb-count { font-size: .72rem; letter-spacing: .15em; color: var(--lime-soft); }
.lb-x, .lb-nav { border-radius: 50%; background: var(--glass-dark); border: 1px solid var(--glass-dark-line); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.lb-x { width: 48px; height: 48px; font-size: 1.4rem; flex: none; }
.lb-x:hover, .lb-nav:hover { background: var(--lime); color: var(--forest-deep); }
.lb-stage { position: relative; min-height: 0; overflow: hidden; }
.lb-stage img { position: absolute; inset: .4rem var(--gutter); width: calc(100% - var(--gutter) * 2); height: calc(100% - .8rem); object-fit: contain; border-radius: var(--r-md); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.2rem; z-index: 2; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-foot { padding: .8rem var(--gutter) 1.2rem; display: grid; gap: .8rem; max-height: 36svh; overflow-y: auto; }
.lb-story { font-size: .92rem; color: rgba(255, 255, 255, .85); max-width: 90ch; line-height: 1.65; }
.lb-story p + p { margin-top: .6em; }
.lb-thumbs { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; }
.lb-thumbs button { flex: none; width: 78px; height: 54px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .55; padding: 0; transition: opacity .3s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--lime); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Nosotros */
.split { display: grid; gap: 2.6rem; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 8rem); } .split.rev { grid-template-columns: 6fr 5fr; } .split.rev > :first-child { order: 2; } }
.arch-photo { position: relative; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-soft); }
.arch-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; max-width: none; }
.timeline { position: relative; display: grid; gap: 0; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lime), var(--moss), transparent); border-radius: 2px; }
.tl { position: relative; padding-bottom: 2.2rem; display: grid; gap: .35rem; }
.tl::before { content: ""; position: absolute; left: -2.2rem; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--moss); }
.tl .when { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.tl h3 { font-size: 1.9rem; } .tl p { color: var(--ink-soft); font-size: .97rem; max-width: 52ch; }
.quote { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.05; letter-spacing: -.015em; }
.cards3 { display: grid; gap: 14px; }
@media (min-width: 840px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card3 { padding: 2rem 1.8rem; border-radius: var(--r-lg); display: grid; gap: .7rem; align-content: start; }
.card3 .n { font-family: var(--display); font-style: italic; font-size: 2.6rem; color: var(--moss); line-height: .9; }
.card3 p { font-size: .95rem; color: var(--ink-soft); }

/* Proceso (página) */
.flow { display: grid; gap: 16px; position: relative; }
.flow-step { display: grid; gap: .6rem 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-lg); }
@media (min-width: 960px) { .flow-step { grid-template-columns: 120px 4fr 6fr; align-items: center; } .flow-step:nth-child(even) { margin-left: 8%; } .flow-step:nth-child(odd) { margin-right: 8%; } }
.flow-step .n { font-family: var(--display); font-style: italic; font-size: clamp(3.4rem, 6vw, 5rem); line-height: .85; color: var(--moss); }
.flow-step h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.flow-step p { color: var(--ink-soft); }
.opt { font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; background: rgba(191, 224, 90, .55); margin-left: .7rem; vertical-align: middle; }
.callout { padding: clamp(1.6rem, 3.4vw, 2.8rem); border-radius: var(--r-lg); display: grid; gap: 1rem; background: linear-gradient(150deg, var(--forest), var(--forest-deep)); color: #fff; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--lime); filter: blur(80px); opacity: .35; }
.callout h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.callout .price { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--lime); }
.callout .price small { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-left: .5rem; }
.callout ul { display: grid; gap: .6rem; position: relative; }
.callout li { display: flex; gap: .8rem; font-size: .96rem; color: rgba(255, 255, 255, .88); }
.callout li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: .6rem; }
.callout p { color: rgba(255, 255, 255, .88); }
.callout--inline { background: var(--cream-2); color: var(--ink); box-shadow: none; border: 1px solid rgba(31, 77, 46, .15); }
.callout--inline::before { display: none; }
.callout--inline p { color: var(--ink-soft); font-size: .9rem; }

/* Contacto: formularios */
.contact-wrap { position: relative; overflow: hidden; }
.contact-grid { display: grid; gap: 2.4rem; position: relative; z-index: 1; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 8fr 4fr; gap: 2.6rem; align-items: start; } }
.route-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--glass-light); border: 1px solid var(--glass-light-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); margin-bottom: 16px; gap: 6px; }
.route-tabs button { padding: .85rem 1rem; border-radius: 999px; text-align: center; display: grid; gap: .05rem; transition: background .5s var(--ease), color .5s; }
.route-tabs .t-n { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.route-tabs .t-t { font-family: var(--display); font-size: clamp(1.1rem, 2.6vw, 1.7rem); line-height: 1.05; font-weight: 600; }
.route-tabs button[aria-selected="true"] { background: var(--forest); color: #fff; }
.route-tabs button[aria-selected="true"] .t-n { color: var(--lime); }
.route-tabs button:not([aria-selected="true"]):hover { background: rgba(255, 255, 255, .7); }
html:not(.js) .route-tabs { display: none; }
.form-card { padding: clamp(1.4rem, 3.4vw, 2.8rem); border-radius: var(--r-lg); background: var(--glass-light); border: 1px solid var(--glass-light-line); box-shadow: var(--shadow-soft); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
html:not(.js) .form-card { margin-bottom: 2rem; }
.form-card[hidden] { display: none; }
.form-card h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: .6rem; }
.form-intro { color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 60ch; font-size: .97rem; }
.fgrid { display: grid; gap: 1.2rem 1.4rem; }
@media (min-width: 720px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label, .field .lbl { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.field label i, .field .lbl i { font-style: normal; font-weight: 500; color: var(--mute); letter-spacing: .06em; text-transform: none; }
.field .req { color: var(--danger); font-style: normal; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .field input[type="file"] {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, .78); border: 1px solid rgba(31, 77, 46, .22); border-radius: 18px; padding: .9rem 1.1rem; min-height: 52px; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; border-radius: 22px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 4px rgba(191, 224, 90, .45); }
.field input[type="file"] { padding: .7rem 1rem; font-size: .9rem; }
.hint { font-size: .8rem; color: var(--mute); line-height: 1.5; }
.err { display: none; font-size: .78rem; color: var(--danger); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(163, 38, 28, .12); }
.field.is-invalid .err { display: block; }
.opts { display: grid; gap: .6rem; }
.opt-item { display: flex; gap: .9rem; align-items: flex-start; border: 1px solid rgba(31, 77, 46, .22); padding: .95rem 1.1rem; border-radius: 20px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s; }
.opt-item:hover { background: #fff; }
.opt-item input { margin-top: .2rem; accent-color: var(--forest); width: 18px; height: 18px; flex: none; }
.opt-item span { font-size: .95rem; line-height: 1.45; }
.opt-item span small { display: block; color: var(--mute); font-size: .8rem; margin-top: .15rem; }
.opt-item:has(input:checked) { background: var(--forest); color: #fff; border-color: var(--forest); }
.opt-item:has(input:checked) small { color: var(--lime-soft); }
.field label.opt-item, .field label.consent { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95rem; color: inherit; }
.consent { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.55; }
.consent input { margin-top: .3rem; width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.visit-note[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }
.form-actions .btn-ghost { color: var(--forest); }
.form-status { border-radius: var(--r-md); padding: 1.3rem 1.5rem; display: none; gap: .5rem; margin-top: 1.4rem; background: #fff; border: 1px solid rgba(31, 77, 46, .2); }
.form-status.is-shown { display: grid; }
.form-status h3 { font-size: 1.9rem; }
.form-status.ok { background: var(--lime-soft); border-color: var(--lime); }
.form-status.bad { border-color: var(--danger); }
.form-status .spin { width: 18px; height: 18px; border: 2px solid var(--forest); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; margin-right: .6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-card.is-sent .fgrid, .form-card.is-sent .form-actions, .form-card.is-sent .form-intro, .form-card.is-sent .visit-note { display: none; }
.aside { display: grid; gap: 14px; align-content: start; }
.aside-card { border-radius: var(--r-lg); overflow: hidden; }
.aside-card > div { padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(31, 77, 46, .1); display: grid; gap: .2rem; }
.aside-card > div:last-child { border-bottom: 0; }
.aside-card .k { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.aside-card .v { font-size: .95rem; line-height: 1.55; word-break: break-word; }
.aside-card a.v { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31, 77, 46, .35); }

/* Legal */
.legal { max-width: 78ch; }
.legal h2 { font-size: 2.2rem; margin: 2.6rem 0 .8rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { display: grid; gap: .5rem; margin-top: .7rem; }
.legal li { padding-left: 1.4rem; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }

/* 10. Footer --------------------------------------------------- */
.site-footer { position: relative; background: var(--forest-deep); color: #fff; padding-top: clamp(4rem, 8vw, 7rem); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: -1px; overflow: hidden; }
.site-footer .blob { opacity: .28; }
.foot-grid { position: relative; z-index: 1; display: grid; gap: 2.6rem; padding-bottom: 3rem; }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 5fr 2fr 2fr 3fr; gap: 3rem; } }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer .tagline { font-family: var(--display); font-style: italic; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; max-width: 16ch; margin-top: 1.4rem; color: var(--lime-soft); }
.site-footer h4 { font-family: var(--sans); font-weight: 700; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--guadua-soft); margin-bottom: 1rem; }
.site-footer li { margin-bottom: .5rem; font-size: .95rem; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--lime); }
.site-footer address { font-style: normal; font-size: .95rem; display: grid; gap: .55rem; line-height: 1.55; }
.foot-base { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-base .wrap { padding-block: 1.2rem 5.2rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .72rem; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.foot-base .credits { font-size: .62rem; color: rgba(255, 255, 255, .4); letter-spacing: .04em; max-width: 64ch; line-height: 1.5; }
.foot-base a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) { .foot-base .wrap { padding-bottom: 1.4rem; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.2rem 0 .9rem; border-radius: 999px; background: var(--lime); color: var(--forest-deep); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 18px 40px -14px rgba(13, 34, 22, .6); transition: transform .5s var(--ease), background .4s, color .4s; animation: nudge 5s var(--ease-sway) 3s infinite; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { background: var(--forest); color: #fff; transform: translateY(-3px); animation: none; }
@keyframes nudge { 0%, 90%, 100% { transform: none; } 94% { transform: translateY(-5px); } 97% { transform: translateY(0); } }
@media (max-width: 539px) { .wa-float span { display: none; } .wa-float { padding: 0 .9rem; } }

/* 11. Reveals y movimiento ------------------------------------ */
.reveal { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.reveal[data-split] { opacity: 1; transform: none; filter: none; }
.js .reveal-mask { clip-path: inset(12% 6% 12% 6% round 60px); transition: clip-path 1.5s var(--ease); }
.js .reveal-mask.is-visible { clip-path: inset(0 0 0 0 round 0); }
[data-parallax] { will-change: transform; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* Solo se frena lo realmente intrusivo con "reducir movimiento" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .banner-media img { animation-duration: 90s; }
  .wa-float { animation: none; }
}
@media print { .hdr, .wa-float, .stalk, .menu { display: none; } }

/* Botón de cabecera solo en escritorio */
.hdr-cta { display: none; }
@media (min-width: 1200px) { .hdr-cta { display: inline-flex; } }

/* Énfasis en cursiva sobre fondos oscuros o vidrio */
.glass-dark em, .closing em, .panorama em, .route em, .on-dark em, .callout em { color: var(--lime); }

/* Tarjetas de proyecto: resumen acotado y más aire para la foto */
.proj-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 720px) { .proj { min-height: 580px; } }

/* Rutas: más altura para que se vea la foto sobre el vidrio */
@media (min-width: 960px) { .route { min-height: 740px; } }

/* Menú de escritorio con 7 enlaces: más compacto en pantallas medianas */
@media (min-width: 960px) and (max-width: 1279px) { .nav-d a { padding: .55rem .62rem; letter-spacing: .07em; font-size: .72rem; } }

/* Servicios: selector «¿cuál es el tuyo?» */
.chooser { display: grid; gap: 10px; grid-template-columns: 1fr; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-soft); }
.chooser-t { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--forest); line-height: 1; }
.chooser a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-radius: 999px; background: var(--cream); border: 1px solid rgba(31, 77, 46, .12); font-weight: 500; font-size: .95rem; transition: background .4s var(--ease), transform .4s var(--ease); }
.chooser a b { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--moss); line-height: 1; flex: none; }
.chooser a:hover { background: var(--lime); transform: translateY(-2px); }
@media (min-width: 720px) { .chooser { grid-template-columns: 1fr 1fr; } .chooser-t { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .chooser { grid-template-columns: auto 1fr 1fr; } .chooser-t { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin-right: 1rem; } }

/* Blog: listado */
.post-grid { display: grid; gap: 22px; }
.post-card { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card figure { overflow: hidden; aspect-ratio: 16 / 10; background: var(--forest-deep); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card-b { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .9rem; align-content: center; }
.post-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.02; color: var(--forest); }
.post-card p { color: var(--ink-soft); }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); }
.post-more { font-weight: 600; font-size: .9rem; color: var(--forest); }
.post-card:hover .post-more .arr { transform: translateX(4px); }
.post-more .arr { display: inline-block; transition: transform .4s var(--ease); }
@media (min-width: 900px) { .post-card { grid-template-columns: 1fr 1fr; } .post-card figure { aspect-ratio: auto; min-height: 380px; } }

/* Blog: artículo */
.post-body { max-width: 760px; margin-inline: auto; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.post-body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--forest); margin: 3rem 0 1rem; line-height: 1.02; }
.post-body h3 { font-size: 1.6rem; color: var(--ink); margin: 2rem 0 .6rem; }
.post-body p { margin-top: 1rem; }
.post-body b { color: var(--ink); font-weight: 600; }
.post-lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); max-width: none; margin-bottom: 2rem; }
.post-list { display: grid; gap: .6rem; margin-top: 1rem; }
.post-list li { position: relative; padding-left: 1.5rem; }
.post-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }
.post-steps { display: grid; gap: .9rem; margin-top: 1.2rem; counter-reset: paso; }
.post-steps li { position: relative; padding: 1rem 1.2rem 1rem 4rem; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 10px 30px -20px rgba(13, 34, 22, .4); counter-increment: paso; }
.post-steps li::before { content: counter(paso); position: absolute; left: 1rem; top: .8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.post-fig { margin: 2.4rem 0 .4rem; }
.post-fig img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.post-fig figcaption { margin-top: .8rem; font-size: .88rem; color: var(--mute); padding-inline: .4rem; }
.tldr { margin: 2rem 0; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--forest), var(--forest-deep)); color: rgba(255, 255, 255, .9); }
.tldr h2 { margin: 0 0 1rem; color: var(--lime); font-size: 1.9rem; }
.tldr ul { display: grid; gap: .7rem; }
.tldr li { position: relative; padding-left: 1.4rem; }
.tldr li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.tldr b { color: #fff; }
.note { margin: 2.2rem 0; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: var(--guadua-soft); border-left: 6px solid var(--guadua); }
.note h3 { margin: 0 0 .4rem; font-size: 1.5rem; }
.note p { margin-top: .4rem; }
.note--soft { background: var(--paper); border-left-color: var(--moss); }
.post-back { margin-top: 3rem; }
