/* =============================================================
   CARPINTERÍA SERGIO · MARBELLA
   Archetype: Editorial Dark Warm — acento madera/miel
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #14100c;   /* warm near-black */
  --bg-2:      #1b1510;
  --bg-3:      #241c14;   /* card */
  --bg-4:      #2c2218;
  --cream:     #f3ead9;   /* text on dark */
  --cream-2:   #d8c6a8;
  --cream-3:   #9c8b70;   /* metadata */
  --accent:    #c98a3c;   /* honey / amber wood */
  --accent-2:  #b0712a;
  --gold:      #d9a85e;
  --moss:      #79854f;   /* subtle natural secondary */
  --line:      rgba(243,234,217,.12);
  --line-2:    rgba(243,234,217,.07);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1200px;
  --pad: clamp(1.2rem, 5vw, 4rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
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; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.kicker {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.section-num {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 1.4rem;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }  /* defensive (gotcha A.4.5) */

/* =============================================================
   4. Typography scale
   ============================================================= */
h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.04; }
h2 em, h1 em, .footer-mark em, .nav-brand-mark em, .splash-mark em { font-style: italic; color: var(--accent); }
h3 { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.section-lead { color: var(--cream-2); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 56ch; margin-top: 1.1rem; }

.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); max-width: 60ch; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .92rem 1.5rem; border-radius: 100px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1a1208; box-shadow: 0 10px 30px -10px rgba(201,138,60,.55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(201,138,60,.7); background: var(--gold); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }

/* =============================================================
   6. Mesh gradient background (shared)
   ============================================================= */
.section-with-mesh { position: relative; isolation: isolate; overflow: hidden; }
.section-with-mesh::before {
  content: ""; position: absolute; inset: -15%; z-index: -1;
  background:
    radial-gradient(55% 45% at 36% 42%, rgba(201,138,60,.30), transparent 60%),
    conic-gradient(from 120deg, rgba(217,168,94,.16), rgba(121,133,79,.07), rgba(176,113,42,.18), rgba(217,168,94,.16));
  filter: blur(72px) saturate(118%);
  opacity: .72;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* =============================================================
   7. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1.1s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.splash-logo { width: 84px; height: 84px; object-fit: contain; }
.splash-mark { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--cream); letter-spacing: -.02em; }
.splash-line { width: 0; height: 1px; background: var(--accent); animation: splashLine 1.6s var(--ease-out) forwards; }
@keyframes splashLine { to { width: 140px; } }

/* =============================================================
   8. Nav
   ============================================================= */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; transition: background-color .4s var(--ease-out), box-shadow .4s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: var(--wrap); margin-inline: auto; padding: 1.1rem var(--pad); }
.nav.is-scrolled { background: rgba(18,14,10,.94); box-shadow: 0 1px 0 var(--line-2); }
.nav.is-scrolled .nav-inner { padding-block: .8rem; }
.nav-brand { display: flex; flex-direction: row; align-items: center; gap: .6rem; line-height: 1.1; }
.nav-brand-logo { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-mark { font-family: var(--serif); font-size: 1.28rem; color: var(--cream); }
.nav-brand-sub { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); margin-top: 2px; }
.nav-links { display: none; gap: 1.8rem; }
.nav-links a { font-size: .92rem; color: var(--cream-2); position: relative; padding: .2rem 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .35s var(--ease-out); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 26px; height: 2px; background: var(--cream); transition: transform .4s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }

