/* ==========================================================================
   Grand Sun Shine — Main Stylesheet
   Future Proofing LLC | Grand County, CO
   ========================================================================== */

/* ─── Custom Properties ─────────────────────────────────────────────────── */
:root {
    --background:         hsl(0, 0%, 100%);
    --foreground:         hsl(200, 25%, 13%);
    --card:               hsl(0, 0%, 100%);
    --muted:              hsl(150, 10%, 96%);
    --muted-foreground:   hsl(200, 10%, 47%);
    --accent:             hsl(160, 55%, 35%);
    --accent-foreground:  hsl(0, 0%, 100%);
    --border:             hsl(200, 15%, 90%);
    --fp-warm:            hsl(40, 30%, 96%);
    --radius:             0.5rem;

    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-display: 'Nunito', system-ui, sans-serif;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
    --shadow-lg:  0 10px 30px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
    --shadow-accent: 0 8px 24px hsla(160,55%,35%,.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
}

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

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

ul { list-style: none; }

input, textarea, button, select {
    font-family: var(--font-body);
    font-size: 0.875rem;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Utility ───────────────────────────────────────────────────────────── */
.hidden   { display: none !important; }
.text-accent { color: var(--accent); }
.sr-only  { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}
.btn-accent:hover { filter: brightness(1.1); color: var(--accent-foreground); }
.btn-accent:active { transform: scale(0.98); }
.btn-accent:disabled { opacity: 0.4; cursor: not-allowed; filter: none; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--foreground);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid hsla(200,25%,13%,.2);
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}
.btn-outline:hover { background: var(--muted); color: var(--foreground); }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s;
    padding: 0.5rem 0;
}
.btn-back:hover { color: var(--foreground); }

/* ─── Section Shared ────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: hsla(160,55%,35%,.08);
    border-radius: 9999px;
    border: 1px solid hsla(160,55%,35%,.18);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}
.nav-logo:hover { color: var(--foreground); }

.nav-logo-img { height: 2.75rem; width: auto; }

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }

.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--background);
    border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

.nav-mobile-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--accent); }

.nav-mobile-cta {
    display: block;
    text-align: center;
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsla(200,25%,13%,0.92) 0%,
        hsla(200,25%,13%,0.75) 45%,
        hsla(200,25%,13%,0.22) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 10rem; /* room for stats bar */
}

.hero-text { max-width: 38rem; }

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(160,55%,35%,.12);
    border: 1px solid hsla(160,55%,35%,.3);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease both;
}

.hero-heading {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 700;
    color: hsl(0,0%,98%);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s 0.15s ease both;
}

.hero-body {
    font-size: 1.1rem;
    color: hsla(0,0%,90%,.85);
    max-width: 30rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.6s 0.45s ease both;
}

/* Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: hsla(0,0%,100%,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    z-index: 2;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
}
.hero-stat { text-align: center; }
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
}
.hero-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════════════════ */
.section-services {
    padding: 6rem 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    border-color: hsla(160,55%,35%,.4);
    box-shadow: 0 8px 24px hsla(160,55%,35%,.08);
    transform: translateY(-4px);
}
.service-card { transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }

