/* =============================================================
   IMPULSA DIGITAL — styles.css
   Dark engineering + gold. Mobile-first.
   1 Tokens · 2 Reset · 3 Utilidades · 4 Tipografía · 5 Componentes
   6 Secciones · 7 Efectos · 8 Responsive · 9 Reduced-motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Superficie */
  --bg:        #08090b;
  --bg-2:      #0c0e12;
  --bg-3:      #11141a;
  --line:      rgba(255,255,255,.085);
  --line-2:    rgba(255,255,255,.14);

  /* Tinta */
  --ink:       #f4f5f7;
  --ink-2:     #c3c7cf;
  --mute:      #8a909c;

  /* Oro */
  --gold:      #d9b062;
  --gold-hi:   #f2dca6;
  --gold-lo:   #a67f3c;
  --gold-soft: rgba(217,176,98,.14);
  --gold-line: rgba(217,176,98,.30);

  /* Tipografía */
  --display: "Manrope", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Ritmo */
  --gutter:  clamp(1.15rem, 4vw, 2.5rem);
  --maxw:    1240px;
  --sec-pad: clamp(4.5rem, 10vw, 9rem);
  --r:       16px;
  --r-lg:    22px;

  /* Easings */
  --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);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video, canvas { 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; }
::selection { background: var(--gold); color: #0a0a0a; }

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

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-pad); position: relative; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .65rem 1.1rem; background: var(--gold); color: #0a0a0a;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.gold { color: var(--gold); }

/* =============================================================
   4. TIPOGRAFÍA
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

h2 { font-size: clamp(1.95rem, 4.6vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.4rem); letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.15rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); }

.sec-head { max-width: 720px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.sec-sub { color: var(--mute); margin-top: 1.1rem; font-size: 1.02rem; }

/* =============================================================
   5. COMPONENTES
   ============================================================= */

/* ── Botones ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600; font-size: .95rem;
  letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out);
  will-change: transform;
}
.btn-sm { padding: .68rem 1.2rem; font-size: .87rem; }
.btn-full { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  color: #12100a;
  box-shadow: 0 8px 30px -12px rgba(217,176,98,.65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -14px rgba(217,176,98,.8); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--gold-line); color: var(--gold-hi); transform: translateY(-2px); background: var(--gold-soft); }

.btn:active { transform: translateY(0); }

/* ── Navegación ────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8,9,11,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
@supports not (backdrop-filter: blur(4px)) { .nav.is-stuck { background: rgba(8,9,11,.97); } }

.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: .95rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--gold); }
.brand-logo {
  width: 34px; height: auto; flex: none;
  filter: drop-shadow(0 2px 10px rgba(217,176,98,.35));
  transition: transform .55s var(--ease-out);
}
.brand:hover .brand-logo { transform: translateY(-2px) scale(1.04); }
.foot-logo { width: 84px; height: auto; margin-bottom: 1rem; opacity: .95; }

/* campo trampa antispam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.brand-text {
  font-family: var(--display); font-weight: 800; font-size: 1.06rem;
  letter-spacing: -0.04em; color: var(--ink);
}
.brand-thin { color: var(--gold); font-weight: 500; }

.nav-links { display: none; margin-left: auto; gap: 1.9rem; }
.nav-links a {
  font-size: .9rem; color: var(--ink-2); position: relative; padding-block: .25rem;
  transition: color .35s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .45s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav .btn-sm { display: none; }

.nav-burger {
  margin-left: auto; width: 42px; height: 42px;
  display: grid; place-content: center; gap: 6px;
  border: 1px solid var(--line-2); border-radius: 12px;
}
.nav-burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.nav-drawer {
  display: grid; gap: .25rem;
  padding: .5rem var(--gutter) 1.5rem;
  background: rgba(8,9,11,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-drawer[hidden] { display: none; }
.nav-drawer a {
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}

/* ── Tarjeta genérica (superficie) ─────────── */
.pillar, .svc, .price, .quote, .contact-card, .stat {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 60%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
}

/* Halo dorado que sigue al cursor */
.pillar::before, .svc::before, .price::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  border-radius: inherit; opacity: 0;
  background: radial-gradient(340px circle at var(--px,50%) var(--py,50%), rgba(217,176,98,.13), transparent 62%);
  transition: opacity .5s var(--ease-out);
}
.pillar:hover::before, .svc:hover::before, .price:hover::before { opacity: 1; }

