/* Variables
-------------------------------------------------- */

:root {
    --blue: #0d6efd;
    --main-color-brand: #008746;
    --main-color-brand-hover: #007235;
    --secondary-color-brand: #ffc91d;
    --secondary-color-brand-hover: #a8b939;
    --third-color-brand: #fff;
    --third-color-brand-hover: #c2790b;
    --alert-color: #e2eef1;
    --button-color: #f49020;
    --button-color-hover: #e18115;
    --light-green: #daf8ff;
    --icons-color: #ffc91d;
    --red: #dc3545;
    --white: #f1f1f1;
    --black: #989898;
    --gray: #878787;
    --brand-dark-green: #005f32;
    --brand-soft-green: #eaf8e4;
    --brand-lime: #9bd51b;
    --brand-yellow-soft: #fff6cf;
    --text-dark: #263238;
    --text-muted-brand: #6f7f78;
    --card-border: #e6eee9;
    --card-shadow: 0 18px 45px rgba(0, 95, 50, 0.12);
}

html, body {
    height: 100%;
}

html {
    font-size: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 13px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
}

body > .container {
    flex: 1 0 auto;
}

main {
    flex: 1; /* takes remaining space, pushing footer down */
}

h1, h2, h3, h5 {
    color: var(--black);
    font-weight: 500;
}

.field-validation-error {
    font-size: 11pt;
    color: var(--red);
}

.warning-error {
    color: var(--red);
}

a {
    color: var(--main-color-brand);
    text-decoration: none;
    transition: ease 0.4s;
    -webkit-transition: ease 0.4s;
}

a:hover {
    color: var(--secondary-color-brand);
    transition: ease 0.4s;
    -webkit-transition: ease 0.4s;
}

b {
    font-weight: 500;
}

.variantAnchorBrand {
    color: var(--secondary-color-brand);
    transition: ease 0.4s;
    -webkit-transition: ease 0.4s;
}

.variantAnchorBrand:hover {
    color: var(--icons-color);
    transition: ease 0.4s;
    -webkit-transition: ease 0.4s;
}

a.variantAnchor {
    color: var(--secondary-color-brand);
}

