/* ===========================================
   HOME PAGE STYLES
=========================================== */

/* -- HERO --------------------------------- */
.hero-wrap {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/welcome.png') right center / cover no-repeat;
    opacity: .18;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 72px 0 0;
    min-height: 480px;
}
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
    .hero-img-col { display: none; }
}
.hero-left { color: #fff; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,162,39,.15);
    border: 1px solid rgba(201,162,39,.3);
    color: var(--gold);
    border-radius: var(--r-pill);
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
}
.hero-h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}
.hero-h1 span { color: var(--gold); }
.hero-sub {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    max-width: 440px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.hero-img-col img {
    width: 100%;
    max-width: 440px;
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    object-position: center top;
    max-height: 440px;
}

/* Stats strip */
.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.05);
    border-top: 1px solid rgba(255,255,255,.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
}
@media (max-width: 860px) { .hero-stats { margin-top: 0; } }
.hero-stat {
    padding: 18px 24px;
    border-right: 1px solid rgba(255,255,255,.08);
    color: #fff;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
}
.hero-stat-lbl { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 2px; }
@media (max-width: 580px) {
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* -- PRODUCT CARDS ------------------------ */
.products-section { padding: 64px 0; }

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-tab {
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--ink);
    border-radius: var(--r-pill);
    padding: 8px 20px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
}
.filter-tab:hover  { border-color: var(--gold); color: var(--gold); }
.filter-tab.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.product-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    overflow: hidden;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow2);
    border-color: rgba(201,162,39,.3);
}
.product-card.is-selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,.18), var(--shadow2);
}

.product-card-top {
    padding: 22px 22px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.product-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 13px;
    background: rgba(201,162,39,.1);
    border: 1px solid rgba(201,162,39,.18);
    display: grid; place-items: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Compare toggle */
.cmp-toggle {
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
    color: transparent;
    font-size: .7rem;
}
.cmp-toggle:hover { border-color: var(--gold); color: var(--gold); }
.product-card.is-selected .cmp-toggle {
    background: var(--gold); border-color: var(--gold); color: var(--dark);
}

.product-card-body { padding: 14px 22px 12px; flex: 1; }
.product-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
}
.product-desc {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ppill {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    font-size: .76rem;
    color: var(--muted);
}

.product-price { margin-top: auto; }
.price-from { font-size: .78rem; color: var(--muted); display: block; }
.price-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
}

.product-card-foot {
    padding: 14px 22px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
}
.btn-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--dark);
    display: grid; place-items: center;
    font-size: .95rem;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: auto;
    transition: filter .15s, transform .15s;
}
.btn-arrow:hover { filter: brightness(1.08); transform: scale(1.08); color: var(--dark); }

.view-all-link {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--gold); font-weight: 700; font-size: .9rem;
    text-decoration: none;
}
.view-all-link:hover { color: var(--dark); }

/* -- WHY US ------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .why-grid { grid-template-columns: 1fr; } }
.why-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.why-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(201,162,39,.1);
    color: var(--gold);
    border: 1px solid rgba(201,162,39,.2);
    display: grid; place-items: center;
    font-size: 1.3rem;
    margin: 0 auto 14px;
}
.why-title { font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 4px; }
.why-sub   { font-size: .82rem; color: var(--muted); }

/* -- REVIEWS ------------------------------ */
.reviews-section { background: var(--white); }
.google-badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--bg); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 12px 18px;
    box-shadow: var(--shadow);
}
.g-circle {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 25%, #34a853 50%, #fbbc04 75%, #ea4335 100%);
    color: #fff; font-weight: 900; font-size: 1.25rem;
    display: grid; place-items: center; flex-shrink: 0;
}
.g-score { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.g-stars { color: #fbbc04; font-size: 1rem; }
.g-count { font-size: .78rem; color: var(--muted); }

.review-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }
.reviewer-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.reviewer-av {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700; font-size: .95rem; color: #fff; flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.reviewer-date { font-size: .76rem; color: var(--muted); }
.review-g {
    width: 22px; height: 22px; border-radius: 50%; margin-left: auto;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
    color: #fff; font-weight: 900; font-size: .65rem;
    display: grid; place-items: center; flex-shrink: 0;
}
.review-stars { color: #fbbc04; font-size: .9rem; margin-bottom: 8px; }
.review-text { font-size: .87rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* -- CMB SECTION -------------------------- */
.cmb-section { background: var(--dark); }
.cmb-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 52px 40px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
@media (max-width: 576px) { .cmb-box { padding: 36px 20px; } }
.cmb-box h2 { color: #fff; font-weight: 900; font-size: 1.8rem; margin-bottom: 10px; }
.cmb-box p  { color: rgba(255,255,255,.55); font-size: .95rem; margin-bottom: 28px; }
.cmb-icon-wrap {
    width: 64px; height: 64px; border-radius: 18px;
    background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.25);
    color: var(--gold); font-size: 1.5rem;
    display: grid; place-items: center; margin: 0 auto 20px;
}

/* -- FAQ ---------------------------------- */
.accordion-button { font-weight: 700; font-size: .93rem; }
.accordion-item { border-radius: var(--radius) !important; overflow: hidden; border: 1.5px solid var(--border) !important; }
.accordion-item + .accordion-item { margin-top: 8px; }
