/* =====================================================
   CURB PAINTING — AVON, OHIO
   Design system: 8px spacing grid + 1.25 type scale
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand colors */
    --purple:         #4B2E83;
    --purple-dark:    #3a2268;
    --purple-darker:  #2e1a5e;
    --purple-light:   #6b4da3;
    --gold:           #F2B705;
    --gold-dark:      #d9a404;
    --gold-faint:     rgba(242, 183, 5, 0.12);
    --gold-border:    rgba(242, 183, 5, 0.35);
    --white:          #ffffff;
    --off-white:      #f7f5fc;
    --lavender:       #ede9f8;
    --text:           #1a1a1a;
    --text-muted:     #5a5a6e;
    --border:         #e0daea;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(75, 46, 131, 0.08);
    --shadow:     0 4px 18px rgba(75, 46, 131, 0.12);
    --shadow-lg:  0 8px 32px rgba(75, 46, 131, 0.20);

    /* Border radius */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;

    /* Font */
    --font: 'Outfit', sans-serif;

    /* Spacing scale — 8px base grid */
    --space-1:  8px;
    --space-2:  16px;
    --space-3:  24px;
    --space-4:  32px;
    --space-6:  48px;
    --space-8:  64px;
    --space-10: 80px;
    --space-12: 96px;

    /* Type scale — 1.25 ratio from 16px */
    --text-xs:    0.8rem;      /* ~13px — fine print  */
    --text-sm:    0.875rem;    /* 14px  — labels, meta */
    --text-base:  1rem;        /* 16px  — body         */
    --text-md:    1.25rem;     /* 20px  — card titles  */
    --text-xl:    1.9375rem;   /* 31px  — section titles */
    --text-2xl:   2.4375rem;   /* 39px  — hero headline  */
    --text-price: 2.5rem;      /* 40px  — pricing numbers */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: var(--text-base);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
}

/* ---------- Utility ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section-title {
    font-size: var(--text-xl);
    font-weight: 800;
    text-align: center;
    color: var(--purple);
    margin-bottom: var(--space-1);
    line-height: 1.2;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.highlight {
    color: var(--gold);
}

/* Buttons — minimum 48px height (iOS thumb-friendly standard) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--purple-dark);
    font-family: var(--font);
    font-weight: 700;
    font-size: var(--text-base);
    min-height: 48px;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--purple);
    font-family: var(--font);
    font-weight: 700;
    font-size: var(--text-base);
    min-height: 48px;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    border: 2px solid var(--purple);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--purple);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.20);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    gap: var(--space-2);
}

.logo {
    font-size: var(--text-md);
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

nav a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

/* Higher specificity than nav a — no !important needed */
nav a.nav-cta {
    background: var(--gold);
    color: var(--purple-dark);
    border-radius: var(--radius);
}

nav a.nav-cta:hover {
    background: var(--gold-dark);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile header */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--purple);
        flex-direction: column;
        gap: 0;
        padding: var(--space-3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav a {
        padding: var(--space-2);
        border-radius: var(--radius-sm);
        display: block;
        text-align: center;
        font-size: var(--text-base);
    }

    nav a.nav-cta {
        margin-top: var(--space-2);
    }

    .nav-phone {
        display: block !important;
    }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(145deg, var(--purple-darker) 0%, var(--purple) 55%, var(--purple-light) 100%);
    padding: var(--space-12) 0 var(--space-10);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal stripe texture */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.018) 40px,
        rgba(255, 255, 255, 0.018) 80px
    );
    pointer-events: none;
}

/* Angled edge into the next section */
.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--off-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-inner {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--gold-faint);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px var(--space-2);
    border-radius: 20px;
    margin-bottom: var(--space-2);
}

.hero h1 {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-3);
}

.hero-sub {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Small trust line below hero CTA */
.hero-trust {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.70);
    letter-spacing: 0.3px;
}

.hero-student-owned {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.80);
    font-style: italic;
}

/* Hero CTA — larger than standard buttons */
.hero .btn-primary {
    font-size: 1.1rem;
    padding: 18px var(--space-6);
    min-height: 56px;
    box-shadow: 0 4px 20px rgba(242, 183, 5, 0.35);
}

/* ---------- Trust Strip ---------- */
.trust-strip {
    background: var(--white);
    padding: var(--space-6) 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-4) var(--space-3);
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text);
    margin: var(--space-2) 0 var(--space-1);
    line-height: 1.3;
}

.trust-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.trust-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.trust-icon-large svg {
    width: 64px;
    height: 64px;
    color: var(--purple);
    stroke-width: 1.5;
}

