/* Capa responsive compartida de FondoAlertaNew. No contiene autorizacion. */
:root {
  --fa-primary: #304a9a;
  --fa-primary-dark: #21356f;
  --fa-accent: #ea841c;
  --fa-text: #1f2937;
  --fa-muted: #5f6b7a;
  --fa-border: #d7deea;
  --fa-surface: #fff;
  --fa-surface-soft: #f5f7fb;
  --fa-danger: #b42318;
  --fa-shadow: 0 10px 28px rgba(30, 49, 91, .1);
  --fa-radius-sm: 6px;
  --fa-radius-lg: 16px;
  --fa-touch: 44px;
  --fa-content: 1200px;
}

html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
html, body { max-width: 100%; min-height: 100%; }

body.fa-responsive {
  margin: 0;
  overflow-x: hidden;
  color: var(--fa-text);
  background: var(--fa-surface);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.fa-responsive img,
body.fa-responsive video,
body.fa-responsive canvas,
body.fa-responsive svg { max-width: 100%; height: auto; }
body.fa-responsive iframe { display: block; max-width: 100%; border: 0; }
body.fa-responsive a { text-underline-offset: .15em; }

body.fa-responsive a:focus,
body.fa-responsive button:focus,
body.fa-responsive input:focus,
body.fa-responsive select:focus,
body.fa-responsive textarea:focus,
body.fa-responsive [tabindex]:focus {
  outline: 3px solid rgba(234, 132, 28, .55);
  outline-offset: 2px;
}

body.fa-responsive .container {
  width: min(calc(100% - 32px), var(--fa-content));
  margin-right: auto;
  margin-left: auto;
}

body.fa-responsive .wrap { width: 100%; min-height: 100vh; }
body.fa-responsive .header img,
body.fa-responsive #logo_img { width: min(100%, 320px); max-width: 100%; height: auto; }

/* La cabecera privada se concentra en una sola barra compacta. */
body.fa-app-shell .header-top,
body.fa-app-shell .header { display: none; }

body.fa-responsive .navbar-toggle,
body.fa-responsive .btn,
body.fa-responsive button,
body.fa-responsive input[type="submit"],
body.fa-responsive input[type="button"] { min-height: var(--fa-touch); }
body.fa-responsive .navbar-toggle { min-width: var(--fa-touch); }
body.fa-responsive .dropdown-menu { max-width: calc(100vw - 24px); }

body.fa-responsive input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.fa-responsive select,
body.fa-responsive textarea {
  max-width: 100%;
  min-height: var(--fa-touch);
  border-radius: var(--fa-radius-sm);
}

body.fa-responsive textarea { min-height: 96px; resize: vertical; }
body.fa-responsive .form-control,
body.fa-responsive .dark-form-control { width: 100%; font-size: 16px; }
body.fa-responsive table { max-width: 100%; }

body.fa-responsive .fa-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.fa-responsive .fa-card {
  padding: 24px;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-responsive .footer-top .row { display: flex; flex-wrap: wrap; }

/* Acceso: conserva campos, nombres, destino y validacion existentes. */
body.fa-auth-page .content {
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

body.fa-auth-page #contact-form {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-auth-page #formulario label {
  display: block;
  margin-bottom: 8px;
  color: var(--fa-text);
  font-weight: 700;
}

body.fa-auth-page #formulario .btn-normal {
  min-height: var(--fa-touch);
  padding: 10px 20px;
  border-radius: var(--fa-radius-sm);
}

body.fa-auth-page .error.alert-danger { margin-top: 16px; color: var(--fa-danger); }

/* Renovación: los planes se generan desde tipo_suscripcion, no desde imágenes. */
body.fa-renewal-page {
  min-height: 100vh;
  padding: clamp(12px, 3vw, 32px);
  background: var(--fa-surface-soft);
}

body.fa-renewal-page #centro,
body.fa-renewal-page #condiciones,
body.fa-renewal-page .formulario { width: min(100%, 1100px); margin: 0 auto; }
body.fa-renewal-page .formulario > form { width: 100%; padding: 0; }
body.fa-renewal-page table { width: 100% !important; }
body.fa-renewal-page td { padding: 10px; }
body.fa-renewal-page .fa-customer-row > td { vertical-align: top; }
body.fa-renewal-page .fa-plan-row > td { padding-top: 16px; }
body.fa-renewal-page .fa-customer-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  margin: 0;
  padding: 6px 0 14px;
}
body.fa-renewal-page .fa-customer-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 18px;
  align-items: baseline;
}
body.fa-renewal-page .fa-customer-item dt { color: var(--fa-primary-dark); font-weight: 700; }
body.fa-renewal-page .fa-customer-item dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
body.fa-renewal-page .titulo_condiciones {
  margin-bottom: 16px;
  color: var(--fa-primary-dark);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
}