a.variantAnchor:hover {
    color: var(--secondary-color-brand-hover);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

i {
    color: var(--icons-color);
}

.bg-primary {
    background-color: var(--main-color-brand) !important;
}

.border-primary {
    border-color: var(--main-color-brand) !important;
}

.text-primary {
    color: var(--main-color-brand) !important;
}

.btn-outline-primary {
    color: var(--main-color-brand) !important;
    border-color: var(--main-color-brand) !important;
    font-size: 16px;
    font-weight: 400;
    border-radius: 42px 42px 42px 42px;
    padding: 5px 20px;
}

.btn-outline-primary:hover {
    background-color: var(--main-color-brand) !important;
    color: #fff !important;
}

.btn-primary {
    background-color: var(--main-color-brand) !important;
    border-color: var(--main-color-brand) !important;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    border-radius: 42px 42px 42px 42px;
    padding: 5px 20px;
}

.btn-primary:hover {
    background-color: var(--main-color-brand-hover) !important;
}

.small.text-muted {
    font-size: 12pt;
}

.third-color-brand {
    color: var(--button-color);
}

.alert-primary {
    background-color: var(--alert-color);
    border-color: var(--main-color-brand);
}

.alert-primary i {
    color: var(--button-color);
}

.small-text {
    font-size: 13px;
}

.extra-small-text {
    font-size: 10px;
}

.hightlight-text {
    color: var(--main-color-brand);
}

/* Paddings
-------------------------------------------------- */

.pl-0 {
    padding-left: 0 !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pt-10 {
    padding-top: 10px;
}

.tool-padding {
    padding: 3.5rem 0 3.5rem 0;
}

/* Margins
-------------------------------------------------- */

.ml-0 {
    margin-left: 0 !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-10 {
    margin-right: 10px !important;
}


/* Spinner
-------------------------------------------------- */

.small-spinner {
    width: 1.5rem;
    height: 1.5rem;
}

/* Footer
-------------------------------------------------- */

.site-footer {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    padding: 58px 0 24px;
    color: #fff;
    text-align: left;
    background: radial-gradient(circle at 18% 8%, rgba(208, 255, 30, 0.35) 0%, rgba(208, 255, 30, 0) 34%),
    linear-gradient(180deg, #a6db18 0%, #38b52e 46%, #008643 100%);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.08));
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.footer-logo-area {
    padding-top: 12px;
}

.footer-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-info-column h5,
.footer-email h5 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}

.footer-list li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.footer-list i {
    color: #fff;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.footer-list a,
.footer-list span,
.footer-email a {
    color: #fff;
    text-decoration: none;
}

.footer-list a,
.footer-email a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-list a:hover,
.footer-email a:hover {
    color: var(--secondary-color-brand);
}

.footer-divider {
    width: 68%;
    height: 1px;
    margin: 44px auto 40px;
    background-color: var(--main-color-brand);
}

.footer-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.footer-agent {
    font-size: 15px;
    color: #fff;
}

.footer-agent span {
    color: #fff;
}

.footer-agent strong {
    color: #fff;
    font-weight: 600
}

.footer-email {
    font-size: 15px;
}

.footer-email h5 {
    margin-bottom: 8px;
}

.footer-ins {
    display: flex;
    justify-content: center;
}

.footer-ins-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    margin-top: 56px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom span {
    color: #fff;
}

.footer.border-top,
footer.border-top {
    border-top: 0 !important;
}

@media (max-width: 1199px) {
    .footer-main {
        gap: 36px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .footer-logo {
        width: 250px;
    }

    .footer-divider {
        width: 80%;
    }
}

@media (max-width: 991px) {
    .site-footer {
        padding: 48px 0 24px;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .footer-logo-area {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .footer-logo {
        width: 300px;
        margin: 0 auto;
    }

    .footer-info-column {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-divider {
        width: 86%;
        margin: 38px auto 34px;
    }

    .footer-secondary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        margin-top: 38px;
    }
}

@media (max-width: 575px) {
    .site-footer {
        padding: 42px 0 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        width: 215px;
    }

    .footer-info-column h5,
    .footer-email h5 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-list li {
        min-height: auto;
        padding: 9px 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .footer-divider {
        width: 100%;
        margin: 34px auto 30px;
    }

    .footer-agent,
    .footer-email,
    .footer-bottom p {
        font-size: 11px;
    }

    .footer-ins-logo {
        width: 120px;
    }

    .footer-bottom {
        margin-top: 34px;
    }
}

/* Home
-------------------------------------------------- */

/* Home
-------------------------------------------------- */

.home-page {
    width: 100%;
    color: var(--text-dark);
}

.home-page h1,
.home-page h2,
.home-page h3 {
    color: var(--text-dark);
}

.home-hero {
    position: relative;
    overflow: hidden;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 50px 0 60px;
    background:
            radial-gradient(circle at 12% 10%, rgba(255, 201, 29, 0.28), transparent 32%),
            radial-gradient(circle at 90% 28%, rgba(155, 213, 27, 0.22), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(0, 135, 70, 0.08);
}

.home-hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.home-hero-bg-shape-one {
    top: 72px;
    right: 12%;
    width: 120px;
    height: 120px;
    background: rgba(255, 201, 29, 0.18);
}

.home-hero-bg-shape-two {
    left: 7%;
    bottom: 56px;
    width: 82px;
    height: 82px;
    background: rgba(0, 135, 70, 0.11);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 16px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 600;
    background-color: var(--brand-soft-green);
    border: 1px solid rgba(0, 135, 70, 0.14);
    border-radius: 999px;
}

.home-eyebrow i {
    color: var(--main-color-brand);
}

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.home-hero p {
    max-width: 650px;
    margin-bottom: 28px;
    color: var(--text-muted-brand);
    font-size: 18px;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.home-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(0, 135, 70, 0.2);
}

.home-primary-btn i {
    color: #fff;
}

.home-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color-brand);
    font-size: 15px;
    font-weight: 600;
}

.home-link-btn i {
    color: var(--main-color-brand);
    transition: transform 0.3s ease;
}

.home-link-btn:hover {
    color: var(--main-color-brand-hover);
}

.home-link-btn:hover i {
    color: var(--main-color-brand-hover);
    transform: translate(3px, -3px);
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.home-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.home-trust-item i {
    color: var(--main-color-brand);
}

.home-hero-card {
    position: relative;
    z-index: 1;
    max-width: 430px;
    margin-left: auto;
    padding: 34px;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
            radial-gradient(circle at 100% 0%, rgba(255, 201, 29, 0.25), transparent 45%);
    border: 1px solid rgba(0, 135, 70, 0.13);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

.home-hero-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    background: linear-gradient(180deg, var(--main-color-brand), var(--main-color-brand-hover));
    border-radius: 18px;
}

.home-hero-card-icon i {
    color: #fff;
    font-size: 28px;
}

.home-hero-card h2 {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 600;
}

.home-hero-card p {
    margin-bottom: 24px;
    color: var(--text-muted-brand);
    font-size: 15px;
    line-height: 1.7;
}

.home-contact-mini {
    display: grid;
    gap: 12px;
}

.home-contact-mini a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.home-contact-mini a:hover {
    color: var(--main-color-brand);
}

.home-contact-mini i {
    color: var(--main-color-brand);
}

.home-benefits {
    margin-top: -32px;
    position: relative;
    z-index: 2;
}

.home-benefit-card {
    height: 100%;
    padding: 28px 26px;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(0, 95, 50, 0.08);
}

.home-benefit-card i {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--main-color-brand);
    font-size: 30px;
}

.home-benefit-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.home-benefit-card p {
    margin: 0;
    color: var(--text-muted-brand);
    font-size: 14px;
    line-height: 1.65;
}

.home-products-section {
    padding: 60px 0 65px;
}

.home-section-title {
    max-width: 760px;
    margin: 0 auto 38px;
}

.home-section-title span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.home-section-title h2 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    letter-spacing: -0.8px;
}

.home-section-title p {
    margin: 0;
    color: var(--text-muted-brand);
    font-size: 16px;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(0, 95, 50, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 135, 70, 0.3);
    box-shadow: 0 24px 54px rgba(0, 95, 50, 0.16);
}

.home-product-featured {
    border-color: rgba(255, 201, 29, 0.75);
}

.home-product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.45 / 1;
    background-color: var(--brand-soft-green);
}

.home-product-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(0, 95, 50, 0.22));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-product-card:hover .home-product-image-link::after {
    opacity: 1;
}

.home-product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-product-card:hover .home-product-image-link img {
    transform: scale(1.06);
}

.home-product-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    flex: 1;
    padding: 24px;
}

.home-product-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 13px;
    padding: 7px 12px;
    color: var(--brand-dark-green);
    font-size: 12px;
    font-weight: 700;
    background-color: var(--brand-yellow-soft);
    border-radius: 999px;
}

.home-product-content h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.home-product-content p {
    margin: 0;
    color: var(--text-muted-brand);
    font-size: 14px;
    line-height: 1.65;
}

.home-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 16px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(0, 135, 70, 0.25);
    border-radius: 999px;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.home-product-button i {
    color: var(--main-color-brand);
    transition: color 0.3s ease, transform 0.3s ease;
}

.home-product-button:hover {
    color: #fff;
    background-color: var(--main-color-brand);
    border-color: var(--main-color-brand);
}

.home-product-button:hover i {
    color: #fff;
    transform: translateX(4px);
}

.home-cta-section {
    padding: 0 0 60px;
}

.home-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px 42px;
    color: #fff;
    background:
            radial-gradient(circle at 15% 20%, rgba(255, 201, 29, 0.35), transparent 30%),
            linear-gradient(135deg, var(--main-color-brand), var(--main-color-brand-hover));
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 95, 50, 0.2);
}

.home-cta-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--secondary-color-brand);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.home-cta-card h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
}

