:root {
    --primary: #15aeb0;
    --primary-dark: #087b82;
    --primary-light: #e9f9f9;

    --dark: #12252d;
    --dark-soft: #243a43;

    --header-dark: #0b2c33;
    --header-dark-end: #0d4148;

    --text: #53656c;
    --white: #ffffff;

    --background: #f7fafb;
    --border: #e4ebed;

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 32px;

    --shadow:
        0 24px 60px rgba(25, 64, 73, 0.10);
}


/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(1280px, 90%);
    margin: 0 auto;
}


/* ========================================
   HEADER
======================================== */

.header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background:
        linear-gradient(
            135deg,
            var(--header-dark),
            var(--header-dark-end)
        );

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    min-height: 105px;

    display: flex;
    align-items: center;

    gap: 35px;
}


/* ========================================
   SANPER BRAND
======================================== */

.brand {
    margin-right: auto;

    display: flex;
    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}

.brand-symbol {
    width: 78px;
    height: auto;

    object-fit: contain;
    filter: none;

    flex-shrink: 0;
}

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

    justify-content: center;

    line-height: 1;
}

.brand-name {
    color: #ffffff;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 1px;
}

.brand-subtitle {
    margin-top: 6px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 4px;
}


/* ========================================
   NAVIGATION
======================================== */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-menu a {
    position: relative;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.nav-menu a:hover {
    color: #45d6d2;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background:
        #45d6d2;

    transition:
        width 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* ========================================
   HEADER BUTTON
======================================== */

.nav-button {
    padding:
        12px 21px;

    border-radius:
        100px;

    background:
        var(--white);

    color:
        var(--header-dark);

    font-size: 14px;
    font-weight: 750;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-button:hover {
    transform:
        translateY(-2px);

    background:
        #dffafa;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.14);
}


/* ========================================
   MOBILE MENU BUTTON
======================================== */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    color: var(--white);

    font-size: 27px;

    cursor: pointer;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    overflow: hidden;

    padding:
        105px 0 115px;

    background:
        linear-gradient(
            135deg,
            #f4fbfb 0%,
            #ffffff 55%,
            #f8fbfc 100%
        );
}

.hero::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 1;

    height: 130px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(234, 249, 250, 0.12) 28%,
            rgba(239, 249, 250, 0.38) 60%,
            rgba(241, 250, 251, 0.72) 85%,
            rgba(241, 250, 251, 0.92) 100%
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.68) 0%,
            rgba(255, 255, 255, 0.5) 48%,
            rgba(255, 255, 255, 0.38) 100%
        );

    opacity: 0 !important;

    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;

    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 1 !important;

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 90px;

    align-items: center;
}

.hero-label,
.section-label,
.cta-label {
    display: inline-block;

    margin-bottom: 18px;

    color:
        var(--primary-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.2px;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 28px;

    font-size:
        clamp(52px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -3px;
}

.hero h1 span {
    color:
        var(--primary);
}

.hero-description {
    max-width: 660px;

    margin-bottom: 35px;

    color:
        var(--text);

    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 38px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding:
        0 24px;

    border-radius:
        100px;

    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform:
        translateY(-2px);
}

.button-primary {
    background:
        var(--primary);

    color:
        var(--white);

    box-shadow:
        0 12px 30px rgba(21, 174, 176, 0.24);
}

.button-primary:hover {
    box-shadow:
        0 16px 34px rgba(21, 174, 176, 0.30);
}

.button-secondary {
    background:
        var(--white);

    border:
        1px solid var(--border);
}

.hero-actions .button {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-actions .button-primary,
.hero-actions .button-secondary {
    background-color:
        #ffffff;

    color:
        var(--dark);

    border:
        1px solid var(--border);

    box-shadow:
        none;
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
    background-color:
        var(--primary-dark);

    border-color:
        var(--primary-dark);

    color:
        #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 26px rgba(21, 174, 176, 0.14);
}

.hero-actions .button:focus-visible {
    outline:
        3px solid rgba(21, 174, 176, 0.52);

    outline-offset:
        3px;
}


/* ========================================
   HERO FEATURES
======================================== */

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;
}

.hero-feature {
    display: flex;
    align-items: center;

    gap: 7px;

    color:
        var(--text);

    font-size: 13px;
    font-weight: 600;
}

.check {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size: 11px;
    font-weight: 900;
}


/* ========================================
   HERO CARD
======================================== */

.hero-card {
    padding:
        38px;

    border:
        1px solid rgba(224, 234, 236, 0.9);

    border-radius:
        var(--radius-large);

    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        var(--shadow);
}

.hero-card-label {
    display: block;

    margin-bottom: 16px;

    color:
        var(--primary-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.hero-card h2 {
    margin-bottom: 15px;

    font-size: 35px;
    line-height: 1.08;

    letter-spacing: -1.4px;
}

.hero-card-top p {
    color:
        var(--text);
}

.mini-services {
    margin:
        32px 0;

    display: grid;

    gap: 8px;
}

.mini-service {
    display: flex;
    align-items: center;

    gap: 16px;

    padding:
        17px 0;

    border-bottom:
        1px solid var(--border);
}

.mini-icon {
    flex:
        0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size: 12px;
    font-weight: 900;
}

.mini-service div:last-child {
    display: flex;
    flex-direction: column;
}

.mini-service strong {
    font-size: 15px;
}

.mini-service span {
    color:
        var(--text);

    font-size: 13px;
}

.card-link,
.text-link {
    color:
        var(--primary-dark);

    font-weight: 800;
}


/* ========================================
   HERO BACKGROUND DECORATION
======================================== */

.hero-glow {
    display: none;
}

.hero-glow-one {
    width: 380px;
    height: 380px;

    right: -150px;
    top: 20px;

    background:
        #d3f4f4;
}

.hero-glow-two {
    width: 260px;
    height: 260px;

    left: -150px;
    bottom: -90px;

    background:
        #e7f6fa;
}


/* ========================================
   INTRO
======================================== */

.intro {
    position: relative;

    overflow: hidden;

    margin-top:
        -1px;

    padding:
        105px 0;

    background-color:
        #ffffff;

    background-image:
        url("../assets/images/proteccion-inteligente-fondo-v2.webp");

    background-repeat:
        no-repeat;

    background-size:
        100% 100%;

    background-position:
        center;
}

.intro::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    z-index: 1;

    height: 110px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(235, 248, 249, 0.1) 25%,
            rgba(237, 249, 250, 0.32) 58%,
            rgba(238, 250, 251, 0.62) 84%,
            rgba(239, 250, 251, 0.9) 100%
        );

    pointer-events: none;
}

.intro-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: start;
}

.intro h2 {
    max-width: 580px;

    font-size:
        clamp(36px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -2px;
}

.intro-text {
    display: grid;

    gap: 22px;

    color:
        var(--text);

    font-size: 19px;
}


/* ========================================
   SECTION HEADER
======================================== */

.section-header {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 70px;

    align-items: end;

    margin-bottom:
        55px;
}

.section-header h2,
.about-content h2,
.process-heading h2 {
    font-size:
        clamp(38px, 4vw, 55px);

    line-height: 1.04;

    letter-spacing: -2px;
}

.section-header p {
    color:
        var(--text);

    max-width:
        450px;
}


/* ========================================
   SERVICES
======================================== */

.services {
    position: relative;

    overflow: hidden;

    margin-top:
        -1px;

    padding:
        110px 0;

    background-color:
        var(--background);

    background-image:
        url("../assets/images/soluciones-fondo.webp");

    background-repeat:
        no-repeat;

    background-position:
        center;

    background-size:
        100% 100%;
}

#seguros::before {
    content: "";

    position: absolute;
    top: -1px;
    right: 0;
    left: 0;

    z-index: 1;

    height: 170px;

    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            rgba(255, 255, 255, 0.96) 18%,
            rgba(255, 255, 255, 0.78) 40%,
            rgba(255, 255, 255, 0.45) 65%,
            rgba(255, 255, 255, 0.12) 88%,
            rgba(255, 255, 255, 0) 100%
        );

    pointer-events: none;
}

