/* ===== Anticipar Seguros — Styles v2.0.0 ===== */

/* ===== Fuentes locales ===== */
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Thin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-ThinItalic.otf") format("opentype");
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-ExtraLight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-ExtraLightItalic.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-LightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-MediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-SemiBoldItalic.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-BoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-ExtraBold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-ExtraBoldItalic.otf") format("opentype");
    font-weight: 800;
    font-style: italic;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url("Montserrat/Montserrat-BlackItalic.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
}

:root {
    --font-title: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --brand-primary: #032f62;
    --brand-secondary: #006b99;
    --brand-tertiary-1: #007bac;
    --brand-tertiary-2: #4c9cc3;
    --brand-deep: #021a36;
    --brand-soft: #eaf2f8;
    --text: #032f62;
    --ink: #0a1f33;
    --muted: #4a6b82;
    --line: rgba(3, 47, 98, 0.14);
    --radius: 14px;
    --wrap: 1120px;
}

* {
    box-sizing: border-box;
}

strong,
b {
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(3, 47, 98, 0.08),
            transparent 32%
        ),
        var(--brand-soft);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    opacity: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 84px;
    display: grid;
    grid-template-columns: 300px 1fr 410px;
    align-items: center;
    padding: 0 148px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(3, 47, 98, 0.08);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    width: 210px;
}

.brand img {
    width: 210px;
    height: auto;
}

.desktop-nav {
    display: flex;
    gap: 84px;
    justify-self: start;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-deep);
    letter-spacing: 0;
}

.desktop-nav a,
.header-actions a {
    transition:
        color 180ms ease,
        background 180ms ease;
}

.desktop-nav a {
    position: relative;
    padding: 8px 0;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition:
        width 220ms cubic-bezier(0.4, 0, 0.2, 1),
        left 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
    left: 0;
}

.desktop-nav a:hover {
    color: var(--brand-primary);
}

.desktop-nav a.active {
    color: var(--brand-primary);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 24px;
}

.access-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition:
        transform 180ms ease,
        filter 180ms ease;
}

.access-button {
    min-height: 50px;
    min-width: 172px;
}

.primary-button:hover,
.access-button:hover {
    background: var(--brand-primary);
    filter: brightness(0.92);
    transform: translateY(-1px);
}

.menu-button,
.icon-only,
.drawer-close,
.hero-arrow,
.section-arrow {
    border: 0;
    background: transparent;
    color: var(--brand-primary);
    cursor: pointer;
    font: inherit;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 16px;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 4px;
}

.menu-button i {
    position: relative;
}

.menu-button i::before,
.menu-button i::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-button i::before {
    top: -6px;
}

.menu-button i::after {
    top: 6px;
}

.mobile-user {
    display: none;
}

/* Drawer Base */
.drawer {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    opacity: 0;
    background: rgba(2, 26, 54, 0.45);
    backdrop-filter: blur(8px);
    transition: opacity 400ms ease;
}
.drawer.open {
    pointer-events: auto;
    opacity: 1;
}

/* Panel */
.drawer-panel {
    margin-left: auto;
    width: min(440px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: var(--brand-primary);
    font-weight: 400;
    transform: translateX(100%);
    transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -20px 0 60px rgba(2, 26, 54, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
}
.drawer.open .drawer-panel {
    transform: translateX(0);
}

/* Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 32px 16px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Close Button */
.drawer-close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand-deep);
    background: #f1f5f9;
    border: 1px solid transparent;
    transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}
.drawer-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.drawer-close:hover {
    background: #fff;
    border-color: rgba(3, 47, 98, 0.1);
    color: var(--brand-primary);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 8px 24px rgba(3, 47, 98, 0.08);
}

/* Body & Grouping */
.drawer-body {
    padding: 0 0 40px;
    flex: 1;
}
.drawer-tabs {
    display: flex;
    gap: 4px;
    padding: 20px 32px 16px;
}
.drawer-tab {
    padding: 6px 16px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: all 200ms ease;
}
.drawer-tab:hover,
.drawer-tab:active {
    color: var(--brand-deep);
    border-bottom-color: var(--brand-primary);
}
.drawer-group {
    padding: 0 32px;
}
.drawer-group + .drawer-group {
    margin-top: 24px;
}
.drawer-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
    margin-top: 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    text-decoration: none;
    transition: all 250ms ease;
}
.drawer-group-title svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform 250ms ease, opacity 250ms ease;
}
.drawer-group-title:hover {
    opacity: 1;
    color: var(--brand-primary);
}
.drawer-group-title:hover svg {
    opacity: 1;
    transform: translateX(4px);
}