.trust-icon {
    color: var(--purple);
    font-size: var(--text-base);
    font-weight: 800;
}

@media (max-width: 899px) {
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8) var(--space-4);
    }
    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: var(--space-6);
    }
    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 599px) {
    .trust-items {
        grid-template-columns: 1fr;
    }
    .trust-item:last-child {
        border-bottom: none;
    }
}

/* ---------- How It Works ---------- */
.how-it-works {
    background: var(--off-white);
    padding: var(--space-8) 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 var(--space-3);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--purple);
    color: var(--gold);
    font-size: var(--text-md);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2);
    box-shadow: var(--shadow-sm);
}

.step h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--purple);
    margin-bottom: var(--space-1);
}

.step p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.65;
}

.step-divider {
    width: 64px;
    height: 3px;
    background: rgba(107, 77, 163, 0.30);
    align-self: flex-start;
    flex-shrink: 0;
    margin-top: 26px; /* (56px circle height - 3px line) / 2 */
    border-radius: 2px;
}

/* ---------- Pricing ---------- */
.pricing {
    background: var(--white);
    padding: var(--space-8) 0;
}

.pricing-cards {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 40px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    width: 300px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--purple);
    background: var(--off-white);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--purple-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 4px var(--space-2);
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--purple);
    margin-bottom: var(--space-1);
}

.price {
    font-size: var(--text-price);
    font-weight: 800;
    color: var(--purple);
    margin-bottom: var(--space-3);
    line-height: 1.1;
}

.pricing-card ul {
    margin-bottom: var(--space-4);
    text-align: left;
}

.pricing-card ul li {
    font-size: var(--text-base);
    color: var(--text-muted);
    padding: var(--space-1) 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li::before {
    content: "✓";
    color: var(--purple);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery {
    background: var(--off-white);
    padding: var(--space-8) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--lavender);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    color: var(--purple-light);
    font-size: var(--text-sm);
    font-weight: 600;
}

.gallery-icon {
    font-size: 1.75rem;
    opacity: 0.45;
}

/* To add real photos: replace <div class="gallery-placeholder"> with
   <img src="your-photo.jpg" alt="Curb painting" class="gallery-photo" /> */
.gallery-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--white);
    padding: var(--space-8) 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: var(--space-2);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--purple);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--purple);
    cursor: pointer;
    list-style: none;
    gap: var(--space-2);
}

/* Hide default marker in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

/* Custom +/− indicator */
.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--purple-light);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-answer {
    padding: 0 var(--space-3) var(--space-3);
    border-top: 1px solid var(--border);
}

.faq-answer p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
    padding-top: var(--space-2);
}

/* ---------- Order Form ---------- */
.order-section {
    background: var(--white);
    padding: var(--space-8) 0;
}

.order-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: var(--space-2);
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: var(--space-3);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    color: var(--text);
}

.required {
    color: var(--purple);
}

.optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: var(--text-xs);
}

.form-group select {
    width: 100%;
    min-height: 48px;
    padding: var(--space-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--text);
    background: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234B2E83' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(75, 46, 131, 0.12);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: var(--space-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(75, 46, 131, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.field-helper {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: var(--space-1);
    margin-bottom: 0;
}