#seguros > .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 26px;
}

.service-card {
    position: relative;

    min-height:
        520px;

    display: flex;
    flex-direction: column;

    padding:
        36px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    background:
        var(--white);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    border-radius:
        inherit;

    background:
        linear-gradient(
            145deg,
            var(--dark) 0%,
            #173740 100%
        );

    opacity: 0;

    transition:
        opacity 0.25s ease;

    pointer-events: none;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.services-grid .service-card:hover,
.services-grid .service-card:focus-within {
    background-color:
        var(--dark);

    border-color:
        var(--dark);

    color:
        var(--white);

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow);
}

.services-grid .service-card:hover::before,
.services-grid .service-card:focus-within::before {
    opacity: 1;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border:
        1px solid rgba(21, 174, 176, 0.3);

    border-radius:
        50%;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size: 13px;
    font-weight: 900;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.services-grid .service-card:hover .service-number,
.services-grid .service-card:focus-within .service-number {
    border-color:
        rgba(69, 214, 210, 0.35);

    background:
        rgba(69, 214, 210, 0.12);

    color:
        #63dfdc;
}

.service-card h3 {
    margin:
        26px 0 8px;

    font-size:
        32px;

    line-height:
        1.12;

    transition:
        color 0.25s ease;
}

.service-subtitle {
    margin-bottom:
        16px;

    color:
        var(--primary-dark);

    font-size:
        14px;

    font-weight:
        800;

    transition:
        color 0.25s ease;
}

.services-grid .service-card:hover .service-subtitle,
.services-grid .service-card:focus-within .service-subtitle {
    color:
        #63dfdc;
}

.service-card p {
    margin-bottom:
        22px;

    color:
        var(--text);

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.services-grid .service-card:hover p,
.services-grid .service-card:focus-within p {
    color:
        rgba(255, 255, 255, 0.72);
}

.service-benefits {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        10px 18px;

    margin-bottom:
        22px;

    list-style:
        none;
}

.service-benefits li {
    position: relative;

    padding-left:
        17px;

    color:
        var(--dark-soft);

    font-size:
        13px;

    font-weight:
        650;

    transition:
        color 0.25s ease;
}

.service-benefits li::before {
    content: "";

    position: absolute;

    top: 0.68em;
    left: 0;

    width: 6px;
    height: 6px;

    border-radius:
        50%;

    background:
        var(--primary);

    transform:
        translateY(-50%);
}

.services-grid .service-card:hover .service-benefits li,
.services-grid .service-card:focus-within .service-benefits li {
    color:
        rgba(255, 255, 255, 0.82);
}

.service-modalities {
    padding-top:
        14px;

    border-top:
        1px solid var(--border);

    margin-bottom:
        20px;

    color:
        var(--text);

    font-size:
        11px;

    line-height:
        1.65;

    font-weight:
        500;

    letter-spacing:
        0.1px;
}

.services-grid .service-card:hover .service-modalities,
.services-grid .service-card:focus-within .service-modalities {
    border-color:
        rgba(255, 255, 255, 0.12);

    color:
        rgba(255, 255, 255, 0.48);
}

.service-card a {
    margin-top:
        auto;

    align-self:
        flex-start;

    display:
        inline-flex;

    align-items:
        center;

    min-height:
        40px;

    padding:
        0 17px;

    border:
        1px solid rgba(8, 123, 130, 0.2);

    border-radius:
        100px;

    background:
        var(--primary-light);

    font-size:
        13px;

    font-weight: 800;

    color:
        var(--primary-dark);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.service-card a:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(8, 123, 130, 0.4);
}

.services-grid .service-card:hover a,
.services-grid .service-card:focus-within a {
    border-color:
        rgba(99, 223, 220, 0.24);

    background:
        rgba(99, 223, 220, 0.1);

    color:
        #63dfdc;
}

.services-grid .service-card:hover a:hover,
.services-grid .service-card:hover a:focus-visible,
.services-grid .service-card:focus-within a:hover,
.services-grid .service-card:focus-within a:focus-visible {
    border-color:
        var(--primary-dark);

    background-color:
        var(--primary-dark);

    color:
        var(--white);
}

.service-card a:focus-visible {
    outline:
        3px solid rgba(99, 223, 220, 0.52);

    outline-offset:
        3px;
}


/* ========================================
   ABOUT
======================================== */

.about {
    padding:
        120px 0;

    background-image:
        url("../assets/images/soluciones-antes-productos-fondo.webp");

    background-repeat:
        no-repeat;

    background-position:
        center;

    background-size:
        100% 100%;
}

.about-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 90px;

    align-items: center;
}

.about-panel {
    position: relative;

    width: 100%;
    max-width: 520px;
    height: auto;

    aspect-ratio: 1 / 1;

    justify-self: center;

    overflow: hidden;

    border-radius:
        var(--radius-large);
}

.about-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.about-content {
    max-width:
        580px;
}

.about-content h2 {
    margin-bottom:
        26px;
}

.about-content p {
    margin-bottom:
        20px;

    color:
        var(--text);

    font-size: 18px;
}

.text-link {
    display: inline-block;

    margin-top:
        16px;
}


/* ========================================
   PROCESS
======================================== */

.process {
    padding:
        110px 0;

    background-color:
        var(--background);

    background-image:
        url("../assets/images/proceso-home-fondo.webp");

    background-repeat:
        no-repeat;

    background-position:
        center;

    background-size:
        100% 100%;
}

.process-heading {
    max-width:
        700px;

    margin-bottom:
        60px;
}

.process-heading .section-label,
.process-heading h2 {
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        45px;
}

.process-item {
    position: relative;

    padding-top:
        25px;

    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.process-item::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background-color:
        var(--dark);

    transform:
        scaleX(1);

    transform-origin:
        left;

    transition:
        transform 0.55s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.process-number {
    margin-bottom:
        24px;

    color:
        var(--primary);

    font-size:
        13px;

    font-weight:
        900;

    transition:
        color 0.25s ease;
}

.process-icon {
    width: 40px;
    height: 40px;

    display: block;

    margin-bottom:
        24px;

    fill: none;
    stroke: var(--primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        stroke 0.25s ease,
        filter 0.25s ease;
}

.process-item h3 {
    margin-bottom:
        15px;

    font-size:
        22px;

    transition:
        color 0.25s ease;
}

.process-item p {
    color:
        var(--text);
}

.process.process-animate .process-heading .section-label,
.process.process-animate .process-heading h2,
.process.process-animate .process-item {
    opacity: 0;

    transform:
        translateY(14px);
}

.process.process-animate .process-item::before {
    transform:
        scaleX(0);
}

.process.process-animate.process-visible .process-heading .section-label,
.process.process-animate.process-visible .process-heading h2,
.process.process-animate.process-visible .process-item {
    opacity: 1;

    transform:
        translateY(0);
}

.process.process-animate.process-visible .process-heading h2 {
    transition-delay:
        0.12s;
}

.process.process-animate.process-visible .process-item:nth-child(1),
.process.process-animate.process-visible .process-item:nth-child(1)::before {
    transition-delay:
        0.45s;
}

.process.process-animate.process-visible .process-item:nth-child(2),
.process.process-animate.process-visible .process-item:nth-child(2)::before {
    transition-delay:
        0.75s;
}

.process.process-animate.process-visible .process-item:nth-child(3),
.process.process-animate.process-visible .process-item:nth-child(3)::before {
    transition-delay:
        1.05s;
}

.process:not(.process-animate) .process-item:hover {
    transform:
        translateY(-4px);
}

.process:not(.process-animate) .process-item:hover::before {
    background-color:
        var(--primary);

    box-shadow:
        0 2px 8px rgba(21, 174, 176, 0.2);
}

.process:not(.process-animate) .process-item:hover .process-icon {
    stroke:
        #08bfc2;

    filter:
        drop-shadow(0 4px 7px rgba(21, 174, 176, 0.2));
}

.process:not(.process-animate) .process-item:hover .process-number {
    color:
        #08bfc2;
}

.process:not(.process-animate) .process-item:hover h3 {
    color:
        var(--primary-dark);
}


/* ========================================
   CTA
======================================== */

.cta {
    padding:
        120px 0;
}

.cta-box {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 70px;

    align-items: center;

    padding:
        65px;

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            135deg,
            #07545c,
            #0b7f87
        );

    color:
        var(--white);
}

.home-cta .cta-box {
    position: relative;

    overflow: hidden;

    grid-template-columns:
        1.35fr 0.65fr;

    gap: 50px;

    background:
        linear-gradient(
            120deg,
            #07545c 0%,
            var(--primary-dark) 56%,
            #0b7f87 100%
        );

    box-shadow:
        0 22px 50px rgba(7, 84, 92, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-cta .cta-box::before,
.home-cta .cta-box::after {
    content: "";

    position: absolute;

    z-index: 0;

    border-radius:
        50%;

    pointer-events: none;
}

.home-cta .cta-box::before {
    top: -145px;
    right: -75px;

    width: 290px;
    height: 290px;

    border:
        1px solid rgba(99, 223, 220, 0.22);

    box-shadow:
        inset 0 0 48px rgba(99, 223, 220, 0.05),
        0 0 40px rgba(99, 223, 220, 0.06);

    animation:
        cta-halo-drift 11s ease-in-out infinite alternate;
}

.home-cta .cta-box::after {
    right: 105px;
    bottom: -110px;

    width: 190px;
    height: 190px;

    border:
        1px solid rgba(99, 223, 220, 0.16);

    background-color:
        rgba(99, 223, 220, 0.045);

    filter:
        blur(1px);

    animation:
        cta-halo-drift 9s ease-in-out infinite alternate-reverse;
}

.home-cta .cta-box > * {
    position: relative;
    z-index: 1;
}

@keyframes cta-halo-drift {
    from {
        transform:
            translate3d(0, 0, 0) scale(1);
    }

    to {
        transform:
            translate3d(-12px, 10px, 0) scale(1.04);
    }
}

@media (hover: hover) and (pointer: fine) {

    .home-cta .cta-box:hover {
        transform:
            translateY(-2px);

        box-shadow:
            0 27px 58px rgba(7, 84, 92, 0.18);
    }
}

.cta-label {
    color:
        rgba(255, 255, 255, 0.7);
}

.cta h2 {
    max-width:
        650px;

    margin-bottom:
        20px;

    font-size:
        clamp(40px, 4vw, 58px);

    line-height:
        1.02;

    letter-spacing:
        -2px;
}

.cta p {
    max-width:
        620px;

    color:
        rgba(255, 255, 255, 0.73);

    font-size:
        17px;
}

.cta-action {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 16px;
}

.home-cta .cta-action {
    align-items: center;
    justify-content: center;
}

.button-light {
    background:
        var(--white);

    color:
        var(--dark);
}

.home-cta .button-light {
    border:
        1px solid rgba(255, 255, 255, 0.85);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-cta .button-light:hover,
.home-cta .button-light:focus-visible {
    background-color:
        var(--primary-dark);

    border-color:
        var(--primary-dark);

    color:
        var(--white);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px rgba(21, 174, 176, 0.2);
}

.home-cta .button-light:focus-visible {
    outline:
        3px solid rgba(99, 223, 220, 0.52);

    outline-offset:
        3px;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding:
        70px 0 30px;

    background:
        #0d2027;

    color:
        var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 70px;

    padding-bottom:
        60px;
}

.footer-brand img {
    width:
        180px;

    margin-bottom:
        22px;

    filter:
        brightness(0)
        invert(1);
}

.footer-brand .footer-logo {
    width: 100%;
    max-width: 180px;
    height: auto;

    display: block;

    margin-bottom:
        14px;

    object-fit:
        contain;

    filter:
        none;
}

.footer-brand p {
    max-width:
        360px;

    color:
        rgba(255, 255, 255, 0.55);
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items:
        flex-start;

    gap:
        13px;
}

.footer-column strong {
    margin-bottom:
        5px;
}

.footer-column a {
    color:
        rgba(255, 255, 255, 0.57);

    font-size:
        14px;
}

.footer-column a:hover {
    color:
        var(--white);
}

.footer-bottom {
    display: flex;

    justify-content:
        space-between;

    padding-top:
        25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    color:
        rgba(255, 255, 255, 0.42);

    font-size:
        12px;
}


/* ========================================
   PRODUCT PAGE — ARRENDAMIENTO
======================================== */

.product-hero {
    position:
        relative;

    overflow: hidden;

    min-height:
        720px;

    display:
        flex;

    align-items:
        center;

    padding:
        80px 0;

    background:
        #f8fcfc;
}

.product-hero::before,
.product-hero::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;
}

.product-hero::before {
    z-index:
        0;

    background-image:
        url("../assets/images/seguro-arrendamiento-fondo.webp");

    background-size:
        cover;

    background-repeat:
        no-repeat;

    background-position:
        center right;
}

.product-hero::after {
    z-index:
        1;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.3) 38%,
            rgba(255, 255, 255, 0) 58%
        );
}

.product-hero-grid {
    position:
        relative;

    z-index:
        2;
}

.product-hero-content {
    width:
        47%;

    max-width:
        610px;
}

.product-hero-content h1 {
    max-width:
        760px;

    margin-bottom:
        28px;

    font-size:
        clamp(50px, 5.7vw, 78px);

    line-height:
        0.99;

    letter-spacing:
        -3px;
}

.product-hero-content h1 span {
    color:
        var(--primary);
}

.product-hero-content > p {
    max-width:
        680px;

    margin-bottom:
        34px;

    color:
        var(--text);

    font-size:
        19px;
}

.product-type {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        9px;

    color:
        var(--primary-dark);

    font-size:
        13px;

    font-weight:
        800;
}

.product-type::before {
    content: "";

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        var(--primary);
}

.product-value,
.product-coverage,
.product-process,
.product-audience,
.product-faq {
    padding:
        110px 0;
}

.product-value {
    position:
        relative;

    overflow:
        hidden;

    background:
        var(--white);
}

.product-value::before,
.product-value::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;
}

.product-value::before {
    z-index:
        0;

    background-image:
        url("../assets/images/arrendamiento-seccion-fondo.png");

    background-size:
        cover;

    background-repeat:
        no-repeat;

    background-position:
        center;

    opacity:
        0.7;
}

.product-value::after {
    z-index:
        1;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.48) 0%,
            rgba(255, 255, 255, 0.18) 18%,
            rgba(255, 255, 255, 0.18) 100%
        );
}