/* Links */
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-deep);
    background: #f7fafc;
    border-radius: 18px;
    border: 1px solid transparent;
    transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer-link:hover {
    background: #ffffff;
    border-color: rgba(3, 47, 98, 0.08);
    color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(3, 47, 98, 0.08);
}
.drawer-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.3;
    transition:
        opacity 300ms ease,
        transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer-link:hover svg {
    opacity: 1;
    transform: translateX(5px);
}

/* Dividers */
.drawer-divider {
    margin: 32px;
    border: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(3, 47, 98, 0.08),
        transparent
    );
}

/* Utils & Plain links */
.drawer-utils,
.drawer-plain {
    padding: 0 32px;
}
.drawer-utils a,
.drawer-plain a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    border-radius: 14px;
    transition: all 250ms ease;
}
.drawer-utils a:hover,
.drawer-plain a:hover {
    color: var(--brand-primary);
    background: rgba(3, 47, 98, 0.03);
    padding-left: 32px;
}

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #eaf4f7;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background-image: var(--desktop-image);
    background-position: center;
    background-size: cover;
    transition: opacity 450ms ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(640px, 47vw);
    margin-top: 54px;
    margin-left: calc((100% - var(--wrap)) / 2 + 30px);
    padding: 46px 44px 48px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(3, 47, 98, 0.1);
    border-radius: 28px;
    backdrop-filter: blur(20px);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-title);
    color: var(--brand-primary);
    letter-spacing: 0;
    text-wrap: balance;
}

h1 {
    font-weight: 700;
    font-size: 58px;
    line-height: 1.02;
}

h2 {
    font-weight: 600;
    font-size: 38px;
    line-height: 1.1;
}

h3 {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
}

.hero h1 {
    max-width: 560px;
    font-size: 58px;
    line-height: 1.02;
}

.hero p {
    margin: 24px 0 24px;
    max-width: 520px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
}

.hero-arrow,
.section-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover,
.section-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow::before,
.section-arrow::before {
    content: "";
    width: 14px;
    height: 14px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    display: block;
}

.hero-arrow.prev,
.section-arrow.left {
    left: 24px;
}

.hero-arrow.next,
.section-arrow.right {
    right: 24px;
}

.hero-arrow.prev::before,
.section-arrow.left::before {
    transform: rotate(-135deg);
    margin-left: 6px;
}

.hero-arrow.next::before,
.section-arrow.right::before {
    transform: rotate(45deg);
    margin-right: 6px;
}

.hero-dots,
.section-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hero-dots button,
.section-dots span {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.hero-dots button.active,
.section-dots .active {
    background: #fff;
}

.products {
    padding: 100px 0;
    background: var(--brand-soft);
}

.products h2 {
    max-width: 800px;
    text-align: center;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 auto 60px;
    color: var(--brand-deep);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: min(var(--wrap), 100%);
    margin: 0 auto;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(3, 47, 98, 0.15);
    border-top: 4px solid var(--brand-primary);
    position: relative;
    overflow: hidden;
}

.product-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    border-radius: 12px;
    color: var(--brand-primary);
}

.product-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-card h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 500;
    color: var(--brand-deep);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-card p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 160px;
    min-height: 48px;
    padding: 0 30px;
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: none;
}

.product-btn:hover {
    background: transparent;
    color: var(--brand-primary);
}

.group-companies {
    padding: 62px 0 68px;
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(3, 47, 98, 0.09),
            transparent 30%
        ),
        #ffffff;
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.1;
}

.companies-marquee {
    overflow: hidden;
}

.companies-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.companies-track .company-card:nth-child(n + 6) {
    display: none;
}

.company-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.company-card img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition:
        filter 400ms ease,
        transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.company-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

.certificate {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 74% 44%,
            rgba(3, 47, 98, 0.15),
            transparent 32%
        ),
        linear-gradient(135deg, var(--brand-deep), var(--brand-primary));
    color: #fff;
}

.certificate-slider {
    position: relative;
    min-height: 540px;
}

.certificate-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 460px;
    align-items: center;
    gap: 70px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.certificate-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.certificate h2 {
    color: #fff;
    font-size: 56px;
    line-height: 1.02;
}

.certificate p {
    max-width: 520px;
    margin: 28px 0 26px;
    font-size: 17px;
    color: #fff;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: var(--radius);
    background: #77c7ff;
    color: var(--brand-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
}

.printer {
    width: 390px;
    justify-self: center;
    filter: saturate(1.15);
}

.section-dots {
    bottom: 24px;
}

.section-dots span {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.28);
}

.promos {
    padding: 54px 0 36px;
    background: var(--brand-soft);
}