.nav-mobile { position: fixed; inset: 0; z-index: 95; background: var(--bg-2); display: grid; place-items: center; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-soft); }
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile-links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.nav-mobile-links a { font-family: var(--serif); font-size: 1.8rem; color: var(--cream); }
.nav-mobile-cta { font-family: var(--sans) !important; font-size: 1rem !important; margin-top: 1rem; padding: .9rem 1.6rem; background: var(--accent); color: #1a1208 !important; border-radius: 100px; }

/* =============================================================
   9. Hero
   ============================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 8rem var(--pad) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,16,12,.70) 0%, rgba(20,16,12,.40) 30%, rgba(20,16,12,.74) 66%, rgba(20,16,12,.97) 100%),
  linear-gradient(90deg, rgba(20,16,12,.68) 0%, rgba(20,16,12,.14) 54%, transparent 100%); }
.hero-inner { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; }
.hero-title { font-family: var(--serif); font-size: clamp(2.7rem, 9vw, 6.2rem); line-height: .98; color: var(--cream); margin: 1.1rem 0 1.3rem; max-width: 16ch; font-weight: 500; text-shadow: 0 2px 30px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.hero .kicker { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-sub { color: var(--cream); font-size: clamp(1rem, 1.6vw, 1.22rem); max-width: 50ch; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 640px; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--accent); line-height: 1; }
.stat-label { display: block; font-size: .78rem; letter-spacing: .04em; color: var(--cream-3); margin-top: .35rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: var(--accent); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s var(--ease-out) infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee { overflow: hidden; position: relative; border-block: 1px solid var(--line-2); padding-block: 1.3rem; background: var(--bg-2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track { display: inline-flex; gap: 2.4rem; white-space: nowrap; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.7rem); color: var(--cream-2); font-style: italic; }
.marquee-track .dot { color: var(--accent); font-style: normal; }

/* =============================================================
   11. Manifesto
   ============================================================= */
.manifesto { padding-block: clamp(4rem, 9vw, 8rem); }
.manifesto-grid { display: grid; gap: 1.5rem; }
.manifesto-body h2 { margin-bottom: 1.6rem; max-width: 18ch; }
.manifesto-body p { color: var(--cream-2); max-width: 62ch; margin-top: 1rem; }

/* =============================================================
   12. Services
   ============================================================= */
.services { padding-block: clamp(3rem, 7vw, 6rem); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.card {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft), border-color .4s;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.card:hover { transform: translateY(-6px); border-color: rgba(201,138,60,.35); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(201,138,60,.18); }
.card:hover .card-img { transform: scale(1.07); filter: saturate(1.1) brightness(1.04); }
.card-body { padding: 1.5rem 1.5rem 1.7rem; }
.card-body h3 { margin-bottom: .6rem; color: var(--cream); }
.card-body p { color: var(--cream-3); font-size: .95rem; }
.services-cta { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; padding: 1.8rem; border: 1px dashed var(--line); border-radius: 16px; }
.services-cta p { color: var(--cream-2); }

/* =============================================================
   13. Showcase (horizontal)
   ============================================================= */
.showcase { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.showcase-head { margin-bottom: 2.4rem; }
.showcase-viewport { overflow-x: auto; overflow-y: visible; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.showcase-viewport::-webkit-scrollbar { display: none; }
.showcase-track { display: inline-flex; gap: 1.2rem; padding-inline: var(--pad); padding-block: .5rem 1rem; }
.shot { position: relative; flex: 0 0 auto; width: clamp(240px, 70vw, 380px); scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.shot img { width: 100%; height: clamp(300px, 56vw, 480px); object-fit: cover; transition: transform .8s var(--ease-soft); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1rem; font-size: .82rem; letter-spacing: .03em; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(20,16,12,.92)); }
.showcase.is-pinned .showcase-viewport { overflow: visible; }
.showcase.is-pinned .showcase-track { will-change: transform; }
.showcase-hint { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-top: 1rem; }

/* =============================================================
   14. Craft / Oficio
   ============================================================= */
.craft { padding-block: clamp(4rem, 9vw, 8rem); background: var(--bg-2); }
.craft-grid { display: grid; gap: 2.6rem; }
.craft-text h2 { margin-bottom: 1.4rem; max-width: 16ch; }
.craft-text > p { color: var(--cream-2); max-width: 54ch; }
.craft-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.craft-list li { position: relative; padding-left: 1.6rem; color: var(--cream-3); font-size: .96rem; }
.craft-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.craft-list strong { color: var(--cream); font-weight: 500; }
.craft-media { display: grid; gap: 1.2rem; grid-template-columns: 1.2fr 1fr; align-items: start; }
.craft-video { position: relative; grid-row: span 2; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-3); }
.craft-video video { width: 100%; height: 100%; object-fit: cover; }
.craft-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, transparent, rgba(20,16,12,.2)); pointer-events: none; }
.craft-video-tag { position: absolute; left: .9rem; bottom: .9rem; right: .9rem; font-size: .74rem; letter-spacing: .03em; color: var(--cream); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.craft-details { display: grid; gap: 1.2rem; }
.craft-details img { width: 100%; border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; }

/* =============================================================
   15. Process
   ============================================================= */
.process { padding-block: clamp(4rem, 9vw, 8rem); }
.process-steps { display: grid; gap: 1.4rem; grid-template-columns: 1fr; counter-reset: step; }
.process-steps li { padding: 1.8rem; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-3); transition: border-color .4s, transform .4s var(--ease-out); }
.process-steps li:hover { border-color: rgba(201,138,60,.3); transform: translateY(-4px); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); }
.process-steps h3 { margin: .7rem 0 .5rem; color: var(--cream); }
.process-steps p { color: var(--cream-3); font-size: .94rem; }

/* =============================================================
   16. Area
   ============================================================= */
.area { padding-block: clamp(4rem, 9vw, 8rem); background: var(--bg-2); }
.area-grid { display: grid; gap: 2.6rem; }
.area-text h2 { margin-bottom: 1.3rem; max-width: 16ch; }
.area-text > p { color: var(--cream-2); max-width: 52ch; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.2rem; margin-top: 1.8rem; }
.area-list li { position: relative; padding-left: 1.4rem; color: var(--cream-2); font-size: .96rem; }
.area-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); }
.area-media img { width: 100%; border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; }

/* =============================================================
   17. Reviews
   ============================================================= */