.product-value-grid,
.product-audience-grid,
.faq-grid {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        80px;

    align-items:
        start;
}

.product-value-grid {
    position:
        relative;

    z-index:
        2;
}

.product-value h2,
.product-section-heading h2,
.audience-content h2 {
    font-size:
        clamp(38px, 4vw, 55px);

    line-height:
        1.05;

    letter-spacing:
        -2px;
}

.product-value-copy {
    color:
        var(--text);

    font-size:
        18px;
}

.product-value-copy > p {
    margin-bottom:
        30px;
}

.risk-list,
.audience-list {
    display:
        grid;

    gap:
        12px;

    list-style:
        none;
}

.risk-list li,
.audience-list li {
    position:
        relative;

    padding-left:
        24px;
}

.risk-list li::before,
.audience-list li::before {
    content: "";

    position:
        absolute;

    top:
        0.72em;

    left:
        0;

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        var(--primary);

    transform:
        translateY(-50%);
}

.product-coverage,
.product-faq {
    background:
        var(--background);
}

.product-coverage {
    position:
        relative;

    overflow:
        hidden;

    background:
        var(--white);
}

.product-coverage::before,
.product-coverage::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;
}

.product-coverage::before {
    z-index:
        0;

    background-image:
        url("../assets/images/coberturas-arrendamiento-fondo.png");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    opacity:
        0.72;
}

