:root {
    --brand-blue: #263b93;
    --brand-blue-dark: #17245f;
    --brand-yellow: #f7b616;
    --ink: #152033;
    --muted: #667085;
    --line: #e6e9ef;
    --soft: #f5f7fb;
    --success: #19a35b;
}

body {
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: #fff;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.navbar {
    padding: .55rem 0;
}

.navbar-brand img {
    width: 172px;
    height: auto;
}

.nav-link {
    color: var(--ink);
    font-weight: 650;
}

.nav-link:hover {
    color: var(--brand-blue);
}

.btn {
    border-radius: 6px;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue-dark);
    --bs-btn-hover-border-color: var(--brand-blue-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue);
    --bs-btn-hover-border-color: var(--brand-blue);
}

.btn-whatsapp {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.btn-whatsapp:hover {
    background: #12864a;
    border-color: #12864a;
    color: #fff;
}

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 16, 39, .94), rgba(9, 16, 39, .76) 48%, rgba(9, 16, 39, .46));
    z-index: -1;
}

.hero-content {
    color: #fff;
    padding: 7rem 0 5rem;
}

.hero h1,
.page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: 0;
}

.hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.18rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.35rem 0 1.5rem;
}

.hero-badges span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .45rem .7rem;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 6px;
    font-weight: 700;
}

.hero-badges i {
    color: var(--brand-yellow);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: .75rem;
    color: var(--brand-yellow);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section {
    padding: 5rem 0;
}

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

.section-dark {
    background: var(--brand-blue-dark);
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, .82);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 820;
    letter-spacing: 0;
}

.section-heading p {
    max-width: 760px;
    color: var(--muted);
    margin-bottom: 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: .35rem 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 128px;
}

.feature-item i {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    background: #eef2ff;
    color: var(--brand-blue);
    border-radius: 8px;
    font-size: 1.35rem;
}

.feature-item strong {
    font-size: 1.1rem;
}

.feature-item span,
.product-card p,
.value-card p,
.catalog-summary {
    color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.category-tile {
    display: flex;
    min-height: 118px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-tile > i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-bottom: .85rem;
    color: var(--brand-blue);
    background: #eef2ff;
    border-radius: 8px;
    font-size: 1.35rem;
}

.category-tile:hover,
.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(38, 59, 147, .3);
    box-shadow: 0 16px 35px rgba(21, 32, 51, .08);
}

.category-tile span {
    font-weight: 800;
    font-size: 1.05rem;
}

.category-tile small {
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-image-link {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    background: #f8fafc;
}

.product-image-link img,
.detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.product-category {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    color: var(--brand-blue);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.product-card h3 {
    margin: .35rem 0 .5rem;
    font-size: 1rem;
    line-height: 1.28;
    font-weight: 800;
}

.product-card h3 a {
    color: var(--ink);
}

.product-card p {
    min-height: 3.5rem;
    font-size: .92rem;
}

.product-card .btn {
    margin-top: auto;
}

.rounded-img {
    width: 100%;
    border-radius: 8px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.metrics div {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
}

.metrics i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: .65rem;
    color: var(--brand-yellow);
    background: rgba(255, 255, 255, .1);
    border-radius: 8px;
    font-size: 1.1rem;
}

.metrics strong {
    display: block;
    color: var(--brand-yellow);
    font-size: 2rem;
    line-height: 1;
}

.metrics span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}

.cta-band {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cta-icons {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.cta-icons i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cta-icons .bi-arrow-right {
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
    color: var(--muted);
}

.cta-band h2,
.cta-band p {
    margin-bottom: 0;
}

.page-hero {
    padding: 5rem 0;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.1rem;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: 260px 1fr auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.catalog-summary {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.catalog-summary i,
.empty-state > i {
    color: var(--brand-blue);
}

.empty-state {
    padding: 3rem;
    text-align: center;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.empty-state > i {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    background: #eef2ff;
    border-radius: 8px;
    font-size: 1.6rem;
}

.product-detail {
    padding: 4rem 0 5rem;
}

.detail-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 2rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-detail h1 {
    margin-top: .5rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 850;
    line-height: 1.05;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.5rem 0;
}

.detail-list {
    display: grid;
    gap: .65rem;
    padding: 0;
    list-style: none;
}

.detail-list i {
    color: var(--success);
    margin-right: .45rem;
}

.value-card,
.contact-panel,
.quote-form {
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.value-card i {
    color: var(--brand-blue);
    font-size: 2rem;
}

.value-card h2 {
    margin-top: .8rem;
    font-size: 1.35rem;
}

.contact-panel {
    display: grid;
    gap: .85rem;
}

.contact-panel a,
.contact-panel p {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: 0;
    color: var(--ink);
    font-weight: 650;
}

.contact-panel i {
    color: var(--brand-blue);
}

.quote-form .form-label {
    margin-top: 1rem;
    font-weight: 750;
}

.map-wrap {
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.site-footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, .82);
    background: #101828;
}

.footer-logo {
    width: 180px;
    height: auto;
    background: #fff;
    border-radius: 6px;
    padding: .35rem;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 850;
}

.footer-link {
    display: flex;
    gap: .45rem;
    align-items: center;
    margin-bottom: .45rem;
    color: rgba(255, 255, 255, .82);
}

.site-footer p i,
.footer-link i {
    color: var(--brand-yellow);
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .58);
    font-size: .9rem;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    min-height: 54px;
    padding: .8rem 1rem;
    color: #fff;
    background: var(--success);
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(25, 163, 91, .35);
    font-weight: 850;
}

.floating-whatsapp:hover {
    color: #fff;
    background: #12864a;
}

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

@media (max-width: 1199px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: 560px;
    }

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

    .catalog-toolbar,
    .cta-band {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        min-height: 52px;
        padding: .75rem;
    }

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