@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --red: #ed1c24;
    --red-dark: #c9141b;
    --ink: #17191f;
    --muted: #69717f;
    --line: #e6e9ee;
    --soft: #f6f7f9;
    --white: #ffffff;
    --metal: #c9ced6;
    --shadow: 0 24px 80px rgba(17, 25, 40, .10);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

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

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

.container {
    width: min(var(--container), calc(100% - 36px));
    margin-inline: auto;
}

.topbar {
    background: #f3f4f6;
    color: #4f5663;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar a {
    color: #343a45;
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 233, 238, .8);
}

.nav-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 250px;
    height: auto;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    color: #333946;
}

.main-menu a {
    position: relative;
}

.main-menu > a:not(.btn) {
    padding: 12px 0;
}

.main-menu > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .2s ease;
}

.main-menu > a:not(.btn):hover::after,
.main-menu > a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-red {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 16px 34px rgba(237, 28, 36, .24);
}

.btn-light {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
}

.btn-small {
    min-height: 44px;
    padding-inline: 18px;
}

.btn-full {
    width: 100%;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(237, 28, 36, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23,25,31,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,25,31,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
    gap: 56px;
    align-items: center;
    min-height: 660px;
    padding: 72px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(38px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 14px 0 20px;
    max-width: 820px;
}

.hero p,
.page-hero p,
.section-head p {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-badges span,
.chips li {
    list-style: none;
    padding: 9px 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #4c535f;
    font-weight: 700;
    font-size: 13px;
}

.hero-showcase {
    position: relative;
    min-height: 500px;
}

.showcase-card {
    position: absolute;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(230,233,238,.9);
    border-radius: 34px;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: auto 10% 8% 10%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,.17), transparent 70%);
    filter: blur(8px);
    z-index: 0;
}

.showcase-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
}

.showcase-main {
    width: min(440px, 100%);
    height: 390px;
    right: 0;
    top: 40px;
}

.showcase-small {
    width: 210px;
    height: 190px;
    border-radius: 26px;
}

.showcase-small.one {
    left: 0;
    bottom: 40px;
}

.showcase-small.two {
    right: 40px;
    bottom: 0;
}

.section {
    padding: 86px 0;
}

.section.compact {
    padding: 34px 0;
}

.section-head {
    margin-bottom: 32px;
}

.section-head h2,
.cta-grid h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.03;
    letter-spacing: -.045em;
    margin: 10px 0 12px;
}

.between {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats-strip > div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(17, 25, 40, .05);
}

.stats-strip strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.stats-strip span {
    color: var(--muted);
}

.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card,
.product-card,
.contact-card,
.map-card,
.quote-aside,
.quote-form,
.success-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 42px rgba(17, 25, 40, .055);
}

.category-card {
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 28, 36, .35);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #fff2f3;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 23px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card p,
.product-card p,
.contact-card p,
.footer p,
.quote-aside p {
    color: var(--muted);
}

.products-highlight {
    background: var(--soft);
}

.product-card {
    overflow: hidden;
}

.product-image {
    min-height: 260px;
    padding: 22px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 82%, rgba(0,0,0,.10), transparent 21%),
        linear-gradient(180deg, #ffffff, #f7f8fa);
    border-bottom: 1px solid var(--line);
}

.product-image img {
    width: 100%;
    max-height: 245px;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(17, 25, 40, .14));
}

.product-content {
    padding: 22px;
}

.product-content > span {
    color: var(--red);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 900;
}

.product-content h3,
.product-content h2 {
    font-size: 22px;
    line-height: 1.15;
    margin: 8px 0 8px;
}

.product-content a:not(.btn) {
    color: var(--red);
    font-weight: 900;
}

.product-card-large .product-image {
    min-height: 300px;
}

