
/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { width: 100%; }

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #18181b;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
a { color: inherit; }

/* ── Variables ────────────────────────────────────────── */
:root {
    --blue:  #1e40af;
    --blue-dark: #1e3a8a;
    --green: #84cc16;
    --green-light: #a3e635;
}

/* ── Layout helpers ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .container { padding-inline: 2rem; }
}

/* ── hero-fb SECTION ─────────────────────────────────────── */
.hero-fb {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #09090b;
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .hero-fb { min-height: 100vh; }
}

.hero-fb-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fb-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
}

.hero-fb-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9,9,11,.60);
    backdrop-filter: blur(1px);
}

.hero-fb-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-fb-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-fb-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
    .hero-fb { padding: 4rem 0; }
    .hero-fb-grid { gap: 2rem; }
}

@media (max-width: 640px) {
    .hero-fb { padding: 2.5rem 0; }
    .hero-fb-grid { gap: 1.5rem; }
    .form-card { padding: 1rem; }
}

/* Form card */
.form-card {
    width: 100%;
    margin-inline: auto;
    background: #fff;
    border-radius: .5rem;
    padding: 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    border-top: 4px solid var(--blue);
    /* max-height: 30vh; */
}

.form-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.875rem;
    font-weight: 900;
    color: #18181b;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .5rem;
}

.form-card-header p {
    font-size: .625rem;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-bottom: 1rem;
}

.form-group:last-child { margin-bottom: 0; }

.form-label {
    font-size: .625rem;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: .5rem .75rem;
    background: #fff;
    border: 1px solid #d4d4d8;
    border-radius: .25rem;
    font-size: .875rem;
    outline: none;
    transition: border-color .15s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(30,64,175,.15);
}

.form-textarea {
    min-height: 80px;
    resize: none;
}

.form-check {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
    margin-top: .2rem;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.form-check label {
    font-size: .5625rem;
    line-height: 1.4;
    color: #71717a;
    font-weight: 500;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: .75rem;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-radius: .25rem;
    box-shadow: 0 4px 14px rgba(30,64,175,.4);
    transition: background .2s;
}

.btn-submit:hover { background: var(--blue-dark); }

.form-footer {
    text-align: center;
    padding-top: .5rem;
    font-size: .5625rem;
    color: #a1a1aa;
}

.form-footer a { text-decoration: underline; }
.form-footer a:hover { color: #10b981; }

/* hero-fb text box */
.hero-fb-text-box {
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: .5rem;
    border: 1px solid rgba(255,255,255,.1);
    max-width: 36rem;
    width: 100%;
}

@media (max-width: 1023px) {
    .hero-fb-text-box { max-width: 100%; }
}

@media (max-width: 640px) {
    .hero-fb-text-box { padding: 2rem 1.5rem; }
}

.hero-fb-text-box h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: .9;
    margin-bottom: 1.5rem;
    letter-spacing: -.04em;
    text-transform: uppercase;
    /* font-style: italic; */
}

.hero-fb-text-box h1 .accent { color: var(--green); }

.hero-fb-text-box p {
    font-size: .75rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 28rem;
}

.btn-sales {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #09090b;
    font-weight: 900;
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    transition: background .2s;
}

.btn-sales:hover { background: #f4f4f5; }

/* ── PRODUCT GRID SECTION ─────────────────────────────── */
.inventory-section {
    padding: 6rem 0;
    background: #f4f4f5;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-header-left { max-width: 42rem; }

.section-header-left h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

.section-header-left > p {
    color: #71717a;
    font-weight: 500;
}

.locations-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9e9ee;
}

.locations-label {
    font-size: .8125rem;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1rem;
    text-align: center;
}

.locations-grid {
    display: flex;
    gap: .9rem;
    flex-wrap: nowrap; /* keep single horizontal line on larger screens */
    margin: .25rem auto 0;
    padding-inline: .5rem;
    width: 100%;
    justify-content: center; /* center chips with no large gaps */
}

.location-card {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    padding: .55rem .9rem;
    background: #fff;
    border-radius: 999px;
    border: 1px solid rgba(14,165,233,.06);
    box-shadow: 0 8px 18px rgba(15,23,42,.04);
    transition: transform .12s ease, box-shadow .12s ease;
    flex: 0 0 auto; /* keep natural chip width, do not shrink */
    min-width: 140px;
}

.location-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15,23,42,.06); }

