:root {
    --brand: #c62421;
    --brand-deep: #8f1614;
    --brand-soft: #f7eceb;
    --ink: #151515;
    --ink-soft: #595959;
    --ink-muted: #7a7a7a;
    --line: rgba(21, 21, 21, 0.1);
    --line-strong: rgba(21, 21, 21, 0.16);
    --paper: #ffffff;
    --paper-alt: #f5f3f1;
    --paper-soft: #fbfaf9;
    --charcoal: #191919;
    --shadow-soft: 0 22px 50px rgba(21, 21, 21, 0.06);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.66;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

a:hover,
a:focus {
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 1.07rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    color: var(--ink);
    font-family: "Archivo", sans-serif;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.35rem);
}

h2 {
    font-size: clamp(2.05rem, 3.5vw, 3.4rem);
}

h3 {
    font-size: 1.24rem;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 999;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--paper);
}

.skip-link:focus {
    top: 16px;
}

.site-nav {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(21, 21, 21, 0.04);
}

.site-nav .navbar-brand img {
    width: 150px;
    height: auto;
}

.site-nav .navbar-nav {
    gap: 22px;
}

.site-nav .nav-link {
    position: relative;
    padding: 10px 0 !important;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active,
.site-nav .nav-item.show .nav-link {
    color: var(--brand);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus::after,
.site-nav .nav-link.active::after,
.site-nav .nav-item.show .nav-link::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2821,21,21,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 0.96rem;
    font-weight: 700;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: var(--paper);
    box-shadow: 0 14px 32px rgba(198, 36, 33, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--paper);
    background: var(--brand-deep);
}

.btn-secondary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--ink);
    background: var(--paper-soft);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus {
    color: var(--brand);
    border-color: rgba(198, 36, 33, 0.28);
    background: var(--brand-soft);
}

.btn-nav {
    min-height: 46px;
    padding: 11px 17px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 12px;
    margin-left: 14px;
    font-size: 0.93rem;
}

.btn-nav:hover,
.btn-nav:focus {
    color: var(--paper);
    background: var(--brand);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 122px 0 74px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.988) 0%, rgba(255, 255, 255, 0.972) 34%, rgba(255, 255, 255, 0.84) 50%, rgba(255, 255, 255, 0.42) 64%, rgba(255, 255, 255, 0.08) 100%),
        url("../img/headerSD.jpg") 78% center / cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--paper) 100%);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0) 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.18)),
        linear-gradient(0deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0.02));
}

.hero-shell {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 700px;
    padding-right: 38px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(198, 36, 33, 0.45);
}

.hero h1 {
    max-width: 13ch;
    margin-bottom: 14px;
}

.hero-lead {
    max-width: 52ch;
    margin-bottom: 20px;
    color: #464646;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    max-width: 560px;
    padding-top: 18px;
    border-top: 1px solid rgba(21, 21, 21, 0.1);
}

.trust-row span {
    display: block;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 21, 21, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(21, 21, 21, 0.04);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-panel {
    margin-top: 0;
    padding: 24px 24px 22px;
    border-left: 0;
    border: 1px solid rgba(21, 21, 21, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 52px rgba(21, 21, 21, 0.08);
    backdrop-filter: blur(8px);
}

.panel-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 21, 21, 0.08);
    color: var(--ink-muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel h2 {
    max-width: 12ch;
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero-panel p {
    max-width: 36ch;
    font-size: 0.98rem;
    color: #484848;
}

.hero-points {
    list-style: none;
    margin: 18px 0 18px;
    padding: 0;
}

.hero-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.08);
}

.hero-points li:last-child {
    border-bottom: 0;
}

.hero-points i {
    margin-top: 5px;
    color: var(--brand);
}

.hero-contact {
    display: grid;
    gap: 8px;
    max-width: 36ch;
    padding-top: 6px;
}

.hero-contact a {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.96rem;
}

.hero-contact p {
    font-size: 0.96rem;
}

.hero-contact strong {
    color: var(--brand);
}

.section {
    padding: 118px 0;
}

.section-light {
    background: var(--paper);
}

.section-soft {
    background: var(--paper-alt);
}

.section-dark {
    background: #181818;
}

.split-section.section-dark {
    background: var(--paper-soft);
}

.section-contact {
    background: linear-gradient(180deg, #faf8f6 0%, #f3efec 100%);
}

.section-heading-wrap {
    max-width: 700px;
    margin-bottom: 44px;
}

.section-heading-wrap.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading-wrap.center .eyebrow {
    justify-content: center;
}

.split-section.section-dark h2,
.split-section.section-dark h3,
.split-section.section-dark p {
    color: inherit;
}

.section-dark:not(.split-section) h2,
.section-dark:not(.split-section) h3 {
    color: var(--paper);
}

.section-dark:not(.split-section) p {
    color: rgba(255, 255, 255, 0.76);
}

.grid-cards,
.product-grid,
.sector-grid,
.reasons-grid,
.contact-cards,
.footer-grid {
    display: grid;
    gap: 24px;
}

.grid-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    counter-reset: benefit;
}

.info-card,
.product-card,
.contact-card {
    border: 1px solid var(--line);
    background: var(--paper);
}

.info-card {
    position: relative;
    padding: 30px 28px 26px;
    border-radius: 0 0 18px 18px;
    border-top: 3px solid var(--brand);
}

.info-card:nth-child(2),
.info-card:nth-child(5) {
    transform: translateY(20px);
}

.card-icon {
    width: auto;
    height: auto;
    margin-bottom: 18px;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
    font-size: 1.15rem;
}

.story-panel {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(21, 21, 21, 0.68), rgba(21, 21, 21, 0.84)),
        url("../img/xheader.jpg") center / cover no-repeat;
}