/* ── Formulario ────────────────────────────── */
.form { display: grid; gap: 1.05rem; margin-top: 2rem; }
.field { display: grid; gap: .5rem; }
.field-row { display: grid; gap: 1.05rem; }

.field label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--mute);
}
.field .opt { text-transform: none; letter-spacing: 0; opacity: .7; }

.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: .85rem 1rem;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #5f6673; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold-line);
  background: rgba(217,176,98,.05);
  box-shadow: 0 0 0 3px rgba(217,176,98,.10);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #b8534a; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.05rem; top: 50%;
  width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }

.form-note { font-size: .85rem; color: var(--mute); text-align: center; }
.form-note a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }
.form-note.is-ok { color: var(--gold-hi); }

/* =============================================================
   6. SECCIONES
   ============================================================= */

/* ── 6.1 HERO ──────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 8.5rem 5rem;
  overflow: hidden;
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: .85; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx,55%) var(--my,32%), rgba(217,176,98,.15), transparent 62%),
    radial-gradient(760px circle at 78% 8%, rgba(217,176,98,.075), transparent 60%),
    radial-gradient(620px circle at 12% 88%, rgba(120,150,255,.05), transparent 62%);
  filter: blur(12px);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -3; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner { max-width: 1000px; }
.hero-title {
  font-size: clamp(2.45rem, 6.6vw, 5.1rem);
  letter-spacing: -0.045em;
  margin-bottom: 1.6rem;
}
.hero-sub {
  max-width: 62ch; font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--ink-2); margin-bottom: 2.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 3rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--mute);
}
.hero-badges .tick {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 1px solid var(--gold-line); position: relative;
}
.hero-badges .tick::after {
  content: ""; position: absolute; left: 4px; top: 3px;
  width: 4px; height: 7px; border-right: 1.3px solid var(--gold); border-bottom: 1.3px solid var(--gold);
  transform: rotate(42deg);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.9rem; transform: translateX(-50%);
  width: 1px; height: 54px; background: linear-gradient(to bottom, transparent, var(--line-2));
  overflow: hidden;
}
.hero-scroll span {
  position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2.6s var(--ease-soft) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ── 6.2 QUIÉNES SOMOS ─────────────────────── */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: clamp(2.8rem, 6vw, 5rem); }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p + p { margin-top: 1rem; }

.about-list { margin-top: 1.9rem; display: grid; gap: .85rem; }
.about-list li {
  padding-left: 1.6rem; position: relative; font-size: .96rem; color: var(--ink-2);
}
.about-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: rotate(45deg);
}
.about-list strong { color: var(--ink); font-weight: 600; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; align-content: start; }
.stat { padding: 1.5rem 1.25rem; }
.stat-num {
  display: flex; align-items: baseline; gap: .18rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num em { font-style: normal; font-size: .42em; letter-spacing: -0.02em; }
.stat h3 { font-size: .96rem; margin-top: .55rem; color: var(--ink); }
.stat p { font-size: .82rem; color: var(--mute); margin-top: .3rem; line-height: 1.5; }

/* ── 6.3 PILARES ───────────────────────────── */
.pillars { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.pillar-grid { display: grid; gap: 1.1rem; }
.pillar {
  padding: 2rem 1.6rem 1.9rem;
  transition: transform .6s var(--ease-out), border-color .5s var(--ease-out);
  transform-style: preserve-3d;
}
.pillar:hover { border-color: var(--gold-line); }
.pillar-num {
  position: absolute; top: 1.3rem; right: 1.5rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--gold);
  opacity: .55;
}
.pillar-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-content: center; color: var(--gold);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  margin-bottom: 1.4rem;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: .7rem; }
.pillar > p { font-size: .95rem; color: var(--mute); }
.pillar-list { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.pillar-list li {
  font-size: .875rem; color: var(--ink-2); padding-left: 1.15rem; position: relative;
}
.pillar-list li::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold);
}

/* ── 6.4 SERVICIOS ─────────────────────────── */
.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc {
  border: 0; border-radius: 0;
  padding: 2rem 1.6rem;
  transition: background-color .5s var(--ease-out);
}
.svc:hover { background: var(--bg-3); }
.svc-idx {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--gold); opacity: .7; display: block; margin-bottom: 1.1rem;
}
.svc h3 { margin-bottom: .65rem; }
.svc p { font-size: .93rem; color: var(--mute); }
.svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.3rem; }
.svc-tags i {
  font-style: normal; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  padding: .32rem .6rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2);
  transition: border-color .4s var(--ease-out), color .4s var(--ease-out);
}
.svc:hover .svc-tags i { border-color: var(--gold-line); color: var(--gold-hi); }