.form-group-notes {
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.form-group-payment {
    padding-top: var(--space-2);
    margin-top: var(--space-2);
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.radio-group {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-4);
    cursor: pointer;
    font-size: var(--text-base);
    min-height: 100px;
    transition: border-color 0.2s, background 0.2s;
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.radio-option:has(input:checked) {
    border-color: var(--purple);
    background: var(--lavender);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-price {
    font-size: 2rem;
    color: var(--purple);
    font-weight: 800;
    line-height: 1;
}

.radio-option span {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.payment-toggle {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.payment-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: var(--white);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option span {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-muted);
}

.payment-option-primary {
    border-color: var(--purple);
    background: var(--lavender);
}

.payment-option-primary span {
    color: var(--purple);
}

.payment-option:has(input:checked) {
    border-color: var(--purple);
    background: var(--lavender);
    border-width: 2px;
}

.payment-option:has(input:checked) span {
    color: var(--purple);
}

.payment-helper {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* International Telephone Input styling */
.iti {
    width: 100%;
}

.iti input[type="tel"] {
    width: 100%;
}

input.error {
    border-color: #ef4444 !important;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    min-height: 56px;
    padding: var(--space-2) var(--space-4);
    margin-top: var(--space-1);
    margin-bottom: var(--space-2);
}

.form-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Order Success State ---------- */
.order-success {
    max-width: 640px;
    margin: 0 auto;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow);
    text-align: center;
}

.order-success-icon {
    width: 64px;
    height: 64px;
    background: var(--purple);
    color: var(--gold);
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.order-success h3 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--purple);
    margin-bottom: var(--space-2);
}

.order-success p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}

.success-phone {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
}

.success-phone a {
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
}

.success-phone a:hover {
    text-decoration: underline;
}

.form-error {
    text-align: center;
    font-size: var(--text-sm);
    color: #c0392b;
    margin-top: var(--space-2);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--purple-dark);
    color: var(--white);
    padding: var(--space-6) 0 var(--space-3);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: var(--space-3);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-location {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-contact a {
    color: var(--gold);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: opacity 0.2s;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-copy {
    text-align: center;
}

.footer-copy p {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.45);
}

/* =====================================================
   RESPONSIVE — Mobile  ≤ 599px
   ===================================================== */
@media (max-width: 599px) {
    .hero {
        padding: var(--space-8) 0 var(--space-6);
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero .btn-primary {
        width: 100%;
        max-width: 320px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }

    .step {
        max-width: 100%;
    }

    .step-divider {
        width: 2px;
        height: var(--space-4);
        margin: 0;
    }

    .trust-items {
        gap: var(--space-3);
    }

    .faq-question {
        font-size: var(--text-sm);
    }

    /* 1 column on mobile — photos need room to be seen */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .order-form {
        padding: var(--space-3);
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 340px;
    }

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

    .footer-contact {
        justify-content: center;
    }
}

/* =====================================================
   RESPONSIVE — Tablet  600px – 899px
   ===================================================== */
@media (min-width: 600px) and (max-width: 899px) {
    .hero h1 {
        font-size: 2rem;
    }

    /* 2 columns on tablet — readable photo size */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .step-divider {
        display: none;
    }

    .pricing-card {
        width: 280px;
    }
}

/* =====================================================
   NEW SECTIONS — added improvements
   ===================================================== */

/* ---------- Nav phone link ---------- */
.nav-phone {
    color: var(--gold);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-2);
    white-space: nowrap;
}

@media (max-width: 599px) {
    .nav-phone { display: none; }
}

/* ---------- Hero phone link ---------- */
.hero-phone {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.hero-phone:hover {
    text-decoration: underline;
}

/* ---------- Before/After Slider ---------- */
.ba-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto var(--space-4);
}

.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 7;
    cursor: ew-resize;
    user-select: none;
    box-shadow: var(--shadow-lg);
}

.ba-before,
.ba-after {
    position: absolute;
    inset: 0;
}

.ba-after {
    clip-path: inset(0 50% 0 0);
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-darker) 0%, var(--purple) 100%);
}

.ba-placeholder--after {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
}

.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--white);
    transform: translateX(-50%);
    cursor: ew-resize;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--purple);
    font-weight: 700;
}

.ba-label {
    position: absolute;
    top: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ba-label--before { left:  var(--space-2); }
.ba-label--after  { right: var(--space-2); }

.gallery-coming {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--off-white);
    padding: var(--space-8) 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.testimonial-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.t-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: var(--space-1);
    letter-spacing: 2px;
}

.t-quote {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-3);
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--gold);
    font-weight: 800;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t-author strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--text);
}

.t-author span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

@media (max-width: 599px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}

@media (min-width: 600px) and (max-width: 899px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service Area ---------- */
.service-area {
    background: var(--white);
    padding: var(--space-8) 0;
}

.area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-3);
}

.area-card {
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--purple);
}

.area-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ---------- Mid-page CTA Banner ---------- */
.mid-cta {
    background: var(--purple);
    padding: var(--space-6) 0;
}

.mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.mid-cta p {
    color: var(--white);
    font-size: var(--text-md);
    font-weight: 700;
}

@media (max-width: 599px) {
    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Floating Mobile CTA ---------- */
.float-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    background: var(--gold);
    color: var(--purple-dark);
    font-family: var(--font);
    font-weight: 700;
    font-size: var(--text-base);
    padding: 14px 22px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(242, 183, 5, 0.45);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

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

@media (min-width: 900px) {
    .float-cta { display: none; }
}

/* ---------- Gallery Slider ---------- */
.gallery-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-track {
    display: flex;
    gap: var(--space-3);
    transition: transform 0.4s ease;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--purple);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.gallery-nav:hover {
    background: var(--purple);
    color: var(--white);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.gallery-nav-prev {
    left: -24px;
}

.gallery-nav-next {
    right: -24px;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .gallery-item img {
        height: 300px;
    }

    .gallery-nav-prev {
        left: 8px;
    }

    .gallery-nav-next {
        right: 8px;
    }
}
