/* ============================================================
   SERVE CLEANING — Main Stylesheet
   Mobile-first. No frameworks. Vanilla CSS.
   ============================================================ */

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

:root {
    --color-dark:         #1f2937;
    --color-dark-alt:     #111827;
    --color-accent:       #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-bg:           #ffffff;
    --color-bg-light:     #f9fafb;
    --color-text:         #374151;
    --color-text-muted:   #6b7280;
    --color-border:       #e5e7eb;
    --font:               'Inter', sans-serif;
    --radius:             8px;
    --shadow:             0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:          0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -1px rgba(0,0,0,0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Shared Layout Utilities --- */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, transform 0.1s ease;
    text-align: center;
}

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

.btn--primary:hover {
    background: var(--color-accent-hover);
}

.btn--primary:active {
    transform: scale(0.98);
}

.btn--full {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
    background: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    font-family: 'Times New Roman', Times, serif;
}

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

.nav__links a {
    color: #d1d5db;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav__links a:hover {
    color: #fff;
}

.nav__cta {
    background: var(--color-accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background 0.15s;
}

.nav__cta:hover {
    background: var(--color-accent-hover) !important;
}

/* Hamburger */
.nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Mobile dropdown */
.nav__mobile-menu {
    display: none;
    background: var(--color-dark-alt);
    padding: 1rem 1.25rem;
}

.nav__mobile-menu.open {
    display: block;
}

.nav__mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav__mobile-menu a {
    color: #d1d5db;
    font-size: 1rem;
    font-weight: 500;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--color-dark);
    color: #fff;
    padding: 3rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero__content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero__headline {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f9fafb;
    font-family: 'Times New Roman', Times, serif;
}

.hero__sub {
    font-size: 1.05rem;
    color: #9ca3af;
    margin-bottom: 1.75rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero__image {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero__image img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid #374151;
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
}

.trust-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    justify-content: center;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
}

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


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 4rem 1.25rem;
    background: var(--color-bg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step__number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
}

.step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ============================================================
   WORK EXAMPLES
   ============================================================ */
.work {
    padding: 4rem 1.25rem;
    background: var(--color-bg-light);
}

.work__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.work__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    border: 1px solid var(--color-border);
}

.work__item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
    background: var(--color-dark);
    padding: 4rem 1.25rem;
    color: #fff;
}

.testimonial__quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.85;
    color: #d1d5db;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 1rem;
    border: none;
}

.testimonial__author {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}


/* ============================================================
   QUOTE FORM
   ============================================================ */
.quote-section {
    padding: 4rem 1.25rem;
    background: var(--color-bg);
}

.quote-form {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    max-width: 760px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row--narrow {
    max-width: 240px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
}

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

.field input,
.field select,
.field textarea {
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    appearance: auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field input.error,
.field select.error,
.field textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
    min-height: 1.25rem;
}

.form-success {
    max-width: 760px;
    margin: 0 auto;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #15803d;
    font-size: 0.95rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-dark-alt);
    color: #9ca3af;
    padding: 2.5rem 1.25rem 1.5rem;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer__logo {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.35rem;
    font-family: 'Times New Roman', Times, serif;
}

.footer__brand p,
.footer__contact p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer__brand p {
    font-family: 'Times New Roman', Times, serif;
}

.footer__contact a {
    color: #d1d5db;
    font-size: 0.875rem;
    text-decoration: underline;
}

.footer__copy {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #4b5563;
    border-top: 1px solid #374151;
    padding-top: 1.25rem;
}


/* ============================================================
   RESPONSIVE — Tablet (640px+)
   ============================================================ */
@media (min-width: 640px) {
    .section-title {
        font-size: 2rem;
    }

    /* Hero: side by side */
    .hero {
        flex-direction: row;
        align-items: center;
        padding: 4rem 2rem;
        gap: 3rem;
    }

    .hero__content {
        flex: 1;
        max-width: none;
    }

    .hero__headline {
        font-size: 2.4rem;
    }

    .hero__image {
        flex: 1;
    }

    .hero__image img {
        max-height: 360px;
    }

    /* Steps: side by side */
    .steps {
        flex-direction: row;
        gap: 1.5rem;
    }

    .step {
        flex: 1;
    }

    /* Work grid: side by side */
    .work__grid {
        flex-direction: row;
        gap: 1.5rem;
    }

    .work__item {
        flex: 1;
    }

    /* Form rows: side by side */
    .form-row {
        flex-direction: row;
    }

    .field--full {
        flex: 1 1 100%;
    }

    /* Footer: side by side */
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer__copy {
        text-align: center;
    }
}


/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    /* Show full nav, hide hamburger */
    .nav__links {
        display: flex;
    }

    .nav__hamburger {
        display: none;
    }

    /* Larger hero */
    .hero {
        padding: 5rem 2rem;
        gap: 5rem;
    }

    .hero__headline {
        font-size: 3rem;
    }

    .hero__image img {
        max-height: 420px;
    }

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

    .quote-form {
        padding: 2.5rem;
    }
}