.promo-grid {
    display: grid;
    grid-template-columns: 320px 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 22px;
}

.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    color: #fff;
}

.promo-card h2,
.promo-card h3 {
    color: inherit;
}

.promo-card p {
    margin: 8px 0 18px;
}

.promo-card a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 14px;
}

.promo-card.big {
    grid-row: span 2;
    display: flex;
    align-items: end;
    padding: 34px;
    background-image:
        linear-gradient(180deg, rgba(0, 72, 101, 0.1), rgba(0, 72, 101, 0.78)),
        url("https://www.bbvaseguros.com.ar/wp-content/uploads/2025/06/shutterstock_2229835193-scaled.jpg");
    background-position: center;
    background-size: cover;
}

.promo-card.big h2 {
    max-width: 250px;
    font-size: 39px;
    line-height: 0.95;
}

.promo-card.big img {
    position: absolute;
    left: 30px;
    bottom: 94px;
    width: 32px;
}

.promo-card.sky {
    padding: 36px 38px;
    background:
        radial-gradient(
            circle at 80% 24%,
            rgba(255, 255, 255, 0.48),
            transparent 26%
        ),
        #c8f1f8;
    color: var(--brand-primary);
}

.promo-card.sky h3 {
    max-width: 220px;
    font-size: 31px;
    line-height: 0.96;
}

.promo-card.sky img {
    position: absolute;
    right: 42px;
    top: 40px;
    width: 78px;
    opacity: 0.72;
}

.promo-card.phone {
    padding: 32px;
    background-image:
        linear-gradient(90deg, rgba(1, 57, 80, 0.86), rgba(1, 57, 80, 0.18)),
        url("https://www.bbvaseguros.com.ar/wp-content/uploads/2025/06/shutterstock_1747522400-scaled.jpg");
    background-position: center;
    background-size: cover;
}

.promo-card.phone h3 {
    max-width: 255px;
    font-size: 31px;
    line-height: 0.96;
}

.promo-card.bike {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    color: var(--brand-primary);
}

.promo-card.bike > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card.bike div {
    padding: 34px 34px 26px;
}

.promo-card.bike h3 {
    font-size: 32px;
    line-height: 0.98;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999 !important;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #00a859;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    transition: transform 200ms ease;
    animation: whatsappPulse 2.2s infinite;
    overflow: visible !important;
    /* Forzar composición GPU — evita que desaparezca en iOS Safari durante scroll */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.6), 0 8px 22px rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(0, 168, 89, 0), 0 8px 22px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 89, 0), 0 8px 22px rgba(0, 0, 0, 0.2);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.whatsapp-band {
    padding: 32px 0;
    margin-top: 48px;
    background: var(--brand-soft);
}


.whatsapp-band .wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 18px;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand-primary));
    color: #fff;
}

.whatsapp-band img {
    width: 56px;
}

.whatsapp-band p {
    margin: 0;
    font-size: 20px;
}

.whatsapp-band strong:last-child {
    color: #d4f6ff;
    font-size: 28px;
    font-weight: 400;
}

.contact {
    padding: 58px 0;
    background: var(--brand-soft);
}

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

.contact article {
    min-height: 290px;
    padding: 36px 38px 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    color: var(--brand-primary);
}

.contact img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 20px;
}

.contact h3 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.contact p,
.contact small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.contact a {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    font-size: 14px;
}

.site-footer {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(76, 156, 195, 0.24),
            transparent 28%
        ),
        linear-gradient(135deg, #021a36, var(--brand-primary));
    color: #fff;
    overflow: hidden;
}

.footer-inner {
    min-height: 210px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr auto;
    align-items: center;
    gap: 42px;
    padding: 34px 0;
}

.footer-logo {
    width: 210px;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 380px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.footer-links,
.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 400;
    font-size: 13px;
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-contact > a {
    color: #fff;
    font-size: 23px;
    font-weight: 400;
}

.site-footer small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 400;
}

.social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social a {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social img {
    width: 28px;
    filter: brightness(0) invert(1);
}

.social svg {
    width: 24px;
    height: 24px;
    color: #fff;
    transition: all 0.2s ease;
}

.footer-map {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    padding: 48px 0;
}

.footer-map-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

.footer-map-info h3 {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.footer-map-info p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    margin: 0 0 18px;
    line-height: 1.5;
}

.footer-map-info a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition:
        background 200ms ease,
        border-color 200ms ease;
}