.product-coverage::after {
    z-index:
        1;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.48) 0%,
            rgba(255, 255, 255, 0.2) 14%,
            rgba(255, 255, 255, 0.2) 86%,
            rgba(255, 255, 255, 0.48) 100%
        );
}

.product-coverage > .container {
    position:
        relative;

    z-index:
        2;
}

.product-section-heading {
    max-width:
        760px;

    margin-bottom:
        58px;
}

.product-section-heading > p {
    max-width:
        620px;

    margin-top:
        20px;

    color:
        var(--text);

    font-size:
        18px;
}

.coverage-grid {
    display:
        grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap:
        20px;
}

.coverage-card {
    grid-column:
        span 2;

    min-height:
        310px;

    padding:
        36px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    background:
        var(--white);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.coverage-card-wide {
    grid-column:
        span 3;
}

.coverage-card:nth-child(4) {
    grid-column:
        span 3;
}

.coverage-card > span,
.product-steps article > span {
    display:
        block;

    margin-bottom:
        70px;

    color:
        var(--primary);

    font-size:
        12px;

    font-weight:
        900;
}

.coverage-card h3 {
    margin-bottom:
        12px;

    font-size:
        23px;

    line-height:
        1.15;

    transition:
        color 0.25s ease;
}

.coverage-card p {
    color:
        var(--text);

    font-size:
        16px;

    transition:
        color 0.25s ease;
}

.coverage-card > span {
    transition:
        color 0.25s ease;
}

.coverage-card:hover,
.coverage-card:focus-within {
    background-color:
        var(--dark);

    color:
        var(--white);

    border-color:
        var(--dark);

    box-shadow:
        0 16px 34px rgba(18, 37, 45, 0.14);

    transform:
        translateY(-4px);
}

.coverage-card:hover > span,
.coverage-card:focus-within > span {
    color:
        #63dfdc;
}

.coverage-card:hover h3,
.coverage-card:focus-within h3 {
    color:
        var(--white);
}

.coverage-card:hover p,
.coverage-card:focus-within p {
    color:
        rgba(255, 255, 255, 0.72);
}

.product-steps {
    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        42px;
}

.product-process {
    position:
        relative;

    overflow:
        hidden;

    background:
        var(--white);
}

.product-process::before,
.product-process::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;
}

.product-process::before {
    z-index:
        0;

    background-image:
        url("../assets/images/proceso-arrendamiento-fondo.png");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    opacity:
        0.7;
}

.product-process::after {
    z-index:
        1;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.46) 0%,
            rgba(255, 255, 255, 0.16) 16%,
            rgba(255, 255, 255, 0.16) 84%,
            rgba(255, 255, 255, 0.46) 100%
        );
}

.product-process > .container {
    position:
        relative;

    z-index:
        2;
}

.product-steps article {
    padding-top:
        28px;

    border-top:
        2px solid var(--dark);
}

.product-steps article > span {
    margin-bottom:
        24px;

    font-size:
        15px;

    letter-spacing:
        0.8px;
}

.step-icon {
    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        28px;

    border:
        1px solid rgba(21, 174, 176, 0.18);

    border-radius:
        16px;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);
}

.step-icon svg {
    width:
        36px;

    height:
        36px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}

.product-steps h3 {
    margin-bottom:
        16px;

    font-size:
        21px;
}

.product-steps p {
    color:
        var(--text);

    font-size:
        16px;

    line-height:
        1.7;
}

.product-audience {
    background:
        var(--white);
}

.product-audience-grid {
    align-items:
        center;
}

.audience-panel {
    position:
        relative;

    overflow:
        hidden;

    min-height:
        460px;

    border-radius:
        var(--radius-large);
}

.audience-panel img {
    position:
        absolute;

    inset:
        0;

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;
}

.audience-content h2 {
    margin-bottom:
        28px;
}

.audience-list {
    color:
        var(--text);

    font-size:
        17px;
}

.audience-note {
    margin-top:
        30px;

    padding-top:
        20px;

    border-top:
        1px solid var(--border);

    color:
        var(--text);

    font-size:
        13px;
}

.faq-grid {
    gap:
        90px;
}

.faq-grid .product-section-heading {
    margin-bottom:
        0;
}

.faq-list {
    display:
        grid;

    gap:
        10px;
}