.chips {
    padding: 0;
    margin: 18px 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-hero {
    padding: 78px 0;
    background:
        radial-gradient(circle at 88% 0%, rgba(237, 28, 36, .09), transparent 30%),
        linear-gradient(180deg, #fff, #f7f8fa);
    border-bottom: 1px solid var(--line);
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters a {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
    color: #47505f;
}

.filters a.active {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.cta-band {
    padding: 0 0 86px;
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 20%, rgba(237, 28, 36, .18), transparent 26%),
        linear-gradient(135deg, #17191f, #2b303a);
    color: var(--white);
    padding: 46px;
    overflow: hidden;
}

.cta-grid p {
    color: rgba(255,255,255,.75);
    max-width: 680px;
}

.quote-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 26px;
    align-items: start;
}

.quote-aside {
    position: sticky;
    top: 112px;
    padding: 24px;
}

.quote-preview {
    min-height: 280px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 82%, rgba(0,0,0,.10), transparent 24%),
        linear-gradient(180deg, #fff, #f6f7f9);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid var(--line);
}

.quote-preview img {
    max-height: 270px;
    object-fit: contain;
    filter: drop-shadow(0 16px 16px rgba(17, 25, 40, .12));
}

.quote-aside h2 {
    font-size: 26px;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.quote-contact {
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    background: #fff4f5;
    color: var(--ink);
}

.quote-contact strong,
.quote-contact a {
    display: block;
}

.quote-contact a {
    color: var(--red);
    font-weight: 900;
    margin-top: 4px;
}

.quote-form {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: #2a303a;
    font-weight: 800;
    margin-bottom: 18px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 0 15px;
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    padding-top: 14px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(237, 28, 36, .45);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.dynamic-fields {
    margin: 8px 0 12px;
    padding: 22px;
    background: #f8f9fb;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.dynamic-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.dynamic-title strong {
    font-size: 18px;
}

.dynamic-title span {
    color: var(--muted);
    font-size: 14px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.form-actions span {
    color: var(--muted);
    font-size: 14px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 26px;
}

.contact-card {
    padding: 30px;
}

.map-card {
    overflow: hidden;
    min-height: 420px;
}

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

.success-hero {
    min-height: 520px;
    display: grid;
    align-items: center;
}

.success-box {
    padding: 42px;
}

.footer {
    background: #17191f;
    color: rgba(255,255,255,.78);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 32px;
}

.footer-logo {
    width: 230px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 18px;
}

.footer h3 {
    color: white;
}

.footer a {
    color: white;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    background: #25d366;
    color: white;
    font-weight: 900;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(0,0,0,.2);
}

@media (max-width: 980px) {
    .topbar-inner {
        justify-content: flex-start;
        gap: 10px 18px;
        padding: 8px 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-menu {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 14px;
        box-shadow: var(--shadow);
    }

    .main-menu.open {
        display: flex;
    }

    .main-menu a {
        padding: 13px 12px;
    }

    .main-menu .btn {
        margin-top: 8px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        padding: 56px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(36px, 12vw, 58px);
        line-height: 1.02;
    }

    .hero-showcase {
        min-height: 420px;
    }

    .showcase-main {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(440px, 100%);
        height: 330px;
        top: 0;
    }

    .showcase-small.one {
        left: 0;
        bottom: 14px;
    }

    .showcase-small.two {
        right: 0;
        bottom: 0;
    }

    .stats-strip,
    .category-grid,
    .product-grid,
    .contact-grid,
    .footer-grid,
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .quote-aside {
        position: static;
    }

    .between,
    .cta-grid,
    .dynamic-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand img {
        width: 198px;
    }

    .nav-inner {
        min-height: 74px;
    }

    .topbar {
        display: none;
    }

    .hero-grid {
        padding: 42px 0;
    }

    .hero-actions,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-badges span {
        width: 100%;
        text-align: center;
    }

    .hero-showcase {
        min-height: 330px;
    }

    .showcase-main {
        height: 250px;
        border-radius: 24px;
    }

    .showcase-small {
        width: 145px;
        height: 128px;
        border-radius: 20px;
    }

    .showcase-card img {
        padding: 18px;
    }

    .section {
        padding: 58px 0;
    }

    .section.compact {
        padding: 24px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form,
    .quote-aside,
    .contact-card,
    .success-box,
    .cta-grid {
        padding: 22px;
        border-radius: 22px;
    }

    .product-image {
        min-height: 220px;
    }

    .page-hero {
        padding: 52px 0;
    }

    .footer-bottom {
        display: block;
    }

    .whatsapp-float {
        left: 12px;
        right: 12px;
        text-align: center;
    }
}