.footer-map-info a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-map-frame {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

.footer-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ssn-footer {
    background: transparent;
    color: #fff;
    padding: 42px 0 50px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ssn-footer-inner {
    width: min(1050px, calc(100% - 48px));
    margin: 0 auto;
}

.ssn-top {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.4fr;
    align-items: center;
    margin-bottom: 46px;
    text-align: center;
    gap: 20px;
}

.ssn-top > div {
    min-height: 56px;
    display: grid;
    align-content: center;
    padding: 0 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.ssn-top > div:last-child {
    border-right: 0;
}

.ssn-top span,
.ssn-top strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.ssn-top strong {
    font-weight: 400;
}

.ssn-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    max-width: fit-content;
    margin: 0 auto;
}

.ssn-logo-img {
    height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}


.ssn-copy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 58px;
}

.ssn-copy p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .site-header {
        padding: 0 48px;
        grid-template-columns: 170px 1fr 310px;
    }

    .desktop-nav {
        gap: 36px;
    }

    .hero-card {
        margin-left: 88px;
    }

    .promo-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .promo-card.big,
    .promo-card.bike {
        grid-column: span 2;
    }

    .quick-actions {
        padding: 16px 40px;
    }

    .review-card {
        flex: 0 0 calc(50% - 11px);
        min-width: 240px;
    }

    .reviews-carousel {
        padding: 0 52px;
    }

    .reviews-header h2 {
        font-size: 30px;
    }

    .footer-map-grid {
        grid-template-columns: 260px 1fr;
        gap: 28px;
    }
}

