/* ==========================================================================
   HomeDrive Assurance — Complete Stylesheet
   CoverageX-inspired layout adapted for HomeDrive brand
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #000000;
    --primary-light: #1a1a1a;
    --accent: #d4952b;
    --accent-light: #f0b95d;
    --accent-dark: #b87d1f;
    --success: #2d8a4e;
    --error: #c44040;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #1a1a1a;
    --text: #2c3345;
    --text-light: #5a6278;
    --text-muted: #8891a4;
    --border: #e2e5ec;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, .16);
    --transition: .25s ease;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --container: 1200px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

em {
    font-style: italic;
}

strong {
    font-weight: 700;
}

small {
    font-size: 0.85em;
}

blockquote {
    margin: 0;
}

/* ---------- Utility: Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Utility: Section ---------- */
.section {
    padding: 80px 0;
}

/* ---------- Utility: Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.btn--accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 149, 43, .3);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--primary);
    background: var(--bg-alt);
}

.btn--full {
    width: 100%;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--loading {
    opacity: .7;
    pointer-events: none;
    position: relative;
}

.btn--loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-accent {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--primary);
    margin-bottom: 12px;
}

.section__title em {
    color: var(--accent);
    font-style: italic;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ==========================================================================
   1. TOPBAR
   ========================================================================== */
.topbar {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, .7);
    font-size: 0.8rem;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.topbar__text {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .5);
}

.topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    transition: color var(--transition);
}

.topbar__phone:hover {
    color: var(--accent-light);
}

.topbar__phone svg {
    flex-shrink: 0;
}

/* ==========================================================================
   2. NAVIGATION
   ========================================================================== */
.nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 24px;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    color: #fff;
}

.nav__logo-accent {
    color: var(--accent);
    font-weight: 700;
}

/* Nav Right container */
.nav__right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

/* Menu links */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--accent);
    background: var(--bg-alt);
}

/* Nav action buttons */
.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav__btn--outline {
    border: 2px solid var(--border);
    color: var(--primary);
    background: transparent;
}

.nav__btn--outline:hover {
    border-color: var(--primary);
    background: var(--bg-alt);
}

.nav__btn--primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.nav__btn--primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* Hamburger Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   3. HERO
   ========================================================================== */
.hero {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 60px 0 80px;
    min-height: 600px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .6) 50%, rgba(20, 20, 20, .5) 100%),
        url('../images/hero-family.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .15) 60%, transparent 100%),
        radial-gradient(ellipse at 20% 80%, rgba(212, 149, 43, .06) 0%, transparent 50%);
    z-index: 1;
}

.hero__bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(26, 26, 26, .6), transparent);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: center;
}

/* Hero Content - Left */
.hero__content {
    color: #fff;
}

.hero__label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(212, 149, 43, .12);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
}

.hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero__subtitle strong {
    color: #fff;
}

/* Hero Badges - 2x2 grid */
.hero__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.hero__badge:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .18);
}

.hero__badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(212, 149, 43, .15);
    border-radius: 8px;
    color: var(--accent-light);
}

/* Hero Form Card - Right */
.hero__form-wrap {
    width: 100%;
}

.hero__form-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__form-header {
    background: var(--primary);
    padding: 24px 28px;
    text-align: center;
    color: #fff;
}

.hero__form-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(212, 149, 43, .15);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.hero__form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero__form-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   TAB SWITCHER (shared component)
   ========================================================================== */
.tab-switcher {
    display: flex;
    gap: 8px;
    padding: 16px 20px 0;
    background: var(--bg);
}

.tab-switcher--centered {
    justify-content: center;
    padding: 0;
    background: none;
    margin-bottom: 36px;
}

.tab-switcher__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
    cursor: pointer;
    transition: all var(--transition);
    flex: 1;
    min-width: 0;
    text-align: left;
}

.tab-switcher__btn span {
    display: inline-block;
    line-height: 1.35;
}

.tab-switcher__btn span strong {
    font-weight: 700;
    display: block;
    font-size: 0.9rem;
}