.home-cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.home-cta-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    padding: 13px 22px;
    color: var(--brand-dark-green);
    font-size: 15px;
    font-weight: 700;
    background-color: var(--secondary-color-brand);
    border: 0;
    border-radius: 999px;
}

.home-cta-btn i {
    color: var(--brand-dark-green);
    transition: transform 0.3s ease;
}

.home-cta-btn:hover {
    color: var(--brand-dark-green);
    background-color: #fff;
}

.home-cta-btn:hover i {
    color: var(--brand-dark-green);
    transform: translate(3px, -3px);
}

@media (max-width: 991px) {
    .home-hero {
        padding: 64px 0 74px;
    }

    .home-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .home-hero p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero-actions,
    .home-trust-row {
        justify-content: center;
    }

    .home-hero-card {
        max-width: 560px;
        margin: 20px auto 0;
        text-align: center;
    }

    .home-contact-mini a {
        justify-content: center;
    }

    .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-cta-card {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .home-hero {
        padding: 52px 0 64px;
    }

    .home-benefits {
        margin-top: -22px;
    }

    .home-products-section {
        padding: 64px 0 56px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .home-product-content {
        padding: 22px;
    }

    .home-cta-section {
        padding-bottom: 64px;
    }

    .home-cta-card {
        padding: 30px 24px;
        border-radius: 22px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        padding: 42px 0 58px;
    }

    .home-eyebrow {
        font-size: 12px;
    }

    .home-hero h1 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .home-hero p {
        font-size: 15px;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-primary-btn,
    .home-link-btn {
        justify-content: center;
        width: 100%;
    }

    .home-trust-row {
        align-items: center;
        flex-direction: column;
        gap: 9px;
    }

    .home-hero-card {
        padding: 26px 22px;
        border-radius: 22px;
    }

    .home-section-title {
        margin-bottom: 28px;
    }

    .home-section-title h2 {
        font-size: 30px;
    }

    .home-product-image-link {
        aspect-ratio: 1.25 / 1;
    }

    .home-product-content h3 {
        font-size: 20px;
    }

    .home-cta-btn {
        justify-content: center;
        width: 100%;
    }
}

/* NavBar
-------------------------------------------------- */

.header-mobile-contact {
    display: none;
}

.header-social i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-social a:hover i {
    color: var(--secondary-color-brand);
    transform: translateY(-2px);
}

.site-header {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, var(--main-color-brand) 0%, #4FB731 100%);
}

.header-top {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    padding: 15px 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.header-contact a,
.header-contact span {
    color: #fff;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.header-contact a:hover {
    color: var(--secondary-color-brand);
}

.header-contact i,
.header-social i {
    color: #fff;
    transition: color 0.3s ease;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-social a:hover i {
    color: var(--secondary-color-brand);
}

.header-navbar {
    padding: 15px 0;
    box-shadow: none;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.header-logos img {
    display: block;
    object-fit: contain;
}

.header-logos img.firstLogo {
    height: 85px;
}

.header-logos img.secondLogo {
    width: 145px;
}

.header-menu .navbar-nav {
    gap: 22px;
}

.header-menu .navbar-nav .nav-item {
    margin-right: 0;
}

.header-menu .navbar-nav .nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
    position: relative;
}

.header-menu .navbar-nav .nav-link:hover,
.header-menu .navbar-nav .nav-link.active {
    color: var(--secondary-color-brand);
}

.header-menu .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color-brand);
    transform: translateX(-50%);
    border-radius: 4px 4px 0 0;
}

.header-toggler {
    border-color: rgba(255, 255, 255, 0.65);
}

.header-toggler:focus {
    box-shadow: none;
}

.header-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
    .header-top {
        display: none;
    }

    .header-navbar {
        padding: 16px 0;
        background: linear-gradient(180deg, var(--main-color-brand) 0%, #48a82f 100%);
    }

    .header-navbar .container {
        align-items: center;
    }

    .header-logos {
        max-width: calc(100% - 76px);
    }

    .header-logos img.firstLogo {
        height: 60px;
    }

    .header-logos img.secondLogo {
        width: 120px;
    }

    .header-toggler {
        width: 58px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 9px;
        padding: 0;
    }

    .header-menu {
        margin-top: 10px;
        padding-top: 10px;
        text-align: center;
    }

    .header-menu .navbar-nav {
        gap: 0;
    }

    .header-menu .navbar-nav .nav-link {
        display: inline-block;
        padding: 5px 0;
    }

    .header-menu .navbar-nav .nav-link.active::after {
        display: none;
    }

    .header-mobile-contact {
        display: block;
    }

    .header-mobile-contact .header-contact {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        border-top: 1px solid var(--main-color-brand);
        gap: 10px;
        font-size: 13px;
    }

    .header-mobile-contact .header-contact a,
    .header-mobile-contact .header-contact span {
        justify-content: center;
        text-align: center;
    }

    .header-mobile-contact .header-social {
        justify-content: center;
        gap: 18px;
        margin-top: 16px;
    }
}

@media (max-width: 575px) {
    .header-navbar {
        padding: 14px 0;
    }

    .header-logos {
        gap: 12px;
    }

    .header-logos img.firstLogo {
        height: 60px;
    }

    .header-logos img.secondLogo {
        width: 100px;
    }

    .header-toggler {
        width: 54px;
        height: 44px;
    }
}

/* Cards
-------------------------------------------------- */

.card .card-body ul li {
    font-size: 15px;
}

/* Grid Containers
-------------------------------------------------- */

.grid-container {
    display: grid;
    grid-template-columns: 33% 33% auto;
    grid-gap: 10px;
}

.grid-container-2 {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
}

.grid-container-4 {
    grid-template-columns: auto auto auto auto !important;
}

.grid-container.auto {
    grid-template-columns: auto auto auto;
}

.grid-container .first-two-columns {
    grid-column: 1 / 3;
}

.grid-container .last-two-columns {
    grid-column: 2 / 4;
}

.grid-container .field-with-spinner {
    display: flex;
    align-items: center;
}

.pricing .grid-container {
    grid-template-columns: auto auto;
    grid-gap: 3px;
    padding: 0 20px;
    font-size: 15px;
}

.pricing .grid-container-head {
    padding-top: 10px;
}

.pricing .grid-container-head h5 {
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 5px;
}

#formTarjeta .grid-container {
    grid-template-columns: auto auto;
}

/* Forms
-------------------------------------------------- */
#formAsegurado .prima span {
    color: var(--main-color-brand);
}

#formPermisoDeConducir .prima span {
    color: var(--main-color-brand);
}

