:root {
    --home-primary: #8f1d1d;
    --home-primary-dark: #651212;
    --home-gold: #d2a847;
    --home-ink: #172033;
    --home-muted: #677285;
    --home-bg: #f7f5f0;
    --home-line: #e7e1d7;
}

.hero {
    min-height: 760px !important;
    height: auto !important;
    padding: 110px 24px 80px !important;
    justify-content: center !important;
}

.hero-bg-wrapper::after {
    background: linear-gradient(90deg, rgba(42,7,7,.86) 0%, rgba(69,12,12,.71) 45%, rgba(28,12,8,.46) 100%) !important;
}

.hero-slide { background-position: center 42% !important; }
.home-hero-eyebrow {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    color: #f0d17b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 970px !important;
    margin: 0 0 20px !important;
    font-size: clamp(3.4rem, 7vw, 6.5rem) !important;
    line-height: .99 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
}

.hero > p {
    max-width: 780px !important;
    margin: 0 0 32px !important;
    color: rgba(255,255,255,.78);
    font-size: 1.06rem !important;
}

.hero .search-container { max-width: 760px !important; margin-bottom: 20px !important; }
.hero .search-box {
    min-height: 64px;
    padding-left: 24px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 13px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.25) !important;
    font-size: .96rem !important;
}
.hero .search-btn { width: 46px !important; height: 46px !important; right: 9px !important; border-radius: 9px !important; background: var(--home-primary) !important; }
.home-hero-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 11px; }
.home-hero-actions .cta-btn, .home-secondary-btn {
    min-height: 48px;
    padding: 12px 20px !important;
    border-radius: 9px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .78rem !important;
    font-weight: 800;
}
.home-hero-actions .cta-btn { background: var(--home-gold) !important; color: #2b2009 !important; box-shadow: none !important; }
.home-secondary-btn { border: 1px solid rgba(255,255,255,.34); color: white; background: rgba(255,255,255,.07); }
.home-hero-proof {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 38px;
}
.home-hero-proof span { padding: 0 28px; border-right: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.58); font-size: .67rem; text-align: left; }
.home-hero-proof span:last-child { border: 0; }
.home-hero-proof strong { display: block; color: white; font-size: .83rem; }

.scrolling-wrapper { padding: 26px 0 !important; border-bottom: 1px solid var(--home-line); background: #fff !important; }
.scrolling-wrapper img { height: 120px !important; margin: 0 16px !important; padding: 10px; border: 1px solid var(--home-line); border-radius: 13px !important; box-shadow: 0 6px 20px rgba(39,25,13,.06) !important; object-fit: contain; background: #faf9f6; }

.home-buyer-section { padding: 92px max(24px, calc((100% - 1192px) / 2)); background: var(--home-bg); }
.home-section-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.home-section-intro > div > span { color: var(--home-primary); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-section-intro h2 { max-width: 630px; margin: 8px 0 0; color: var(--home-ink); font: 700 clamp(2.3rem, 4.2vw, 4.1rem)/1.05 "Playfair Display", serif; letter-spacing: -.04em; }
.home-section-intro > p { margin: 0; color: var(--home-muted); font-size: .9rem; line-height: 1.8; }
.home-buyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-buyer-card { position: relative; min-height: 350px; padding: 31px; overflow: hidden; border: 1px solid var(--home-line); border-radius: 17px; background: white; color: var(--home-ink); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.home-buyer-card:hover { transform: translateY(-7px); border-color: #d1ae54; box-shadow: 0 22px 55px rgba(39,25,13,.1); }
.home-buyer-card > i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #f7eae5; color: var(--home-primary); font-size: 1.2rem; }
.home-card-index { position: absolute; right: 22px; top: 19px; color: #cfc8bd; font-size: .67rem; font-weight: 800; }
.home-buyer-card h3 { margin: 39px 0 10px; color: inherit; font-size: 1.1rem; line-height: 1.35; }
.home-buyer-card p { margin: 0 0 24px; color: var(--home-muted); font-size: .78rem; line-height: 1.7; }
.home-buyer-card strong { margin-top: auto; color: var(--home-primary); font-size: .72rem; }
.home-buyer-card strong span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.home-buyer-card:hover strong span { transform: translateX(4px); }
.home-buyer-card-dark { border-color: var(--home-primary-dark); background: var(--home-primary-dark); color: white; }
.home-buyer-card-dark > i { color: #efcf77; background: rgba(255,255,255,.1); }
.home-buyer-card-dark .home-card-index { color: rgba(255,255,255,.33); }
.home-buyer-card-dark p { color: rgba(255,255,255,.62); }
.home-buyer-card-dark strong { color: #efcf77; }

.section-padding { background: white; }
.section-padding > h2, .why-choose-section > h2, .testimonials > h2 { font-size: clamp(2rem, 3.4vw, 3.2rem) !important; letter-spacing: -.03em !important; }
.why-choose-section { padding-top: 88px !important; padding-bottom: 88px !important; }
.why-card { border: 1px solid var(--home-line) !important; border-radius: 16px !important; box-shadow: 0 8px 26px rgba(39,25,13,.055) !important; }
.stats-section { padding-top: 60px !important; padding-bottom: 60px !important; }
.testimonials { padding-top: 82px !important; padding-bottom: 82px !important; }
.testi-card { border: 1px solid var(--home-line); border-radius: 15px !important; box-shadow: 0 8px 25px rgba(39,25,13,.055) !important; }
.cta-banner { padding-top: 75px !important; padding-bottom: 75px !important; background: linear-gradient(135deg, var(--home-primary-dark), var(--home-primary)) !important; }

@media (max-width: 900px) {
    .home-section-intro { grid-template-columns: 1fr; gap: 18px; }
    .home-buyer-grid { grid-template-columns: 1fr; }
    .home-buyer-card { min-height: 290px; }
}

@media (max-width: 700px) {
    .hero { min-height: 680px !important; padding: 82px 16px 58px !important; }
    .hero h1 { font-size: 3.25rem !important; }
    .hero > p { font-size: .9rem !important; line-height: 1.65 !important; }
    .home-hero-actions { width: 100%; flex-direction: column; }
    .home-hero-actions a { width: 100%; max-width: 410px; }
    .home-hero-proof { margin-top: 29px; flex-wrap: wrap; gap: 14px; }
    .home-hero-proof span { width: calc(50% - 7px); padding: 0; border: 0; text-align: center; }
    .home-buyer-section { padding: 64px 16px; }
    .home-section-intro h2 { font-size: 2.65rem; }
}

@media (max-width: 430px) {
    .hero { min-height: 650px !important; }
    .hero h1 { font-size: 2.7rem !important; }
    .home-hero-eyebrow { font-size: .58rem; }
    .hero .search-box { min-height: 57px; font-size: .82rem !important; }
    .scrolling-wrapper img { height: 100px !important; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
