/* ==========================================================================
   CONTI ABOGADOS LABORALISTAS - SISTEMA DE DISEÑO INSPIRADO EN ST ABOGADOS
   Protocolo Corpus + Dark Luxury Corporate Legal Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --color-dark-bg: #121820;
  --color-dark-surface: #18202c;
  --color-dark-surface-2: #1e2837;
  --color-dark-header: #10161f;
  
  --color-gold: #d4af37;
  --color-gold-hover: #e5be42;
  --color-gold-dark: #b38f22;
  --color-gold-soft: rgba(212, 175, 55, 0.15);

  --color-text-dark: #0f172a;
  --color-text-light: #f8fafc;
  --color-text-muted-dark: #475569;
  --color-text-muted-light: #94a3b8;

  --color-bg-light: #f8fafc;
  --color-surface-white: #ffffff;
  --color-border-light: #e2e8f0;
  --color-border-dark: rgba(255, 255, 255, 0.12);

  --font-title: "Cinzel", "Playfair Display", Georgia, serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-max: 1180px;
  --content-max: 880px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Header & Navegación Estilo ST Abogados
   ========================================================================== */

.st-header {
  background-color: var(--color-dark-header);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.st-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.st-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff;
}

.st-logo-icon {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  fill: currentColor;
  color: #ffffff;
  flex-shrink: 0;
}

.st-brand-text {
  display: flex;
  flex-direction: column;
}

.st-brand-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.15;
}

.st-brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  font-weight: 700;
}

.st-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.st-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.st-nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  transition: all 0.2s ease;
  position: relative;
}

.st-nav-links a:hover,
.st-nav-links a.active {
  color: #ffffff;
}

.st-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: var(--color-gold);
}

.st-nav-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.st-flags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.st-flag-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.st-flag-btn:hover,
.st-flag-btn.active {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.st-flag-btn svg {
  width: 22px;
  height: 15px;
  max-width: 22px;
  max-height: 15px;
  display: block;
  border-radius: 2px;
}

/* Ocultar barra y tooltips intrusivos de Google Translate */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#google_translate_element {
  display: none !important;
}

.st-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.st-tool-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--color-gold);
}

/* ==========================================================================
   Header responsive — el menú de 7 secciones nunca colapsaba en mobile/tablet
   y forzaba todo el layout a un ancho fijo (~1200px), rompiendo el resto de
   la página aunque cada bloque individual tuviera su propio CSS responsive.
   El botón ☰ y su JS (toggleMenu) ya existían; faltaba este bloque.
   ========================================================================== */
@media (max-width: 900px) {
  .st-header-inner {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .st-logo-icon {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
  }

  .st-brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .st-brand-title {
    font-size: 1rem;
  }

  .st-brand-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .st-nav-wrapper {
    gap: 0.5rem;
  }

  /* Colapsado por defecto: toggleMenu() en el <script> de cada página lo
     abre como panel completo (position:absolute, column, fondo oscuro)
     seteando el display inline — este selector solo define el estado
     cerrado inicial, así el primer clic siempre lo abre correctamente. */
  .st-nav-links {
    display: none;
    width: 100%;
    gap: 0;
  }

  .st-nav-links a {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .st-nav-links a.active::after {
    display: none;
  }

  .st-nav-tools {
    gap: 0.4rem;
  }

  .st-flags {
    gap: 0.3rem;
  }

  .st-flag-btn svg {
    width: 19px;
    height: 13px;
    max-width: 19px;
    max-height: 13px;
  }

  .st-tool-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
}

@media (max-width: 360px) {
  .st-brand-subtitle {
    display: none;
  }
}

/* ==========================================================================
   Hero Section Full Viewport con Slideshow de Fondo & Filtro Cristalino
   ========================================================================== */

.st-hero {
  position: relative;
  color: #ffffff;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  box-sizing: border-box;
  overflow: hidden;
  background-color: #0b1018;
}

.st-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.st-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease-in-out, transform 7s ease-out;
}

.st-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Filtro muy sutil y transparente: la foto se aprecia con nitidez total */
.st-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(
    180deg, 
    rgba(10, 15, 24, 0.40) 0%, 
    rgba(10, 15, 24, 0.28) 45%, 
    rgba(7, 11, 18, 0.55) 100%
  );
  pointer-events: none;
}

.st-hero-watermark {
  display: none;
}

.st-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.st-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(0, 0, 0, 0.85);
}

