/* ============================================================
   RÍOS & ASOCIADOS — style.css
   Identidad visual: Rojo, Blanco y Negro
   Paleta: 
     - Negro fondo: #0E0E10 · Superficie: #161619 · Tarjetas: #1D1D22 · Bordes: #2D2D35
     - Rojo estudio: #D83939 · Hover: #B72626 · Sutil: rgba(216,57,57,.12)
     - Blanco / Letras: #FFFFFF (títulos) · #E2E8F0 (cuerpo) · #A0AAB8 (secundario)
   Tipografía: Inter (Google Fonts)
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #E2E8F0;
  background-color: #0E0E10;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Utility: screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Marca: Rojo, Blanco y Negro */
  --brand-black:         #0E0E10;
  --brand-black-surface: #161619;
  --brand-black-card:    #1D1D22;
  --brand-black-border:  #2D2D35;

  --brand-primary:       #D83939;
  --brand-primary-hover: #B72626;
  --brand-primary-subtle: rgba(216, 57, 57, 0.12);
  --brand-primary-border: rgba(216, 57, 57, 0.35);

  --brand-dark:          #FFFFFF;
  --white:               #FFFFFF;

  --green-wa:            #25D366;
  --green-wa-h:          #20ba5a;

  --gray-50:             #0E0E10;
  --gray-100:            #24242C;
  --gray-300:            #4B5563;
  --gray-500:            #71717A;
  --gray-700:            #D1D5DB;
  --gray-900:            #F9FAFB;

  --text-head:           #FFFFFF;
  --text-body:           #E2E8F0;
  --text-muted:          #A0AAB8;

  --shadow-sm:           0 1px 3px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25);
  --shadow-md:           0 4px 16px rgba(0,0,0,.45);
  --shadow-lg:           0 10px 30px rgba(0,0,0,.6);
  --shadow-red:          0 4px 18px rgba(216, 57, 57, 0.4);

  --radius:              10px;
  --radius-lg:           16px;
  --container:           1200px;
  --section-y:           80px;
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* Primary — Rojo Estudio */
.btn-primary {
  background-color: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}
.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  box-shadow: var(--shadow-red);
  color: var(--white);
}

/* Secondary outline */
.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all .2s;
  white-space: nowrap;
}
.btn-secondary-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

/* WhatsApp outline */
.btn-wa-outline {
  background-color: transparent;
  color: var(--green-wa);
  border-color: var(--green-wa);
}
.btn-wa-outline:hover {
  background-color: var(--green-wa);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

/* WhatsApp nav */
.btn-whatsapp-nav {
  background-color: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
  padding: 10px 18px;
  font-size: .875rem;
}
.btn-whatsapp-nav:hover {
  background-color: var(--green-wa-h);
  border-color: var(--green-wa-h);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
}

/* Text-link secondary */
.btn-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: .9375rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transition: all .2s;
}
.btn-link-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

/* Inline link */
.inline-link {
  color: var(--brand-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--brand-primary-border);
  transition: border-color .2s, color .2s;
}
.inline-link:hover {
  color: #FF5A5A;
  border-bottom-color: #FF5A5A;
}

/* Button icons */
.btn-icon    { width: 18px; height: 18px; flex-shrink: 0; }
.btn-icon-sm { width: 14px; height: 14px; flex-shrink: 0; }
.icon-wa     { width: 18px; height: 18px; flex-shrink: 0; }

/* ── SECTION TYPOGRAPHY ───────────────────────────────────── */
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: center;
}
.section-title.left { text-align: left; }

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(14, 14, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-black-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-ampersand { color: var(--brand-primary); }
.logo-tagline {
  display: none;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--brand-black-border);
  gap: 4px;
  background: var(--brand-black-surface);
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--brand-black-border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }
.mobile-wa { margin-top: 12px; text-align: center; justify-content: center; }


