/* ==========================================================================
   abogadomendoza.ar · site.css
   Estilos compartidos para páginas internas (servicios, blog, etc.)
   El home usa CSS crítico inline para optimizar LCP.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: #F7F4EF;
  color: #1A1A1A;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

:root {
  --navy:    #0E2233;
  --navy-2:  #1A3A4A;
  --gold:    #C8A96E;
  --gold-lt: #E8D5B0;
  --cream:   #F7F4EF;
  --cream-2: #F0ECE4;
  --gray:    #6E6E6E;
  --gray-lt: #DDD7CE;
  --white:   #FFFFFF;
  --text:    #1A1A1A;
  --text-2:  #4A4A4A;
  --success: #2D6A5B;
  /* superficies y acentos nuevos — dan aire y bajan la fatiga de lectura */
  --surface:   #FBFAF7;          /* casi blanco cálido, para alternar con el cream */
  --teal:      #2D6A5B;          /* acento secundario sobrio (checks, badges) */
  --teal-soft: #EAF1ED;
  --gold-deep: #AE8A4C;          /* gold con más contraste para texto/links chicos */
  --gold-soft: rgba(200,169,110,0.12);
  --halo:      rgba(200,169,110,0.22);
  --wa:        #25D366;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(14,34,51,0.08);
  --shadow-md: 0 8px 32px rgba(14,34,51,0.12);
  --shadow-lg: 0 22px 50px rgba(14,34,51,0.18);
  --shadow-gold: 0 12px 30px rgba(176,138,79,0.20);
}

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.2; }
.overline {
  font-family: var(--ff-body);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-label { color: var(--gold); display: block; text-align: center; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); text-align: center; margin-bottom: 3rem; }

/* ── NAVBAR ────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 1px 0 rgba(200,169,110,0.15);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-brand {
  font-family: var(--ff-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.navbar-brand span { color: rgba(200,169,110,0.5); }
.navbar-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.navbar-nav a {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.navbar-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.btn-nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: transparent !important;
  padding: 8px 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
}
.btn-nav-cta:hover { background: var(--gold-lt) !important; }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.navbar-toggle span { display: block; width: 22px; height: 1.5px; background: var(--gold); transition: var(--transition); }

/* ── BOTONES ───────────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
/* brillo que cruza el botón al pasar el mouse */
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: left 0.6s var(--ease);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-gold:hover::after { left: 130%; }
.btn-gold:active { transform: translateY(0); }
.btn-gold svg { transition: transform var(--transition); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-outline {
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--gold);
  padding: 14px 28px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  font-family: var(--ff-body);
  transition: border-color var(--transition), background var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(200,169,110,0.08); }
.btn-outline-dark {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 14px 28px;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  font-family: var(--ff-body);
  transition: background var(--transition), color var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--gold); }

/* ── PAGE HERO (servicios / internas) ──────────────────────────── */
.page-hero {
  margin-top: 64px;
  background: var(--navy);
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 6vw, 5rem) clamp(3rem, 6vw, 4rem);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200,169,110,0.12), transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.6);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(200,169,110,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { margin: 0 8px; color: rgba(200,169,110,0.3); }
.page-hero-overline { color: var(--gold); display: block; margin-bottom: 0.75rem; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--cream);
  max-width: 820px;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero .lede {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 2rem;
}
.page-hero .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── SECCIONES ──────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem); }
.section-narrow { max-width: 820px; margin: 0 auto; }
.section p { font-size: 1rem; color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.section p strong { color: var(--navy); font-weight: 500; }
.section-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.section-intro .overline { color: var(--gold); margin-bottom: 0.75rem; display: block; }

/* ── LISTA CON CHECKS (qué podés reclamar) ─────────────────────── */
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin: 1.5rem 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

/* ── CASOS GRID ─────────────────────────────────────────────────── */
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.caso-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-left-width var(--transition);
}
.caso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-width: 6px;
}
.caso-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.caso-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; margin-bottom: 0; }