/* Form Pago
-------------------------------------------------- */

.product-summary ul {
    padding-left: 0;
    list-style: none;
}

.product-summary ul li {
    line-height: 29px;
}

.product-summary .prima b {
    color: var(--main-color-brand);
    font-size: 27pt;
}

.box-cc {
    box-shadow: 0 0 15px #dedede;
    border-radius: 10px;
}

/* Modals
-------------------------------------------------- */

.modal-header {
    background-color: var(--main-color-brand) !important;
}

h5.modal-title {
    color: #fff !important;
}

#declaracion-jurada-modal .modal-body p {
    font-size: 15px;
}

.modal-content-custom {
    background: none;
    border: none;
}

.modal-content-custom p {
    color: var(--white);
    font-size: 13pt;
    font-weight: 300;
}

/* Mobile
-------------------------------------------------- */
@media (max-width: 768px) {

    .pt-xs-1 {
        padding-top: 10px !important;
    }

    .pb-xs-1 {
        padding-bottom: 10px !important;
    }

    .pt-xs-2 {
        padding-top: 20px !important;
    }

    .pb-xs-2 {
        padding-bottom: 20px !important;
    }

    .pt-xs-3 {
        padding-top: 30px !important;
    }

    .pb-xs-3 {
        padding-bottom: 30px !important;
    }

    .pt-xs-4 {
        padding-top: 40px !important;
    }

    .pt-xs-5 {
        padding-top: 50px !important;
    }

    .pt-xs-10 {
        padding-top: 100px !important;
    }

    .pt-xs-15 {
        padding-top: 150px !important;
    }

    .navbar-expand-sm {
        padding-bottom: 20px;
    }

    .grid-container, .grid-container-2 {
        display: grid;
        grid-template-columns: auto !important;
        grid-gap: 10px;
    }

    .grid-container .last-two-columns {
        grid-column: auto;
    }

    .grid-container .first-two-columns {
        grid-column: 1 / 2;
    }

    .pricing .grid-container {
        grid-template-columns: auto auto;
    }

    .products {
        justify-content: center !important;
        gap: 10px;
    }

}

