/* ============================================================
   Cotogroup — Montaje de Estanterías Metálicas
   Archetype: Editorial Dark Warm (adaptado a industrial: acero + naranja)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #141211;   /* steel near-black, warm */
  --bg-2:      #1b1816;
  --bg-3:      #232019;   /* card */
  --bg-4:      #2c2820;
  --cream:     #f5f0e8;   /* text on dark — never pure white */
  --cream-2:   #d2cbbe;
  --cream-3:   #8d8579;   /* metadata */
  --accent:    #ef9f37;   /* brand orange */
  --accent-2:  #d8842a;
  --accent-soft: rgba(239,159,55,.14);
  --steel:     #7e93ad;   /* secondary steel blue */
  --line:      rgba(245,240,232,.12);
  --line-2:    rgba(245,240,232,.07);

  --font-display: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-io:  cubic-bezier(.65,0,.35,1);
  --maxw: 1240px;
  --pad: clamp(1.2rem, 4vw, 3rem);
}

*,*::before,*::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.015em;
}
.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.lead { color: var(--cream-2); font-size: clamp(1.02rem,1.6vw,1.18rem); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.eyebrow-row { display: flex; flex-direction: column; gap: 1rem; max-width: 62ch; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .3s var(--ease-out), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--accent); color: #1a1207; box-shadow: 0 10px 30px -10px rgba(239,159,55,.6); }
.btn-primary:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 16px 36px -12px rgba(239,159,55,.7); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-dark { background: #1a1207; color: var(--cream); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background .4s var(--ease-out), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20,18,17,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .8rem;
}
.nav-logo { display: flex; align-items: center; gap: .7rem; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--cream-2); position: relative; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--cream); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-tel { font-weight: 600; font-size: .92rem; color: var(--cream); display: flex; align-items: center; gap: .45rem; }
.nav-tel svg { width: 1.05em; height: 1.05em; color: var(--accent); }
.nav-burger { display: none; background: none; border: 0; color: var(--cream); padding: .3rem; }
.nav-burger svg { width: 28px; height: 28px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: var(--pad);
  transform: translateX(100%); transition: transform .45s var(--ease-io);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--cream); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mm-foot { margin-top: 2rem; font-size: 1rem; color: var(--cream-2); display: flex; flex-direction: column; gap: .5rem; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem,6vw,5rem); padding-top: 7rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) contrast(1.04); transform: scale(1.04); animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; transform: none; } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,17,.62) 0%, rgba(20,18,17,.40) 35%, rgba(20,18,17,.82) 100%),
    linear-gradient(90deg, rgba(20,18,17,.78) 0%, transparent 65%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(50% 40% at 12% 88%, rgba(239,159,55,.28), transparent 70%),
    radial-gradient(45% 38% at 85% 18%, rgba(126,147,173,.20), transparent 72%);
  animation: meshFloat 16s ease-in-out infinite alternate;
}
@keyframes meshFloat { to { transform: translate3d(0,-2%,0) scale(1.06); } }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-meta { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--cream-2); margin-bottom: 1.5rem; }
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: #57c97a; box-shadow: 0 0 0 4px rgba(87,201,122,.18); }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 5.4rem); max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 1.5rem; max-width: 50ch; font-size: clamp(1.05rem,1.7vw,1.3rem); color: var(--cream-2); }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.hero-trust span { font-size: .82rem; color: var(--cream-3); letter-spacing: .02em; }
/* ---------- Section header ---------- */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: clamp(2.4rem,5vw,3.6rem); max-width: 64ch; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); text-wrap: balance; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head.center .kicker { align-self: center; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.serv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.4rem; }
.serv-card {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.serv-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out), filter .6s; }
.serv-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,17,.15) 0%, rgba(20,18,17,.55) 45%, rgba(20,18,17,.94) 100%); }
.serv-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); }
.serv-card:hover img { transform: scale(1.08); filter: saturate(1.15); }
.serv-body { padding: 1.6rem 1.5rem 1.7rem; }
.serv-num { font-family: var(--font-display); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.serv-card h3 { font-size: 1.35rem; margin: .5rem 0 .6rem; }
.serv-card p { font-size: .92rem; color: var(--cream-2); margin: 0; }
.serv-link { margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }
.serv-link svg { width: 1em; height: 1em; transition: transform .3s; }
.serv-card:hover .serv-link svg { transform: translateX(4px); }

/* ---------- Features / why ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.2rem; }
.feat {
  padding: 1.8rem 1.6rem; border-radius: 16px; background: var(--bg-3);
  border: 1px solid var(--line); transition: border-color .4s, transform .4s var(--ease-out), background .4s;
}
.feat:hover { border-color: rgba(239,159,55,.4); transform: translateY(-5px); background: var(--bg-4); }
.feat-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feat-ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feat p { font-size: .92rem; color: var(--cream-2); margin: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3.2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
  background: rgba(20,18,17,.72); backdrop-filter: blur(8px); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem;
}
.split-badge b { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); }
.split-badge span { font-size: .85rem; color: var(--cream-2); }
.split-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.split-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--cream-2); }
.split-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.split-list b { color: var(--cream); font-weight: 600; }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.step-n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: rgba(239,159,55,.28); line-height: 1; }
.step h3 { font-size: 1.18rem; margin: .7rem 0 .5rem; }
.step p { font-size: .9rem; color: var(--cream-2); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }

/* ---------- Guarantees band ---------- */
.guarantees { background: var(--bg-3); border-block: 1px solid var(--line); }
.guar-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.5rem; }
.guar { display: flex; gap: 1rem; align-items: flex-start; }
.guar svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.guar h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.guar p { font-size: .88rem; color: var(--cream-2); margin: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.post { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); transition: transform .4s var(--ease-out), border-color .4s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); border-color: rgba(239,159,55,.4); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.post-cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.post h3 { font-size: 1.2rem; margin: .6rem 0 .6rem; line-height: 1.2; }
.post p { font-size: .9rem; color: var(--cream-2); margin: 0 0 1.1rem; flex: 1; }
.post .serv-link { margin-top: auto; }