@media (max-width: 760px) {
    body {
        background: #fff;
    }

    .wrap {
        width: calc(100% - 32px);
    }

    .site-header {
        height: 56px;
        display: flex;
        justify-content: space-between;
        padding: 0 16px;
    }

    .brand {
        position: absolute;
        left: 50%;
        width: 150px;
        transform: translateX(-50%);
    }

    .brand img {
        width: 150px;
    }

    .desktop-nav,
    .access-button,
    .search-button {
        display: none;
    }

    .mobile-user {
        display: inline-block;
        width: 28px;
        height: 28px;
        position: relative;
    }

    .user-dot::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 4px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--brand-primary);
    }

    .user-dot::after {
        content: "";
        position: absolute;
        left: 6px;
        top: 14px;
        width: 16px;
        height: 9px;
        border-radius: 8px 8px 2px 2px;
        background: var(--brand-primary);
    }

    .header-actions {
        margin-left: auto;
        gap: 0;
    }

    .menu-button {
        gap: 0;
     }

     .menu-button span {
        display: none;
     }

    .hero {
        min-height: 528px;
        overflow: visible;
        background: #fff;
    }

    .hero-track {
        position: relative;
        height: 528px;
    }

    .hero-slide {
        display: block;
        background-image: var(--mobile-image);
        background-position: top center;
        background-size: 100% 258px;
        background-repeat: no-repeat;
    }

    .hero-card {
        width: 100%;
        margin: 258px 0 0;
        padding: 25px 16px 26px;
        border-radius: 0;
        box-shadow: none;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.05;
    }

    .hero p {
        margin: 14px 0 16px;
        font-size: 16px;
        line-height: 1.45;
    }

    .primary-button {
        min-height: 39px;
        padding: 0 18px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        display: flex;
        top: 236px;
        bottom: auto;
        z-index: 15;
        justify-content: center;
        gap: 10px;
    }

    .hero-dots button {
        width: 10px;
        height: 10px;
        background: rgba(3, 47, 98, 0.25);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        padding: 0;
    }

    .hero-dots button.active {
        background: var(--brand-primary);
    }

    .products {
        padding: 30px 0 26px;
    }

    .products h2 {
        width: 92%;
        margin: 0 auto 32px;
        font-size: 29px;
        line-height: 1.05;
    }

    .product-grid {
        width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }

    .product-card {
        min-height: auto;
        padding: 20px 14px;
        border-radius: 12px;
        font-size: 13px;
        box-shadow: 0 4px 12px rgba(3, 47, 98, 0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .product-card p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .product-btn {
        min-width: 100%;
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .product-card img,
    .product-card svg {
        width: 42px;
        height: 42px;
    }

    .group-companies {
        padding: 38px 0 44px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .companies-marquee {
        width: calc(100% + 32px);
        margin-left: -16px;
        -webkit-mask-image: linear-gradient(
            90deg,
            transparent,
            #000 10%,
            #000 90%,
            transparent
        );
        mask-image: linear-gradient(
            90deg,
            transparent,
            #000 10%,
            #000 90%,
            transparent
        );
    }

    .companies-track {
        width: max-content;
        display: flex;
        gap: 14px;
        animation: companyLoop 24s linear infinite;
    }

    .companies-track .company-card:nth-child(n + 6) {
        display: flex;
    }

    .company-card {
        width: 180px;
        background: transparent;
        border: 0;
    }

    .company-card img {
        max-width: 150px;
        max-height: 62px;
    }

    @keyframes companyLoop {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-50% - 7px));
        }
    }

    .certificate {
        min-height: auto;
        padding: 34px 0 54px; /* Increased bottom padding to accommodate dots */
    }

    .certificate-slider {
        min-height: auto;
    }

    .certificate-slide {
        position: relative;
        display: none;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        opacity: 0;
    }

    .certificate-slide.active {
        display: flex;
        animation: certSlideIn 450ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }

    @keyframes certSlideIn {
        from {
            opacity: 0;
            transform: translateY(16px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .certificate h2 {
        font-size: 32px;
        line-height: 1.02;
    }

    .certificate p {
        font-size: 14px;
        margin: 16px 0;
    }

    .secondary-button {
        min-height: 38px;
        min-width: 180px;
        font-size: 13px;
    }

    .printer {
        width: 220px;
        order: -1;
        margin: -4px auto 18px;
    }

    .section-arrow {
        display: none;
    }

    .section-dots {
        display: flex;
        bottom: 20px;
        z-index: 15;
        justify-content: center;
        gap: 12px;
    }

    .section-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
        cursor: pointer;
    }

    .section-dots .active {
        background: #fff;
    }

    .promos {
        padding: 24px 0;
    }

    .promo-grid,
    .contact-grid,
    .legal-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .promo-card.big,
    .promo-card.bike {
        grid-column: auto;
    }

    .promo-card.big {
        min-height: 330px;
    }

    .promo-card.sky,
    .promo-card.phone,
    .promo-card.bike {
        min-height: 190px;
    }

    .promo-card.bike {
        grid-template-columns: 1fr;
    }

    .promo-card.bike > img {
        height: 170px;
    }

    .whatsapp-float {
        right: 16px;
        left: auto;
        bottom: 16px;
        width: 56px;
        height: 56px;
        z-index: 999999 !important;
    }

    .whatsapp-band {
        margin-top: 32px;
        padding: 32px 0;
    }

    .whatsapp-band .wrap {
        min-height: 112px;
        flex-wrap: wrap;
        gap: 7px 12px;
        padding: 16px;
        text-align: center;
    }

    .whatsapp-band img {
        width: 44px;
    }

    .whatsapp-band p {
        width: calc(100% - 60px);
        text-align: left;
        font-size: 16px;
    }

    .whatsapp-band strong:last-child {
        width: 100%;
        font-size: 22px;
    }

    .contact {
        padding: 28px 0;
    }

    .contact article {
        min-height: auto;
        padding: 28px 24px;
    }
    .footer-inner {
        min-height: 184px;
        display: block;
        padding: 26px 0;
    }

    .site-footer nav {
        flex-direction: column;
        gap: 8px;
    }

    .social {
        margin-top: 20px;
    }

    .footer-map {
        padding: 32px 0;
    }

    .footer-map-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-map-info {
        text-align: center;
    }

    .footer-map-info h3 {
        font-size: 22px;
    }

    .footer-map-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
        order: -1;
        border-radius: 12px;
        overflow: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .footer-map-frame iframe {
        border-radius: 12px;
    }

    .ssn-footer {
        padding: 34px 0 38px;
    }

    .ssn-footer-inner {
        width: calc(100% - 32px);
    }

    .ssn-top {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 30px;
        text-align: left;
    }

    .ssn-top > div {
        min-height: auto;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

    .ssn-brand {
        justify-content: center;
        margin-top: 18px;
        margin-bottom: 18px;
        border-bottom: 0 !important;
    }

    .ssn-copy {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ssn-copy p {
        font-size: 14px;
    }
}

/* ===== Reviews / Testimonials ===== */
.reviews {
    padding: 90px 0 130px;
    background: #fff;
    overflow: hidden;
}

.reviews .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.reviews-header h2 {
    font-size: 36px;
    line-height: 1.1;
    color: var(--brand-deep);
    margin: 0;
}

.reviews-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.reviews-google svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.reviews-google-bar {
    color: rgba(3, 47, 98, 0.15);
}

.reviews-google-stars {
    color: #ffc107;
    font-weight: 700;
    letter-spacing: 1px;
}

.reviews-carousel {
    position: relative;
    padding: 0 58px;
}

.reviews-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.reviews-track {
    display: flex;
    gap: 22px;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 280px;
    background: #fff;
    border: 1px solid rgba(3, 47, 98, 0.06);
    border-radius: 20px;
    padding: 32px 28px 26px;
    box-shadow: 0 2px 16px rgba(3, 47, 98, 0.03);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition:
        transform 260ms ease,
        box-shadow 260ms ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(3, 47, 98, 0.06);
    border-color: rgba(3, 47, 98, 0.1);
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.review-text {
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
    margin: 0;
    flex-grow: 1;
}

.review-text em {
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(3, 47, 98, 0.05);
    margin-top: auto;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--brand-primary),
        var(--brand-secondary)
    );
    color: #fff;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.review-author {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-primary);
    margin: 0;
}

.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(3, 47, 98, 0.1);
    background: #fff;
    color: var(--brand-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(3, 47, 98, 0.06);
    transition: all 200ms ease;
}

.review-arrow svg {
    width: 20px;
    height: 20px;
}

.review-arrow:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 6px 18px rgba(3, 47, 98, 0.15);
}

.review-arrow.prev {
    left: 0;
}
.review-arrow.next {
    right: 0;
}

/* ===== Personas page ===== */
.insurance-nav {
    position: sticky;
    top: 84px;
    z-index: 19;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.insurance-nav .wrap {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.insurance-nav .wrap::-webkit-scrollbar {
    display: none;
}

.insurance-nav a {
    display: inline-flex;
    align-items: center;
    padding: 18px 28px;
    font-weight: 600;
    font-size: 15px;
    color: var(--brand-deep);
    border-bottom: 3px solid transparent;
    transition:
        color 200ms ease,
        border-color 200ms ease;
    white-space: nowrap;
}

.insurance-nav a:hover,
.insurance-nav a.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.personas-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(3, 30, 65, 0.85) 0%, rgba(3, 47, 98, 0.8) 100%), url('image.png') center/cover no-repeat;
    color: #ffffff;
    padding: 84px 0 76px;
}

.personas-hero .wrap {
    width: min(var(--wrap, 1120px), calc(100% - 48px));
    margin: 0 auto;
    display: block;
    max-width: var(--wrap, 1120px);
}

.personas-hero h1 {
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 780px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.personas-hero p {
    max-width: 680px;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 32px;
    font-weight: 400;
}

.personas-hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(3, 47, 98, 0.12);
}

.empresas-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(3, 47, 98, 0.18),
            transparent 35%
        ),
        linear-gradient(135deg, #021a36, var(--brand-primary));
    color: #fff;
}

.empresas-hero .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.empresas-hero h1 {
    color: #fff;
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 16px;
    max-width: 520px;
}

.empresas-hero p {
    max-width: 480px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
}

.empresas-hero .primary-button {
    background: #fff;
    color: var(--brand-primary);
}

.empresas-hero .primary-button:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.empresas-hero-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.insurance-section {
    padding: 90px 0;
}

.insurance-section:nth-child(even) {
    background: #fff;
}

.insurance-section:nth-child(odd) {
    background: var(--brand-soft);
}

.insurance-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.insurance-section-inner.reverse {
    direction: rtl;
}

.insurance-section-inner.reverse > * {
    direction: ltr;
}

.insurance-section h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.insurance-section p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 32px;
}