.reviews { padding-block: clamp(4rem, 9vw, 8rem); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.review { padding: 2rem; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-3); position: relative; }
.review::before { content: "“"; position: absolute; top: .1rem; left: 1.1rem; font-family: var(--serif); font-size: 4rem; color: rgba(201,138,60,.25); line-height: 1; }
.review p { color: var(--cream); font-size: 1.05rem; position: relative; margin-bottom: 1rem; }
.review cite { color: var(--cream-3); font-style: normal; font-size: .86rem; }

/* =============================================================
   18. FAQ
   ============================================================= */
.faq { padding-block: clamp(3rem, 7vw, 6rem); }
.faq-list { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-3); overflow: hidden; transition: border-color .35s; }
.faq-item[open] { border-color: rgba(201,138,60,.3); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-family: var(--serif); font-size: 1.08rem; color: var(--cream); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--accent); transition: transform .35s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.5rem 1.35rem; }
.faq-a p { color: var(--cream-3); font-size: .96rem; max-width: 70ch; }

/* =============================================================
   19. Contact
   ============================================================= */
.contact { padding-block: clamp(5rem, 11vw, 9rem); text-align: center; }
.contact-inner { max-width: 760px; margin-inline: auto; }
.contact .section-num { display: inline-block; }
.contact h2 { font-size: clamp(2.1rem, 6vw, 4rem); margin-bottom: 1.2rem; }
.contact-lead { color: var(--cream-2); font-size: 1.1rem; max-width: 48ch; margin: 0 auto 2.2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.contact-hours { margin-top: 1.8rem; font-size: .85rem; letter-spacing: .04em; color: var(--cream-3); }

/* =============================================================
   20. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-mark { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.footer-logo { width: clamp(180px, 40vw, 240px); height: auto; object-fit: contain; margin-bottom: .4rem; }
.footer-brand p { color: var(--cream-3); font-size: .92rem; max-width: 44ch; margin-top: .9rem; }
.footer-col h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col li, .footer-col a { color: var(--cream-3); font-size: .92rem; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--cream-3); }

/* NAP */
.footer-nap { font-style: normal; margin-top: 1.3rem; display: grid; gap: .3rem; font-size: .92rem; color: var(--cream-3); line-height: 1.5; }
.footer-nap strong { color: var(--cream); font-weight: 500; }
.footer-nap a { color: var(--accent); }
.footer-nap a:hover { color: var(--gold); }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.5rem); bottom: clamp(1rem, 3vw, 1.5rem); z-index: 90;
  display: flex; align-items: center; height: 58px; padding-inline: 14px;
  border-radius: 100px; background: #25D366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 4px 14px rgba(0,0,0,.32);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float svg { flex: 0 0 auto; }
.wa-float-label { font-family: var(--sans); font-weight: 600; font-size: .95rem; white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .4s var(--ease-out), opacity .3s, margin-left .4s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(37,211,102,.65), 0 4px 14px rgba(0,0,0,.32); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1; animation: waPulse 2.8s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .45; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float-label { max-width: 120px; opacity: 1; margin-left: 10px; }
}

/* =============================================================
   21. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .manifesto-grid { grid-template-columns: 200px 1fr; gap: 3rem; }
  .craft-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
  .area-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav.is-scrolled { background: rgba(18,14,10,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
  .hero-scroll { display: block; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .showcase.is-pinned .showcase-viewport { overflow: visible; }
}

/* =============================================================
   21b. Centrado en móvil (≤719px)
   ============================================================= */
@media (max-width: 719px) {
  .hero { text-align: center; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; }
  .hero-title, .hero-sub { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; max-width: 440px; margin-inline: auto; text-align: center; }

  .section-head { margin-inline: auto; text-align: center; }
  .section-lead { margin-inline: auto; }
  .showcase-head { text-align: center; }

  .manifesto-grid { justify-items: center; text-align: center; }
  .manifesto-body h2, .manifesto-body p { max-width: 100%; margin-inline: auto; }

  .services-cta { align-items: center; text-align: center; }
  .card-body { text-align: center; }

  .craft-text { text-align: center; }
  .craft-text h2, .craft-text > p { max-width: 100%; margin-inline: auto; }
  .craft-list { justify-items: center; }
  .craft-list li { padding-left: 0; text-align: center; }
  .craft-list li::before { display: none; }

  .area-text { text-align: center; }
  .area-text h2, .area-text > p { max-width: 100%; margin-inline: auto; }
  .area-list { justify-items: center; }
  .area-list li { padding-left: 0; text-align: center; }
  .area-list li::before { display: none; }

  .process-steps li { text-align: center; }
  .review { text-align: center; }
  .review::before { left: 50%; transform: translateX(-50%); }

  .footer-grid { justify-items: center; text-align: center; }
  .footer-brand { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .footer-logo { margin-inline: auto; }
  .footer-nap { justify-items: center; }
  .footer-brand p { max-width: 100%; margin-inline: auto; }
  .footer-col ul { justify-items: center; }
  .footer-base { justify-content: center; text-align: center; }
}

/* =============================================================
   22. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .section-with-mesh::before { animation: none; }
  .wa-float::before { animation: none; }
  .hero-scroll span { animation: none; }
  .splash-line { animation: none; width: 140px; }
}