.faq-list details {
    overflow:
        hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-small);

    background:
        rgba(255, 255, 255, 0.78);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-list details[open] {
    border-color:
        rgba(21, 174, 176, 0.3);

    background:
        var(--white);

    box-shadow:
        0 12px 30px rgba(25, 64, 73, 0.07);
}

.faq-list summary {
    position:
        relative;

    padding:
        25px 64px 25px 24px;

    cursor:
        pointer;

    font-size:
        18px;

    font-weight:
        800;

    list-style:
        none;
}

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

.faq-list summary::after {
    content: "+";

    position:
        absolute;

    top:
        50%;

    right:
        20px;

    width:
        30px;

    height:
        30px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size:
        22px;

    font-weight:
        400;

    transform:
        translateY(-50%);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.faq-list details[open] summary::after {
    content: "−";

    background:
        #dff5f5;
}

.faq-list details p {
    padding:
        0 64px 27px 24px;

    color:
        var(--text);

    font-size:
        16px;

    animation:
        faq-reveal 0.22s ease;
}

@keyframes faq-reveal {
    from {
        opacity:
            0;

        transform:
            translateY(-5px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}

.product-final-cta {
    background:
        var(--white);
}

.product-final-cta .button-light {
    min-height:
        60px;

    padding:
        0 32px;

    font-size:
        16px;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.14);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    #seguros::before {
        height:
            120px;
    }

    .hero::after {
        height:
            100px;
    }

    .intro::after {
        height:
            90px;
    }

    .intro {
        background-size:
            100% 100%;

        background-position:
            center;
    }

    .product-process::before {
        background-position:
            48% center;

        opacity:
            0.62;
    }

    .product-process::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.52) 0%,
                rgba(255, 255, 255, 0.24) 16%,
                rgba(255, 255, 255, 0.24) 84%,
                rgba(255, 255, 255, 0.52) 100%
            );
    }

    .product-coverage::before {
        background-position:
            52% center;

        opacity:
            0.64;
    }

    .product-coverage::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.54) 0%,
                rgba(255, 255, 255, 0.28) 15%,
                rgba(255, 255, 255, 0.28) 85%,
                rgba(255, 255, 255, 0.54) 100%
            );
    }

    .product-value::before {
        background-position:
            55% center;

        opacity:
            0.6;
    }

    .product-value::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.52) 0%,
                rgba(255, 255, 255, 0.26) 20%,
                rgba(255, 255, 255, 0.26) 100%
            );
    }

    .product-value-grid,
    .product-audience-grid,
    .faq-grid {
        grid-template-columns:
            1fr;
    }

    .product-hero {
        min-height:
            700px;
    }

    .product-hero::before {
        background-position:
            60% center;
    }

    .product-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.68) 48%,
                rgba(255, 255, 255, 0.08) 78%
            );
    }

    .product-hero-content {
        width:
            58%;
    }

    .product-value-grid,
    .product-audience-grid,
    .faq-grid {
        gap:
            50px;
    }

    .coverage-grid,
    .product-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .coverage-card,
    .coverage-card:nth-child(4),
    .coverage-card-wide {
        grid-column:
            auto;
    }

    .hero-video {
        object-position:
            66% center;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 105px;
        left: 0;
        right: 0;

        flex-direction: column;

        align-items: flex-start;

        padding:
            25px 5%;

        background:
            var(--header-dark);

        border-bottom:
            1px solid rgba(255, 255, 255, 0.1);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;

        color:
            rgba(255, 255, 255, 0.9);

        padding:
            6px 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .hero-grid,
    .intro-grid,
    .section-header,
    .about-grid,
    .cta-box {
        grid-template-columns:
            1fr;
    }

    .home-cta .cta-box {
        grid-template-columns:
            1fr;
    }

    .hero-grid {
        gap:
            55px;
    }

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

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

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    #seguros::before {
        height:
            80px;
    }

    .footer-brand .footer-logo {
        max-width:
            170px;
    }

    .process {
        background-position:
            center;

        background-size:
            cover;
    }

    .about {
        background-position:
            center;

        background-size:
            cover;
    }

    .about-panel {
        max-width:
            none;
    }

    .services {
        background-position:
            center;

        background-size:
            cover;
    }

    .hero::after {
        height:
            70px;
    }

    .intro::after {
        height:
            65px;
    }

    .intro {
        background-size:
            100% 100%;

        background-position:
            center;
    }

    .product-process::before {
        background-position:
            56% center;

        opacity:
            0.5;
    }

    .product-process::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.66) 0%,
                rgba(255, 255, 255, 0.42) 13%,
                rgba(255, 255, 255, 0.42) 87%,
                rgba(255, 255, 255, 0.66) 100%
            );
    }

    .product-coverage::before {
        background-position:
            58% center;

        opacity:
            0.54;
    }

    .product-coverage::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.64) 0%,
                rgba(255, 255, 255, 0.4) 12%,
                rgba(255, 255, 255, 0.4) 88%,
                rgba(255, 255, 255, 0.64) 100%
            );
    }

    .product-value::before {
        background-position:
            62% center;

        opacity:
            0.5;
    }

    .product-value::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.62) 0%,
                rgba(255, 255, 255, 0.42) 22%,
                rgba(255, 255, 255, 0.42) 100%
            );
    }

    .product-hero {
        min-height:
            800px;

        align-items:
            flex-start;

        padding:
            72px 0 90px;
    }

    .product-hero::before {
        background-size:
            auto 48%;

        background-position:
            right bottom;
    }

    .product-hero::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.94) 48%,
                rgba(255, 255, 255, 0.48) 72%,
                rgba(255, 255, 255, 0.06) 100%
            );
    }

    .product-hero-content {
        width:
            100%;

        max-width:
            560px;
    }

    .product-hero-content h1 {
        font-size:
            47px;

        letter-spacing:
            -2px;
    }

    .product-hero-content > p {
        font-size:
            17px;
    }

    .product-value,
    .product-coverage,
    .product-process,
    .product-audience,
    .product-faq {
        padding:
            80px 0;
    }

    .coverage-grid,
    .product-steps {
        grid-template-columns:
            1fr;
    }

    .step-icon {
        width:
            54px;

        height:
            54px;
    }

    .step-icon svg {
        width:
            33px;

        height:
            33px;
    }

    .coverage-card-wide {
        grid-column:
            auto;
    }

    .coverage-card {
        min-height:
            auto;
    }

    .coverage-card > span {
        margin-bottom:
            50px;
    }

    .audience-panel {
        min-height:
            300px;
    }

    .faq-list summary {
        padding-right:
            60px;
    }

    .faq-list details p {
        padding:
            0 20px 24px;
    }

    .hero-video {
        object-position:
            61% center;
    }

    .container {
        width:
            min(92%, 1280px);
    }

    .nav-container {
        min-height:
            88px;

        gap:
            16px;
    }

    .brand {
        gap:
            10px;
    }

    .brand-symbol {
        width:
            60px;
    }

    .brand-name {
        font-size:
            18px;
    }

    .brand-subtitle {
        margin-top:
            5px;

        font-size:
            7px;

        letter-spacing:
            3px;
    }

    .nav-menu {
        top:
            88px;
    }

    .hero {
        padding:
            75px 0 85px;
    }

    .hero h1 {
        font-size:
            48px;

        letter-spacing:
            -2px;
    }

    .hero-description {
        font-size:
            17px;
    }

    .hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .button {
        width:
            100%;
    }

    .hero-features {
        flex-direction:
            column;
    }

    .hero-card {
        padding:
            27px;
    }

    .hero-card h2 {
        font-size:
            29px;
    }

    .intro,
    .services,
    .about,
    .process,
    .cta {
        padding:
            80px 0;
    }

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

    .service-card {
        min-height:
            auto;

        padding:
            30px;
    }

    .service-benefits {
        grid-template-columns:
            1fr;
    }

    .service-card a {
        align-self:
            stretch;

        justify-content:
            center;

        min-height:
            44px;

        padding:
            9px 14px;

        text-align:
            center;

        line-height:
            1.35;
    }

    .section-header {
        gap:
            25px;
    }

    .about-grid {
        gap:
            45px;
    }

    .cta-box {
        padding:
            38px 25px;

        gap:
            35px;
    }

    .home-cta .cta-box {
        gap:
            35px;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap:
            40px;
    }

    .footer-bottom {
        flex-direction:
            column;

        gap:
            8px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .home-cta .cta-box::before,
    .home-cta .cta-box::after {
        animation:
            none;
    }

    .home-cta .cta-box,
    .home-cta .button-light {
        transition:
            none;
    }

    .home-cta .cta-box:hover,
    .home-cta .button-light:hover,
    .home-cta .button-light:focus-visible {
        transform:
            none;
    }

    .process.process-animate .process-heading .section-label,
    .process.process-animate .process-heading h2,
    .process.process-animate .process-item {
        opacity: 1;

        transform:
            none;

        transition:
            none;
    }

    .process.process-animate .process-item::before {
        transform:
            scaleX(1);

        transition:
            none;
    }

    .process-icon,
    .process-number,
    .process-item h3 {
        transition:
            none;
    }

    .coverage-card,
    .coverage-card h3,
    .coverage-card p,
    .coverage-card > span {
        transition:
            none;
    }

    .coverage-card:hover,
    .coverage-card:focus-within {
        transform:
            none;
    }
}