/* ══════════════════════════════════════════════════════════════
   HERO (Centrado)
══════════════════════════════════════════════════════════════ */
.hero {
  background: radial-gradient(circle at 50% 15%, #241012 0%, #151518 50%, #0D0D0F 100%);
  padding: 92px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-black-border);
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--brand-primary-subtle);
  border: 1px solid var(--brand-primary-border);
  border-radius: 9999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FF5A5A;
  margin-bottom: 24px;
}

.hero-h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-highlight {
  color: var(--brand-primary);
  display: inline;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-muted);
}
.micro-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* Ocultar si aún queda en HTML */
.hero-image { display: none !important; }


/* ══════════════════════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--brand-black-surface);
  border-bottom: 1px solid var(--brand-black-border);
  padding: 40px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 48px;
  gap: 4px;
}

.stat-number {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
}

.stat-label {
  font-size: .875rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 130px;
  text-align: center;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--brand-black-border);
}


/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services {
  padding: var(--section-y) 0;
  background: var(--brand-black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--brand-black-card);
  border: 1px solid var(--brand-black-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
  border-color: var(--brand-primary);
}

.service-icon {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.service-icon svg {
  width: 22px; height: 22px;
  color: #FFFFFF;
  transition: all .25s ease;
}

.service-card:hover .service-icon {
  background: rgba(216, 57, 57, 0.12);
  border-color: rgba(216, 57, 57, 0.4);
}
.service-card:hover .service-icon svg {
  color: var(--brand-primary);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.65;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 4px;
  transition: gap .2s, color .2s;
}
.service-link:hover { gap: 9px; color: #FF5A5A; }

.services-footer-cta {
  text-align: center;
  margin-top: 36px;
  font-size: .9375rem;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════════════════════
   FOR WHOM
══════════════════════════════════════════════════════════════ */
.for-whom {
  padding: var(--section-y) 0;
  background: var(--brand-black-surface);
  border-top: 1px solid var(--brand-black-border);
  border-bottom: 1px solid var(--brand-black-border);
}

.forwhom-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.forwhom-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.forwhom-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.6;
}
.check-icon {
  width: 18px; height: 18px;
  color: #FFFFFF;
  opacity: 0.85;
  flex-shrink: 0;
  margin-top: 3px;
  transition: opacity .2s ease, color .2s ease;
}
.forwhom-list li:hover .check-icon {
  opacity: 1;
  color: var(--brand-primary);
}