/* ── MÉTODO (mismo patrón que home) ─────────────────────────────── */
.metodo-section { background: var(--cream-2); }
.metodo-steps { display: flex; gap: 0; counter-reset: step; }
.metodo-step {
  flex: 1;
  padding: 2rem 1.5rem;
  position: relative;
  border-right: 1px solid var(--gray-lt);
  counter-increment: step;
}
.metodo-step:last-child { border-right: none; }
.metodo-step::before {
  content: "0" counter(step);
  font-family: var(--ff-display);
  font-size: 3rem;
  color: rgba(200,169,110,0.15);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.metodo-step-title { font-family: var(--ff-display); font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.metodo-step-text { font-size: 0.8125rem; color: var(--gray); line-height: 1.7; }

/* ── HONORARIOS BOX ─────────────────────────────────────────────── */
.honorarios-box {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  padding: 2rem 2rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.honorarios-box h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.honorarios-box p { font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.honorarios-box .highlight {
  display: inline-block;
  background: rgba(200,169,110,0.15);
  color: var(--navy);
  padding: 6px 14px;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--gold);
}

/* ── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 80px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--cream);
  margin-bottom: 1rem;
}
.cta-banner h2 em { color: var(--gold); font-style: italic; }
.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.8;
}
.cta-banner .hero-ctas { justify-content: center; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-lt); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }

/* ── SERVICIOS RELACIONADOS ─────────────────────────────────────── */
.related-services { background: var(--cream-2); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1040px;
  margin: 0 auto;
}
.related-card {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-left: 2px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition), border-left-width var(--transition);
  display: block;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-left-width: 5px; }
.related-card h3 { transition: color var(--transition); }
.related-card:hover h3 { color: var(--gold-deep); }
.related-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.related-card p { font-size: 0.8125rem; color: var(--gray); line-height: 1.6; }

/* ── CONTACTO (minimal, mismo look que home) ────────────────────── */
.contact-section { background: var(--cream-2); }
.contact-section h2 { text-align: center; color: var(--navy); margin-bottom: 2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.contact-label { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 2px; }
.contact-value { font-size: 0.9375rem; color: var(--navy); }
.contact-value a { transition: color var(--transition); }
.contact-value a:hover { color: var(--gold); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: #0A1920;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(200,169,110,0.1);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 1.5rem;
}
.footer-brand-name { font-family: var(--ff-display); color: var(--gold); font-size: 1.125rem; }
.footer-matricula { font-size: 0.6875rem; color: rgba(255,255,255,0.3); margin-top: 4px; letter-spacing: 0.05em; }
.footer-sep { width: 1px; height: 40px; background: rgba(200,169,110,0.2); justify-self: center; }
.footer-nav { display: flex; gap: 1.5rem; justify-content: flex-end; flex-wrap: wrap; }
.footer-nav a { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.6875rem; color: rgba(255,255,255,0.2); }
.footer-legal { font-size: 0.6875rem; color: rgba(255,255,255,0.2); }

/* ── WA FLOAT BUTTON ────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: #FF4444;
  border-radius: 50%;
  border: 2px solid white;
}

/* ── COOKIE BANNER ──────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  border-top: 2px solid var(--gold);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 0.8125rem; color: rgba(255,255,255,0.7); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold); color: var(--navy);
  padding: 8px 20px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; font-family: var(--ff-body);
}
.btn-cookie-reject {
  background: none; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5);
  padding: 8px 16px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--ff-body);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .casos-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-items { grid-template-columns: 1fr; gap: 1.5rem; max-width: 480px; }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 2rem; gap: 1.5rem; border-top: 1px solid rgba(200,169,110,0.15); }
  .navbar-nav.open { display: flex; }
  .navbar-toggle { display: flex; }
  .check-list { grid-template-columns: 1fr; }
  .casos-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .metodo-steps { flex-direction: column; }
  .metodo-step { border-right: none; border-bottom: 1px solid var(--gray-lt); }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-sep { display: none; }
  .footer-nav { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   MOVIMIENTO Y VIDA — scroll-reveal, ritmo de superficies, pulido
   (antes el .animate-in solo existía en el home; ahora las páginas de
   servicio también respiran)
   ══════════════════════════════════════════════════════════════════ */

/* Aparición al hacer scroll */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.animate-in.visible { opacity: 1; transform: none; }
.animate-in.delay-1 { transition-delay: 0.08s; }
.animate-in.delay-2 { transition-delay: 0.16s; }
.animate-in.delay-3 { transition-delay: 0.24s; }
.animate-in.delay-4 { transition-delay: 0.32s; }
.animate-in.delay-5 { transition-delay: 0.40s; }

/* Stagger automático: hijos de un grid revelado caen en cascada */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }

/* Ritmo de superficies — alterna fondos para que la lectura no canse.
   Aplica solo si el HTML usa estas clases; es opt-in, no rompe nada. */
.surface-alt { background: var(--surface); }
.surface-tint { background: var(--teal-soft); }

/* Check-list: el check entra con un pop sutil al revelarse */
.check-list li::before { transition: transform var(--transition); }
.animate-in.visible .check-list li::before,
.check-list.visible li::before { animation: checkpop 0.4s var(--ease) backwards; }
@keyframes checkpop { 0% { transform: scale(0) rotate(-12deg); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Page-hero: filete dorado animado que separa del contenido */
.page-hero { position: relative; }
.page-hero > * { position: relative; z-index: 1; }

/* Links de contenido con mejor contraste (menos fatiga) */
.section p a:not(.btn-gold):not(.btn-outline):not(.btn-outline-dark) {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-soft);
  transition: border-color var(--transition);
}
.section p a:not(.btn-gold):not(.btn-outline):not(.btn-outline-dark):hover { border-bottom-color: var(--gold-deep); }

/* CTA inline dentro del contenido de servicios — captura de leads sin
   que el visitante tenga que bajar hasta el banner */
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  background: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  border-radius: 2px;
}
.inline-cta p { color: var(--cream) !important; margin: 0 !important; flex: 1; min-width: 220px; font-size: 0.95rem !important; }
.inline-cta .btn-gold { flex-shrink: 0; }

/* WhatsApp float: latido más vivo */
.wa-float { transition: transform var(--transition), box-shadow var(--transition); }
.wa-float:hover { transform: scale(1.12) rotate(-4deg); }

/* Respeto por quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .animate-in, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-gold::after { display: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.05s !important; scroll-behavior: auto !important; }
}

/* ══════════════════════════════════════════════════════════════════
   RITMO DE FONDOS — variedad de color sin saturar (solo páginas de
   servicio). Targeteo cada sección por lo que contiene con :has(), así
   no hace falta tocar el HTML de las 15 páginas. Tonos muy suaves para
   que la lectura descanse y no se sienta una pared de cream.
   ══════════════════════════════════════════════════════════════════ */

/* Hero con un poco más de profundidad (navy en degradé) */
.page-hero { background: linear-gradient(155deg, #0E2233 0%, #1A3A4A 52%, #0B1C2B 100%); }

/* Intro: claro y aireado justo después del hero oscuro */
.section-intro { background: linear-gradient(180deg, #FFFFFF 0%, var(--surface) 100%); }

/* "Qué podés reclamar": banda verde apenas perceptible (tono afirmativo) */
.section:has(.check-list) { background: linear-gradient(180deg, var(--teal-soft) 0%, #EFF3F0 100%); }

/* Casos: superficie clara para que las tarjetas resalten */
.section:has(.casos-grid) { background: var(--surface); }

/* Método: gris cálido con un hilo dorado de remate arriba */
.metodo-section { background: linear-gradient(180deg, var(--cream-2) 0%, var(--surface) 100%); position: relative; }
.metodo-section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; background: var(--gold);
}

/* FAQ: superficie clara y limpia */
.faq-section { background: var(--surface); }

/* Servicios relacionados: eco del verde tenue para cerrar el ciclo */
.related-services { background: linear-gradient(180deg, var(--teal-soft) 0%, var(--cream-2) 100%); }

/* Contacto: cierre cálido hacia el footer */
.contact-section { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }

/* Caso-cards: un toque de color en el borde según la sección */
.section:has(.casos-grid) .caso-card { border-left-color: var(--gold); }
.related-card { border-left-color: var(--teal); }

/* CTA banner: degradé navy con brillo dorado sutil (foco de conversión) */
.cta-banner { background: linear-gradient(135deg, #0E2233 0%, #1A3A4A 100%); }

/* Fallback para navegadores sin :has() — mantienen los fondos planos
   originales, nunca quedan rotos (degradación elegante). */
@supports not (selector(:has(*))) {
  .section-intro, .faq-section { background: var(--cream); }
}