body.fa-renewal-page #nTerminos,
body.fa-renewal-page .fa-plan-selector {
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-renewal-page #nTerminos iframe { min-height: 300px; background: var(--fa-surface); }
body.fa-renewal-page .fa-plan-selector { margin: 0; }
body.fa-renewal-page .fa-plan-selector legend {
  width: auto;
  margin: 0 0 14px;
  padding: 0 6px;
  color: var(--fa-primary-dark);
  font-size: 18px;
  font-weight: 700;
}
body.fa-renewal-page .fa-plan-selector .fa-renewal-message {
  max-width: calc(100% - 24px);
  line-height: 1.35;
}
body.fa-renewal-page .fa-renewal-message span {
  display: block;
  margin-top: 4px;
  color: var(--fa-muted);
  font-size: 14px;
  font-weight: 400;
}
body.fa-renewal-page .fa-renewal-message strong { color: #217346; }

body.fa-renewal-page .fa-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

body.fa-renewal-page .fa-plan-groups { display: grid; gap: 20px; }
body.fa-renewal-page .fa-plan-group {
  overflow: hidden;
  border: 1px solid var(--fa-border);
  border-radius: 14px;
  background: var(--fa-surface-soft);
}
body.fa-renewal-page .fa-plan-group-header { padding: 16px 18px; background: #eef2ff; }
body.fa-renewal-page .fa-plan-group-header h3 {
  margin: 0;
  color: var(--fa-primary-dark);
  font-size: 22px;
}
body.fa-renewal-page .fa-plan-group-header p { margin: 4px 0 0; color: var(--fa-muted); }
body.fa-renewal-page .fa-plan-group .fa-plan-grid { padding: 16px; }

body.fa-renewal-page .fa-plan-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  min-height: 82px;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid var(--fa-border);
  border-radius: 12px;
  background: var(--fa-surface);
  cursor: pointer;
}

body.fa-renewal-page .fa-plan-option:hover,
body.fa-renewal-page .fa-plan-option:focus-within {
  border-color: var(--fa-primary);
  background: #eef2ff;
}

body.fa-renewal-page .fa-plan-option input { grid-row: 1 / span 3; margin-top: 4px; }
body.fa-renewal-page .fa-plan-name { color: var(--fa-primary-dark); font-size: 16px; font-weight: 700; }
body.fa-renewal-page .fa-plan-term { color: var(--fa-muted); }
body.fa-renewal-page .fa-plan-price { align-self: end; color: var(--fa-primary); font-size: 18px; }
body.fa-renewal-page .fa-plan-daily {
  grid-column: 2;
  color: var(--fa-muted);
  font-size: 12px;
  line-height: 1.35;
}
body.fa-renewal-page .fa-plan-daily strong { color: var(--fa-primary-dark); }
body.fa-renewal-page .fa-plan-saving {
  grid-column: 2;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #217346;
  font-size: 12px;
  font-weight: 700;
}
body.fa-renewal-page .fa-plan-native-select { display: none; }
body.fa-renewal-page .fa-renewal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.fa-renewal-page .fa-renewal-acceptance-notice {
  padding: 14px 16px;
  border: 1px solid #d9a441;
  border-radius: 8px;
  color: #6b4b08;
  background: #fff8e6;
  font-weight: 700;
}
body.fa-renewal-page .fa-renewal-action {
  display: inline-grid;
  gap: 2px;
  min-width: min(100%, 300px);
  min-height: 58px;
  padding: 9px 16px;
  border: 1px solid var(--fa-primary);
  border-radius: 8px;
  color: var(--fa-primary-dark);
  background: var(--fa-surface);
  text-align: left;
}
body.fa-renewal-page .fa-renewal-action:hover,
body.fa-renewal-page .fa-renewal-action:focus { color: #fff; background: var(--fa-primary); }
body.fa-renewal-page .fa-renewal-action span { font-size: 12px; }
body.fa-renewal-page .fa-renewal-card { color: #fff; background: var(--fa-primary); }

/* Suscripción nueva: formulario primero y oferta dinámica por grupos. */
body.fa-signup-page .fa-signup-plan-trigger { margin: 24px 0; text-align: center; }
body.fa-signup-page .fa-rut-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
body.fa-signup-page .fa-rut-number { flex: 0 1 300px; }
body.fa-signup-page .fa-rut-dv { flex: 0 0 76px; }
body.fa-signup-page .fa-rut-separator {
  padding-bottom: 11px;
  font-size: 22px;
  font-weight: 700;
}
body.fa-signup-page .fa-rut-group label { display: block; }
body.fa-signup-page .fa-signup-payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
body.fa-signup-page .fa-renewal-action {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 16px 24px;
  border: 2px solid var(--fa-primary);
  border-radius: 14px;
  color: var(--fa-primary-dark);
  background: var(--fa-surface);
  text-align: left;
}
body.fa-signup-page .fa-renewal-action strong { font-size: 22px; }
body.fa-signup-page .fa-renewal-action span { font-size: 16px; font-weight: 400; }
body.fa-signup-page .fa-renewal-action:hover,
body.fa-signup-page .fa-renewal-action:focus { color: #fff; background: var(--fa-primary); }
body.fa-signup-page .fa-renewal-card { color: #fff; background: var(--fa-primary); }
body.fa-signup-page .fa-signup-plans { margin: 28px 0; }
body.fa-signup-page .fa-plan-groups { display: grid; gap: 22px; }
body.fa-signup-page .fa-plan-group {
  overflow: hidden;
  border: 1px solid var(--fa-border);
  border-radius: 14px;
  background: var(--fa-surface-soft);
}
body.fa-signup-page .fa-plan-group-header { padding: 16px 18px; background: #eef2ff; }
body.fa-signup-page .fa-plan-group-header h3 {
  margin: 0;
  color: var(--fa-primary-dark);
  font-size: 24px;
  font-weight: 700;
}
body.fa-signup-page .fa-plan-group-header p { margin: 5px 0 0; color: var(--fa-muted); }
body.fa-signup-page .fa-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 16px;
}
body.fa-signup-page .fa-plan-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 11px;
  min-height: 150px;
  margin: 0;
  padding: 16px;
  border: 2px solid var(--fa-border);
  border-radius: 12px;
  background: var(--fa-surface);
  cursor: pointer;
}
body.fa-signup-page .fa-plan-option:hover,
body.fa-signup-page .fa-plan-option:focus-within { border-color: var(--fa-primary); background: #eef2ff; }
body.fa-signup-page .fa-plan-option input { grid-row: 1 / span 5; margin-top: 5px; }
body.fa-signup-page .fa-plan-name { color: var(--fa-primary-dark); font-size: 18px; font-weight: 700; }
body.fa-signup-page .fa-plan-term { color: var(--fa-muted); }
body.fa-signup-page .fa-plan-price { color: var(--fa-primary); font-size: 24px; }
body.fa-signup-page .fa-plan-daily { grid-column: 2; color: var(--fa-muted); font-size: 12px; }
body.fa-signup-page .fa-signup-saving {
  grid-column: 2;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: #217346;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 767px) {
  body.fa-signup-page .fa-plan-grid { grid-template-columns: 1fr; padding: 12px; }
  body.fa-signup-page .fa-signup-payment-actions { grid-template-columns: 1fr; }
  body.fa-signup-page .fa-rut-number { flex: 1 1 auto; }
}

@media (max-width: 767px) {
  body.fa-renewal-page table,
  body.fa-renewal-page tbody,
  body.fa-renewal-page tr,
  body.fa-renewal-page td { display: block; width: 100% !important; }
  body.fa-renewal-page td { padding: 7px 0; text-align: left !important; }
  body.fa-renewal-page .fa-customer-summary { grid-template-columns: 1fr; gap: 8px; }
  body.fa-renewal-page .fa-customer-item { grid-template-columns: 1fr; gap: 1px; }
  body.fa-renewal-page .fa-plan-grid { grid-template-columns: 1fr; }
  body.fa-renewal-page #nTerminos iframe { min-height: 240px; }
}

/* Inicio privado cargado dentro del iframe. */
body.fa-private-home {
  min-height: 100vh;
  padding: clamp(16px, 3vw, 36px);
  background: var(--fa-surface-soft);
}

body.fa-private-home .fa-home-main { width: min(100%, 920px); margin: 0 auto; }
body.fa-private-home .fa-home-heading { margin-bottom: 18px; }
body.fa-private-home .titulo_condiciones {
  margin: 0;
  color: var(--fa-primary-dark);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
}

body.fa-private-home .fa-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 235px);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-private-home .fa-home-welcome {
  margin: 0 0 12px;
  color: var(--fa-primary);
  font-size: clamp(20px, 3vw, 27px);
}

body.fa-private-home .texto_bienvenida { margin: 0 0 12px; font-size: 16px; }
body.fa-private-home .fa-home-feature { margin: 24px 0 16px; }
body.fa-private-home .fa-home-feature img,
body.fa-private-home .fa-home-quant-link img {
  display: block;
  width: min(100%, 350px);
  border-radius: var(--fa-radius-sm);
}

body.fa-private-home .fa-home-quant-link {
  display: inline-block;
  max-width: 350px;
  border-radius: var(--fa-radius-sm);
}

body.fa-private-home .fa-home-illustration img { display: block; width: 100%; }

/* Carcasa privada. El servidor sigue decidiendo que grupos y opciones existen. */
body.fa-app-shell .fa-private-toolbar {
  position: sticky;
  top: 0;
  z-index: 1010;
  border-bottom: 1px solid var(--fa-border);
  background: rgba(255, 255, 255, .96);
}

body.fa-app-shell .fa-private-toolbar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

body.fa-app-shell .fa-private-toolbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 260px;
  min-width: 180px;
}

body.fa-app-shell .fa-private-toolbar-brand img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

body.fa-app-shell .fa-private-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 8px;
}

body.fa-app-shell .fa-private-menu-toggle,
body.fa-app-shell .fa-private-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--fa-touch);
  padding: 9px 14px;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-sm);
  color: var(--fa-primary-dark);
  background: var(--fa-surface);
  font-weight: 700;
  text-decoration: none;
}