.tab-switcher__btn span small,
.tab-switcher__btn span br + * {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tab-switcher__btn svg {
    flex-shrink: 0;
    opacity: .6;
}

.tab-switcher__btn:hover {
    border-color: var(--primary-light);
    background: var(--bg-alt);
}

.tab-switcher__btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tab-switcher__btn.active svg {
    opacity: 1;
    color: var(--accent-light);
}

.tab-switcher__btn.active span strong {
    color: #fff;
}

.tab-switcher__btn.active span small {
    color: rgba(255, 255, 255, .6);
}

/* Centered variant sizing */
.tab-switcher--centered {
    gap: 16px;
}

.tab-switcher--centered .tab-switcher__btn {
    flex: 0 1 auto;
    padding: 14px 28px;
}

/* ==========================================================================
   TAB PANES
   ========================================================================== */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tabFadeIn .35s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LEAD FORM (inside hero card and CTA section)
   ========================================================================== */
.lead-form {
    padding: 24px 24px 28px;
}

.form-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.form-section-label + .form-row-2 + .form-row-2 + .form-section-label,
.form-section-label + .form-row-2 + .form-section-label,
.form-row-2 + .form-section-label,
.form-row-3 + .form-section-label,
.form-group + .form-section-label {
    margin-top: 24px;
    padding-top: 8px;
}

.form-section-label svg {
    flex-shrink: 0;
    color: var(--accent);
}

.form-section-label div {
    line-height: 1.35;
}

.form-section-label small {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.form-label--light {
    color: rgba(255, 255, 255, .8);
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 149, 43, .1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input--error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(196, 64, 64, .1);
}

.form-input--dark {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.form-input--dark:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 3px rgba(212, 149, 43, .15);
}

.form-input--dark::placeholder {
    color: rgba(255, 255, 255, .4);
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238891a4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.form-row-2 .form-group,
.form-row-3 .form-group {
    margin-bottom: 0;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.form-consent {
    margin: 14px 0;
}

.form-consent p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.form-consent--light p {
    color: rgba(255, 255, 255, .45);
}

.form-message {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-height: 20px;
}

.form-message--success {
    color: var(--success);
}

.form-message--error {
    color: var(--error);
}

/* ==========================================================================
   6. COST CARDS (Repair Cost Insights)
   ========================================================================== */
.insights {
    background: var(--bg-alt);
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cost-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.cost-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.cost-card__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    text-align: center;
}

.cost-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.cost-card__compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.cost-card__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    overflow: hidden;
    gap: 6px;
}

.cost-card__col--covered {
    background: var(--primary);
    color: #fff;
}

.cost-card__heading {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cost-card__col--covered .cost-card__heading {
    color: rgba(255, 255, 255, .5);
}

.cost-card__amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    white-space: nowrap;
}

.cost-card__col--covered .cost-card__amount {
    color: #fff;
}

.cost-card__note {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cost-card__tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--success);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   7. PLAN CARDS (Coverage Solutions — Auto)
   ========================================================================== */
.plans {
    background: var(--bg);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plan-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Visual gradient top area per tier */
.plan-card__visual {
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
}

.plan-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.1) 0%, transparent 60%);
}

.plan-card__visual--exec {
    background: linear-gradient(135deg, #000000 0%, #d4952b 100%);
}

.plan-card__visual--prem {
    background: linear-gradient(135deg, #111111 0%, #b87d1f 100%);
}

.plan-card__visual--sig {
    background: linear-gradient(135deg, #000000 0%, #2d8a4e 100%);
}

.plan-card__visual--ess {
    background: linear-gradient(135deg, #111111 0%, #4a4a4a 100%);
}

.plan-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-card__tier {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.plan-card__tier > div {
    line-height: 1.3;
}

.plan-card__tier strong {
    font-size: 1rem;
    color: var(--primary);
}

.plan-card__tier small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Tier indicator dots */
.tier-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tier-dot--1 {
    background: #d4952b;
    box-shadow: 0 0 0 3px rgba(212, 149, 43, .2);
}

.tier-dot--2 {
    background: #b87d1f;
    box-shadow: 0 0 0 3px rgba(184, 125, 31, .2);
}

.tier-dot--3 {
    background: #2d8a4e;
    box-shadow: 0 0 0 3px rgba(45, 138, 78, .2);
}

.tier-dot--4 {
    background: #6b6b6b;
    box-shadow: 0 0 0 3px rgba(107, 107, 107, .2);
}

.plan-card__desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.plan-card__samples {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-light);
}

.plan-card__samples > span:first-child {
    font-weight: 600;
}

.plan-card__sep {
    color: var(--text-light);
    opacity: 0.4;
}

.plan-card__pdf {
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.plan-card__pdf:hover {
    color: var(--accent);
}

.plan-card__pdf svg {
    flex-shrink: 0;
}

/* ==========================================================================
   8. HOME PLAN CARDS
   ========================================================================== */
.home-plan-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.home-plan-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.home-plan-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.home-plan-card__visual {
    height: 120px;
    background: linear-gradient(135deg, #000000 0%, #d4952b 50%, #f0b95d 100%);
    position: relative;
    overflow: hidden;
}

.home-plan-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(212, 149, 43, .12) 0%, transparent 60%);
}

.home-plan-card__visual--appliance {
    background: linear-gradient(135deg, #000000 0%, #2d8a4e 50%, #4a9a6a 100%);
}

.home-plan-card__body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-plan-card__body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Add-ons Card */
.addons-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.addons-card:hover {
    box-shadow: var(--shadow);
}

.addons-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--primary);
}

.addons-card__desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.addons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.addon-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.addon-item:hover {
    background: var(--border);
}

/* ==========================================================================
   9. HOW IT WORKS (Steps)
   ========================================================================== */
.how-it-works {
    background: var(--bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step {
    text-align: center;
    position: relative;
}

/* Connector line between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.step__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.step__text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */
.testimonials {
    background: var(--bg);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: transparent;
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-card__author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-card__author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    vertical-align: middle;
    margin-right: 8px;
}

/* ==========================================================================
   11. FAQ (Accordion)
   ========================================================================== */
.faq {
    background: var(--bg-alt);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg);
    transition: all var(--transition);
}

.faq__item:hover {
    border-color: var(--primary-light);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    gap: 16px;
    transition: background var(--transition);
}

.faq__question:hover {
    background: var(--bg-alt);
}

.faq__question span {
    flex: 1;
}

.faq__icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform .3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq__item.active .faq__answer {
    max-height: 400px;
}

.faq__answer p {
    padding: 0 22px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
}

.faq__answer a {
    color: var(--accent);
    font-weight: 600;
}

.faq__answer a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ==========================================================================
   12. CTA / GET QUOTE SECTION
   ========================================================================== */
.cta-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 149, 43, .06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(61, 61, 61, .2) 0%, transparent 60%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.cta-section__header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.cta-section__accent {
    color: var(--accent-light);
}

.cta-section__header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 6px;
}

.cta-section__note {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .4);
    letter-spacing: 0.5px;
}

.cta-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.cta-form {
    padding: 0;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, .7);
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Brand column */
.footer__brand {
    padding-right: 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer__logo svg {
    color: var(--accent-light);
    flex-shrink: 0;
}

.footer__brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
}

/* Footer columns */
.footer__col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 16px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .55);
    transition: all var(--transition);
}

.footer__col ul a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

/* Footer toggle buttons for expandable sample policies */
.footer__toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}

