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

:root {
    --gnp-blue: #2e5391;
    --gnp-blue-dark: #24447a;
    --gnp-orange: #fe7009;
    --gnp-orange-dark: #f25e06;
    --text-color: #474747;
    --heading-color: #3b3b3b;
    --white: #ffffff;
    --shell-width: 1024px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    color: var(--text-color);
    background-color: var(--white);
}

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

iframe {
    display: block;
    width: 100%;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Work Sans", sans-serif;
}

.shell {
    width: 100%;
    max-width: var(--shell-width);
    margin: 0 auto;
}

.container.shell {
    padding-left: 0;
    padding-right: 0;
}

.top-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 28px 20px;
    background-color: var(--gnp-blue);
    transition: padding 0.25s ease;
}

.top-navbar.scrolled {
    padding: 18px 20px;
}

.top-navbar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: var(--shell-width);
    margin: 0 auto;
}

.top-navbar__brand {
    margin-right: auto;
}

.top-navbar__brand img {
    width: 149px;
    height: 47px;
    object-fit: contain;
}

.top-navbar__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-navbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
}

.top-navbar__phone:hover,
.top-navbar__phone:focus {
    color: var(--white);
    text-decoration: none;
}

.top-navbar__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.top-navbar__phone-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.top-navbar.scrolled .top-navbar__inner {
    justify-content: center;
    min-height: 52px;
}

.top-navbar.scrolled .top-navbar__brand,
.top-navbar.scrolled .top-navbar__phone {
    display: none;
}

.scroll-cta-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--gnp-blue);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.top-navbar.scrolled + .scroll-cta-bar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-gnp-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 30px;
    border: 0;
    background-color: var(--gnp-orange);
    color: var(--white) !important;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-gnp-orange:hover,
.btn-gnp-orange:focus {
    background-color: var(--gnp-orange-dark);
}

.btn-gnp-orange:active {
    transform: scale(0.98);
}

.btn-gnp-orange img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1) saturate(0) contrast(1000%);
    flex: 0 0 24px;
}

.hero-section,
.footer-hero-section {
    position: relative;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero-section {
    min-height: 650px;
    padding: 80px 20px;
}

.hero-section--retiro {
    background-image: url("../images/577c15a3-pexels-karolina-grabowska-5900160_11hc0zk00000000000001o.jpg");
}

.hero-section::before,
.footer-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #000000;
}

.hero-section::before {
    opacity: 0.5;
}

.footer-hero-section::before {
    opacity: 0.6;
}

.hero-section > .container,
.footer-hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section h1,
.footer-hero-section h1 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: var(--shell-width);
    line-height: 1.3;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-top: 48px;
}

.hero-feature-item {
    flex: 1 1 250px;
    max-width: 321px;
    text-align: center;
}

.hero-feature-item img,
.projection-card img,
.benefit-item img {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.hero-feature-item p,
.benefit-item p,
.projection-card p:last-child {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 48px;
}

.section {
    padding: 80px 20px;
}

.section--white {
    background: var(--white);
}

.section--blue {
    background: var(--gnp-blue);
    color: var(--white);
}

.section--tight-top {
    padding-top: 0;
}

.section--testimonials {
    padding-top: 100px;
}

.section-title {
    margin: 0 0 50px;
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.section-title--light {
    color: var(--white);
}

.projection-grid,
.benefits-grid,
.video-grid {
    display: grid;
}

.projection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.projection-card,
.benefit-item,
.visit {
    text-align: center;
}

.projection-card__value {
    margin: 0 0 12px;
    color: var(--heading-color);
    font-family: "Open Sans", sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
}

.section--projection .section-title,
.section--projection .projection-card__value,
.section--projection .projection-card p:last-child {
    color: var(--white);
}

.video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-card::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 10%;
    min-width: 24px;
    height: 8px;
    background: #ff7003;
}

.video-card iframe {
    height: 100%;
}

.benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 28px;
}

.asesor-section {
    width: 100%;
    padding: 70px 20px;
    background: #f7f7f7;
}

.asesor-title-box {
    margin-bottom: 60px;
    padding: 22px 20px;
    background: #f7f7f7;
}

.seguros-title {
    margin: 0;
    color: rgb(59, 59, 59);
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.asesor-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 42px;
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto;
}

.asesor-img-wrap {
    position: relative;
    width: 100%;
}

.asesor-img-wrap::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 10%;
    min-width: 24px;
    height: 8px;
    background: #ff7003;
}

.asesor-img-wrap img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.asesor-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    color: #333333;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.3;
}

.asesor-content p {
    margin: 0 0 24px;
}

.asesor-content strong {
    color: #ff6a00;
    font-weight: 700;
}

.visit__copy {
    margin-bottom: 32px;
}

.visit__copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.map-card iframe {
    min-height: 420px;
    aspect-ratio: 16 / 9;
}

.map-card {
    position: relative;
}

.map-card::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 10%;
    min-width: 24px;
    height: 8px;
    background: #2d5391;
}

.footer-hero-section {
    padding: 130px 20px;
    background-image: url("../images/577c15a3-pexels-karolina-grabowska-5900160_115n0rr0go0rr0ch00001o.jpg");
}

.footer-hero-title {
    max-width: var(--shell-width);
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 38px !important;
    line-height: 1.45 !important;
}

.footer-hero-section .subtitle {
    margin: 0 0 30px;
    font-size: 18px;
    font-weight: 400;
}

.main-footer {
    padding: 50px 20px;
    background-color: var(--gnp-blue);
    color: var(--white);
}

.main-footer__inner {
    display: grid;
    grid-template-columns: 149px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.main-footer__brand img {
    width: 149px;
    height: 47px;
    object-fit: contain;
}

.main-footer__content p {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
    text-align: right;
}

.main-footer a {
    color: var(--white);
    text-decoration: none;
}

.main-footer a:hover {
    color: #dddddd;
}

.footer-text-small {
    margin-top: 10px !important;
    font-size: 10px !important;
    font-weight: 400;
    line-height: 1.6 !important;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-soft {
    animation: pulse-soft 2s infinite ease-in-out;
}

@media (max-width: 1024px) {
    .projection-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container.shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .top-navbar {
        padding: 22px 16px;
    }

    .top-navbar__inner,
    .top-navbar__actions {
        gap: 12px;
    }

    .top-navbar__phone {
        white-space: nowrap;
    }

    .hero-section,
    .footer-hero-section {
        background-attachment: scroll;
    }

    .hero-section {
        min-height: auto;
        padding: 50px 20px;
    }

    .hero-section h1,
    .footer-hero-section h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 20px;
    }

    .section--tight-top {
        padding-top: 0;
    }

    .projection-grid,
    .video-grid,
    .benefits-grid,
    .asesor-container,
    .main-footer__inner {
        grid-template-columns: 1fr;
    }

    .main-footer__brand {
        justify-self: center;
    }

    .main-footer__content p {
        text-align: center;
    }

    .visit__copy p {
        font-size: 16px;
    }

    .asesor-section {
        padding: 50px 20px;
    }

    .seguros-title {
        font-size: 22px;
    }

    .asesor-content {
        font-size: 16px;
    }

    .map-card iframe {
        min-height: 320px;
    }
}