.service-icon {
    width: 3rem;
    height: 3rem;
    background: hsla(160,55%,35%,.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    transition: background 0.25s;
}
.service-card:hover .service-icon { background: hsla(160,55%,35%,.2); }

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════════════════════════════════════ */
.section-benefits {
    padding: 6rem 0;
    background: var(--fp-warm);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.benefits-intro {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: hsla(160,55%,35%,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--accent);
}

.benefit-item span {
    font-size: 0.875rem;
    color: var(--foreground);
}

/* FP Card */
.fp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.fp-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.fp-card-subtitle {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.fp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}
.fp-row--last { border-bottom: none; }

.fp-row-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    flex-shrink: 0;
}

.fp-row-detail {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-align: right;
    max-width: 55%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════════════════════════════ */
.section-team {
    padding: 6rem 0;
    background: var(--background);
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 64rem;
    margin: 0 auto;
    align-items: start;
}

.team-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover {
    border-color: hsla(160,55%,35%,.3);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: hsla(160,55%,35%,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.2rem;
}

.team-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}

.team-contact {
    margin-bottom: 1.25rem;
}
.team-contact p { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.team-contact a { color: var(--muted-foreground); transition: color 0.2s; }
.team-contact a:hover { color: var(--accent); }

.team-credentials {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.credentials-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.team-credentials ul { display: flex; flex-direction: column; gap: 0.375rem; }

.team-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.cred-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.team-photo {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT / CTA
═══════════════════════════════════════════════════════════════════════════ */
.section-contact {
    padding: 6rem 0;
    background: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: hsla(200,25%,13%,.8);
}
.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-detail a { color: hsla(200,25%,13%,.8); transition: color 0.2s; }
.contact-detail a:hover { color: var(--accent); }

.pro-tip {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.125rem 1.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}
.pro-tip strong { color: var(--foreground); }

/* Form container */
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Progress */
.form-progress {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 2rem;
}
.progress-bar {
    height: 0.375rem;
    flex: 1;
    border-radius: 9999px;
    background: var(--border);
    transition: background 0.3s;
}
.progress-bar.active { background: var(--accent); }

/* Steps */
.form-step { display: flex; flex-direction: column; gap: 0.875rem; }

.step-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.step-hint { font-size: 0.8rem; color: var(--muted-foreground); margin-top: -0.5rem; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }

/* Inputs */
.form-input {
    width: 100%;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--muted-foreground); }
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px hsla(160,55%,35%,.15);
}

.form-textarea { resize: none; }

/* Service buttons */
.service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.service-btn {
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.service-btn:hover { border-color: hsla(160,55%,35%,.35); }
.service-btn.selected {
    border-color: var(--accent);
    background: hsla(160,55%,35%,.1);
    color: var(--foreground);
}

.heating-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.heating-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.heating-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.heating-btn:hover { border-color: hsla(160,55%,35%,.35); }
.heating-btn.selected {
    border-color: var(--accent);
    background: hsla(160,55%,35%,.1);
    color: var(--foreground);
}

/* Detail blocks */
.detail-block {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.detail-block-title { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.detail-note { font-size: 0.75rem; color: var(--muted-foreground); }

.detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.detail-row label { font-size: 0.875rem; color: var(--muted-foreground); }

.yn-group { display: flex; gap: 0.5rem; }
.yn-btn {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.yn-btn.selected {
    border-color: var(--accent);
    background: hsla(160,55%,35%,.1);
    color: var(--foreground);
}

/* Form navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

/* Success */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}
.success-icon {
    color: var(--accent);
    margin: 0 auto 1rem;
}
.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}
.form-success p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    max-width: 26rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--foreground);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand { display: flex; align-items: center; gap: 0.5rem; }

.footer-logo { height: 3rem; width: auto; }

.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--background);
}

.footer-links { display: flex; gap: 1.5rem; }

.footer-link {
    font-size: 0.75rem;
    color: hsla(0,0%,100%,.5);
    transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

.footer-copy {
    font-size: 0.75rem;
    color: hsla(0,0%,100%,.35);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≥ 640px)
═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .hero-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

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

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP  (≥ 1024px)
═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    /* Navbar */
    .nav-links    { display: flex; }
    .nav-hamburger { display: none; }

    /* Hero */
    .hero-heading { font-size: 3.75rem; }

    /* Services */
    .services-grid { grid-template-columns: repeat(4, 1fr); }

    /* Benefits */
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }

    /* Team — 3 cards + 2 photo cols */
    .team-layout {
        grid-template-columns: 3fr 2fr;
    }
    .team-cards { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }

    /* Footer */
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (< 640px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
    .nav-links    { display: none; }
    .nav-hamburger { display: flex; }

    /* Larger tap targets */
    .nav-mobile-link { padding: 0.5rem 0; font-size: 1rem; }
    .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }

    /* Hero */
    .hero-content { padding-top: 5rem; padding-bottom: 12rem; }
    .hero-heading { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero-body    { font-size: 1rem; }
    .hero-ctas    { flex-direction: column; }
    .hero-ctas .btn-lg { justify-content: center; }
    .hero-badge   { font-size: 0.65rem; }

    /* Stats bar — 2 cols on small, clean */
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem; }
    .hero-stat-value { font-size: 1.15rem; }

    /* Sections */
    .section-services,
    .section-benefits,
    .section-team,
    .section-contact,
    .section-how,
    .section-testimonials { padding: 4rem 0; }

    /* Benefits card rows — stack label/detail */
    .fp-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .fp-row-detail { text-align: left; max-width: 100%; }

    /* Form */
    .form-row-2 { grid-template-columns: 1fr; }
    .service-options { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.5rem 1.25rem; }

    /* Team photo — fixed height on mobile */
    .team-photo { max-height: 280px; }
    .team-photo img { object-position: center top; }

    /* How it works — tighten */
    .how-step { padding: 1.5rem; }
    .how-number { font-size: 2.25rem; }

    /* Testimonials */
    .testimonial-card { padding: 1.5rem; }
}

/* ─── Elementor compatibility ───────────────────────────────────────────── */
/* Let Elementor manage its own layout inside .elementor wrappers */
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    max-width: 100%;
}
/* Don't let our body font override Elementor's typography controls */
.elementor-widget *,
.elementor-widget-container * {
    font-family: inherit;
}
/* Reset container padding inside Elementor full-width sections */
.elementor-section-full_width .container {
    max-width: 100%;
    padding: 0;
}

/* ─── Parcel map link ───────────────────────────────────────────────────── */
.parcel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    margin-top: 0.375rem;
    transition: opacity 0.2s;
}
.parcel-link:hover { opacity: 0.75; color: var(--accent); }

/* device-btn shares heating-btn styles */
.device-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.device-btn:hover { border-color: hsla(160,55%,35%,.35); }
.device-btn.selected {
    border-color: var(--accent);
    background: hsla(160,55%,35%,.1);
    color: var(--foreground);
}

/* ─── WP Admin Bar Offset ───────────────────────────────────────────────── */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-nav { top: 46px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAV SCROLL STATE
═══════════════════════════════════════════════════════════════════════════ */
.site-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    background: hsla(0, 0%, 100%, 0.98);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════════════════ */
.section-how {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
}

.how-step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.how-step:hover {
    border-color: hsla(160,55%,35%,.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.how-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: hsla(160,55%,35%,.12);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.how-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: hsla(160,55%,35%,.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent);
}

.how-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.how-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.how-connector {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════════════ */
.section-testimonials {
    padding: 6rem 0;
    background: var(--fp-warm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.testimonial-card:hover {
    border-color: hsla(160,55%,35%,.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    color: hsl(40, 90%, 55%);
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: hsla(160,55%,35%,.15);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .how-grid { grid-template-columns: repeat(4, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

    .how-connector {
        display: block;
        position: absolute;
        top: 3.5rem;
        right: -1.5rem;
        width: 1.5rem;
        height: 2px;
        background: linear-gradient(to right, var(--accent), transparent);
        opacity: 0.4;
        pointer-events: none;
    }
    .how-step:last-child .how-connector { display: none; }
}