.story-stat {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.story-stat:last-of-type {
    border-bottom: 0;
}

.story-stat strong,
.story-note h3 {
    color: var(--paper);
}

.story-stat strong {
    font-size: 1.55rem;
}

.story-stat span,
.story-note p {
    color: rgba(255, 255, 255, 0.8);
}

.story-note {
    margin-top: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.product-card {
    position: relative;
    overflow: hidden;
    grid-column: span 4;
    border-radius: var(--radius-lg);
}

.product-card-featured {
    grid-column: span 7;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-featured img {
    height: 100%;
    min-height: 100%;
}

.product-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.product-card-copy span {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card:nth-child(2) {
    grid-column: span 5;
}

.product-card:nth-child(3),
.product-card:nth-child(4),
.product-card:nth-child(5),
.product-card:nth-child(6) {
    min-height: 100%;
}

.accent-card {
    display: flex;
    align-items: flex-end;
    min-height: 250px;
    background: linear-gradient(180deg, #faf5f4, #f4f0ee);
}

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

.sector-card {
    padding: 24px 0;
    border-top: 1px solid var(--line-strong);
    background: transparent;
}

.sector-card h3 {
    margin-bottom: 8px;
}

.cta-band {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: end;
    padding: 44px;
    border-top: 4px solid var(--brand);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.cta-band h2 {
    max-width: 14ch;
}

.cta-band p {
    max-width: 56ch;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    counter-reset: reasons;
}

.reason-card {
    position: relative;
    padding: 28px 0 26px 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
}

.reason-card::before {
    counter-increment: reasons;
    content: "0" counter(reasons);
    position: absolute;
    left: 0;
    top: 28px;
    color: rgba(255, 255, 255, 0.26);
    font-family: "Archivo", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: start;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.contact-badges span {
    padding: 8px 12px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-cards {
    gap: 0;
}

.contact-card {
    display: flex;
    gap: 18px;
    padding: 26px 0;
    border-width: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
}

.contact-card:first-child {
    padding-top: 0;
    border-top: 0;
}

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

.contact-card i {
    min-width: 30px;
    margin-top: 4px;
    color: var(--brand);
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.contact-card span {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.contact-card.featured {
    background: transparent;
}

.contact-map-wrap {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--line-strong);
}

.map-copy {
    max-width: 54ch;
    margin-bottom: 20px;
}

#google-map {
    width: 100%;
    height: 380px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.site-footer {
    padding: 72px 0 30px;
    background: #121212;
    color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
    grid-template-columns: 1.35fr 1fr 0.9fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
}

.site-footer h3 {
    margin-bottom: 14px;
    color: var(--paper);
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a,
.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.92rem;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #25d366;
    color: var(--paper);
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.2);
}

.whatsapp-float i {
    font-size: 1.35rem;
}

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

    .info-card:nth-child(2),
    .info-card:nth-child(5) {
        transform: none;
    }

    .product-card-featured,
    .product-card:nth-child(2) {
        grid-column: span 12;
    }

    .product-card {
        grid-column: span 6;
    }

    .contact-shell,
    .footer-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-band-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .site-nav {
        background: rgba(255, 255, 255, 0.99);
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 16px;
        border-radius: 18px;
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-soft);
    }

    .site-nav .nav-link {
        padding: 10px 0 !important;
    }

    .nav-cta {
        margin-top: 10px;
        width: 100%;
    }

    .btn-nav {
        width: 100%;
        margin-left: 0;
    }

    .hero {
        padding: 116px 0 68px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.988) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(255, 255, 255, 0.84) 100%),
            url("../img/headerSD.jpg") 72% center / cover no-repeat;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-panel {
        margin-top: 24px;
        padding: 24px 22px;
        border-top: 0;
    }

    .product-grid,
    .sector-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .product-card:nth-child(2),
    .product-card-featured {
        grid-column: auto;
    }

    .product-card-featured {
        grid-template-columns: 1fr;
    }

    .product-card img,
    .product-card-featured img {
        height: 240px;
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 88px 0;
    }

    .hero-actions,
    .cta-band-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-band-actions .btn {
        width: 100%;
    }

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

    .trust-row {
        grid-template-columns: 1fr;
    }

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

    .product-card,
    .product-card:nth-child(2),
    .product-card-featured {
        grid-column: auto;
    }

    .product-card img,
    .product-card-featured img {
        height: 220px;
    }

    .reason-card {
        padding-left: 42px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding-top: 108px;
    }

    .hero-panel,
    .info-card,
    .story-panel,
    .product-card-copy,
    .cta-band {
        padding: 24px;
    }

    .story-panel {
        padding: 26px;
    }

    #google-map {
        height: 320px;
    }

    .whatsapp-float span {
        display: none;
    }
}