.st-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
  font-weight: 600;
  max-width: 720px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.st-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.st-btn-gold {
  background-color: var(--color-gold);
  color: #0b1118;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  border: 1px solid var(--color-gold);
  transition: all 0.25s ease;
}

.st-btn-gold:hover {
  background-color: var(--color-gold-hover);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.st-btn-outline {
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  transition: all 0.25s ease;
}

.st-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

/* ==========================================================================
   Sección Presentación (Estilo ST Abogados)
   ========================================================================== */

.st-intro-section {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  background-color: #ffffff;
}

.st-intro-inner {
  max-width: 820px;
  margin: 0 auto;
}

.st-intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.st-intro-divider {
  width: 44px;
  height: 3px;
  background-color: var(--color-gold-dark);
  margin: 1rem auto 1.25rem;
}

.st-intro-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.st-intro-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.st-intro-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   Sección Oscura Áreas de Trabajo (Grid con Iconos Blancos)
   ========================================================================== */

.st-areas-section {
  background-color: var(--color-dark-bg);
  color: #ffffff;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.st-areas-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.st-areas-header {
  text-align: center;
  margin-bottom: 4rem;
}

.st-areas-header h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.st-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem 2rem;
}

.st-area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.st-area-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

.st-area-icon {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  fill: #ffffff;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.st-area-item h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.st-area-item h3 a {
  color: #ffffff;
  text-decoration: none;
}

.st-area-item h3 a:hover {
  color: var(--color-gold);
}

.st-area-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.st-area-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
}

.st-area-link:hover {
  color: var(--color-gold-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Sección Testimonios Google 5 Estrellas
   ========================================================================== */

.st-reviews-section {
  padding: 5rem 1.5rem;
  background-color: #ffffff;
  text-align: center;
}

.st-reviews-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.st-reviews-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.st-reviews-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
}

.st-reviews-subtitle a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: underline;
}

.st-reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.st-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.65rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.st-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.st-reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.st-reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
}

.st-reviewer-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.2;
}

.st-review-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

.st-google-icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.st-stars {
  color: #fbbf24;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.st-review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  flex-grow: 1;
}

.st-reviews-summary {
  font-size: 0.98rem;
  color: #475569;
}

.st-reviews-summary strong {
  color: #0f172a;
}

/* ==========================================================================
   Contenido de Artículos y Estructura (Money Pages, Glosario, etc.)
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4.5rem;
  width: 100%;
}

.content-article {
  max-width: var(--content-max);
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3.5rem 3rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .content-article {
    padding: 2rem 1.25rem;
  }
}

.breadcrumb-nav {
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
  color: #64748b;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-item::after {
  content: "›";
  margin-left: 0.5rem;
  color: #94a3b8;
  font-size: 1.1rem;
}

.breadcrumb-item:last-child::after {
  content: "";
}

.content-article p a,
.content-article li a,
.content-article td a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.content-article p a:hover,
.content-article li a:hover,
.content-article td a:hover {
  color: var(--color-dark-bg);
}

.card a,
.btn,
.btn-whatsapp,
.btn-whatsapp-action,
.btn-secondary,
.btn-guide-action,
.st-btn-gold,
.st-btn-outline {
  text-decoration: none !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #fbf7ee;
  color: var(--color-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.45);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.35rem;
}

.content-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

.term-divider {
  width: 48px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 1rem 0 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.term-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 1.75rem;
}

.term-lead strong {
  color: #0f172a;
}

/* Desvío Rápido hacia la Acción (Early Action Box) */
.early-action-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-gold);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.early-action-box h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.early-action-box p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.early-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-whatsapp-action {
  background: #25d366 !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  letter-spacing: 0.01em !important;
  padding: 0.85rem 1.65rem !important;
  border-radius: 8px !important;
  border: 1px solid #20ba5a !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-whatsapp-action:hover {
  background: #1eb854 !important;
  color: #ffffff !important;
  border-color: #1a9e48 !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
}

.btn-guide-action {
  background: #0f172a !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  letter-spacing: 0.01em !important;
  padding: 0.85rem 1.65rem !important;
  border-radius: 8px !important;
  border: 1px solid #1e293b !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
  transition: all 0.2s ease !important;
}

.btn-guide-action:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #334155 !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22) !important;
}

/* Mapa Rápido / Índice de Contenidos */
.term-guide {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.term-guide-head {
  margin-bottom: 0.75rem;
}

.term-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.term-guide-link {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.term-guide-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background: #fbf7ee;
}

/* Grid de Claves Rápidas (3 columnas) */
.quick-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0;
}

