/* ==========================================================================
   Holt's Cleaning: design tokens (palette sourced from the logo; see context.md)
   ========================================================================== */
:root {
    --navy: #0A335D;
    --navy-dark: #07243F;
    --denim: #6385B4;
    --denim-dark: #3F6494;
    --sky: #A4C8F2;
    --sky-light: #EAF2FC;
    --steel: #AAAFB2;
    --ink: #344054;
    --muted: #5B6573;
    --white: #FFFFFF;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 0.5rem;
    --shadow: 0 1px 2px rgb(10 51 93 / 0.06), 0 4px 16px rgb(10 51 93 / 0.08);
    --container: 72rem;
    /* 56px - 96px */
    --section-pad: clamp(3.5rem, 8vw, 6rem);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
}

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

h1, h2, h3 {
    color: var(--navy);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
}
/* 34px - 56px */
h1 { font-size: clamp(2.125rem, 5vw, 3.5rem); }
/* 28px - 40px */
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--denim-dark); }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--denim); outline-offset: 2px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.75rem 1rem;
    background: var(--navy);
    color: var(--white);
    z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--denim-dark);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }

.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky-light); color: var(--navy); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--sky-light);
    box-shadow: 0 1px 8px rgb(10 51 93 / 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}
.brand img { width: 8.5rem; }

.nav { display: none; gap: 2rem; }
.nav a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}
.nav a:hover { color: var(--denim-dark); }

.header-call { min-height: 2.5rem; padding: 0 1rem; font-size: 0.9375rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sky-light) 100%);
}
.hero-inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.lead {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--muted);
    max-width: 36rem;
    margin-bottom: 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-logo { justify-self: center; max-width: 32rem; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--sky-light); }
.section-intro { max-width: 40rem; color: var(--muted); }

.cards {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--denim);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.card p { margin: 0; }

/* About */
.about { display: grid; gap: 2rem; align-items: center; }
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.checklist li {
    position: relative;
    padding-left: 2.25rem;
    font-weight: 600;
    color: var(--navy);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--sky-light)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A335D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
        center / 0.9rem no-repeat;
}

/* Specials banner */
.specials {
    background: var(--navy);
    color: var(--sky-light);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.specials h2 { color: var(--white); margin-bottom: 0.5rem; }
.specials p { margin: 0; color: var(--sky); }
.specials-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.specials .btn img { width: 1.25rem; height: 1.25rem; }

/* Contact */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(10 51 93 / 0.14); }
.contact-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    overflow-wrap: anywhere;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--navy-dark);
    color: var(--sky);
    padding: 2rem 0;
    font-size: 0.9375rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sky); }
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ==========================================================================
   Tablet - 768px
   ========================================================================== */
@media (min-width: 48rem) {
    .brand img { width: 10rem; }
    .nav { display: flex; }
    .header-call { min-height: 2.75rem; }

    .hero-inner { grid-template-columns: 1.1fr 1fr; }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .about { grid-template-columns: 1.4fr 1fr; gap: 4rem; }

    .specials-inner { flex-direction: row; justify-content: space-between; align-items: center; }
    .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   Small phones: shrink the header call button
   ========================================================================== */
@media (max-width: 23rem) {
    .header-call { font-size: 0.8125rem; padding: 0 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
