/* ===========================================================
   COUNTY 107 — VIDEO HERO
   Save as: public/css/county107-hero.css
   Load AFTER nova-residences.css and county107.css
   =========================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    min-height: clamp(520px, 72vh, 720px);
    background: #0b2e1e;
    padding: 0;
    color: #fff;
}
.hero-section::before { content: none; display: none; }

/* ---------- video layer ---------- */
.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0b2e1e;
}
.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    background: #0b2e1e;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(20px, 2.4vw, 34px) 0 clamp(18px, 2.2vw, 30px);
}
.hero-inner .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
}

/* ---------- breadcrumb ---------- */
.hero-breadcrumb {
    font-size: 12px;
    letter-spacing: .02em;
    margin-bottom: 10px;
    color: #ffffff;
}
.hero-breadcrumb a { color: #f5d67a; text-decoration: none; }
.hero-breadcrumb .sep { margin: 0 8px; opacity: .7; }
.hero-breadcrumb .current { color: #ffffff; }

/* ---------- tags ---------- */
.listing-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.listing-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1.5px solid #d4af37;
    background: rgba(8, 34, 22, .62);
    color: #ffffff;
    line-height: 1;
    transition: background-color .35s ease;
}
.listing-tag i { font-size: 11px; color: #f5d67a; }
.listing-tag.lease { border-color: #f5d67a; color: #f5d67a; }
.listing-tag.status { border-color: #2a5c42; color: #ffffff; }
.listing-tag.status i { color: #ffffff; }

/* ---------- headline ---------- */
.hero-h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 0 10px;
    max-width: 20ch;
}
.hero-h1 .accent { display: block; color: #f5d67a; }

.hero-loc {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}
.hero-loc i { color: #f5d67a; }

.hero-subtitle {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    max-width: 640px;
    margin: 0 0 16px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.hero-subtitle strong { color: #ffffff; font-weight: 800; }
.hero-subtitle strong.gold { color: #f5d67a; }

/* ---------- KPIs ---------- */
.hero-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 640px;
    margin-bottom: 16px;
    border: 1.5px solid #d4af37;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(8, 34, 22, .62);
}
.hero-kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 14px;
    border-right: 1.5px solid #2a5c42;
}
.hero-kpi:last-child { border-right: 0; }
.hero-kpi .kl {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f5d67a;
}
.hero-kpi .kv { font-size: 0.98rem; font-weight: 800; color: #ffffff; line-height: 1.2; }
.hero-kpi .kv.sm { font-size: 0.78rem; letter-spacing: .01em; }

/* ---------- feature chips + CTAs (same grid, jaise 514 me hai) ---------- */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px 10px;
    max-width: 640px;
    margin-bottom: 0;
}
.hero-feat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    padding: 7px 10px;
    border: 1px solid #2a5c42;
    border-radius: 999px;
    background: rgba(8, 34, 22, .55);
    white-space: nowrap;
    transition: background-color .35s ease;
}
.hero-feat i { font-size: 11px; color: #f5d67a; }

/* video chalte hi chips transparent */
.hero-section.video-playing .hero-feat,
.hero-section.video-playing .listing-tag { background: transparent; }

/* ---------- buttons ---------- */
.cta-btn,
.call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid #2a5c42;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.cta-btn:hover,
.call-btn:hover { transform: translateY(-2px); box-shadow: none; }
.cta-btn i, .call-btn i { color: inherit; }

.cta-btn.visit { border-color: #d4af37; background: transparent; color: #f5d67a; }
.cta-btn.visit:hover { background: #d4af37; color: #0b2e1e; }

.cta-btn.price { border-color: #d4af37; background: #d4af37; color: #0b2e1e; }
.cta-btn.price:hover { background: #f5d67a; border-color: #f5d67a; color: #0b2e1e; }

.cta-btn.wa {
    border-color: #25d366;
    background: #25d366;
    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
}
.cta-btn.wa i {
    color: #25d366;
    background: #ffffff;
    width: 16px;
    height: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    flex-shrink: 0;
}
.cta-btn.wa:hover { background: #1eb955; border-color: #1eb955; color: #ffffff; }
.cta-btn.wa:hover i { color: #1eb955; background: #ffffff; }

.call-btn { border-color: #1f7a63; background: #1f7a63; color: #ffffff; }
.call-btn i { color: #ffffff; }
.call-btn:hover { background: #196854; border-color: #196854; color: #ffffff; }

/* ===========================================================
   LEAD FORM — TRANSPARENT
   =========================================================== */
.hero-section .lead-form-card {
    background: transparent;
    border: 1.5px solid #d4af37;
    border-radius: 14px;
    padding: 20px;
    box-shadow: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    margin-top: 0 !important;
}
.hero-section .lead-form-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
.hero-section .lead-form-card form input,
.hero-section .lead-form-card form textarea,
.hero-section .lead-form-card form select {
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: 1px solid #2a5c42;
    border-radius: 8px;
    margin-bottom: 11px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    transition: border-color .2s, background-color .2s;
}
.hero-section .lead-form-card form input::placeholder,
.hero-section .lead-form-card form textarea::placeholder {
    color: rgba(255, 255, 255, .72);
    font-weight: 500;
}
.hero-section .lead-form-card form input:focus,
.hero-section .lead-form-card form textarea:focus,
.hero-section .lead-form-card form select:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(8, 34, 22, .35);
}
/* autofill ka white box hatao */
.hero-section .lead-form-card form input:-webkit-autofill,
.hero-section .lead-form-card form input:-webkit-autofill:hover,
.hero-section .lead-form-card form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px rgba(8, 34, 22, .92) inset;
    caret-color: #ffffff;
    transition: background-color 9999s ease-in-out 0s;
}
.hero-section .lead-form-card form textarea { height: 80px; resize: none; }
.hero-section .lead-form-card form button {
    width: 100%;
    padding: 12px;
    background: #d4af37;
    color: #0b2e1e;
    border: 1px solid #d4af37;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.hero-section .lead-form-card form button:hover { background: #f5d67a; border-color: #f5d67a; color: #0b2e1e; }
.hero-section .lead-form-card .consent-text {
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 10px;
    line-height: 1.4;
}
.hero-section .lead-form-card .error { color: #ffb37a; }
.hero-section .lead-form-card .cf-turnstile { margin-bottom: 10px; }

/* ============ TABLET ============ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 22px; }
    .hero-h1 { max-width: none; }
    .hero-kpis,
    .hero-features,
    .hero-subtitle { max-width: none; }
    .hero-section .lead-form-card { max-width: 480px; }
}

/* ============ MOBILE ============ */
@media (max-width: 640px) {
    .hero-section { min-height: auto; align-items: flex-start; }
    .hero-inner { padding: 20px 0 26px; }
    .hero-h1 { font-size: clamp(1.5rem, 7.2vw, 1.95rem); }
    .hero-loc { font-size: 0.86rem; margin-bottom: 12px; }
    .hero-subtitle { font-size: 0.82rem; margin-bottom: 14px; }

    .hero-kpis { grid-template-columns: repeat(2, 1fr); }
    .hero-kpi { border-bottom: 1.5px solid #2a5c42; }
    .hero-kpi:nth-child(2n) { border-right: 0; }
    .hero-kpi:nth-child(n+3) { border-bottom: 0; }

    .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .hero-feat { font-size: 0.78rem; padding: 6px 10px; }

    .cta-btn, .call-btn { width: 100%; }

    .hero-section .lead-form-card { max-width: none; padding: 18px 16px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    .hero-video video { display: none; }
    .cta-btn, .call-btn { transition: none; }
    .cta-btn:hover, .call-btn:hover { transform: none; }
}