.quick-check-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.35rem;
}

.quick-check-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.35rem 0 0.5rem;
}

.quick-check-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Cajas de Alerta y Distinción */
.notice-box {
  padding: 1.4rem 1.6rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 5px solid;
}

.notice-box h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.notice-box ul {
  padding-left: 1.25rem;
  margin: 0;
}

.notice-box li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.notice-box.warning,
.notice-box.danger {
  background-color: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
}

.notice-box.info {
  background-color: #eff6ff;
  border-color: #3b82f6;
  color: #1e3a8a;
}

.notice-box.distinction {
  background: #f8fafc;
  border-color: #0284c7;
  border-width: 1px 1px 1px 5px;
  color: #0f172a;
}

.content-article h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.content-article h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.content-article p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: #334155;
  margin-bottom: 1.35rem;
}

.content-article ul, 
.content-article ol {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
  color: #334155;
}

.content-article li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  font-size: 1rem;
}

/* Cluster Resources (Recursos Complementarios) */
.cluster-resources {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2rem;
  margin: 3.5rem 0 2rem;
}

.cluster-resources h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.cluster-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cluster-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cluster-card h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.cluster-card p {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.cta-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #17253b 100%);
  color: #ffffff;
  padding: 3.5rem 2rem;
  border-radius: 12px;
  margin: 3.5rem 0;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-banner h2 {
  color: #ffffff;
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-banner p {
  color: #cbd5e1;
  max-width: 650px;
  margin: 1rem auto 2.25rem;
  font-size: 1.12rem;
  line-height: 1.65;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.75rem 0 0.5rem;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-sizing: border-box;
}

.btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  border: 1px solid #20ba5a !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
}

.btn-whatsapp:hover {
  background: #1eb854 !important;
  color: #ffffff !important;
  border-color: #1a9e48 !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   Footer Completo Estilo ST Abogados
   ========================================================================== */

.st-footer {
  background-color: var(--color-dark-header);
  color: var(--color-text-muted-light);
  border-top: 1px solid var(--color-border-dark);
  font-size: 0.92rem;
  margin-top: auto;
}

.st-footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .st-footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.st-footer-contact h4 {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.st-footer-contact p {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.94rem;
}

.st-footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.st-footer-contact a:hover {
  color: var(--color-gold);
}

.st-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.st-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.st-social-btn:hover {
  background: var(--color-gold);
  color: #0b1118;
}

.st-footer-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.st-dir-col h5 {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.35rem;
}

.st-dir-col ul {
  list-style: none;
  padding: 0;
}

.st-dir-col li {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.st-dir-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-dir-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.st-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.st-footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* Modal Buscador */
.st-search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 24, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.st-search-modal.active {
  display: flex;
}

.st-search-box {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.st-search-input-wrap {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.st-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  color: #0f172a;
}

.st-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.st-search-item {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}

.st-search-item h4 {
  font-size: 1.05rem;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.st-search-item p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.st-search-item:hover h4 {
  color: var(--color-gold-dark);
}

/* ==========================================================================
   Componentes UI Avanzados: GEO Callouts, FAQ, FAB & Print
   ========================================================================== */

/* 1. Direct Answer & Key Takeaway Box (GEO & AI Grounding) */
.st-direct-answer, .st-takeaway {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(24, 32, 44, 0.03) 100%);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 8px 8px 0;
  padding: 1.35rem 1.6rem;
  margin: 2rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.st-direct-answer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-dark);
  margin-bottom: 0.6rem;
}

.st-direct-answer-header svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.st-direct-answer-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1e293b;
  margin: 0;
}

/* 2. Distinction Box ("X no es lo mismo que Y") */
.st-distinction-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 1.35rem 1.6rem;
  margin: 2rem 0;
}

.st-distinction-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0369a1;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 3. Telegram & Document Code Box with Copy Button */
.st-copy-box {
  position: relative;
  background: #111827;
  color: #f3f4f6;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 1.75rem 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92rem;
  line-height: 1.65;
  border: 1px solid #374151;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.st-copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-gold);
  color: #111827;
  border: none;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.st-copy-btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}

.st-copy-btn.copied {
  background: #10b981;
  color: #ffffff;
}

/* 4. Interactive FAQ Details/Summary Accordions */
details.st-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.st-faq-item[open] {
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
}

details.st-faq-item summary {
  padding: 1.15rem 1.35rem;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

details.st-faq-item summary::-webkit-details-marker {
  display: none;
}

details.st-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-gold-dark);
  transition: transform 0.2s ease;
}

details.st-faq-item[open] summary::after {
  content: "−";
}

.st-faq-body {
  padding: 0 1.35rem 1.35rem;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.25rem;
  padding-top: 1rem;
}

/* 5. Floating Action WhatsApp CTA Button (Estilo Pill Refinado) */
.st-fab-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 0.85rem 1.45rem;
  border-radius: 9999px;
  text-decoration: none !important;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45), 0 8px 12px -6px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.st-fab-whatsapp:hover {
  background: #20ba5a !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.6), 0 10px 16px -6px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
  text-decoration: none !important;
}