.insurance-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    background: var(--brand-soft);
    border-radius: 24px;
    color: var(--brand-primary);
    border: 1px solid var(--line);
}

.insurance-visual svg {
    width: 120px;
    height: 120px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1100px) {
    .insurance-section-inner {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .insurance-nav {
        position: relative;
        top: 0;
        background: #fff;
        padding: 12px 0;
    }

    .insurance-nav .wrap {
        flex-direction: column;
        align-items: stretch;
        overflow-x: visible;
        padding: 0 16px;
        gap: 8px;
        width: 100%;
    }

    .insurance-nav .wrap::-webkit-scrollbar {
        display: none;
    }

    .insurance-nav a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 16px;
        font-size: 15px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff !important;
        color: var(--brand-deep) !important;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        transition: none;
    }

    .insurance-nav a.active {
        color: var(--brand-primary) !important;
        background: #fff !important;
        border-color: var(--brand-primary) !important;
    }

    .personas-hero {
        min-height: auto;
        padding: 40px 0;
    }

    .personas-hero .wrap {
        grid-template-columns: 1fr;
        gap: 28px;
        width: calc(100% - 32px);
    }

    .personas-hero h1 {
        font-size: 34px;
    }

    .personas-hero p {
        font-size: 14px;
    }

    .personas-hero-image {
        height: 260px;
        order: -1;
    }

    .empresas-hero {
        min-height: auto;
        padding: 40px 0;
    }

    .empresas-hero .wrap {
        grid-template-columns: 1fr;
        gap: 28px;
        width: calc(100% - 32px);
    }

    .empresas-hero h1 {
        font-size: 32px;
    }

    .empresas-hero p {
        font-size: 14px;
    }

    .empresas-hero-image {
        height: 240px;
        order: -1;
    }

    .insurance-section {
        padding: 50px 0;
    }

    .insurance-section-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        width: calc(100% - 32px);
    }

    .insurance-section-inner.reverse {
        direction: ltr;
    }

    .insurance-section h2 {
        font-size: 30px;
    }

    .insurance-section p {
        font-size: 14px;
    }

    .insurance-visual {
        min-height: 220px;
        order: -1;
    }

    .insurance-visual svg {
        width: 90px;
        height: 90px;
    }
}

