/* ============================================
   A BETTER CHOICE HOME IMPROVEMENT
   Light & warm theme · banded Colorado sunset hero
   (built in the spirit of the Phoenix Fitness build)
   ============================================ */

:root {
    /* Neutrals (warm, light theme) */
    --cream: #FFF9F1;
    --cream-soft: #FDEFE0;
    --cream-card: #FFFFFF;
    --ink: #2A2018;
    --ink-soft: #6E5F4F;
    --line: rgba(42, 32, 24, 0.10);

    /* Banded Colorado sunset palette */
    --sun-deep: #C43A1A;     /* deep orange / ember */
    --sun-orange: #F2722B;   /* mid orange */
    --sun-amber: #FF8C42;    /* warm amber */
    --sun-gold: #FBB034;     /* gold band */
    --sun-yellow: #FFD23F;   /* bright yellow band */
    --grass: #5BA829;        /* the green is grass */
    --grass-deep: #4E8F22;

    /* Dusk mountain silhouettes */
    --ridge-far: #B86A4E;
    --ridge-near: #6E3A3F;

    /* Gradients */
    --sunset-gradient: linear-gradient(135deg, var(--sun-deep) 0%, var(--sun-orange) 48%, var(--sun-gold) 100%);
    --sunset-gradient-soft: linear-gradient(135deg, var(--sun-orange) 0%, var(--sun-gold) 100%);
    --sun-text-gradient: linear-gradient(120deg, #BB3416 0%, #E85D1E 55%, #F2911F 100%);

    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', 'Helvetica Neue', sans-serif;

    /* Spacing & effects */
    --section-padding: clamp(4rem, 10vw, 7rem);
    --container-max: 1400px;
    --glow-orange: 0 14px 34px rgba(242, 114, 43, 0.32);
    --shadow-card: 0 10px 30px rgba(42, 32, 24, 0.10);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-soft); }
::-webkit-scrollbar-thumb { background: var(--sunset-gradient); border-radius: 5px; }

::selection { background: var(--sun-orange); color: #fff; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.display-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 8.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.92;
}

.section-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: var(--sunset-gradient);
    margin-top: 1rem;
}

.section-title.centered { text-align: center; }
.section-title.centered::after { margin-left: auto; margin-right: auto; }

/* Sunset gradient text accent */
.sun-text {
    background: var(--sun-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 249, 241, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(42, 32, 24, 0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 54px;
    width: auto;
    transition: var(--transition-smooth);
}

.brand-wordmark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ink);
    transition: var(--transition-smooth);
}
.navbar-brand:hover .brand-wordmark { color: var(--sun-orange); }

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

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--sunset-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--sun-orange); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--sunset-gradient);
    color: #fff !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 600;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-orange); }
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.nav-toggle span {
    width: 28px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ============================================
   HERO — BANDED COLORADO SUNSET
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--sun-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* base wash so parallax gaps never show */
    background: linear-gradient(to bottom, var(--sun-deep) 0%, var(--sun-orange) 55%, var(--sun-gold) 100%);
}

/* Banded sky — each band fades at its edges so they blend like a real sunset */
.sky-band {
    position: absolute;
    left: -5%;
    width: 110%;
    will-change: transform;
}
.band-1 { /* deep orange, top */
    top: -8%;
    height: 46%;
    background: linear-gradient(to bottom, #B8330F 0%, #D24A1A 55%, rgba(210,74,26,0) 100%);
}
.band-2 { /* gold / yellow mid band */
    top: 26%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(251,176,52,0) 0%, var(--sun-gold) 40%, var(--sun-yellow) 60%, rgba(255,210,63,0) 100%);
}
.band-3 { /* orange horizon glow */
    top: 50%;
    height: 42%;
    background: linear-gradient(to bottom, rgba(242,114,43,0) 0%, var(--sun-amber) 45%, var(--sun-deep) 100%);
}

/* The sun, low on the horizon */
.sun {
    position: absolute;
    left: 50%;
    bottom: 24%;
    width: 190px;
    height: 190px;
    margin-left: -95px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #FFF3C4 0%, #FFE07A 35%, #FFC23C 70%, rgba(255,194,60,0) 72%);
    filter: blur(2px);
    will-change: transform;
}