/* ── 6.5 TARIFAS ───────────────────────────── */
.pricing { background: var(--bg-2); border-block: 1px solid var(--line); }
.price-grid { display: grid; gap: 1.1rem; align-items: start; }
.price { padding: 2rem 1.6rem 1.9rem; display: grid; gap: 1.3rem; background-color: var(--bg); }
.price-feat {
  border-color: var(--gold-line);
  box-shadow: 0 30px 80px -50px rgba(217,176,98,.55);
  background:
    linear-gradient(180deg, rgba(217,176,98,.07), rgba(217,176,98,0) 45%),
    var(--bg);
}
.price-flag {
  position: absolute; top: 0; right: 1.4rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .38rem .75rem; border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: #12100a; font-weight: 500;
}
.price header h3 { margin-bottom: .35rem; }
.price-note { font-size: .84rem; color: var(--gold); font-family: var(--mono); letter-spacing: .02em; }
.price-fig {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--display); color: var(--ink);
  padding-bottom: 1.3rem; border-bottom: 1px solid var(--line);
}
.price-from { font-family: var(--mono); font-size: .74rem; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; align-self: center; }
.price-fig strong { font-size: clamp(2.6rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; }
.price-fig em { font-style: normal; font-size: 1.05rem; font-weight: 700; color: var(--gold); }
.price-list { display: grid; gap: .7rem; }
.price-list li { font-size: .9rem; color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 5px; height: 9px; border-right: 1.4px solid var(--gold); border-bottom: 1.4px solid var(--gold);
  transform: rotate(42deg);
}
.price-foot { margin-top: 2rem; text-align: center; font-size: .89rem; color: var(--mute); }

/* ── 6.6 PROCESO ───────────────────────────── */
.steps { display: grid; gap: 1.1rem; position: relative; counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.6rem 1.8rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 55%), var(--bg-2);
  transition: border-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.step:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px var(--gold-line);
  display: block; margin-bottom: .9rem;
}
.step h3 { margin-bottom: .55rem; }
.step p { font-size: .93rem; color: var(--mute); }
.step-meta {
  display: inline-block; margin-top: 1.2rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); padding: .3rem .7rem; border: 1px solid var(--gold-line); border-radius: 999px;
}