/* Low Resolutions
-------------------------------------------------- */
@media (max-width: 1368px) {
    .products {
        justify-content: center !important;
        gap: 20px;
    }

    .user-active-bar p {
        text-align: center;
    }
}

/* Buy Flow - Product Forms (Estudiantil, Viajero, VidaPlus, etc.)
-------------------------------------------------- */

.buy-hero {
    position: relative;
    overflow: hidden;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 36px 0 36px;
    text-align: center;
    background:
            radial-gradient(circle at 12% 10%, rgba(255, 201, 29, 0.22), transparent 32%),
            radial-gradient(circle at 90% 20%, rgba(155, 213, 27, 0.18), transparent 30%),
            linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
}

.buy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 16px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 600;
    background-color: var(--brand-soft-green);
    border: 1px solid rgba(0, 135, 70, 0.14);
    border-radius: 999px;
}

.buy-eyebrow i {
    color: var(--main-color-brand);
}

.buy-title {
    margin: 0 auto 8px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.buy-subtitle {
    max-width: 780px;
    margin: 0 auto 4px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
}

.buy-registro {
    margin: 0 auto;
    color: var(--button-color);
    font-size: 13px;
    font-weight: 600;
}

/* Step indicator */
.buy-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.buy-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted-brand);
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 999px;
}