/* ========================================
   PRODUCT PAGE — SEGURO DE CRÉDITO
======================================== */

.credit-page {
    background-color:
        var(--white);
}

.credit-hero {
    position: relative;

    overflow: hidden;

    min-height: 720px;

    display: flex;
    align-items: center;

    padding:
        105px 0;

    background:
        linear-gradient(
            125deg,
            #082b34 0%,
            #0a4d56 55%,
            #087b82 100%
        );
}

.credit-hero::before,
.credit-hero::after {
    content: "";

    position: absolute;

    border-radius:
        50%;

    pointer-events: none;
}

.credit-hero::before {
    top: -310px;
    right: -170px;

    width: 650px;
    height: 650px;

    border:
        1px solid rgba(99, 223, 220, 0.17);

    box-shadow:
        inset 0 0 90px rgba(99, 223, 220, 0.04);
}

.credit-hero::after {
    right: 24%;
    bottom: -310px;

    width: 520px;
    height: 520px;

    background:
        radial-gradient(
            circle,
            rgba(21, 174, 176, 0.13) 0%,
            rgba(21, 174, 176, 0) 70%
        );
}

.credit-hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        1.08fr 0.92fr;

    gap: 80px;

    align-items: center;
}

.credit-hero-content {
    max-width: 750px;
}

.credit-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color:
        #63dfdc;

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 2.4px;
}

.credit-hero h1 {
    margin-bottom: 28px;

    color:
        var(--white);

    font-size:
        clamp(48px, 5.3vw, 76px);

    line-height: 0.99;

    letter-spacing: -3px;
}

.credit-hero h1 span {
    color:
        #63dfdc;
}

.credit-hero-content > p {
    max-width: 680px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 18px;
}

.credit-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin:
        36px 0 28px;
}

.credit-button-primary {
    border:
        1px solid var(--primary-dark);

    background-color:
        var(--primary-dark);

    color:
        var(--white);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.16);
}

.credit-button-secondary {
    border:
        1px solid rgba(255, 255, 255, 0.28);

    background-color:
        rgba(255, 255, 255, 0.07);

    color:
        var(--white);
}

.credit-button-primary:hover,
.credit-button-primary:focus-visible,
.credit-button-secondary:hover,
.credit-button-secondary:focus-visible {
    transform:
        translateY(-2px);

    border-color:
        #63dfdc;

    background-color:
        var(--primary-dark);

    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.2);
}

.credit-button-primary:focus-visible,
.credit-button-secondary:focus-visible {
    outline:
        3px solid rgba(99, 223, 220, 0.5);

    outline-offset: 3px;
}

.credit-hero-note {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;
    font-weight: 700;
}

.credit-hero-note::before {
    content: "";

    width: 28px;
    height: 1px;

    background-color:
        #63dfdc;
}

.credit-hero-visual {
    min-width: 0;
}

.credit-dashboard {
    padding: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius:
        var(--radius-large);

    background:
        rgba(7, 38, 46, 0.58);

    box-shadow:
        0 34px 75px rgba(0, 0, 0, 0.22);

    backdrop-filter:
        blur(10px);
}

.credit-dashboard-head {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.credit-status {
    padding:
        7px 10px;

    border:
        1px solid rgba(99, 223, 220, 0.24);

    border-radius: 100px;

    color:
        #63dfdc;

    letter-spacing: 1.2px;
}

.credit-chart {
    margin:
        35px 0 28px;
}

.credit-chart svg {
    width: 100%;
    height: auto;

    display: block;

    overflow: visible;
}

.credit-chart .chart-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 1;
}

.credit-chart .chart-area {
    fill: rgba(21, 174, 176, 0.11);
    stroke: none;
}

.credit-chart .chart-line {
    fill: none;
    stroke: #63dfdc;
    stroke-width: 3;
    stroke-linecap: round;
}

.credit-chart circle {
    fill: #63dfdc;
    stroke: #0a4d56;
    stroke-width: 4;
}