/* Mountain ridges (echo the jagged roofline of the logo) */
.ridge {
    position: absolute;
    left: -3%;
    width: 106%;
    will-change: transform;
}
.ridge-far {
    bottom: 17%;
    height: 26%;
    fill: var(--ridge-far);
    opacity: 0.85;
}
.ridge-near {
    bottom: 9%;
    height: 30%;
    fill: var(--ridge-near);
}

/* Grass foreground (the green) */
.grass {
    position: absolute;
    left: -3%;
    bottom: -6%;
    width: 106%;
    height: 20%;
    background: linear-gradient(to bottom, var(--grass) 0%, var(--grass-deep) 100%);
    box-shadow: 0 -6px 20px rgba(78, 143, 34, 0.35);
    will-change: transform;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sun-deep);
    margin-bottom: 1.75rem;
    box-shadow: 0 6px 18px rgba(42, 32, 24, 0.18);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    color: #2A1A10;
    text-shadow: 0 2px 18px rgba(255, 244, 214, 0.6);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}
.hero-title .line { display: block; }

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #3A2A1C;
    max-width: 640px;
    margin: 1.75rem auto;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(255, 244, 214, 0.55);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}
.scroll-indicator svg { width: 30px; height: 30px; stroke: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary { background: var(--sunset-gradient); color: #fff; box-shadow: 0 8px 20px rgba(196, 58, 26, 0.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow-orange); }

.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    color: var(--sun-deep);
    border: 2px solid var(--sun-orange);
}
.btn-outline:hover { background: var(--sun-orange); color: #fff; transform: translateY(-3px); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--cream-soft);
    padding: 3rem 2rem;
    position: relative;
}
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--sunset-gradient);
}
.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-item { text-align: center; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--sun-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 0.5rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about { padding: var(--section-padding) 2rem; position: relative; }
.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content { position: relative; z-index: 2; }
.about-text {
    font-size: 1.12rem;
    color: var(--ink-soft);
    margin: 1.25rem 0;
    line-height: 1.8;
}
.about-content .btn { margin-top: 0.75rem; }
.about-visual { position: relative; }
.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.about-image-wrapper img { width: 100%; height: auto; }
.about-decor {
    position: absolute;
    width: 200px; height: 200px;
    border: 3px solid var(--sun-gold);
    border-radius: 12px;
    top: -20px; right: -20px;
    z-index: -1;
    opacity: 0.55;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding) 2rem;
    background: var(--cream-soft);
    position: relative;
}
.services-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.services-header p { color: var(--ink-soft); margin-top: 0.5rem; }

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Flip card */
.service-card {
    position: relative;
    height: 380px;
    perspective: 1200px;
    cursor: pointer;
}
.service-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.service-card.flipped .service-card-inner { transform: rotateX(-180deg); }

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cream-card);
    box-shadow: var(--shadow-card);
}

.service-card-front::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--sunset-gradient);
    z-index: 10;
}