.forwhom-cta-box {
  background: var(--brand-black-card);
  border: 1px solid var(--brand-black-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 88px;
}
.forwhom-cta-label {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.forwhom-cta-box .btn { justify-content: center; }


/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--section-y) 0;
  background: var(--brand-black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.testimonial-card {
  background: var(--brand-black-card);
  border: 1px solid var(--brand-black-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s, border-color .25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(216, 57, 57, 0.4);
}

.testimonial-stars {
  font-size: 1rem;
  color: #F59E0B;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.7;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--brand-black-border);
  padding-top: 16px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-primary-subtle);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-role {
  display: block;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 1px;
}


/* ══════════════════════════════════════════════════════════════
   LEAD MAGNET
══════════════════════════════════════════════════════════════ */
.lead-magnet {
  background: var(--brand-black-surface);
  border-top: 1px solid var(--brand-black-border);
  border-bottom: 1px solid var(--brand-black-border);
  padding: var(--section-y) 0;
}

.lead-magnet-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.lead-magnet-icon {
  width: 64px; height: 64px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
}
.lead-magnet-icon svg { width: 30px; height: 30px; color: #FFFFFF; }

.lead-magnet-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead-magnet-desc {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 580px;
}

.lm-form-row {
  display: flex;
  gap: 12px;
  max-width: 520px;
}

.lm-form-row input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--brand-black-border);
  border-radius: var(--radius);
  background: var(--brand-black-card);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.lm-form-row input::placeholder { color: var(--text-muted); }
.lm-form-row input:focus {
  border-color: var(--brand-primary);
  background: #25252D;
}

.lm-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.lock-icon { width: 14px; height: 14px; flex-shrink: 0; }


/* ══════════════════════════════════════════════════════════════
   BLOG PREVIEW
══════════════════════════════════════════════════════════════ */
.blog-preview {
  padding: var(--section-y) 0;
  background: var(--brand-black);
}

.blog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background: var(--brand-black-card);
  border: 1px solid var(--brand-black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.blog-card-img {
  height: 140px;
  background: var(--brand-black-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--brand-black-border);
}
.blog-img-placeholder { font-size: 2.5rem; }

.blog-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.blog-date {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.blog-title a {
  color: var(--white);
  transition: color .2s;
}
.blog-title a:hover { color: var(--brand-primary); }

.blog-excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}


/* ══════════════════════════════════════════════════════════════
   CTA FINAL (Estilo estudio: Negro y Rojo)
══════════════════════════════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, #1A0708 0%, #121215 50%, #0A0A0C 100%);
  border-top: 1px solid var(--brand-primary-border);
  border-bottom: 1px solid var(--brand-black-border);
  padding: 88px 0;
  text-align: center;
  position: relative;
}

.cta-final-title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.cta-final-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  margin-bottom: 36px;
}

.cta-final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
/* Override btn-wa-outline en CTA final */
.cta-final .btn-wa-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.cta-final .btn-wa-outline:hover {
  background-color: var(--green-wa);
  border-color: var(--green-wa);
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #08080A;
  color: var(--text-muted);
  border-top: 1px solid var(--brand-black-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding: 56px 24px 48px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-tagline { color: var(--text-muted); }

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 340px;
  color: var(--text-muted);
}

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  font-size: .9rem;
}
.footer-contact a { color: var(--text-body); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-wa-link { color: #25D366 !important; font-weight: 600; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 4px;
}

.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color .2s;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--brand-primary); }

.footer-bottom {
  border-top: 1px solid #1C1C22;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-bottom p { font-size: .8125rem; color: #71717A; }
.footer-matricula { font-style: italic; }


/* ══════════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-tooltip {
  background: var(--brand-black-card);
  color: var(--white);
  border: 1px solid var(--brand-black-border);
  font-size: .8125rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--brand-black-card) transparent transparent;
}

.wa-float-btn {
  width: 58px; height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.wa-float-btn:hover {
  background: var(--green-wa-h);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .55);
}
.wa-float-btn svg { width: 30px; height: 30px; color: var(--white); }

/* Pulse ring */
.wa-float-btn::after {
  content: '';
  position: absolute;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid var(--green-wa);
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (< 1024px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  :root { --section-y: 64px; }

  /* Nav */
  .nav-links, .btn-whatsapp-nav { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 68px 0; }
  .hero-inner {
    max-width: 100%;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-microcopy { justify-content: center; }

  /* Stats */
  .stat-item { padding: 14px 28px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* For whom */
  .forwhom-inner { grid-template-columns: 1fr; gap: 36px; }
  .forwhom-cta-box { position: static; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Lead magnet */
  .lead-magnet-inner { grid-template-columns: 1fr; }
  .lead-magnet-icon { display: none; }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 640px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
  :root { --section-y: 52px; }

  /* Stats */
  .stats-inner { flex-direction: column; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item { padding: 12px 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Lead magnet form */
  .lm-form-row { flex-direction: column; }
  .lm-form-row .btn { width: 100%; justify-content: center; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; }

  /* CTA final */
  .cta-final-actions { flex-direction: column; align-items: stretch; }
  .cta-final-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* WhatsApp flotante */
  .wa-float { bottom: 20px; right: 20px; }
  .wa-float-btn { width: 52px; height: 52px; }
  .wa-float-btn svg { width: 26px; height: 26px; }
  .wa-float-btn::after { width: 52px; height: 52px; }
}