/* ---------- CTA + contact ---------- */
.cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,17,.92), rgba(20,18,17,.82)); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.cta h2 { font-size: clamp(2rem,4.4vw,3.2rem); text-wrap: balance; }
.contact-info { margin-top: 2rem; display: grid; gap: 1.3rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-item svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.ci-item .ci-l { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cream-3); }
.ci-item a, .ci-item span { font-size: 1.05rem; color: var(--cream); font-weight: 500; }
.ci-item a:hover { color: var(--accent); }

.form { background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem,3vw,2.4rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .8rem; color: var(--cream-2); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; color: var(--cream); font-family: inherit; font-size: .95rem;
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .78rem; color: var(--cream-3); margin: .9rem 0 0; text-align: center; }

/* ---------- Map ---------- */
.map-box {
  position: relative; height: 380px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-3);
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; text-align: center; padding: 1.5rem; color: var(--cream-2);
}
.map-fallback svg { width: 42px; height: 42px; color: var(--accent); }
.map-fallback b { font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); }
.map-fallback span { font-size: .9rem; max-width: 34ch; }
.map-box iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent);
  line-height: 1; transition: transform .3s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.3rem 1.2rem; color: var(--cream-2); font-size: .97rem; line-height: 1.7; }
.faq-item .faq-a a { color: var(--accent); font-weight: 500; }

/* ---------- Barra CTA fija (solo móvil) ---------- */
.cta-bar { display: none; }
@media (max-width: 980px) {
  .cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .cta-bar a {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .95rem .5rem; font-size: .88rem; font-weight: 600;
    background: rgba(20,18,17,.97); color: var(--cream);
    backdrop-filter: blur(10px);
  }
  .cta-bar a svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
  .cta-bar .cb-tel svg { color: var(--accent); }
  .cta-bar .cb-wa svg { color: #25d366; }
  .cta-bar .cb-main { background: var(--accent); color: #1a1207; }
  body { padding-bottom: 58px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(3rem,5vw,4rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-brand img { height: 42px; margin-bottom: 1rem; }
.foot-brand p { font-size: .9rem; color: var(--cream-2); max-width: 32ch; }
.foot-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cream-3); margin-bottom: 1rem; }
.foot-col a, .foot-col span { display: block; font-size: .92rem; color: var(--cream-2); margin-bottom: .6rem; transition: color .25s; }
.foot-col a:hover { color: var(--accent); }
.foot-social { display: flex; gap: .8rem; margin-top: 1rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cream-2); }
.foot-social a:hover { border-color: var(--accent); color: var(--accent); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--cream-3); }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Splash ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .7s var(--ease-out), visibility .7s; animation: splashSafety .01s 4.2s forwards; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash img { height: 52px; opacity: 0; animation: splashLogo 1.6s var(--ease-out) forwards; }
@keyframes splashLogo { 0%{opacity:0; transform: translateY(10px);} 30%{opacity:1; transform:none;} 80%{opacity:1;} 100%{opacity:.0; transform: translateY(-6px);} }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: 9rem; padding-bottom: clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(239,159,55,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(2.3rem,5.4vw,4rem); max-width: 18ch; text-wrap: balance; margin-top: 1rem; }
.page-hero p { margin-top: 1.2rem; max-width: 56ch; color: var(--cream-2); font-size: 1.1rem; }
.crumbs { font-size: .82rem; color: var(--cream-3); }
.crumbs a:hover { color: var(--accent); }

/* CTA al final de los artículos */
.article-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .article-cta { flex-direction: column; }
  .article-cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* Featured image (artículos) — proporción fija y centrada */
.article-figure { margin: 0 0 2.6rem; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* prose for articles/about */
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.8; }
.prose > p:first-of-type { font-size: 1.22rem; line-height: 1.65; color: var(--cream); margin-bottom: 1.6rem; }
.prose h2 { font-size: clamp(1.55rem,3.2vw,2.15rem); margin: 2.8rem 0 1rem; color: var(--cream); letter-spacing: -.01em; }
.prose h3 { font-size: clamp(1.22rem,2.6vw,1.42rem); margin: 2.1rem 0 .7rem; color: var(--accent); letter-spacing: -.01em; }
.prose p { color: var(--cream-2); margin: 0 0 1.25rem; }
.prose ul { color: var(--cream-2); padding-left: 0; margin: 0 0 1.4rem; list-style: none; }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; }
.prose li::before { content: ""; position: absolute; left: .2rem; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--cream); font-weight: 600; }
.prose > *:first-child { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-tel { display: none; }
  .nav-burger { display: block; }
  .split, .cta-inner { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .wa-float { display: none; }
}
@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.4rem 2rem; }
  .gallery-grid .g-wide { grid-column: span 2; }
  /* lectura cómoda en móvil */
  .prose { font-size: 1.07rem; line-height: 1.85; }
  .prose > p:first-of-type { font-size: 1.14rem; line-height: 1.7; }
  .prose h2 { margin: 2.2rem 0 .8rem; }
  .prose h3 { margin: 1.7rem 0 .6rem; }
  .article-figure { aspect-ratio: 4/3; border-radius: 14px; margin-bottom: 2rem; }
  .page-hero { padding-top: 7.5rem; }
  .page-hero p { font-size: 1.02rem; }
}