/* Featured service (siding repairs — our specialty) */
.service-card--featured .service-card-front {
    background: linear-gradient(160deg, #FFF1E0 0%, #FFFFFF 62%);
    outline: 2px solid var(--sun-gold);
    outline-offset: -2px;
    box-shadow: 0 18px 44px rgba(242, 114, 43, 0.30);
}
.service-card--featured .service-card-front::before { height: 8px; }

.service-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 12;
    padding: 0.4rem 0.9rem;
    background: var(--sunset-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 5px 14px rgba(196, 58, 26, 0.38);
}

.service-card-front .service-content {
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 58px; height: 58px;
    background: var(--sunset-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(242, 114, 43, 0.3);
}
.service-icon svg { width: 28px; height: 28px; stroke: #fff; }

.service-title { font-size: 1.45rem; margin-bottom: 0.4rem; }
.service-subtitle {
    color: var(--sun-orange);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.service-hook { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; flex-grow: 1; }

.service-tap-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.service-card:hover .service-tap-hint { opacity: 1; transform: translateY(0); }
.service-tap-hint svg { width: 16px; height: 16px; stroke: var(--sun-orange); }

/* Back */
.service-card-back {
    transform: rotateX(180deg);
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 2px solid var(--sun-orange);
    background: var(--cream);
}
.service-back-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.service-back-header .service-icon { margin-bottom: 0; width: 48px; height: 48px; }
.service-back-header .service-icon svg { width: 24px; height: 24px; }
.service-back-header-text .service-title { font-size: 1.25rem; margin-bottom: 0.2rem; }
.service-back-header-text .service-subtitle { margin-bottom: 0; }

.service-description { color: var(--ink); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.85rem; }
.service-details { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; font-style: italic; }

.service-back-cta { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1rem; }
.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: var(--sunset-gradient);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.service-link:hover { box-shadow: var(--glow-orange); transform: translateY(-2px); }
.service-back-hint {
    text-align: center;
    font-size: 0.78rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.service-back-hint svg { width: 14px; height: 14px; stroke: var(--ink-soft); }

/* ============================================
   FEATURES / WHY US
   ============================================ */
.features { padding: var(--section-padding) 2rem; background: var(--cream); }
.features-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.feature-item { text-align: center; padding: 1.5rem; }
.feature-icon {
    width: 84px; height: 84px;
    margin: 0 auto 1.5rem;
    background: rgba(242, 114, 43, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sun-orange);
    transition: var(--transition-smooth);
}
.feature-item:hover .feature-icon { background: var(--sunset-gradient); border-color: transparent; transform: scale(1.08); }
.feature-icon svg { width: 34px; height: 34px; stroke: var(--sun-orange); transition: var(--transition-smooth); }
.feature-item:hover .feature-icon svg { stroke: #fff; }
.feature-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.feature-description { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }

.features-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.features-header p { color: var(--ink-soft); margin-top: 0.5rem; }
.features-header .seo-blurb {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ink-soft);
    opacity: 0.75;
    margin-top: 1.25rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Resale-value callout inside About */
.about-callout {
    margin: 1.75rem 0;
    padding: 1.1rem 1.4rem;
    border-left: 4px solid var(--sun-orange);
    background: linear-gradient(120deg, rgba(251, 176, 52, 0.16), rgba(242, 114, 43, 0.08));
    border-radius: 0 10px 10px 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--ink);
    font-weight: 500;
}
.about-callout em { font-style: normal; color: var(--sun-deep); font-weight: 600; }

/* Core values strip */
.core-values {
    max-width: var(--container-max);
    margin: 4rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
}
.core-values-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}
.core-values-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.75rem;
}
.core-values-list li {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    letter-spacing: 0.04em;
    background: var(--sun-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.core-values-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.95rem;
    top: 50%;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sun-gold);
    transform: translateY(-50%);
    -webkit-text-fill-color: initial;
}

/* Detailed core-values write-up below the strip */
.core-values-detail {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem 2.5rem;
    text-align: left;
}
.value-block { background: var(--cream-card); border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow-card); }
.value-name {
    font-family: var(--font-display);
    font-size: 1.85rem;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 0 1rem;
}
.value-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.value-block ul li {
    color: var(--ink);
    line-height: 1.55;
    font-size: 0.97rem;
    padding-left: 1.1rem;
    position: relative;
}
.value-block ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.7em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sun-orange);
}

/* Mission band */
.mission {
    padding: clamp(3rem, 7vw, 5rem) 2rem;
    background: #241A14;
    text-align: center;
}
.mission-container { max-width: 760px; margin: 0 auto; }
.mission-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sun-gold);
    margin-bottom: 1rem;
}
.mission-text {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

/* ============================================
   CAREERS PAGE
   ============================================ */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 9rem 1.5rem 6rem;
    background: linear-gradient(to bottom, #B8330F 0%, var(--sun-orange) 52%, var(--sun-gold) 100%);
}
.page-hero-grass {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--grass) 0%, var(--grass-deep) 100%);
    box-shadow: 0 -6px 20px rgba(78, 143, 34, 0.35);
}
.page-hero-content { position: relative; z-index: 2; max-width: 880px; }
.page-hero-title {
    color: #2A1A10;
    text-shadow: 0 2px 18px rgba(255, 244, 214, 0.55);
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
}
.page-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #3A2A1C;
    font-weight: 500;
    max-width: 620px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 10px rgba(255, 244, 214, 0.5);
}

