/* --- VARIABLES & RESET --- */
:root {
    --navy: #0f172a;       /* Deep Navy */
    --navy-light: #1e293b; 
    --gold: #c59d45;       /* Muted Gold/Bronze */
    --gold-hover: #b08d3e;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;   /* Very light gray background */
    --white: #ffffff;
    --border: #e2e8f0;
    --green: #22c55e;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'DM Sans', sans-serif;
    
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-form: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--text-dark); background-color: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; color: var(--navy); }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* --- HEADER --- */
.site-header { padding: 20px 0; border-bottom: 1px solid #f1f5f9; background: var(--white); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; letter-spacing: -0.5px; }
.logo-gold { font-family: var(--font-serif); font-weight: 700; color: var(--gold); }
.logo-navy { font-family: var(--font-serif); font-weight: 700; color: var(--navy); }
.logo-white { font-family: var(--font-serif); font-weight: 700; color: var(--white); }

.header-phone-btn {
    background-color: var(--gold);
    color: var(--white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.header-phone-btn:hover { background-color: var(--gold-hover); }

/* --- HERO SECTION --- */
.hero-section { padding: 80px 0 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: flex-start; }

/* Left Content */
.badge-pill {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}
.dot { height: 8px; width: 8px; background-color: var(--green); border-radius: 50%; margin-right: 8px; }

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero-content h1 .dash { font-weight: 400; }

.hero-subtext {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

/* Qualification Box */
.qualification-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
}
.qual-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--navy); font-size: 1rem; }
.green-icon-box {
    width: 22px; height: 22px;
    background: #dcfce7;
    color: var(--green);
    border-radius: 4px;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.75rem;
}
.qual-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qual-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-gray); font-weight: 500; }
.qual-item i { color: var(--green); font-size: 0.85rem; }

.trust-row { display: flex; gap: 24px; color: #9ca3af; font-size: 0.85rem; font-weight: 500; }
.bullet { margin-right: 4px; font-size: 1.2em; line-height: 0; vertical-align: middle; }

/* Right Form Card */
.hero-form-wrapper { padding-top: 10px; }
.form-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-form);
    overflow: hidden;
}
.form-header {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    text-align: center;
}
.form-header h2 { color: var(--white); font-family: var(--font-sans); font-size: 1.4rem; margin-bottom: 8px; line-height: 1.3; }
.form-header p { font-size: 0.95rem; opacity: 0.9; font-weight: 400; }