.buy-step i {
    font-size: 11px;
    color: inherit;
}

.buy-step.is-active {
    color: #fff;
    background-color: var(--main-color-brand);
    border-color: var(--main-color-brand);
}

.buy-step.is-active i {
    color: #fff;
}

/* Step 1 - Plan cards */
.buy-plans-section {
    padding: 44px 0 44px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0, 95, 50, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(0, 95, 50, 0.14);
}

.plan-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 5px 12px;
    color: var(--brand-dark-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--secondary-color-brand);
    border-radius: 999px;
}

.plan-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 22px 12px;
}

.plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background-color: var(--brand-soft-green);
    border-radius: 10px;
}

.plan-icon i {
    color: var(--main-color-brand);
    font-size: 16px;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--main-color-brand);
}

.plan-card.plan-featured {
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(0, 95, 50, 0.2);
}

.plan-card.plan-featured .plan-card-header {
    background: linear-gradient(135deg, var(--main-color-brand), var(--main-color-brand-hover));
}

.plan-card.plan-featured .plan-icon {
    background-color: rgba(255, 255, 255, 0.18);
}

.plan-card.plan-featured .plan-icon i {
    color: #fff;
}

.plan-card.plan-featured .plan-name {
    color: #fff;
}

.plan-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 22px 24px;
    text-align: center;
}

.plan-card-body .spinner-grow {
    margin: 22px auto;
}

.plan-price {
    margin: 4px 0 18px;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-price small {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted-brand);
}

.plan-features {
    flex: 1;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dark);
}

.plan-features li i {
    margin-top: 2px;
    color: var(--main-color-brand);
    font-size: 13px;
}

.plan-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 700;
    background-color: #fff;
    border: 1px solid rgba(0, 135, 70, 0.3);
    border-radius: 999px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.plan-select-btn:hover {
    color: #fff;
    background-color: var(--main-color-brand);
}

.plan-card.plan-featured .plan-select-btn {
    color: #fff;
    background-color: var(--main-color-brand);
    border-color: var(--main-color-brand);
}

.plan-card.plan-featured .plan-select-btn:hover {
    background-color: var(--main-color-brand-hover);
}

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .buy-steps {
        flex-wrap: wrap;
    }
}

/* Step 2 - Data form */
.buy-form-section {
    padding: 44px 0 72px;
}

.buy-form-card {
    margin: 0 auto;
    padding: 38px 40px;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 26px;
    box-shadow: var(--card-shadow);
}

.buy-form-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.buy-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--main-color-brand), var(--main-color-brand-hover));
    border-radius: 12px;
}

.buy-form-icon i {
    color: #fff;
    font-size: 18px;
}

.buy-form-heading h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.buy-form-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 12px;
    padding: 12px 16px;
    color: var(--brand-dark-green);
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.6;
    background-color: var(--brand-yellow-soft);
    border-radius: 14px;
}

.buy-form-note i {
    margin-top: 1px;
    color: var(--button-color);
    font-size: 14px;
    flex-shrink: 0;
}

.buy-form-divider {
    height: 1px;
    margin: 32px 0;
    background-color: var(--card-border);
    border: 0;
}

.buy-form-card .form-control,
.buy-form-card .form-select {
    padding: 12px 16px;
    font-size: 14px;
    background-color: #f8faf8;
    border: 1px solid var(--card-border);
    border-radius: 14px;
}

.buy-form-card .form-control:focus,
.buy-form-card .form-select:focus {
    background-color: #fff;
    border-color: var(--main-color-brand);
    box-shadow: 0 0 0 3px rgba(0, 135, 70, 0.12);
}