.footer__toggle:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer__toggle-icon {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.footer__toggle[aria-expanded="true"] .footer__toggle-icon {
    transform: rotate(180deg);
}

/* Submenu (collapsed by default) */
.footer__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 12px;
    margin-top: 0;
}

.footer__submenu.open {
    max-height: 300px;
    margin-top: 8px;
}

.footer__submenu li {
    margin-bottom: 6px;
}

.footer__submenu a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .45);
    transition: all var(--transition);
}

.footer__submenu a:hover {
    color: var(--accent-light);
}

/* Grouped auto tier links (label + M2M | Fixed) */
.footer__submenu-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer__submenu-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
    min-width: 70px;
}

.footer__submenu-sep {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .25);
}

/* Contact column */
.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.footer__contact-item strong {
    color: rgba(255, 255, 255, .5);
    min-width: 90px;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__contact-item a {
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
    transition: color var(--transition);
}

.footer__contact-item a:hover {
    color: var(--accent-light);
}

/* Footer Bottom */
.footer__bottom {
    padding: 28px 0;
}

.footer__disclaimer {
    margin-bottom: 20px;
}

.footer__disclaimer p {
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .35);
}

.footer__disclaimer strong {
    color: rgba(255, 255, 255, .5);
}

.footer__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, .35);
}