/* ===== Empresas page ===== */
.institutional-hero {
    position: relative;
    background: #0b1224;
    color: #fff;
    overflow: hidden;
}

.institutional-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(3, 47, 98, 0.55),
            transparent 50%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(3, 47, 98, 0.35),
            transparent 45%
        );
    pointer-events: none;
}

.institutional-hero .wrap {
    position: relative;
    z-index: 1;
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
    padding: 120px 0 100px;
}

.institutional-hero h1 {
    color: #fff;
    font-size: 64px;
    line-height: 1.05;
    max-width: 720px;
    margin-bottom: 24px;
}

.institutional-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 36px;
}

.institutional-hero .cta-row {
    display: flex;
    gap: 18px;
    align-items: center;
}

.institutional-hero .primary-button {
    background: #fff;
    color: var(--brand-primary);
    min-height: 52px;
    padding: 0 34px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.institutional-hero .primary-button:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.institutional-hero .ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 15px;
    transition:
        border-color 200ms ease,
        background 200ms ease;
}

.institutional-hero .ghost-button:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
}

.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.stats-bar .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 46px 28px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.solutions {
    padding: 90px 0 70px;
    background: var(--brand-soft);
}

.solutions .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.section-kicker-inst {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.solutions h2 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 52px;
    max-width: 600px;
}

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

.solution-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-primary);
    border-radius: 6px;
    padding: 36px 28px 32px;
    transition:
        box-shadow 260ms ease,
        transform 260ms ease;
}

.solution-card:hover {
    box-shadow: 0 14px 40px rgba(3, 47, 98, 0.1);
    transform: translateY(-4px);
}

.solution-card .icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--brand-primary);
}

.solution-card .icon-box svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.solution-card h3 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 500;
    color: var(--brand-deep);
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.enterprise-list {
    padding: 90px 0;
    background: #fff;
}

.enterprise-list .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.enterprise-list h2 {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 60px;
    max-width: 700px;
}

.enterprise-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.enterprise-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.enterprise-num {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1;
}

.enterprise-body h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 500;
    color: var(--brand-deep);
    margin-bottom: 8px;
}

.enterprise-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

.enterprise-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition:
        background 200ms ease,
        color 200ms ease;
    white-space: nowrap;
}

.enterprise-cta:hover {
    background: var(--brand-primary);
    color: #fff;
}

.institutional-cta {
    background: #0b1224;
    color: #fff;
    padding: 90px 0;
}

.institutional-cta .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.institutional-cta h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.institutional-cta p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.65;
    max-width: 480px;
    margin: 0;
}