.buy-form-card .alert-primary {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 16px;
}

.buy-form-actions {
    margin-top: 28px;
    text-align: center;
}

.buy-form-actions .btn-primary {
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .buy-form-card {
        padding: 28px 22px;
    }
}

/* Buy Flow - Sub-forms (Tomador / Asegurado / Beneficiarios)
-------------------------------------------------- */

.buy-form-card .grid-container > div[style*="table"] {
    display: block !important;
}

.buy-form-card .form-select {
    width: 100%;
}

.buy-form-card .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
}

.buy-form-card .form-check-input {
    flex-shrink: 0;
    margin: 0;
}

.buy-form-card .form-switch .form-check-input {
    width: 2.4em;
    height: 1.3em;
    cursor: pointer;
}

.buy-form-card .form-check-input:checked {
    background-color: var(--main-color-brand);
    border-color: var(--main-color-brand);
}

.buy-form-card .form-check-input:focus {
    border-color: var(--main-color-brand);
    box-shadow: 0 0 0 3px rgba(0, 135, 70, 0.12);
}

.buy-form-card .form-check-label {
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
}

.buy-form-card .spinner-grow-sm {
    width: 1.4rem;
    height: 1.2rem;
}

.buy-benef-panel {
    margin-top: 10px;
    padding-top: 20px !important;
    border-top: 1px solid var(--card-border);
}

.buy-form-card #benefs h4 {
    margin-bottom: 18px;
    color: var(--main-color-brand);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.buy-add-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    color: var(--main-color-brand);
    font-size: 13.5px;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid rgba(0, 135, 70, 0.3);
    border-radius: 999px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.buy-add-link:hover {
    color: #fff;
    background-color: var(--main-color-brand);
}

.buy-add-link i {
    color: var(--main-color-brand);
    font-size: 14px;
    transition: color 0.3s ease;
}

.buy-add-link:hover i {
    color: #fff;
}

/* Buy Flow - Shared additions (Viajero / VidaPlus / Pago)
-------------------------------------------------- */

.plans-grid.plans-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plans-grid.plans-grid-3.plans-grid-6 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.plans-grid.plans-grid-3.plans-grid-6 .plan-card {
    flex: 0 1 calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
}

@media (max-width: 1200px) {
    .plans-grid.plans-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans-grid.plans-grid-3.plans-grid-6 .plan-card {
        flex-basis: calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 576px) {
    .plans-grid.plans-grid-3 {
        grid-template-columns: 1fr;
    }

    .plans-grid.plans-grid-3.plans-grid-6 .plan-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.buy-coverage-section {
    margin-top: 36px;
    text-align: center;
}

.buy-coverage-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color-brand);
    font-size: 14px;
    font-weight: 600;
}

.buy-coverage-toggle i {
    color: var(--main-color-brand);
}

.buy-coverage-toggle .bi-chevron-down {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.buy-coverage-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.buy-coverage-table-wrap {
    max-width: 760px;
    margin: 20px auto 0;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 95, 50, 0.06);
}

.buy-coverage-table {
    margin: 0;
}

.buy-coverage-table thead th {
    padding: 12px 18px;
    color: var(--brand-dark-green);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background-color: var(--brand-soft-green);
    border: 0;
}

.buy-coverage-table td {
    padding: 12px 18px;
    color: var(--text-dark);
    font-size: 13px;
    border-color: var(--card-border);
}

/* Payment page */
.buy-summary-card .buy-form-heading {
    margin-bottom: 18px;
}

.buy-summary-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.buy-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--card-border);
    font-size: 13.5px;
    color: var(--text-dark);
}

.buy-summary-list li:last-child {
    border-bottom: none;
}

.buy-summary-list li b {
    color: var(--text-muted-brand);
    font-weight: 600;
}

.buy-prima-box {
    margin-top: 6px;
    padding: 12px;
    text-align: center;
    background: linear-gradient(135deg, var(--main-color-brand), var(--main-color-brand-hover));
    border-radius: 18px;
}

.buy-prima-box h4 {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.buy-prima-box b {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.buy-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.buy-terms-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.buy-terms-check label {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
}

.buy-pay-btn {
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
}