.footer__legal a {
    color: rgba(255, 255, 255, .45);
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: var(--accent-light);
}

/* ==========================================================================
   14. MODALS
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(4px);
    animation: overlayIn .3s ease;
}

@keyframes overlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal__dialog {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: dialogIn .35s ease;
}

@keyframes dialogIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__header {
    background: var(--primary);
    padding: 28px 32px;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

.modal__header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modal__header p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .6);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    line-height: 1;
}

.modal__close:hover {
    background: rgba(255, 255, 255, .2);
    transform: rotate(90deg);
}

.modal__body {
    padding: 28px 32px;
    overflow-y: auto;
    flex: 1;
}

.modal__body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal__body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    margin-top: 8px;
}

.modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.modal__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    line-height: 1.4;
}

.modal__item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.modal__item--yes::before {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(45, 138, 78, .15);
}

.modal__item--no::before {
    background: var(--text-muted);
    box-shadow: 0 0 0 3px rgba(136, 145, 164, .15);
}

.modal__item--addon::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 149, 43, .15);
}

.modal__ctas {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal__ctas .btn {
    flex: 1;
}

/* ==========================================================================
   15. STICKY CLICK-TO-CALL
   ========================================================================== */
.sticky-call {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;
    pointer-events: none;
}

.sticky-call.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-call__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 24px rgba(212, 149, 43, .4);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.sticky-call__btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212, 149, 43, .5);
}

.sticky-call__btn svg {
    flex-shrink: 0;
    animation: pulse-ring 2s ease infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grids */
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }

/* ==========================================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__form-wrap {
        max-width: 520px;
    }

    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: span 2;
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE — Tablet Small (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation Mobile */
    .nav__toggle {
        display: flex;
    }

    .nav__right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 80px 24px 32px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, .2);
        transition: right .35s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav__right.active {
        right: 0;
    }

    .nav__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 24px;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav__actions {
        flex-direction: column;
        gap: 10px;
    }

    .nav__btn {
        justify-content: center;
        width: 100%;
    }

    /* Hero */
    .hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__badges {
        grid-template-columns: 1fr;
    }

    .hero__form-wrap {
        max-width: 100%;
    }

    /* Tab Switcher */
    .tab-switcher--centered {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-switcher--centered .tab-switcher__btn {
        width: 100%;
    }

    /* Cost Grid */
    .cost-grid {
        grid-template-columns: 1fr;
    }

    /* Plan Grid */
    .plan-grid {
        grid-template-columns: 1fr;
    }

    /* Home Plan */
    .home-plan-layout {
        grid-template-columns: 1fr;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Testimonials */
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    /* CTA form */
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__legal {
        flex-direction: column;
        text-align: center;
    }

    /* Modals */
    .modal {
        padding: 10px;
        align-items: flex-end;
    }

    .modal__dialog {
        max-height: 90vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .modal__grid {
        grid-template-columns: 1fr;
    }

    .modal__ctas {
        flex-direction: column;
    }

    .modal__header {
        padding: 22px 24px;
    }

    .modal__body {
        padding: 22px 24px;
    }

    /* Sticky Call — full width bar on mobile */
    .sticky-call {
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 0;
    }

    .sticky-call__btn {
        justify-content: center;
        border-radius: 0;
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    /* Add padding at bottom of page to prevent sticky call overlap */
    .footer {
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   RESPONSIVE — Mobile Small (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__form-header {
        padding: 20px 20px;
    }

    .hero__form-title {
        font-size: 1.2rem;
    }

    .tab-switcher {
        padding: 12px 16px 0;
    }

    .tab-switcher__btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .lead-form {
        padding: 20px 16px 24px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .cost-card {
        padding: 22px;
    }

    .cost-card__amount {
        font-size: 1.5rem;
    }

    .plan-card__body {
        padding: 20px;
    }

    .step__number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .testimonial-card {
        padding: 22px;
    }

    .faq__question {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .faq__answer p {
        padding: 0 18px 16px;
    }

    .cta-section__header h2 {
        font-size: 1.4rem;
    }

    .sticky-call__btn span {
        display: inline;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .topbar,
    .nav,
    .sticky-call,
    .modal {
        display: none !important;
    }

    .hero {
        background: #fff !important;
        color: #000 !important;
    }

    .hero__bg {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}