.form-body { padding: 30px; }
.form-body label { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 6px; font-weight: 500; }
.form-body input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    transition: border 0.2s;
}
.form-body input:focus { outline: none; border-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.submit-btn {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 10px;
}
.submit-btn:hover { background: var(--navy-light); }
.submit-btn:disabled { background: #94a3b8; cursor: not-allowed; }

.form-footer { background: #f8fafc; padding: 20px; text-align: center; border-top: 1px solid var(--border); }
.secure-text { font-size: 0.75rem; color: #94a3b8; margin-bottom: 5px; }
.credit-text { font-size: 0.75rem; color: var(--green); font-weight: 600; }
.green-dot { font-size: 0.6rem; vertical-align: middle; }

/* --- SECTIONS COMMON --- */
.benefits-section, .testimonials-section { padding: 100px 0; background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--navy); }
.section-title p { color: var(--text-gray); font-size: 1.1rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* --- BENEFITS --- */
.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.icon-square {
    width: 56px; height: 56px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 24px;
    font-size: 1.4rem; color: var(--navy);
}
.feature-card h3 { font-family: var(--font-sans); font-size: 1.25rem; margin-bottom: 16px; color: var(--navy); }
.feature-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-gray); }

/* --- TESTIMONIALS --- */
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; }
.zillow-sub { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.zillow-sub i { font-size: 0.8rem; margin-left: 4px; }

.testi-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    text-align: center;
    box-shadow: var(--shadow-card);
}
.quote-mark { font-family: var(--font-serif); font-size: 4rem; line-height: 1; color: #e2e8f0; margin-bottom: -10px; }
.quote-body { font-style: italic; color: var(--text-dark); margin-bottom: 24px; line-height: 1.6; font-size: 1rem; }
.author-block strong { display: block; color: var(--navy); font-size: 0.95rem; }
.author-block span { display: block; color: var(--text-gray); font-size: 0.85rem; margin-top: 2px; }

/* --- MARKET UPDATE (Dark) --- */
.market-update { background-color: var(--navy); padding: 100px 0; color: var(--white); }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.badge-dark { 
    display: inline-block; 
    background: rgba(255,255,255,0.1); 
    padding: 6px 12px; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.market-content h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 24px; line-height: 1.2; }
.market-content p { color: #94a3b8; font-size: 1.125rem; margin-bottom: 40px; line-height: 1.6; }

.did-you-know {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
}
.did-you-know h4 { color: var(--white); margin-bottom: 8px; font-family: var(--font-serif); font-size: 1.25rem; }
.did-you-know p { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 0; }

.market-list ul li { display: flex; align-items: flex-start; margin-bottom: 32px; color: #e2e8f0; font-size: 1.05rem; line-height: 1.5; }
.arrow-box {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex; justify-content: center; align-items: center;
    margin-right: 20px; flex-shrink: 0;
    color: #3b82f6; /* Blueish arrow */
}

/* --- BIO SECTION (Text-Only Version) --- */
.bio-section { padding: 80px 0 100px; background: var(--bg-light); }

.bio-card {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 60px;
    display: block; 
    text-align: center;
    box-shadow: var(--shadow-card);
}

.bio-text { text-align: center; }

.bio-label { 
    display: block; 
    font-size: 0.75rem; 
    font-weight: 700; 
    letter-spacing: 1px; 
    color: var(--text-gray); 
    margin-bottom: 8px; 
    text-transform: uppercase; 
}

.bio-text h3 { font-size: 2.5rem; margin-bottom: 6px; }
.bio-role { font-size: 1.1rem; font-weight: 500; color: var(--text-dark); margin-bottom: 4px; }
.bio-license { font-size: 0.9rem; color: #94a3b8; margin-bottom: 30px; }

.bio-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-gray);
    border-top: 3px solid var(--gold);
    padding-top: 24px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bio-link { 
    color: var(--navy); 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    border-bottom: 2px solid transparent; 
}
.bio-link:hover { border-bottom-color: var(--navy); }

/* --- BOTTOM CTA --- */
.bottom-cta { background: var(--navy); color: var(--white); text-align: center; padding: 100px 0; }
.bottom-cta p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 30px; }
.cta-button {
    background: #fdf5e0;
    color: var(--navy);
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
    transition: background 0.3s;
}
.cta-button:hover { background: #efe0b8; }
.cta-note { display: block; font-size: 0.85rem; color: #64748b; }

/* --- FOOTER --- */
.site-footer { background: #0b1121; color: #94a3b8; padding: 80px 0 20px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid #1e293b; margin-bottom: 30px; }
.footer-logo { margin-bottom: 20px; display: block; }
.f-role { color: var(--white); margin-bottom: 16px; font-size: 0.95rem; }
.f-desc { max-width: 320px; line-height: 1.6; }
.f-col h5 { color: var(--white); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 24px; }
.f-col p { margin-bottom: 12px; }
.footer-bottom { text-align: center; font-size: 0.8rem; opacity: 0.6; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 3rem; text-align: center; }
    .hero-subtext { text-align: center; margin: 0 auto 30px; }
    .qualification-box { max-width: 500px; margin: 0 auto 30px; }
    .trust-row { justify-content: center; }
    .hero-form-wrapper { max-width: 500px; margin: 0 auto; width: 100%; }
    
    .cards-grid { grid-template-columns: 1fr; }
    .market-grid { grid-template-columns: 1fr; gap: 50px; }
    
    .bio-card { padding: 40px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .f-desc { margin: 0 auto; }
}

/* --- TCPA TEXT STYLING --- */
.tcpa-disclaimer {
    font-size: 0.7rem;      /* Small, legal text size */
    color: #94a3b8;         /* Muted gray */
    line-height: 1.4;       /* Readable spacing */
    margin-top: 10px;       /* Space above the text */
    margin-bottom: 20px;    /* Space between text and button */
    text-align: left;
}

/* --- SUCCESS SCREEN & CALENDAR --- */
.success-header {
    text-align: center;
    padding: 30px 20px 10px;
    background: var(--navy);
    color: var(--white);
}

.success-icon {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 15px;
}

.success-header h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.success-header p {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.skip-wait {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem !important;
    color: var(--gold) !important;
}

.skip-wait strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

/* --- CALENDLY CONTAINER FIX --- */
/* Set a fixed height that fits the no-details calendar perfectly */
#calendly-embed-container {
    background: var(--white);
    height: 700px; 
    width: 100%;
    /* NO SPINNER CODE HERE */
}