/* ==========================================================================
   ASOInfinite - mejoras de navegación y UX (2026)
   Se carga después de style.css en todas las páginas.
   ========================================================================== */

:root {
  --aso-navy: #13337c;
  --aso-navy-dark: #0c2257;
  --aso-purple: #6a329f;
  --aso-accent: #f5a623;
  --aso-accent-dark: #d98b0b;
  --aso-whatsapp: #25d366;
  --aso-whatsapp-dark: #1da851;
  --aso-ink: #1f2937;
  --aso-muted: #5b6474;
  --aso-line: #e3e7ef;
  --aso-soft: #f4f6fb;
  --aso-radius: 10px;
}

/* ---------- Logo unificado ---------- */
.aso-brand { display: inline-flex; align-items: center; padding: 0; margin-right: 1rem; }
.aso-brand img { height: 58px; width: auto; display: block; }
.aso-brand .logo-color { display: none; }
.ftco-navbar-light.scrolled .aso-brand .logo-blanco { display: none; }
.ftco-navbar-light.scrolled .aso-brand .logo-color { display: block; }
.ftco-navbar-light.scrolled .aso-brand img { height: 48px; }
.aso-footer-logo { width: 190px; max-width: 100%; height: auto; display: block; margin-bottom: 1rem; }

/* ---------- Menú principal ---------- */
@media (min-width: 992px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link { padding-left: 11px; padding-right: 11px; font-size: 14.5px; }
  .ftco-navbar-light .navbar-nav > .nav-item.aso-cta-item { margin-left: 6px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link { padding-left: 7px; padding-right: 7px; font-size: 13.5px; }
  .aso-brand img { height: 48px; }
}
.ftco-navbar-light .navbar-nav > .nav-item.aso-cta-item > a.nav-link {
  border-radius: 999px;
  padding: .5rem 16px !important;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
  white-space: nowrap;
  color: #fff !important;
  border: 2px solid transparent;
}
.ftco-navbar-light .navbar-nav > .nav-item.aso-cta-afiliate > a.nav-link { background: var(--aso-accent); color: #1b1b1b !important; }
.ftco-navbar-light .navbar-nav > .nav-item.aso-cta-afiliate > a.nav-link:hover { background: var(--aso-accent-dark); }
.ftco-navbar-light .navbar-nav > .nav-item.aso-cta-gestion > a.nav-link { background: linear-gradient(to right, var(--aso-navy), var(--aso-purple)); }
.ftco-navbar-light .navbar-nav > .nav-item.aso-cta-gestion > a.nav-link:hover { background: var(--aso-navy-dark); }
.ftco-navbar-light.scrolled .navbar-nav > .nav-item.aso-cta-afiliate > a.nav-link { color: #1b1b1b !important; }
.ftco-navbar-light.scrolled .navbar-nav > .nav-item.aso-cta-gestion > a.nav-link { color: #fff !important; }

/* Submenú Servicios */
.ftco-navbar-light .navbar-nav .dropdown-menu { padding: .5rem 0; border-radius: 8px; min-width: 250px; }
.ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item { padding: .45rem 1.1rem; font-size: 14px; color: var(--aso-ink); }
.ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item:hover,
.ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item.active { background: var(--aso-soft); color: var(--aso-navy); }
.ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item span[class^="ion-"] { width: 20px; display: inline-block; color: var(--aso-navy); }
.ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-divider { margin: .35rem 0; }

@media (max-width: 991.98px) {
  .aso-brand img { height: 44px; }
  /* En móvil el submenú queda abierto: un toque menos para llegar a cada servicio */
  .ftco-navbar-light .navbar-nav .dropdown-menu {
    display: block; position: static; float: none; background: transparent !important;
    box-shadow: none !important; padding: 0 0 .25rem .75rem; min-width: 0;
  }
  .ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item { color: rgba(255,255,255,.85); padding: .35rem 0; }
  .ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item span[class^="ion-"] { color: var(--aso-accent); }
  .ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item:hover { background: transparent; color: #fff; }
  .ftco-navbar-light .navbar-nav .dropdown-toggle::after { display: none; }
  .ftco-navbar-light .navbar-nav > .nav-item.aso-cta-item { display: inline-block; margin: .5rem .5rem 0 0; }
  .ftco-navbar-light.scrolled .navbar-nav .dropdown-menu .dropdown-item { color: var(--aso-ink); }
}

/* ---------- Botones genéricos ---------- */
.aso-btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.5rem; font-weight: 600; border: 2px solid transparent; transition: all .2s ease; text-decoration: none !important; line-height: 1.2; }
.aso-btn-accent { background: var(--aso-accent); color: #1b1b1b !important; }
.aso-btn-accent:hover { background: var(--aso-accent-dark); }
.aso-btn-primary { background: linear-gradient(to right, var(--aso-navy), var(--aso-purple)); color: #fff !important; }
.aso-btn-primary:hover { background: var(--aso-navy-dark); }
.aso-btn-outline { border-color: var(--aso-navy); color: var(--aso-navy) !important; background: #fff; }
.aso-btn-outline:hover { background: var(--aso-navy); color: #fff !important; }
.aso-btn-light { border-color: rgba(255,255,255,.85); color: #fff !important; background: transparent; }
.aso-btn-light:hover { background: #fff; color: var(--aso-navy) !important; }
.aso-btn-whatsapp { background: var(--aso-whatsapp); color: #fff !important; }
.aso-btn-whatsapp:hover { background: var(--aso-whatsapp-dark); }
.aso-btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.aso-btn-sm { padding: .45rem 1rem; font-size: .9rem; }
.aso-btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Secciones y tipografía ---------- */
.aso-section { padding: 4.5rem 0; }
.aso-section-soft { background: var(--aso-soft); }
.aso-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aso-purple); margin-bottom: .5rem; }
.aso-title { font-size: 2rem; font-weight: 600; color: var(--aso-ink); margin-bottom: 1rem; }
.aso-lead { font-size: 1.1rem; color: var(--aso-muted); }
.aso-prose p, .aso-prose li { color: var(--aso-muted); font-size: 1rem; line-height: 1.75; }
.aso-prose h3 { font-size: 1.3rem; font-weight: 600; color: var(--aso-ink); margin: 2rem 0 .75rem; }
.aso-note { font-size: .88rem; color: var(--aso-muted); background: var(--aso-soft); border-left: 4px solid var(--aso-navy); padding: .75rem 1rem; border-radius: 0 8px 8px 0; }

/* ---------- Bloque "¿Sos asociado?" ---------- */
.aso-paths { margin-top: -70px; position: relative; z-index: 2; }
.aso-path { background: #fff; border-radius: 14px; padding: 2rem; height: 100%; box-shadow: 0 18px 40px -22px rgba(19,51,124,.45); border-top: 6px solid var(--aso-accent); display: flex; flex-direction: column; }
.aso-path.is-member { border-top-color: var(--aso-navy); }
.aso-path .aso-path-q { font-size: .95rem; font-weight: 600; color: var(--aso-purple); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.aso-path h3 { font-size: 1.6rem; font-weight: 700; color: var(--aso-ink); margin-bottom: .75rem; }
.aso-path p { color: var(--aso-muted); flex-grow: 1; }
.aso-path ul { padding-left: 1.1rem; color: var(--aso-muted); margin-bottom: 1.25rem; }
@media (max-width: 767.98px) { .aso-paths { margin-top: 2rem; } .aso-path { margin-bottom: 1rem; } }

/* ---------- Tarjetas de servicios / beneficios ---------- */
.aso-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.aso-card { background: #fff; border: 1px solid var(--aso-line); border-radius: var(--aso-radius); padding: 1.5rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; color: inherit; text-decoration: none !important; }
a.aso-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(19,51,124,.5); border-color: #c9d2e6; }
.aso-card .aso-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--aso-soft); color: var(--aso-navy); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 1rem; }
.aso-card .aso-card-icon [class^="flaticon-"]:before { font-size: 30px; margin: 0; }
.aso-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--aso-ink); margin-bottom: .5rem; }
.aso-card p { color: var(--aso-muted); font-size: .95rem; flex-grow: 1; margin-bottom: 1rem; }
.aso-card .aso-card-link { color: var(--aso-navy); font-weight: 600; font-size: .92rem; }
.aso-card-dark { background: var(--aso-navy); border-color: var(--aso-navy); }
.aso-card-dark h3, .aso-card-dark p, .aso-card-dark .aso-card-link { color: #fff; }

/* ---------- Tablas de datos ---------- */
.aso-table-wrap { overflow-x: auto; border: 1px solid var(--aso-line); border-radius: var(--aso-radius); background: #fff; }
.aso-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.aso-table th { background: var(--aso-navy); color: #fff; font-weight: 600; padding: .8rem 1rem; text-align: left; white-space: nowrap; }
.aso-table td { padding: .75rem 1rem; border-top: 1px solid var(--aso-line); color: var(--aso-ink); vertical-align: top; }
.aso-table tr:nth-child(even) td { background: #fafbfe; }
.aso-table td.num { white-space: nowrap; font-weight: 600; color: var(--aso-navy); }

/* ---------- Pasos ---------- */
.aso-steps { counter-reset: aso-step; list-style: none; padding: 0; margin: 0; }
.aso-steps > li { position: relative; padding: 0 0 1.4rem 3.4rem; color: var(--aso-muted); }
.aso-steps > li:before { counter-increment: aso-step; content: counter(aso-step); position: absolute; left: 0; top: -2px; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--aso-navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.aso-steps > li:after { content: ""; position: absolute; left: 1.12rem; top: 2.3rem; bottom: .2rem; width: 2px; background: var(--aso-line); }
.aso-steps > li:last-child:after { display: none; }
.aso-steps > li strong { display: block; color: var(--aso-ink); margin-bottom: .15rem; }

.aso-flow { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.aso-flow li { background: #fff; border: 1px solid var(--aso-line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; color: var(--aso-navy); font-size: .92rem; }
.aso-flow li.sep { border: 0; background: transparent; padding: 0; color: var(--aso-muted); }

/* ---------- Acordeón (FAQ) ---------- */
.aso-accordion { border: 1px solid var(--aso-line); border-radius: var(--aso-radius); overflow: hidden; background: #fff; }
.aso-accordion details { border-top: 1px solid var(--aso-line); }
.aso-accordion details:first-child { border-top: 0; }
.aso-accordion summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.25rem; font-weight: 600; color: var(--aso-ink); position: relative; font-size: 1.02rem; }
.aso-accordion summary::-webkit-details-marker { display: none; }
.aso-accordion summary:after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--aso-soft); color: var(--aso-navy); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; line-height: 1; }
.aso-accordion details[open] summary { color: var(--aso-navy); }
.aso-accordion details[open] summary:after { content: "\2212"; background: var(--aso-navy); color: #fff; }
.aso-accordion summary:focus-visible { outline: 3px solid var(--aso-accent); outline-offset: -3px; }
.aso-accordion .aso-accordion-body { padding: 0 1.25rem 1.25rem; color: var(--aso-muted); line-height: 1.7; }
.aso-accordion .aso-accordion-body ul { padding-left: 1.2rem; margin-bottom: .5rem; }

/* ---------- Centro de información ---------- */
.aso-info-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.aso-info-nav a { border: 1px solid var(--aso-line); border-radius: 999px; padding: .45rem 1rem; color: var(--aso-navy); font-weight: 600; font-size: .92rem; background: #fff; }
.aso-info-nav a:hover { background: var(--aso-navy); color: #fff; border-color: var(--aso-navy); }
.aso-info-block { margin-bottom: 3rem; scroll-margin-top: 90px; }
.aso-info-block > h2 { font-size: 1.5rem; font-weight: 600; color: var(--aso-ink); margin-bottom: .35rem; display: flex; align-items: center; gap: .6rem; }
.aso-info-block > h2 span[class^="ion-"] { color: var(--aso-purple); }
.aso-info-block > p.aso-info-desc { color: var(--aso-muted); margin-bottom: 1.25rem; }
.aso-doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; }
.aso-doc-list a { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--aso-line); border-radius: var(--aso-radius); padding: .9rem 1rem; color: var(--aso-ink); background: #fff; height: 100%; transition: border-color .2s, box-shadow .2s; }
.aso-doc-list a:hover { border-color: var(--aso-navy); box-shadow: 0 10px 24px -18px rgba(19,51,124,.6); }
.aso-doc-list .aso-doc-icon { flex: 0 0 42px; height: 42px; border-radius: 8px; background: #fdecec; color: #c62828; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.aso-doc-list .aso-doc-icon.ext { background: var(--aso-soft); color: var(--aso-navy); font-size: 20px; }
.aso-doc-list .aso-doc-text { flex: 1; line-height: 1.35; }
.aso-doc-list .aso-doc-text strong { display: block; font-weight: 600; font-size: .97rem; }
.aso-doc-list .aso-doc-text small { color: var(--aso-muted); }
.aso-doc-list .aso-doc-go { color: var(--aso-muted); font-size: 18px; }

/* ---------- Contacto ---------- */
.aso-contact-card { background: #fff; border: 1px solid var(--aso-line); border-radius: 14px; padding: 2rem; height: 100%; }
.aso-contact-card.is-whatsapp { background: #effaf3; border-color: #bfe9cf; }
.aso-contact-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.aso-contact-row .icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--aso-soft); color: var(--aso-navy); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.aso-contact-row .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--aso-muted); }
.aso-contact-row a, .aso-contact-row .value { color: var(--aso-ink); font-weight: 600; word-break: break-word; }

/* Botón flotante de WhatsApp */
.aso-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1000; width: 58px; height: 58px; border-radius: 50%; background: var(--aso-whatsapp); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s; }
.aso-wa-float:hover { transform: scale(1.07); background: var(--aso-whatsapp-dark); }

/* ---------- Convenios ---------- */
.aso-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.aso-filter button { border: 1px solid var(--aso-line); background: #fff; border-radius: 999px; padding: .4rem 1rem; font-size: .9rem; color: var(--aso-navy); font-weight: 600; cursor: pointer; }
.aso-filter button.active, .aso-filter button:hover { background: var(--aso-navy); color: #fff; border-color: var(--aso-navy); }
.aso-convenio { cursor: pointer; text-align: left; font: inherit; width: 100%; }
.aso-convenio .aso-tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--aso-purple); background: #f3eefa; border-radius: 999px; padding: .2rem .65rem; margin-bottom: .75rem; align-self: flex-start; }
.aso-ficha .modal-content { border: 0; border-radius: 14px; overflow: hidden; }
.aso-ficha .modal-header { background: linear-gradient(to right, var(--aso-navy), var(--aso-purple)); color: #fff; border: 0; padding: 1.25rem 1.5rem; }
.aso-ficha .modal-header .modal-title { color: #fff; font-weight: 600; font-size: 1.35rem; }
.aso-ficha .modal-header small { display: block; opacity: .85; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.aso-ficha .modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
.aso-ficha .modal-body { padding: 1.5rem; }
.aso-ficha-sec { margin-bottom: 1.15rem; }
.aso-ficha-sec h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--aso-purple); font-weight: 700; margin-bottom: .3rem; }
.aso-ficha-sec p, .aso-ficha-sec li { color: var(--aso-ink); margin-bottom: .25rem; }
.aso-ficha-sec ul, .aso-ficha-sec ol { padding-left: 1.2rem; margin: 0; }
.aso-ficha-contact { background: var(--aso-soft); border-radius: var(--aso-radius); padding: 1rem 1.15rem; }
.aso-ficha-contact .who { font-weight: 600; color: var(--aso-ink); margin-bottom: .5rem; }
.aso-ficha .modal-footer { justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--aso-line); }

/* ---------- Línea de tiempo (Acerca) ---------- */
.aso-timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--aso-line); }
.aso-timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.aso-timeline li:before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--aso-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--aso-accent); }
.aso-timeline .when { font-weight: 700; color: var(--aso-navy); display: block; }
.aso-timeline .what { color: var(--aso-muted); }

.aso-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.aso-stat { background: #fff; border: 1px solid var(--aso-line); border-radius: var(--aso-radius); padding: 1.25rem; text-align: center; }
.aso-stat .n { display: block; font-size: 2rem; font-weight: 700; color: var(--aso-navy); line-height: 1.1; }
.aso-stat .l { color: var(--aso-muted); font-size: .9rem; }

/* Contador de trayectoria */
.years .aso-years-label { font-weight: 500; }

/* Hero: dos llamados a la acción */
.aso-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Rejilla fija de 3 columnas (6 servicios = 3 x 2) */
.aso-cards.aso-cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .aso-cards.aso-cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .aso-cards.aso-cards-3 { grid-template-columns: 1fr; } }

/* Footer: textos largos (correo) no invaden la columna vecina */
.ftco-footer .block-23 ul li a { display: flex; align-items: flex-start; }
.ftco-footer .block-23 ul li .icon { flex: 0 0 34px; }
.ftco-footer .block-23 ul li .text { overflow-wrap: anywhere; min-width: 0; }

@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-item { text-align: left; }
  .ftco-navbar-light .navbar-nav .dropdown-menu .dropdown-divider { border-top-color: rgba(255,255,255,.15); margin-right: 1rem; }
  .ftco-navbar-light:not(.scrolled) .navbar-nav > .nav-item.active > a { color: var(--aso-accent); }
  .ftco-navbar-light .navbar-nav > .nav-item.aso-cta-item { display: block; margin: .6rem 0 0; }
  .ftco-navbar-light .navbar-nav > .nav-item.aso-cta-item > a.nav-link { text-align: center; }
}

@media (max-width: 575.98px) {
  .aso-table { font-size: .88rem; }
  .aso-table th, .aso-table td { padding: .6rem .65rem; }
  .aso-table th, .aso-table td.num { white-space: normal; }
  .aso-section { padding: 3rem 0; }
  .aso-title { font-size: 1.6rem; }
}

/* Altura pareja solo dentro de rejillas; en columnas laterales cada tarjeta mide lo que su contenido */
.aso-cards > .aso-card, .aso-cards > * > .aso-card, .aso-card.aso-card-eq { height: 100%; }

/* Convenios: varias categorías por tarjeta y contador en cada filtro */
.aso-convenio .aso-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.aso-convenio .aso-tags .aso-tag { margin-bottom: 0; }
.aso-filter button .n { display: inline-block; min-width: 1.5em; margin-left: .3rem; padding: 0 .4em; border-radius: 999px; background: var(--aso-soft); color: var(--aso-navy); font-size: .78rem; line-height: 1.6; }
.aso-filter button.active .n, .aso-filter button:hover .n { background: rgba(255,255,255,.2); color: #fff; }

/* Separación arriba y abajo del bloque "Contáctenos" del inicio */
.aso-gap-top { margin-top: 3rem; }
.aso-gap-bottom { margin-bottom: 3rem; }
@media (max-width: 767.98px) { .aso-gap-top { margin-top: 2rem; } .aso-gap-bottom { margin-bottom: 2rem; } }

/* Inicio: bloque "Contáctenos" en dos columnas (foto encuadrada + panel de texto) */
.aso-consulta-box { display: flex; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(19,51,124,.5); }
.aso-consulta-img { flex: 0 0 50%; position: relative; min-height: 380px; background: #7fc8d6; }
.aso-consulta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.aso-consulta-text { flex: 0 0 50%; padding: 3rem; background: linear-gradient(135deg, var(--aso-navy), var(--aso-purple)); display: flex; flex-direction: column; justify-content: center; }
.aso-consulta-text p { color: rgba(255,255,255,.9); }
@media (max-width: 1199.98px) {
  .aso-consulta-box { flex-direction: column; }
  /* En pantallas angostas la foto se muestra completa, en su proporción original */
  .aso-consulta-img { flex: none; min-height: 0; }
  .aso-consulta-img img { position: static; height: auto; }
  .aso-consulta-text { flex: none; padding: 2rem 1.5rem; }
}

/* Imagen de Misión y Visión: proporción 16:9 (la de la foto), marco y acento de marca */
.aso-media { position: relative; width: 100%; padding: 0 20px 20px 0; }
.aso-media::before { content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 72%; border-radius: 20px; background: linear-gradient(135deg, var(--aso-navy), var(--aso-purple)); }
.aso-media::after { content: ""; position: absolute; left: -14px; top: -14px; width: 92px; height: 92px; background-image: radial-gradient(var(--aso-accent) 2px, transparent 2.5px); background-size: 14px 14px; opacity: .55; z-index: 0; }
.aso-media-frame { position: relative; z-index: 1; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 6px solid #fff; background-color: #dfe5f1; background-size: cover; background-position: 45% 35%; box-shadow: 0 26px 50px -24px rgba(12, 34, 87, .6); }
.aso-media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 34, 87, .65) 0%, rgba(12, 34, 87, 0) 55%); transition: opacity .3s ease; }
.aso-media-frame:hover::after { opacity: .8; }
.aso-media-play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--aso-navy); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .28), 0 12px 24px -8px rgba(0, 0, 0, .4); transition: transform .25s ease, box-shadow .25s ease; }
.aso-media-play .icon-play { margin-left: 4px; }
.aso-media-frame:hover .aso-media-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(255, 255, 255, .22), 0 12px 24px -8px rgba(0, 0, 0, .4); }
.aso-media-label { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
@media (max-width: 767.98px) { .aso-media { padding: 0 14px 14px 0; } .aso-media::after { display: none; } }

/* Contador de trayectoria alineado con Misión/Visión (ya no se monta sobre la imagen) */
@media (min-width: 768px) { .years h4 { margin-left: 0; } }

/* ---------- Carrusel principal del inicio ---------- */
.aso-hero { position: relative; background: #0c2257; }
.aso-slide { position: relative; height: 100vh; min-height: 580px; max-height: 920px; background-size: cover; background-position: center; display: flex; align-items: center; }
.aso-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 56, .88) 0%, rgba(12, 34, 87, .62) 45%, rgba(12, 34, 87, .2) 100%); }
.aso-slide .container { position: relative; z-index: 1; }
.aso-slide-content { max-width: 680px; padding-top: 60px; color: #fff; }
.aso-slide-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aso-accent); margin-bottom: .75rem; }
.aso-slide-content h1, .aso-slide-content h2 { color: #fff; font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.aso-slide-hl { color: var(--aso-accent); }
.aso-slide-content p { color: rgba(255, 255, 255, .9); font-size: 1.15rem; margin-bottom: 1.75rem; max-width: 560px; }
/* Controles: flechas laterales y puntos (sobre el bloque "¿Sos asociado?" que se monta 70px) */
.aso-hero-carousel .owl-nav button.owl-prev, .aso-hero-carousel .owl-nav button.owl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .15) !important; color: #fff !important; font-size: 22px !important; display: flex; align-items: center; justify-content: center; transition: background .2s; outline: none; }
.aso-hero-carousel .owl-nav button.owl-prev { left: 18px; }
.aso-hero-carousel .owl-nav button.owl-next { right: 18px; }
.aso-hero-carousel .owl-nav button:hover { background: rgba(255, 255, 255, .3) !important; }
.aso-hero-carousel .owl-nav button:focus-visible { box-shadow: 0 0 0 3px var(--aso-accent); }
.aso-hero-carousel .owl-dots { position: absolute; left: 0; right: 0; bottom: 100px; text-align: center; }
.aso-hero-carousel .owl-dots .owl-dot { display: inline-block; margin: 0 5px; outline: none; }
.aso-hero-carousel .owl-dots .owl-dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: all .3s; }
.aso-hero-carousel .owl-dots .owl-dot.active span { width: 30px; background: var(--aso-accent); }
@media (max-width: 991.98px) {
  .aso-slide-content h1, .aso-slide-content h2 { font-size: 2.4rem; }
  .aso-hero-carousel .owl-nav { display: none; }
}
@media (max-width: 767.98px) {
  .aso-slide { height: 82vh; min-height: 520px; }
  .aso-slide-content { padding-top: 0; }
  .aso-slide-content h1, .aso-slide-content h2 { font-size: 2rem; }
  .aso-slide-content p { font-size: 1rem; }
  .aso-slide-overlay { background: linear-gradient(180deg, rgba(8, 20, 56, .55) 0%, rgba(8, 20, 56, .85) 100%); }
  .aso-hero-carousel .owl-dots { bottom: 20px; }
}
/* Anula estilos de carrusel de la plantilla (flechas ocultas hasta hover, puntos con aro) */
.aso-hero-carousel .owl-nav { position: static; width: auto; }
.aso-hero-carousel .owl-nav button.owl-prev, .aso-hero-carousel .owl-nav button.owl-next { opacity: .85; margin-top: 0; transition: background .2s, opacity .2s; }
.aso-hero-carousel:hover .owl-nav button.owl-prev { left: 18px; opacity: 1; }
.aso-hero-carousel:hover .owl-nav button.owl-next { right: 18px; opacity: 1; }
.aso-hero-carousel .owl-nav button span:before { font-size: 22px !important; }
.aso-hero-carousel .owl-dots .owl-dot { width: auto; height: auto; margin: 0 5px; background: transparent !important; border-radius: 0; }
.aso-hero-carousel .owl-dots .owl-dot:after { display: none; }

/* Onda circular del modal de bienvenida (antes venía de css/Survey.css, cuyas reglas
   aplicaban a todos los <button> y dejaban un "botón invisible" en el centro del modal).
   Ahora es solo decorativa: no recibe el mouse ni los clics. */
.aso-wave-modal { position: relative; }
.aso-wave-modal::after {
  content: ""; position: absolute; z-index: 2; top: 50%; left: 50%;
  width: 30px; height: 30px; border-radius: 50%; border: 6px solid var(--aso-navy);
  transform: translate(-50%, -50%); pointer-events: none;
  animation: aso-ring 1.5s ease-out infinite;
}
@keyframes aso-ring {
  0%   { width: 30px; height: 30px; opacity: 1; }
  100% { width: 300px; height: 300px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .aso-wave-modal::after { animation: none; display: none; } }

/* Onda circular en las flechas del carrusel (mismo efecto que tenían con Survey.css).
   Decorativa: no recibe el mouse; se detiene al pasar el cursor sobre la flecha. */
.aso-hero-carousel .owl-nav button.owl-prev::after,
.aso-hero-carousel .owl-nav button.owl-next::after {
  content: ""; position: absolute; z-index: -1; top: 50%; left: 50%;
  width: 30px; height: 30px; border-radius: 50%; border: 6px solid var(--aso-navy);
  transform: translate(-50%, -50%); pointer-events: none;
  animation: aso-ring 1.5s ease-out infinite;
}
.aso-hero-carousel .owl-nav button:hover::after,
.aso-hero-carousel .owl-nav button:focus-visible::after { animation: none; display: none; }
@media (prefers-reduced-motion: reduce) { .aso-hero-carousel .owl-nav button::after { animation: none; display: none; } }

/* Efecto de escritura letra por letra en el carrusel (sincronizado con el avance, ver asoinfinite-ux.js).
   La frase va siempre en su propia línea y el cursor sigue a la última letra. */
.aso-slide-content .aso-typing-title { min-height: 2.3em; }
.aso-slide-content .aso-type { display: block; }
.aso-slide-content .aso-type.is-typing::after {
  content: ""; display: inline-block; width: 4px; height: .9em; margin-left: 6px; vertical-align: -0.08em;
  background: var(--aso-accent); animation: aso-cursor .6s ease-in-out infinite alternate;
}
@keyframes aso-cursor { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .aso-slide-content .aso-type.is-typing::after { animation: none; } }

/* =========================================================================
   Menú con fondo blanco fijo (ajuste del cliente, oct-2026):
   el menú ya no se monta sobre el carrusel ni sobre las imágenes de
   cabecera; ocupa su propio espacio y queda visible arriba al hacer scroll.
   Neutraliza el modo "transparente → fijo al bajar" de la plantilla.
   ========================================================================= */
#ftco-navbar.ftco-navbar-light,
#ftco-navbar.ftco-navbar-light.scrolled,
#ftco-navbar.ftco-navbar-light.scrolled.awake,
#ftco-navbar.ftco-navbar-light.scrolled.sleep {
  position: sticky !important; top: 0; left: auto; right: auto;
  margin-top: 0 !important; background: #fff !important;
  box-shadow: 0 2px 14px rgba(12, 34, 87, .08); z-index: 1030;
  transition: box-shadow .2s ease;
}
#ftco-navbar .navbar-nav > .nav-item > .nav-link { color: var(--aso-ink) !important; padding-top: .9rem !important; padding-bottom: .9rem !important; }
#ftco-navbar .navbar-nav > .nav-item > .nav-link:hover,
#ftco-navbar .navbar-nav > .nav-item.active > .nav-link { color: var(--aso-navy) !important; }
#ftco-navbar .navbar-nav > .nav-item.aso-cta-afiliate > a.nav-link { color: #1b1b1b !important; }
#ftco-navbar .navbar-nav > .nav-item.aso-cta-gestion > a.nav-link { color: #fff !important; }
/* Siempre el logo a color */
#ftco-navbar .aso-brand .logo-blanco { display: none; }
#ftco-navbar .aso-brand .logo-color { display: block; }
#ftco-navbar .aso-brand img { height: 52px; }
#ftco-navbar .navbar-toggler { color: var(--aso-navy) !important; }

@media (max-width: 991.98px) {
  #ftco-navbar.ftco-navbar-light { background: #fff !important; }
  #ftco-navbar .aso-brand img { height: 44px; }
  #ftco-navbar .navbar-collapse { max-height: calc(100vh - 70px); overflow-y: auto; }
  #ftco-navbar .navbar-nav .dropdown-menu .dropdown-item { color: var(--aso-ink) !important; }
  #ftco-navbar .navbar-nav .dropdown-menu .dropdown-item span[class^="ion-"] { color: var(--aso-navy); }
  #ftco-navbar .navbar-nav .dropdown-menu .dropdown-divider { border-top-color: var(--aso-line); }
  #ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item.active > a { color: var(--aso-navy) !important; }
}

/* Carrusel: ocupa la pantalla menos la altura del menú, y su texto ya no necesita
   el espacio extra que dejaba para el menú superpuesto */
.aso-slide { height: calc(100vh - 82px); min-height: 520px; }
.aso-slide-content { padding-top: 0; }
@media (max-width: 767.98px) { .aso-slide { height: calc(82vh - 70px); min-height: 480px; } }

/* Submenús (Servicios, Convenios): elementos alineados a la izquierda con su ícono */
#ftco-navbar .navbar-nav .dropdown-menu .dropdown-item { display: flex; align-items: center; gap: .55rem; text-align: left; white-space: nowrap; }
#ftco-navbar .navbar-nav .dropdown-menu .dropdown-item span[class^="ion-"] { flex: 0 0 20px; width: 20px; text-align: center; }
#ftco-navbar .navbar-nav .dropdown-menu .dropdown-divider { border-top: 1px solid var(--aso-line); }

/* Elemento informativo (sin enlace) dentro de las listas de requisitos */
.aso-doc-list .aso-doc-item { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--aso-line); border-left: 4px solid var(--aso-accent); border-radius: var(--aso-radius); padding: .9rem 1rem; color: var(--aso-ink); background: #fffaf0; height: 100%; }

/* Etiqueta "Nuevo" dentro de tablas */
.aso-table .aso-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #1b1b1b; background: var(--aso-accent); border-radius: 999px; padding: .1rem .55rem; vertical-align: middle; }

/* Logo nuevo (más horizontal): un poco más alto en el menú para que el lema se lea */
#ftco-navbar .aso-brand img { height: 60px; }
@media (min-width: 992px) and (max-width: 1199.98px) { #ftco-navbar .aso-brand img { height: 50px; } }
@media (max-width: 991.98px) { #ftco-navbar .aso-brand img { height: 48px; } }
.aso-footer-logo { width: 220px; }
#ftco-navbar .navbar-nav > .nav-item > .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  #ftco-navbar .aso-brand img { height: 54px; }
  #ftco-navbar .navbar-nav > .nav-item > .nav-link { padding-left: 8px; padding-right: 8px; font-size: 14px; }
}