.st-fab-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  fill: #ffffff;
  display: block;
}

/* 6. Responsive Table Container */
.st-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.st-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.st-table-wrap th {
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
}

.st-table-wrap td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.94rem;
  color: #334155;
}

/* ==========================================================================
   Grid de Cards y Componentes de Navegación de Hubs
   ========================================================================== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 3rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
  position: relative;
}

.card:hover {
  border-color: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
}

.card h3, .card h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.35;
}

.card h3 a, .card h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card h3 a:hover, .card h4 a:hover {
  color: #b38f22;
}

.card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b38f22;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.card-link:hover {
  color: #d4af37;
  transform: translateX(4px);
}

.table-styled {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.table-styled th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.table-styled td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.table-styled tr:last-child td {
  border-bottom: none;
}

.table-styled tr:nth-child(even) {
  background: #f8fafc;
}

/* Interactive Luxury FAQ Accordion */
.faq-accordion {
  margin: 2rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

details.faq-item,
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

details.faq-item:hover,
.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

details.faq-item[open] {
  border-color: var(--color-gold, #c5a880);
  border-left: 4px solid var(--color-gold, #c5a880);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.12);
}

details.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.25rem;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary:hover {
  background: #f8fafc;
  color: var(--color-primary, #1e3a8a);
}

details.faq-item summary:focus {
  outline: none;
}

details.faq-item summary:focus-visible {
  outline: 2px solid var(--color-gold, #c5a880);
  outline-offset: -2px;
}

details.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-gold-dark, #926d27);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 0;
  margin-left: 0.5rem;
}

details.faq-item:hover summary::after {
  background: var(--color-gold, #c5a880);
  border-color: var(--color-gold, #c5a880);
  color: #ffffff;
}

details.faq-item[open] summary::after {
  content: "−";
  background: var(--color-gold, #c5a880);
  border-color: var(--color-gold, #c5a880);
  color: #ffffff;
  transform: rotate(180deg);
}

details.faq-item[open] summary {
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

details.faq-item .faq-answer,
.faq-item .faq-answer,
.faq-item p {
  padding: 1.25rem 1.4rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  background: #f8fafc;
  animation: faqFadeIn 0.25s ease-out;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

details.faq-item summary h3,
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
  margin: 0;
  display: inline;
  line-height: 1.4;
}

.faq-subpage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-subpage-link:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

/* ==========================================================================
   Secciones, Contenedores y Botones Estándar
   ========================================================================== */

.st-section {
  width: 100%;
  padding: 4.5rem 1.5rem;
  box-sizing: border-box;
  background-color: #ffffff;
}

.st-container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  border-radius: 8px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--color-primary, #1e3a8a) !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  border: 1px solid #1e3a8a !important;
  box-shadow: 0 3px 12px rgba(30, 58, 138, 0.2) !important;
}

.btn-primary:hover {
  background-color: #172554 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.3) !important;
}

.btn-secondary {
  background-color: #ffffff;
  color: #0f172a !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cta-banner .btn-secondary,
.st-cta-section .btn-secondary,
.dark-bg .btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(4px);
}

.cta-banner .btn-secondary:hover,
.st-cta-section .btn-secondary:hover,
.dark-bg .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.btn-whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
  border: 1px solid #20ba5a !important;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25) !important;
}

.btn-whatsapp:hover {
  background-color: #1eb854 !important;
  color: #ffffff !important;
  border-color: #1a9e48 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
}

.faq-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.75rem;
  width: 100%;
}

.faq-action-group .btn {
  margin: 0;
  max-width: 100%;
}

/* 7. Print Stylesheet */
@media print {
  .st-header,
  .st-footer,
  .st-fab-whatsapp,
  .st-search-modal,
  .st-hero-buttons,
  .st-cta-section {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
  }

  a {
    color: #000000 !important;
    text-decoration: underline;
  }

  .st-copy-box {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
  }
}