/* Two-column pillar grid variant */
.features-container.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    gap: 2.5rem 3rem;
}

/* Founder's letter */
.founder-letter {
    padding: var(--section-padding) 2rem;
    background: var(--cream);
}
.founder-letter-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.founder-letter .section-title.centered { margin-bottom: 0; }
.founder-quote { margin-top: 2rem; }
.founder-quote p {
    font-size: clamp(1.15rem, 2.3vw, 1.5rem);
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 1.25rem;
}
.founder-kicker {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--sun-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.founder-sign {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

@media (max-width: 768px) {
    .features-container.cols-2 { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--section-padding) 2rem;
    background: var(--cream-soft);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '"';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 45vw;
    color: rgba(242, 114, 43, 0.06);
    pointer-events: none;
    line-height: 1;
}
.testimonials-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 2; }
.testimonials-slider { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.testimonial-card {
    background: var(--cream-card);
    border-radius: 14px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}
.testimonial-quote { font-size: 1.2rem; line-height: 1.8; color: var(--ink); font-style: italic; margin-bottom: 1.75rem; }
.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.testimonial-name { font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.testimonial-result { color: var(--sun-orange); font-size: 0.82rem; font-family: var(--font-heading); letter-spacing: 0.1em; text-transform: uppercase; }

.testimonial-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testimonial-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(42, 32, 24, 0.18);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.testimonial-dot.active, .testimonial-dot:hover { background: var(--sun-orange); transform: scale(1.2); }

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta {
    padding: var(--section-padding) 2rem;
    background: var(--sunset-gradient);
    position: relative;
    overflow: hidden;
}
.cta::after {
    /* a soft grass strip at the very bottom, echoing the hero */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 10px;
    background: linear-gradient(to right, var(--grass), var(--grass-deep));
}
.cta-container { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-title { font-size: clamp(2.25rem, 6vw, 3.75rem); margin-bottom: 1rem; color: #fff; }
.cta-title .sun-text { -webkit-text-fill-color: #2A1A10; background: none; color: #2A1A10; }
.cta-subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--sun-deep); }
.cta .btn-primary:hover { background: #2A1A10; color: #fff; }
.cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.cta .btn-outline:hover { background: #fff; color: var(--sun-deep); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #241A14;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}
.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
}
.footer-brand img {
    height: 64px;
    width: auto;
    margin-bottom: 1.25rem;
}
.footer-tagline { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.7; max-width: 320px; }
.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--sun-gold);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.94rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--sun-gold); }
.footer-contact p { font-size: 0.94rem; margin-bottom: 0.5rem; }

.footer-bottom {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.19s; }
.delay-4 { transition-delay: 0.26s; }
.delay-5 { transition-delay: 0.33s; }
.delay-6 { transition-delay: 0.40s; }
.delay-7 { transition-delay: 0.47s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { order: -1; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }
    .nav-links.active { right: 0; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .service-card { height: 360px; }
    .service-tap-hint { opacity: 1; transform: translateY(0); }
    .features-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-tagline { margin: 0 auto; }
    .footer-brand img { margin-left: auto; margin-right: auto; }
    .footer-bottom { flex-direction: column; }
    .hero-cta-group, .cta-actions { flex-direction: column; align-items: center; }
    .sun { width: 140px; height: 140px; margin-left: -70px; }
}

@media (max-width: 480px) {
    .stats-container { grid-template-columns: 1fr; }
    .display-title { font-size: 2.75rem; }
    .testimonial-card { padding: 2rem 1.5rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right { transition: none; opacity: 1; transform: none; }
    .scroll-indicator { animation: none; }
    [data-parallax] { transform: none !important; }
}