body.fa-app-shell .fa-private-menu-toggle { display: inline-flex; }

body.fa-app-shell .fa-private-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Bootstrap usa estos pseudo-elementos para limpiar floats. En una cuadrícula
   se convierten en elementos adicionales y desplazan menú y contenido. */
body.fa-app-shell .fa-private-layout::before,
body.fa-app-shell .fa-private-layout::after {
  display: none;
  content: none;
}

body.fa-app-shell .fa-private-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-app-shell .fa-private-sidebar-heading {
  padding: 16px 18px;
  border-bottom: 1px solid var(--fa-border);
  color: var(--fa-primary-dark);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.fa-app-shell .fa-profile-menu-group { margin: 0; padding: 0; }
body.fa-app-shell .fa-profile-menu-title {
  margin: 0;
  padding: 14px 18px 8px;
  color: var(--fa-primary);
  background: var(--fa-surface-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .025em;
}

body.fa-app-shell .fa-profile-menu-options {
  margin: 0;
  padding: 4px 0 10px;
  list-style: none;
}

body.fa-app-shell .fa-profile-menu-options a {
  display: flex;
  align-items: center;
  min-height: var(--fa-touch);
  padding: 9px 18px;
  border-left: 4px solid transparent;
  color: var(--fa-text);
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.fa-app-shell .fa-profile-menu-options a:hover,
body.fa-app-shell .fa-profile-menu-options a:focus,
body.fa-app-shell .fa-profile-menu-options a[aria-current="page"] {
  border-left-color: var(--fa-accent);
  color: var(--fa-primary-dark);
  background: #eef2ff;
}

body.fa-app-shell .fa-private-content {
  min-width: 0;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  background: var(--fa-surface);
  box-shadow: var(--fa-shadow);
}

body.fa-app-shell .fa-private-frame {
  width: 100%;
  min-height: 720px;
  background: var(--fa-surface);
}

body.fa-app-shell .fa-private-menu-backdrop { display: none; }

@media (min-width: 992px) {
  body.fa-app-shell .fa-private-layout {
    transition: grid-template-columns .22s ease, gap .22s ease;
  }

  body.fa-app-shell .fa-private-sidebar {
    transition: opacity .18s ease, transform .22s ease, visibility .18s ease;
  }

  body.fa-app-shell.fa-private-menu-collapsed .fa-private-layout {
    grid-template-columns: 0 minmax(0, 1fr);
    gap: 0;
  }

  body.fa-app-shell.fa-private-menu-collapsed .fa-private-sidebar {
    visibility: hidden;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    transform: translateX(-24px);
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  body.fa-responsive .header-left,
  body.fa-responsive .header-right { width: 100%; }
  body.fa-responsive .header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  body.fa-responsive .site-slogan { max-width: 34ch; }
  body.fa-app-shell .fa-private-layout { display: block; }
  body.fa-app-shell .fa-private-sidebar {
    position: fixed;
    z-index: 1040;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 340px);
    max-height: none;
    border-radius: 0 16px 16px 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }
  body.fa-app-shell.fa-private-menu-open { overflow: hidden; }
  body.fa-app-shell.fa-private-menu-open .fa-private-sidebar { transform: translateX(0); }
  body.fa-app-shell.fa-private-menu-open .fa-private-menu-backdrop {
    position: fixed;
    z-index: 1030;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, .58);
  }
  body.fa-app-shell .fa-private-content { min-height: 560px; }
  body.fa-app-shell .fa-private-frame { min-height: 680px; }
}

@media (max-width: 767px) {
  body.fa-responsive .container { width: min(calc(100% - 24px), var(--fa-content)); }
  body.fa-responsive .header-top .row,
  body.fa-responsive .header .row { margin-right: 0; margin-left: 0; }
  body.fa-responsive .header-top [class*="col-"],
  body.fa-responsive .header [class*="col-"] { padding-right: 0; padding-left: 0; }
  body.fa-responsive .header-top-dropdown,
  body.fa-responsive .header-top-dropdown.text-right { text-align: center; }
  body.fa-responsive .header-top-dropdown .dropdown-menu {
    right: 50%;
    left: auto;
    width: min(360px, calc(100vw - 24px));
    transform: translateX(50%);
  }
  body.fa-responsive .header-left { align-items: flex-start; }
  body.fa-responsive .site-slogan { display: none; }
  body.fa-app-shell .fa-private-toolbar .container { flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  body.fa-app-shell .fa-private-toolbar-brand { flex-basis: calc(100% - 190px); min-width: 150px; }
  body.fa-app-shell .fa-private-toolbar-brand img { max-width: 220px; }
  body.fa-app-shell .fa-private-menu-toggle { margin-left: auto; }
  body.fa-app-shell .fa-private-toolbar-actions { flex: 1 1 100%; justify-content: stretch; margin-left: 0; }
  body.fa-app-shell .fa-private-toolbar-actions .fa-private-home-link { flex: 1 1 0; padding-right: 8px; padding-left: 8px; }
  body.fa-responsive .navbar-collapse {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.fa-responsive .navbar-nav > li > a,
  body.fa-responsive .navbar-nav .dropdown-menu > li > a {
    min-height: var(--fa-touch);
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
  }
  body.fa-responsive .breadcrumb-wrapper .title,
  body.fa-responsive h1,
  body.fa-responsive h2 { overflow-wrap: anywhere; }
  body.fa-auth-page #contact-form { padding: 20px 16px; }
  body.fa-responsive .footer-top section { width: 100%; }
  body.fa-app-shell .fa-private-toolbar .container { min-height: 60px; }
  body.fa-app-shell .fa-private-menu-toggle span { max-width: 17ch; }
  body.fa-app-shell .fa-private-layout { padding-top: 12px; padding-bottom: 12px; }
  body.fa-app-shell .fa-private-content { border-radius: 10px; }
  body.fa-app-shell .fa-private-frame { min-height: 620px; }
  body.fa-private-home { padding: 12px; }
  body.fa-private-home .fa-home-card { grid-template-columns: 1fr; }
  body.fa-private-home .fa-home-illustration { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.fa-responsive *,
  body.fa-responsive *::before,
  body.fa-responsive *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Portada pública: acceso, suscripción, videos y contacto. */
body.fa-auth-page .fa-public-home { padding: 52px 0 58px; background: #f5f8fb; }
body.fa-auth-page .fa-home-primary,
body.fa-auth-page .fa-home-secondary { display: grid; gap: 26px; }
body.fa-auth-page .fa-home-primary { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: stretch; }
body.fa-auth-page .fa-home-secondary { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); margin-top: 26px; }
body.fa-auth-page .fa-home-login,
body.fa-auth-page .fa-home-subscribe,
body.fa-auth-page .fa-home-videos,
body.fa-auth-page .fa-home-whatsapp { border-radius: 18px; }
body.fa-auth-page .fa-home-login,
body.fa-auth-page .fa-home-videos { border: 1px solid #dce5ee; background: #fff; box-shadow: 0 14px 36px rgba(27, 57, 91, .08); }
body.fa-auth-page #contact-form.fa-home-login { min-height: 410px; padding: 38px 42px; }
body.fa-auth-page .fa-home-kicker { display: block; margin-bottom: 10px; color: #1675aa; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body.fa-auth-page .fa-home-login h3,
body.fa-auth-page .fa-home-subscribe h3,
body.fa-auth-page .fa-home-section-heading h3,
body.fa-auth-page .fa-home-whatsapp h3 { margin: 0; color: #17365f; font-size: 30px; line-height: 1.18; }
body.fa-auth-page .fa-home-intro { max-width: 560px; margin: 10px 0 20px; color: #64748b; line-height: 1.65; }
body.fa-auth-page .fa-home-field { max-width: 520px; margin-top: 16px; }
body.fa-auth-page .fa-home-field label { display: block; margin-bottom: 7px; color: #334e6f; }
body.fa-auth-page .fa-home-field .form-control { height: 48px; border-color: #cbd8e4; border-radius: 9px; background: #fbfdff; }
body.fa-auth-page .fa-home-login-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
body.fa-auth-page .fa-home-login-actions .btn-normal { min-width: 128px; min-height: 46px; margin: 0; border-radius: 9px; }
body.fa-auth-page .fa-home-login-actions a { font-weight: 600; }
body.fa-auth-page .fa-home-login .error { max-width: 520px; margin-top: 18px; }
body.fa-auth-page .fa-home-subscribe { position: relative; overflow: hidden; min-height: 410px; padding: 42px; color: #e6f1fa; background: linear-gradient(145deg, #122f58 0%, #195586 65%, #2087ad 100%); box-shadow: 0 18px 40px rgba(18, 47, 88, .22); }
body.fa-auth-page .fa-home-subscribe::after { position: absolute; top: -120px; right: -110px; width: 300px; height: 300px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.04), 0 0 0 84px rgba(255,255,255,.025); content: ""; }
body.fa-auth-page .fa-home-subscribe > * { position: relative; z-index: 1; }
body.fa-auth-page .fa-home-subscribe .fa-home-kicker { color: #83dff4; }
body.fa-auth-page .fa-home-subscribe h3 { max-width: 500px; color: #fff; }
body.fa-auth-page .fa-home-subscribe p { margin: 16px 0 20px; color: #d8e8f4; line-height: 1.65; }
body.fa-auth-page .fa-home-subscribe ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 28px; padding: 0; list-style: none; }
body.fa-auth-page .fa-home-subscribe li { font-size: 13px; font-weight: 600; }
body.fa-auth-page .fa-home-subscribe li .fa { margin-right: 6px; color: #76e0bd; }
body.fa-auth-page .fa-home-subscribe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
body.fa-auth-page .fa-home-subscribe-button,
body.fa-auth-page .fa-home-whatsapp-button { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 12px 20px; border-radius: 9px; font-weight: 700; }
body.fa-auth-page .fa-home-subscribe-button { color: #17365f; background: #fff; }
body.fa-auth-page .fa-home-subscribe-button:hover,
body.fa-auth-page .fa-home-subscribe-button:focus { color: #0d76aa; background: #f2f9fd; }
body.fa-auth-page .fa-home-results-link { color: #dff5ff; font-weight: 600; }
body.fa-auth-page .fa-home-videos { padding: 28px; }
body.fa-auth-page .fa-home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
body.fa-auth-page .fa-home-section-heading > a { font-weight: 600; white-space: nowrap; }
body.fa-auth-page .fa-home-video-frame { position: relative; overflow: hidden; height: 0; padding-bottom: 56.25%; border-radius: 12px; background: #122f58; }
body.fa-auth-page .fa-home-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.fa-auth-page .fa-home-whatsapp { padding: 30px; border: 1px solid #c7ead5; background: linear-gradient(145deg, #f6fff9, #e5f7ec); }
body.fa-auth-page .fa-home-whatsapp-icon { display: grid; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 15px; color: #fff; background: #25a866; place-items: center; font-size: 29px; box-shadow: 0 9px 20px rgba(37, 168, 102, .22); }
body.fa-auth-page .fa-home-whatsapp p { margin: 12px 0; color: #557064; line-height: 1.6; }
body.fa-auth-page .fa-home-contact-data { display: grid; gap: 4px; margin-bottom: 20px; color: #416351; font-size: 13px; }
body.fa-auth-page .fa-home-contact-data strong { color: #244f3a; font-size: 16px; }
body.fa-auth-page .fa-home-whatsapp-button { color: #fff; background: #20a45f; }
body.fa-auth-page .fa-home-whatsapp-button:hover,
body.fa-auth-page .fa-home-whatsapp-button:focus { color: #fff; background: #16894d; }

@media (max-width: 991px) {
  body.fa-auth-page .fa-home-primary,
  body.fa-auth-page .fa-home-secondary { grid-template-columns: 1fr; }
  body.fa-auth-page .fa-home-subscribe,
  body.fa-auth-page #contact-form.fa-home-login { min-height: 0; }
}

@media (max-width: 767px) {
  body.fa-auth-page .fa-public-home { padding: 28px 0 36px; }
  body.fa-auth-page #contact-form.fa-home-login,
  body.fa-auth-page .fa-home-subscribe,
  body.fa-auth-page .fa-home-videos,
  body.fa-auth-page .fa-home-whatsapp { padding: 24px 20px; }
  body.fa-auth-page .fa-home-login h3,
  body.fa-auth-page .fa-home-subscribe h3,
  body.fa-auth-page .fa-home-section-heading h3,
  body.fa-auth-page .fa-home-whatsapp h3 { font-size: 25px; }
  body.fa-auth-page .fa-home-subscribe ul { grid-template-columns: 1fr; }
  body.fa-auth-page .fa-home-login-actions,
  body.fa-auth-page .fa-home-section-heading { align-items: flex-start; flex-direction: column; }
  body.fa-auth-page .fa-home-login-actions .btn-normal { width: 100%; }
}