.credit-dashboard-items {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.credit-dashboard-items div {
    padding:
        15px 12px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius:
        var(--radius-small);

    background:
        rgba(255, 255, 255, 0.035);
}

.credit-dashboard-items span,
.credit-dashboard-items strong {
    display: block;
}

.credit-dashboard-items span {
    margin-bottom: 5px;

    color:
        #63dfdc;

    font-size: 10px;
    font-weight: 850;
}

.credit-dashboard-items strong {
    color:
        var(--white);

    font-size: 13px;
}

.credit-risk,
.credit-benefits,
.credit-process,
.credit-solutions,
.credit-audience,
.credit-faq {
    padding:
        110px 0;
}

.credit-risk {
    background-color:
        var(--white);
}

.credit-risk-grid {
    display: grid;

    grid-template-columns:
        1.08fr 0.92fr;

    gap: 95px;

    align-items: center;
}

.credit-section-copy h2,
.credit-section-heading h2,
.credit-audience-content h2 {
    font-size:
        clamp(38px, 4vw, 56px);

    line-height: 1.04;

    letter-spacing: -2px;
}

.credit-section-copy h2 {
    margin-bottom: 26px;
}

.credit-section-copy > p {
    max-width: 700px;

    color:
        var(--text);

    font-size: 18px;
}

.credit-risk-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.credit-risk-list article {
    min-height: 150px;

    padding: 24px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    background-color:
        #f9fcfc;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.credit-risk-list article:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(21, 174, 176, 0.4);

    box-shadow:
        0 18px 35px rgba(25, 64, 73, 0.08);
}

.credit-risk-list span {
    display: block;

    margin-bottom: 24px;

    color:
        var(--primary);

    font-size: 11px;
    font-weight: 900;
}

.credit-risk-list h3 {
    font-size: 17px;
    line-height: 1.25;
}

.credit-benefits {
    background-color:
        #f4f9fa;
}

.credit-section-heading {
    max-width: 840px;

    margin-bottom: 58px;
}

.credit-benefit-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 18px;
}

.credit-benefit-card {
    grid-column:
        span 2;

    min-height: 290px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    background-color:
        var(--white);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.credit-benefit-card:nth-child(4) {
    grid-column:
        2 / span 2;
}

.credit-benefit-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(21, 174, 176, 0.35);

    box-shadow:
        0 20px 42px rgba(25, 64, 73, 0.09);
}

.credit-benefit-card > span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 54px;

    border-radius: 50%;

    background-color:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size: 11px;
    font-weight: 900;
}

.credit-benefit-card h3,
.credit-solution-grid h3 {
    margin-bottom: 12px;

    font-size: 22px;
    line-height: 1.15;
}

.credit-benefit-card p,
.credit-solution-grid p {
    color:
        var(--text);
}

.credit-process {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            130deg,
            #092f38 0%,
            #0b5059 100%
        );

    color:
        var(--white);
}

.credit-process::after {
    content: "";

    position: absolute;
    right: -180px;
    bottom: -260px;

    width: 540px;
    height: 540px;

    border:
        1px solid rgba(99, 223, 220, 0.14);

    border-radius: 50%;

    pointer-events: none;
}

.credit-process > .container {
    position: relative;
    z-index: 1;
}

.credit-section-heading-light h2 {
    color:
        var(--white);
}

.credit-flow {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 30px;
}

.credit-flow::before {
    content: "";

    position: absolute;
    top: 19px;
    right: 0;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(99, 223, 220, 0.18),
            rgba(99, 223, 220, 0.72),
            rgba(99, 223, 220, 0.18)
        );
}

.credit-flow article {
    position: relative;
    z-index: 1;
}

.credit-flow-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border:
        1px solid rgba(99, 223, 220, 0.5);

    border-radius: 50%;

    background-color:
        #0a414a;

    color:
        #63dfdc;

    font-size: 11px;
    font-weight: 900;
}

.credit-flow-icon {
    width: 52px;
    height: 52px;

    margin:
        42px 0 25px;

    color:
        #63dfdc;
}

.credit-flow-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.credit-flow h3 {
    margin-bottom: 14px;

    font-size: 23px;
}

.credit-flow p {
    color:
        rgba(255, 255, 255, 0.66);
}

.credit-solutions {
    background-color:
        var(--white);
}

.credit-solutions-heading {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.credit-solution-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 18px;
}

.credit-solution-grid article {
    grid-column:
        span 2;

    min-height: 230px;

    padding: 30px;

    border-top:
        3px solid var(--primary);

    border-right:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    border-left:
        1px solid var(--border);

    border-radius:
        0 0 var(--radius-medium) var(--radius-medium);

    background-color:
        #fbfdfd;
}

.credit-solution-grid article:nth-child(4) {
    grid-column:
        2 / span 2;
}

.credit-solution-grid article > span {
    display: block;

    margin-bottom: 42px;

    color:
        var(--primary);

    font-size: 11px;
    font-weight: 900;
}

.credit-audience {
    background-color:
        #f4f9fa;
}

.credit-audience-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 90px;

    align-items: center;
}

.credit-audience-mark {
    position: relative;

    overflow: hidden;

    min-height: 470px;

    display: flex;
    flex-direction: column;

    justify-content: flex-end;

    padding: 42px;

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            145deg,
            #0a343d,
            #087b82
        );
}

.credit-audience-mark::before {
    content: "";

    position: absolute;
    top: -90px;
    right: -90px;

    width: 300px;
    height: 300px;

    border:
        1px solid rgba(99, 223, 220, 0.24);

    border-radius: 50%;
}

.credit-audience-mark span,
.credit-audience-mark strong {
    position: relative;
    z-index: 1;
}

.credit-audience-mark span {
    color:
        rgba(255, 255, 255, 0.62);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.credit-audience-mark strong {
    color:
        var(--white);

    font-size:
        clamp(80px, 11vw, 150px);

    line-height: 0.88;

    letter-spacing: -7px;
}

.credit-audience-mark div {
    position: absolute;
    top: 44px;
    left: 42px;

    width: 74px;
    height: 3px;

    background-color:
        #63dfdc;
}

.credit-audience-content h2 {
    margin-bottom: 32px;
}

.credit-audience-content ul {
    display: grid;

    gap: 0;

    list-style: none;
}

.credit-audience-content li {
    position: relative;

    padding:
        17px 0 17px 28px;

    border-bottom:
        1px solid var(--border);

    color:
        var(--dark-soft);

    font-weight: 650;
}

.credit-audience-content li::before {
    content: "";

    position: absolute;
    top: 1.55em;
    left: 0;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background-color:
        var(--primary);
}

.credit-faq {
    background-color:
        var(--white);
}

.credit-faq-grid {
    display: grid;

    grid-template-columns:
        0.72fr 1.28fr;

    gap: 90px;

    align-items: start;
}

.credit-faq-list details {
    border-bottom:
        1px solid var(--border);
}

.credit-faq-list details:first-child {
    border-top:
        1px solid var(--border);
}

.credit-faq-list summary {
    position: relative;

    padding:
        24px 52px 24px 0;

    cursor: pointer;

    list-style: none;

    color:
        var(--dark);

    font-size: 17px;
    font-weight: 800;
}

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

.credit-faq-list summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 2px;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(21, 174, 176, 0.28);

    border-radius: 50%;

    color:
        var(--primary-dark);

    transform:
        translateY(-50%);
}

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

.credit-faq-list details p {
    max-width: 720px;

    padding:
        0 48px 25px 0;

    color:
        var(--text);
}

.credit-final-cta {
    background-color:
        #f4f9fa;
}

.credit-final-cta .cta-box {
    background:
        linear-gradient(
            120deg,
            #083842,
            #087b82
        );
}

.credit-final-cta .button-light {
    min-height: 58px;

    padding:
        0 30px;
}

.credit-final-cta .button-light:hover,
.credit-final-cta .button-light:focus-visible {
    background-color:
        var(--primary-dark);

    color:
        var(--white);
}