.location-icon {
    width: 32px;
    height: 32px;
    background: var(--green);
    color: #fff;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-info { display: flex; flex-direction: column; }

.location-name { font-weight: 800; color: #0f172a; font-size: .9rem; line-height: 1; }

.location-state { font-size: .78rem; color: #6b7280; margin-top: .12rem; font-weight: 600; }

/* On small screens show two chips per row */
@media (max-width: 640px) {
    .locations-grid { flex-wrap: wrap; gap: .75rem; justify-content: center; }
    .location-card { flex: 0 0 calc(50% - .75rem); max-width: calc(50% - .75rem); }
}

.section-header-buttons {
    display: flex;
    gap: .5rem;
}

.btn-filter {
    padding: .625rem 1.5rem;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: .75rem;
    font-size: .875rem;
    font-weight: 700;
    color: #18181b;
    transition: background .2s;
}

.btn-filter:hover { background: #f4f4f5; }

.btn-view-all {
    padding: .625rem 1.5rem;
    background: var(--blue);
    border-radius: .75rem;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    transition: background .2s;
}

.btn-view-all:hover { background: var(--blue-dark); }

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1300px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* Product card */
.product-card {
    background: #18181b;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #3f3f46;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    transition: box-shadow .3s, transform .3s;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    transform: translateY(-8px);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #27272a;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s;
}

.product-card:hover .card-img-wrap img { transform: scale(1.05); }

.badge-offer {
    padding: .25rem .75rem;
    background: var(--blue);
    color: #fff;
    font-size: .625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 999px;
}

.card-badges-top {
    position: absolute;
    top: -1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-icon {
    width: 5rem;
    height: 5rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon img { width: 100%; height: 100%; object-fit: contain; }

.badge-green {
    position: absolute;
    bottom: -1rem;
    left: 1rem;
    width: 7rem;
    height: 7rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-green img { width: 100%; height: 100%; object-fit: contain; }

.badge-size {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: .375rem .75rem;
    background: rgba(9,9,11,.8);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    border-radius: .75rem;
}

.card-body { padding: 2rem; }

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: .5rem;
}

.card-category {
    font-size: .75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f4f4f5;
    line-height: 1.2;
}

.card-price { text-align: right; white-space: nowrap; }

.card-price-current {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f4f4f5;
}

.card-price-original {
    font-size: .75rem;
    color: #a1a1aa;
    text-decoration: line-through;
    font-weight: 500;
}

.card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.card-feature {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    background: #27272a;
    border-radius: .75rem;
    border: 1px solid #3f3f46;
}

.card-feature svg { width: 1rem; height: 1rem; color: #71717a; flex-shrink: 0; }

.card-feature span {
    font-size: .6875rem;
    font-weight: 600;
    color: #a1a1aa;
}

.card-actions { display: flex; gap: .5rem; }

.btn-details {
    flex: 1;
    padding: .75rem;
    background: #27272a;
    color: #f4f4f5;
    font-weight: 700;
    font-size: .875rem;
    border-radius: .75rem;
    transition: background .2s;
}

.btn-details:hover { background: #3f3f46; }

.btn-customize {
    flex: 1;
    padding: .75rem;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    border-radius: .75rem;
    transition: background .2s;
}

.btn-customize:hover { background: var(--blue-dark); }

/* ── CTA SECTION ──────────────────────────────────────── */
.cta-section {
    padding: 6rem 0;
    background: #18181b;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
}

.cta-glow-blue {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(30,64,175,.3);
    border-radius: 50%;
    filter: blur(120px);
}

.cta-glow-green {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(132,204,22,.2);
    border-radius: 50%;
    filter: blur(120px);
}

.cta-inner { position: relative; z-index: 1; }

.cta-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.75rem, 6vw, 3.75rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -.04em;
    text-transform: uppercase;
    /* font-style: italic; */
}

.cta-inner > p {
    color: #a8a8b2;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-inline: auto;
    font-weight: 500;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .cta-actions { flex-direction: row; }
}

.cta-phone-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1.5rem;
    transition: background .2s;
    cursor: pointer;
}

.cta-phone-box:hover { background: rgba(255,255,255,.1); }

.cta-phone-icon {
    width: 3rem;
    height: 3rem;
    background: var(--blue);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(30,64,175,.3);
    flex-shrink: 0;
}

.cta-phone-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; }

.cta-phone-label {
    font-size: .75rem;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .25rem;
}

.cta-phone-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.btn-contact {
    padding: 1.5rem 3rem;
    background: var(--green);
    color: #09090b;
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
    box-shadow: 0 8px 30px rgba(132,204,22,.25);
    transition: background .2s;
}

.btn-contact:hover { background: var(--green-light); }

.cta-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .cta-features { grid-template-columns: repeat(3, 1fr); }
}

.cta-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.cta-feat-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,.05);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-feat-icon svg { width: 1.25rem; height: 1.25rem; color: var(--blue); }

.cta-feat-title { color: #fff; font-weight: 700; }

.cta-feat-desc { color: #71717a; font-size: .875rem; }

/* ── MODAL ────────────────────────────────────────────── */
.modal-wrap {
    display: none;
    position: fixed;
    inset: 0;
    /* Ensure modal appears above the fixed header */
    z-index: 10010;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-wrap.is-open { display: flex; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9,9,11,.60);
    backdrop-filter: blur(4px);
    /* sit behind the modal box but above page content */
    z-index: 10000;
}

    .modal-box {
    position: relative;
    width: 100%;
    max-width: 42rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    /* allow scrolling when modal content exceeds viewport height on small screens */
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    /* ensure modal content is not affected by the overlay's backdrop-filter */
    z-index: 10011;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

    /* Prevent children from forcing horizontal scroll inside modal */
    .modal-box img,
    .modal-box iframe {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .modal-box input,
    .modal-box textarea,
    .modal-box select {
        max-width: 100%;
        box-sizing: border-box;
    }
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: background .2s;
    z-index: 1;
}

.modal-close:hover { background: #f4f4f5; }
.modal-close svg { width: 1.25rem; height: 1.25rem; color: #a1a1aa; }

.modal-grid {
    display: grid;
    gap: 0;
    align-items: stretch;
}

/* On wider screens keep columns balanced so the form visually centers */
@media (min-width: 640px) {
    .modal-grid { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
}

.modal-info {
    background: var(--blue);
    padding: 2rem;
    color: #fff;
}

.modal-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-info h3 span { color: var(--green); }

.modal-contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.modal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.modal-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,.1);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-contact-icon svg { width: 1.25rem; height: 1.25rem; color: #fff; }

.modal-contact-label {
    font-size: .625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .6;
    margin-bottom: .2rem;
}

.modal-contact-value { font-weight: 700; }

.modal-form { padding: 2rem; display: flex; align-items: flex-start; justify-content: center; }

/* Ensure long, unbroken strings (like emails) wrap inside the blue panel */
.modal-info,
.modal-info .modal-contact-value {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Prevent flex/grid children from forcing horizontal scroll */
.modal-contact-form,
.modal-contact-form * {
    min-width: 0;
}

/* center the form contents and constrain width so fields don't overflow */
.modal-contact-form { max-width: 30rem; width: 100%; margin: 0 auto; }

.modal-form .form-row { margin-bottom: 0; }

.modal-form .form-group { margin-bottom: 1rem; }

.modal-form .form-input,
.modal-form .form-textarea {
    background: #f4f4f5;
    border-color: #e4e4e7;
    border-radius: .75rem;
    padding: .5rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: 1rem;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-radius: .75rem;
    box-shadow: 0 4px 14px rgba(30,64,175,.4);
    transition: background .2s;
}

.btn-send:hover { background: var(--blue-dark); }
.btn-send svg { width: 1rem; height: 1rem; }

/* SVG icon helper */
.icon { display: inline-block; vertical-align: middle; }

/* Small-screen tweaks so modal content fits cleanly on phones (iPhone SE, Android) */
@media (max-width: 639px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-box { max-width: calc(100% - 2rem); margin: 0 0; }
    .modal-info { padding: 1.25rem; border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem; }
    .modal-form { padding: 1rem; justify-content: center; }
    .modal-contact-form { max-width: 100%; width: 100%; }
    .modal-close { top: .75rem; right: .75rem; }
}