.institutional-cta .cta-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.institutional-cta .cta-form .primary-button {
    background: #fff;
    color: var(--brand-primary);
    min-height: 56px;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.institutional-cta .cta-form .primary-button:hover {
    filter: brightness(0.95);
}

.institutional-cta .cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1100px) {
    .stats-bar .wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-bottom: 1px solid var(--line);
    }

    .stat-item:nth-child(even) {
        border-right: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: 0;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .institutional-cta .wrap {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .institutional-hero .wrap {
        padding: 70px 0 60px;
        width: calc(100% - 32px);
    }

    .institutional-hero h1 {
        font-size: 36px;
    }

    .institutional-hero p {
        font-size: 14px;
    }

    .institutional-hero .cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .institutional-hero .cta-row a {
        display: flex;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .stats-bar .wrap {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 28px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .solutions {
        padding: 50px 0 40px;
    }

    .solutions .wrap {
        width: calc(100% - 32px);
    }

    .solutions h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-list {
        padding: 50px 0;
    }

    .enterprise-list .wrap {
        width: calc(100% - 32px);
    }

    .enterprise-list h2 {
        font-size: 28px;
        margin-bottom: 36px;
    }

    .enterprise-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 0;
    }

    .enterprise-num {
        font-size: 28px;
    }

    .enterprise-body h3 {
        font-size: 20px;
    }

    .enterprise-cta {
        display: flex;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .institutional-cta {
        padding: 50px 0;
    }

    .institutional-cta .wrap {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
        gap: 30px;
    }

    .institutional-cta h2 {
        font-size: 28px;
    }

    .reviews {
        padding: 50px 0 90px;
        overflow: visible;
    }

    .reviews .wrap {
        width: calc(100% - 32px);
    }

    .reviews-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .reviews-header h2 {
        font-size: 26px;
    }

    .reviews-carousel {
        margin: 0 -16px;
        padding: 0;
    }

    .reviews-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-padding: 0 16px;
        border-radius: 0;
    }

    .reviews-viewport::-webkit-scrollbar {
        display: none;
    }

    .reviews-track {
        display: flex;
        transform: none !important;
        padding: 10px 16px 20px;
        gap: 16px;
    }

    .review-card {
        flex: 0 0 82%;
        min-width: 280px;
        scroll-snap-align: start;
        margin: 0;
        padding: 28px 24px;
        box-shadow: 0 4px 16px rgba(3, 47, 98, 0.06);
    }

    .review-arrow {
        display: none !important;
    }

    .reviews-google-badge {
        padding: 14px 20px;
        gap: 12px;
    }

    .reviews-google-badge .google-icon {
        width: 36px;
        height: 36px;
    }

    .reviews-google-badge h2 {
        font-size: 18px;
    }

    .reviews-rating-num {
        font-size: 16px;
    }
}

/* ===== Personas FAQ (and shared FAQ) ===== */
.section-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-title h2 {
    font-family: var(--font-title);
    font-size: 32px;
    line-height: 1.2;
    color: var(--brand-deep);
    margin: 0 0 12px;
}

.section-title p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.personas-faq {
    padding: 80px 0;
    background: var(--brand-soft);
}

.personas-faq .wrap {
    width: min(var(--wrap), calc(100% - 48px));
    margin: 0 auto;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(3, 47, 98, 0.03);
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.faq-item[open] {
    border-color: rgba(3, 47, 98, 0.25);
    box-shadow: 0 6px 18px rgba(3, 47, 98, 0.06);
}

.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-deep);
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--brand-secondary);
    transition: transform 200ms ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    border-top: 1px solid rgba(3, 47, 98, 0.06);
    padding-top: 14px;
}

@media (max-width: 760px) {
    .personas-faq {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 26px;
    }
    .faq-item summary {
        padding: 16px 18px;
        font-size: 15px;
    }
    .faq-content {
        padding: 0 18px 18px;
        font-size: 14px;
    }
}

.disabled-link,
a.disabled-link {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    text-decoration: none !important;
}

/* Garantiza que el atributo hidden oculte siempre (aunque el CSS ponga display:flex) */
[hidden] {
    display: none !important;
}

/* ===== Emergente de salida (exit-intent) ===== */
.exit-popup {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 99998;
    width: 360px;
    max-width: calc(100vw - 32px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 260ms ease, transform 260ms ease;
    pointer-events: none;
}
.exit-popup.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.exit-popup-card {
    background: #fff;
    border: 1px solid rgba(3, 47, 98, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2, 26, 54, 0.25);
    padding: 22px 22px 18px;
    position: relative;
}
.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    color: var(--muted, #64748b);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}
.exit-popup-close:hover { background: #eef1f4; }
.exit-popup-title {
    font-family: var(--font-title, inherit);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary, #0a4d8c);
    margin: 0 26px 6px 0;
}
.exit-popup-text {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 16px;
}
.exit-popup-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.exit-popup-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1f2937;
    border: 1px solid rgba(3, 47, 98, 0.14);
    border-radius: 10px;
    padding: 11px 13px;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}
.exit-popup-options label:hover { border-color: var(--brand-primary, #0a4d8c); background: #f6fbff; }
.exit-popup-options input { accent-color: var(--brand-primary, #0a4d8c); width: 16px; height: 16px; flex-shrink: 0; }
.exit-popup-actions { display: flex; gap: 10px; justify-content: flex-end; }
.exit-popup-skip,
.exit-popup-send {
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
    border: 1px solid transparent;
}
.exit-popup-skip { background: #fff; color: var(--muted, #64748b); border-color: rgba(3, 47, 98, 0.16); }
.exit-popup-skip:hover { background: #f6f8fb; }
.exit-popup-send { background: var(--brand-primary, #0a4d8c); color: #fff; }
.exit-popup-send:hover { filter: brightness(1.06); }

@media (max-width: 760px) {
    .exit-popup {
        right: 12px;
        left: 12px;
        bottom: 90px;
        width: auto;
    }
}