@media (max-width: 1100px) {

    .credit-hero-grid {
        gap: 45px;
    }

    .credit-hero h1 {
        font-size:
            clamp(45px, 5.8vw, 66px);
    }

    .credit-risk-grid,
    .credit-audience-grid,
    .credit-faq-grid {
        gap: 55px;
    }
}


@media (max-width: 950px) {

    .credit-hero {
        min-height: auto;

        padding:
            90px 0;
    }

    .credit-hero-grid,
    .credit-risk-grid,
    .credit-audience-grid,
    .credit-faq-grid {
        grid-template-columns:
            1fr;
    }

    .credit-hero-content {
        max-width: 800px;
    }

    .credit-dashboard {
        max-width: 700px;
    }

    .credit-benefit-grid,
    .credit-solution-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .credit-benefit-card,
    .credit-benefit-card:nth-child(4),
    .credit-solution-grid article,
    .credit-solution-grid article:nth-child(4) {
        grid-column:
            auto;
    }

    .credit-benefit-card:last-child,
    .credit-solution-grid article:last-child {
        grid-column:
            1 / -1;
    }

    .credit-flow {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            55px 35px;
    }

    .credit-flow::before {
        display: none;
    }

    .credit-flow article {
        padding-top: 22px;

        border-top:
            1px solid rgba(99, 223, 220, 0.38);
    }

    .credit-flow-icon {
        margin-top: 32px;
    }

    .credit-audience-mark {
        min-height: 380px;
    }

    .credit-audience-content {
        max-width: 760px;
    }
}


@media (max-width: 650px) {

    .credit-hero {
        padding:
            72px 0;
    }

    .credit-hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .credit-hero-content > p {
        font-size: 16px;
    }

    .credit-hero-actions {
        flex-direction: column;
    }

    .credit-dashboard {
        padding: 22px;

        border-radius:
            var(--radius-medium);
    }

    .credit-dashboard-head {
        align-items: flex-start;
    }

    .credit-chart {
        margin:
            28px 0 22px;
    }

    .credit-dashboard-items {
        grid-template-columns:
            1fr;
    }

    .credit-risk,
    .credit-benefits,
    .credit-process,
    .credit-solutions,
    .credit-audience,
    .credit-faq {
        padding:
            78px 0;
    }

    .credit-section-copy h2,
    .credit-section-heading h2,
    .credit-audience-content h2 {
        font-size: 38px;
    }

    .credit-risk-list,
    .credit-benefit-grid,
    .credit-flow,
    .credit-solution-grid {
        grid-template-columns:
            1fr;
    }

    .credit-benefit-card,
    .credit-benefit-card:last-child,
    .credit-solution-grid article,
    .credit-solution-grid article:last-child {
        grid-column:
            auto;
    }

    .credit-benefit-card {
        min-height: auto;
    }

    .credit-benefit-card > span {
        margin-bottom: 38px;
    }

    .credit-flow {
        gap: 42px;
    }

    .credit-flow article {
        padding-top: 20px;
    }

    .credit-flow-icon {
        margin:
            28px 0 20px;
    }

    .credit-audience-mark {
        min-height: 310px;

        padding: 30px;
    }

    .credit-audience-mark strong {
        font-size: 90px;
    }

    .credit-audience-mark div {
        top: 32px;
        left: 30px;
    }

    .credit-faq-list summary {
        padding-right: 45px;

        font-size: 16px;
    }

    .credit-faq-list details p {
        padding-right: 12px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .credit-risk-list article,
    .credit-benefit-card,
    .credit-button-primary,
    .credit-button-secondary {
        transition:
            none;
    }

    .credit-risk-list article:hover,
    .credit-benefit-card:hover,
    .credit-button-primary:hover,
    .credit-button-primary:focus-visible,
    .credit-button-secondary:hover,
    .credit-button-secondary:focus-visible {
        transform:
            none;
    }
}

/* Decorative homepage intro: independent of the static header. */
html.sanper-intro-active,
html.sanper-intro-active body {
    overflow: hidden;
}

.sanper-intro {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-dark, #0b2c33);
    opacity: 1;
    visibility: visible;
}

.sanper-intro[hidden] {
    display: none;
}

.sanper-intro--leaving {
    opacity: 0;
    transition: opacity 450ms ease;
    pointer-events: none;
}

.sanper-intro-video {
    display: block;
    width: clamp(360px, 30vw, 480px);
    max-width: 100vw;
    height: auto;
    max-height: 62vh;
    object-fit: contain;
}

@media (max-width: 950px) {
    .sanper-intro-video {
        width: clamp(280px, 42vw, 380px);
        max-height: 55vh;
    }
}

@media (max-width: 650px) {
    .sanper-intro-video {
        width: clamp(220px, 65vw, 300px);
        max-height: 48vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sanper-intro {
        display: none;
        transition: none;
    }
}

/* Shared accessibility: sticky-header clearance, keyboard navigation and motion. */
html {
    scroll-padding-top: 106px;
}
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1001;
    padding: 12px 18px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--dark);
    transform: translateY(calc(-100% - 16px));
}
.skip-link:focus {
    transform: none;
    outline: 3px solid var(--primary-dark);
    outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 3px;
}
.header a:focus-visible,
.header button:focus-visible,
.footer a:focus-visible,
.video-toggle:focus-visible {
    outline-color: #63dfdc;
}
.cta a:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}
.faq-list summary:focus-visible,
.credit-faq-list summary:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: -3px;
}
.video-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    min-height: 36px;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 100px;
    background: var(--dark);
    color: var(--white);
    font: inherit;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}
.video-toggle[hidden] {
    display: none;
}
@media (max-width: 650px) {
    html { scroll-padding-top: 89px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    /* Reset decorative motion only; retain transforms used to position UI. */
    .button, .service-card, .service-card a,
    .home-cta .cta-box, .process-item,
    .coverage-card, .product-steps article, .step-icon,
    .credit-risk-list article, .credit-benefit-card,
    .credit-flow article, .credit-flow-icon,
    .credit-solution-grid article, .credit-solution-grid article > span,
    .credit-audience-visual {
        transform: none !important;
    }
    .process-heading .section-label,
    .process-heading h2,
    .process-item,
    .product-steps article > *,
    .credit-solution-grid article {
        opacity: 1 !important;
        transform: none !important;
    }
    .process-item::before,
    .product-steps article::before {
        transform: none !important;
    }
    .hero-video, .about-video { display: none; }
    #inicio.hero {
        background-image: url("../assets/images/hero-sanper-proteccion.webp");
        background-size: cover;
        background-position: center;
    }
    .about-panel {
        background-image: url("../assets/images/soluciones-antes-productos-fondo.webp");
        background-size: cover;
        background-position: center;
    }
}

/* Explicit intro media states; images never participate in document layout. */
.intro-media { opacity: 0; visibility: hidden; }
.intro-media.is-active { opacity: 1; visibility: visible; }
#sanper-intro-ios,
#sanper-intro-ios-fallback {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(220px, 70vw, 300px);
    height: auto;
    max-height: 55vh;
    transform: translate(-50%, -50%);
    object-fit: contain;
    background: transparent;
}