/* ── 6.7 PROYECTOS ─────────────────────────── */
.work-grid { display: grid; gap: 2.2rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.case { display: grid; gap: 1.5rem; }

.browser {
  display: block;
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
  transition: transform .6s var(--ease-out), border-color .5s var(--ease-out);
  transform-style: preserve-3d;
}
.browser:hover { border-color: var(--gold-line); }
.browser-bar {
  display: flex; align-items: center; gap: .38rem;
  padding: .65rem .85rem; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.browser-bar span[class^="dot-"] { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-r { background: #e05c51; } .dot-y { background: #e3b341; } .dot-g { background: #4fb06d; }
.browser-url {
  margin-left: .7rem; flex: 1;
  font-family: var(--mono); font-size: .68rem; color: var(--mute);
  background: rgba(255,255,255,.04); border-radius: 6px; padding: .28rem .65rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Capturas de los proyectos */
.browser-shot {
  width: 100%; aspect-ratio: 1200 / 760; object-fit: cover;
  transition: transform 1s var(--ease-out), filter .6s var(--ease-out);
  filter: saturate(.92) brightness(.94);
}
.browser:hover .browser-shot { transform: scale(1.035); filter: saturate(1.05) brightness(1); }

.case-cat {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .55rem;
}
.case-meta h3 { margin-bottom: .5rem; }
.case-meta p { font-size: .93rem; color: var(--mute); }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.case-tags i {
  font-style: normal; font-family: var(--mono); font-size: .68rem;
  padding: .3rem .6rem; border-radius: 999px;
  border: 1px solid var(--gold-line); color: var(--gold);
}

.case-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem; font-size: .88rem; font-weight: 600; color: var(--gold-hi);
  border-bottom: 1px solid var(--gold-line); padding-bottom: .15rem;
  transition: gap .4s var(--ease-out), border-color .4s var(--ease-out);
}
.case-link:hover { gap: .8rem; border-color: var(--gold-hi); }

/* Testimonios */
.quotes { display: grid; gap: 1.1rem; }
.quote { padding: 1.9rem 1.6rem; display: grid; gap: 1.3rem; align-content: start; }
.quote::before {
  content: "”"; position: absolute; top: -.35rem; right: 1.1rem;
  font-family: var(--display); font-size: 5rem; color: var(--gold); opacity: .16; line-height: 1;
}
.quote blockquote { font-size: .97rem; color: var(--ink-2); line-height: 1.7; }
.quote figcaption { display: grid; gap: .15rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quote figcaption strong { font-family: var(--display); color: var(--ink); font-size: .95rem; font-weight: 700; }
.quote figcaption span { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--gold); }

/* ── 6.8 CONTACTO ──────────────────────────── */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 1rem; }

.contact-card { padding: 2rem 1.7rem; display: grid; gap: 1.5rem; }
.contact-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at 100% 0%, rgba(217,176,98,.12), transparent 60%);
}
.contact-card h3 { font-size: 1.25rem; }
.contact-list { display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list .ci {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-content: center; color: var(--gold);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.contact-list .ci svg { width: 18px; height: 18px; }
.contact-list strong { display: block; color: var(--ink); font-size: .94rem; font-weight: 600; }
.contact-list p { font-size: .85rem; color: var(--mute); line-height: 1.5; }
.contact-fine { font-size: .8rem; color: var(--mute); text-align: center; }

/* ── 6.9 FOOTER ────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-block: 3.2rem 2.4rem; }
.foot-inner { display: grid; gap: 2rem; }
.foot-brand .brand-text { font-size: 1.15rem; display: inline-block; margin-bottom: .8rem; }
.foot-brand p { font-size: .88rem; color: var(--mute); max-width: 42ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; }
.foot-links a { font-size: .88rem; color: var(--ink-2); transition: color .35s var(--ease-out); }
.foot-links a:hover { color: var(--gold); }
.foot-meta { display: grid; gap: .5rem; font-size: .82rem; color: var(--mute); }
.foot-meta a { color: var(--gold); }

/* ── 6.10 WhatsApp flotante ────────────────── */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 850;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-content: center;
  color: #12100a;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  box-shadow: 0 12px 34px -10px rgba(217,176,98,.6);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-bounce);
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }

/* =============================================================
   7. EFECTOS
   ============================================================= */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
/* Escalonado dentro de rejillas */
.pillar-grid .reveal:nth-child(2), .svc-grid .reveal:nth-child(2),
.price-grid .reveal:nth-child(2), .steps .reveal:nth-child(2),
.quotes .reveal:nth-child(2), .stats .reveal:nth-child(2) { transition-delay: .09s; }
.pillar-grid .reveal:nth-child(3), .svc-grid .reveal:nth-child(3),
.price-grid .reveal:nth-child(3), .steps .reveal:nth-child(3),
.quotes .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: .18s; }
.svc-grid .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .27s; }
.svc-grid .reveal:nth-child(5) { transition-delay: .34s; }
.svc-grid .reveal:nth-child(6) { transition-delay: .41s; }

/* Sin JS, todo visible desde el primer pintado (regla base .reveal) */

/* =============================================================
   8. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .hero-badges { gap: .8rem 2.2rem; }
}

@media (min-width: 720px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-inner { grid-template-columns: 1.4fr 1fr; }
  .foot-meta { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line);
               display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .stat { padding: 1.8rem 1.5rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.6rem; }
  .case { align-content: start; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn-sm { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-drawer { display: none !important; }

  .about-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.35fr .8fr; }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.6rem; }
  .contact-card { position: sticky; top: 108px; }
  .pillar { padding: 2.4rem 2rem 2.2rem; }
  .svc { padding: 2.4rem 2rem; }
  .price { padding: 2.4rem 2rem 2.2rem; }
  .step { padding: 2.4rem 2rem 2.2rem; }
  .wa-float { right: 1.7rem; bottom: 1.7rem; }
}

@media (min-width: 1280px) {
  .hero-title { letter-spacing: -0.05em; }
  .stats { gap: 1.1rem; }
}

/* =============================================================
   9. REDUCED-MOTION — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-net { display: none; }
  .hero-scroll span { animation: none; }
}
