/* ============================================================
   Your Window Cleaner Ltd stylesheet
   Fonts: Bricolage Grotesque (headings) + Hanken Grotesk (body)
   ============================================================ */

:root {
    /* Brand palette (from logo) */
    --navy:        #1b2a63;
    --navy-deep:   #142050;
    --blue:        #2a7de1;
    --blue-dark:   #1f66c0;
    --sky:         #39bde8;
    --sky-soft:    #d7effb;
    --sky-tint:    #eef7fd;

    --ink:         #1b2340;
    --body:        #45506b;
    --muted:       #6b7390;
    --line:        #e4e9f2;
    --bg:          #ffffff;
    --bg-alt:      #f4f8fd;
    --white:       #ffffff;

    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   26px;
    --shadow:      0 10px 30px -12px rgba(27, 42, 99, 0.25);
    --shadow-lg:   0 24px 60px -20px rgba(27, 42, 99, 0.35);

    --maxw:        1150px;
    --gutter:      clamp(16px, 4vw, 40px);

    --font-head: "Bricolage Grotesque", Georgia, serif;
    --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
}

/* ---- Reset / base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
ul { padding-left: 1.2rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* ---- Buttons --------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--navy); color: #fff !important;
    font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
    padding: 15px 30px; border-radius: 999px; border: 2px solid var(--navy);
    cursor: pointer; text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 8px 20px -8px rgba(27,42,99,.5);
}
.btn:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(27,42,99,.55); }
.btn-blue { background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 20px -8px rgba(42,125,225,.6); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); box-shadow: none; }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-lg { padding: 18px 38px; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* White button for dark / gradient backgrounds (navy text) */
.btn-white { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn-white:hover { background: #e9f2fc; color: var(--navy) !important; }

/* Ghost button placed on a dark photo/hero (white text & border) */
.btn-ghost.on-dark { color: #fff !important; border-color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy) !important; }

/* ---- Header / nav ---------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; gap: 1.2rem;
    padding-block: 10px; flex-wrap: wrap;
}
.brand-logo { width: 64px; height: 64px; }
.brand { margin-right: auto; display: inline-flex; }

.header-contact {
    display: flex; flex-direction: column; gap: 1px;
    font-size: .92rem; text-align: right; color: var(--muted);
    order: 2;
}
.header-contact a { color: var(--navy); font-weight: 600; }
.header-contact span { color: var(--sky); font-weight: 700; }

.primary-nav { order: 3; flex-basis: 100%; }
.primary-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: .3rem; flex-wrap: wrap; align-items: center;
    border-top: 1px solid var(--line); padding-top: 8px;
}
.primary-nav a {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--navy); font-weight: 600; font-family: var(--font-head);
    text-decoration: none; transition: background .15s, color .15s;
}
.primary-nav a:hover { background: var(--sky-tint); }
.primary-nav a.is-active { background: var(--navy); color: #fff; }
.nav-cta { margin-left: auto; }
.nav-cta a.btn { color: #fff; }
/* Keep the header CTA button readable on hover (nav-link hover was greying it out) */
.primary-nav a.btn:hover { background: var(--navy-deep); color: #fff; }
.nav-contact { display: none; } /* shown only inside the mobile menu */

.nav-toggle {
    display: none; order: 2;
    width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
    border-radius: 12px; cursor: pointer; padding: 11px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Sections -------------------------------------------- */
.section { padding-block: clamp(48px, 7vw, 90px); }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #dbe3f5; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
    color: var(--blue); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--body); }

/* ---- Hero ------------------------------------------------ */
.hero {
    position: relative; color: #fff;
    background: linear-gradient(120deg, rgba(20,32,80,.92) 0%, rgba(31,102,192,.82) 55%, rgba(57,189,232,.7) 100%),
                url('/assets/img/window-bg.jpg') center/cover no-repeat;
}
.hero-inner { padding-block: clamp(60px, 10vw, 120px); max-width: 680px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.25rem; color: #eaf2fc; margin-block: 1.2rem 1.8rem; }
.hero .btn-row { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-badge { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: #fff; }
.hero-badge svg { width: 22px; height: 22px; flex: none; }

/* ---- Trust strip ----------------------------------------- */
.trust-strip { background: var(--navy-deep); color: #cdd8f0; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; padding-block: 18px; font-weight: 600; font-family: var(--font-head); }
.trust-strip span { display: inline-flex; align-items: center; gap: .5rem; }

/* ---- Cards grid ------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--body); margin-bottom: 0; font-size: .98rem; }

/* ---- Feature / split ------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split.reverse .split-media { order: 2; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--body); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem;
    background: var(--sky); border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/80% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* ---- Steps ----------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { text-align: center; }
.step-num {
    counter-increment: step; width: 56px; height: 56px; margin: 0 auto .9rem;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--sky-tint); color: var(--blue); border: 2px solid var(--sky);
    font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.step-num::before { content: counter(step); }
.section-navy .step-num { background: rgba(255,255,255,.1); border-color: var(--sky); color: #fff; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { font-size: .95rem; margin: 0; }
.section-navy .step p { color: #c3cfeb; }

/* ---- Areas ----------------------------------------------- */
.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.area-tags span {
    background: #fff; border: 1px solid var(--line); color: var(--navy);
    padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600;
}

/* ---- Pricing --------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; text-align: center; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured::after {
    content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 14px; border-radius: 999px; font-family: var(--font-head);
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.price-rows { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .55rem; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .55rem; }
.price-rows .freq { color: var(--muted); font-size: .95rem; }
.price-rows .amt { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); }
.price-note { font-size: .88rem; color: var(--muted); margin-bottom: 1.3rem; }
.price-card .btn { margin-top: auto; }

.addon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.addon {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow);
}
.addon h3 { margin-bottom: .8rem; }
.addon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.addon li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.addon .amt { font-family: var(--font-head); font-weight: 700; color: var(--navy); }

/* ---- Forms ----------------------------------------------- */
.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-alt); transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(42,125,225,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.checks { display: flex; flex-wrap: wrap; gap: .7rem; }
.check {
    display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
    border: 1.5px solid var(--line); background: var(--bg-alt);
    padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink);
    transition: .15s;
}
.check:hover { border-color: var(--sky); }
.check input { accent-color: var(--blue); width: 18px; height: 18px; }
.check:has(input:checked) { background: var(--sky-tint); border-color: var(--blue); }

.form-note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 600; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c6c2; }
.alert-ok { background: #e8f7ee; color: #1b7a43; border: 1px solid #bfe6cd; }

/* ---- Rounds / DD links ----------------------------------- */
.dd-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.2rem; }

/* ---- Terms / prose --------------------------------------- */
.prose { max-width: 820px; }
.terms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; counter-reset: term; }
.terms-list li {
    background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sky);
    border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow);
}
.terms-list h3 { margin-bottom: .3rem; color: var(--navy); }

/* ---- FAQ ------------------------------------------------- */
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 0 1.4rem; margin-bottom: .9rem; box-shadow: var(--shadow);
}
.faq summary {
    cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
    color: var(--navy); padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 1.6rem; color: var(--blue); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; margin: 0; }

/* ---- CTA band -------------------------------------------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff; border-radius: var(--radius-lg); text-align: center;
    padding: clamp(2.2rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #e4edfb; max-width: 560px; margin: 0 auto 1.6rem; font-size: 1.1rem; }

/* ---- Footer ---------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #b9c4e0; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
    padding-block: clamp(40px, 6vw, 64px);
}
.footer-brand img { background: #fff; border-radius: 14px; padding: 8px; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .96rem; }
.footer-col h2 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { color: #b9c4e0; }
.footer-col a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 16px; font-size: .88rem; }
.footer-bar p { margin: 0; }
.footer-bar a { color: var(--sky); }
.footer-bar .credit, .footer-bar .credit:hover { color: #b9c4e0; text-decoration: none; }
.footer-bar .credit .heart { color: #ff5a79; font-style: normal; }

/* ---- Utilities ------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 900px) {
    .grid-3, .price-grid, .addon-grid, .dd-links { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .header-contact { display: none; }
    .nav-toggle { display: block; }
    .primary-nav {
        display: none; flex-basis: 100%;
    }
    .primary-nav.open { display: block; max-height: calc(100vh - 72px); overflow-y: auto; }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
    .primary-nav a { padding: 12px 10px; }
    .nav-cta { margin: .6rem 0 .2rem; text-align: center; }
    .primary-nav .nav-cta a.btn { display: inline-flex; width: auto; padding: 9px 22px; font-size: .9rem; }
    .nav-contact { display: flex; flex-direction: column; gap: .55rem; padding: 12px 10px 2px; margin-top: .4rem; border-top: 1px solid var(--line); }
    .nav-contact a { color: var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; }
    .nav-contact a:hover { color: var(--blue-dark); }
    .nav-contact span { color: var(--sky); font-weight: 700; }
    .split { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .grid-3, .grid-2, .price-grid, .addon-grid, .steps, .dd-links, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero .btn-row .btn { width: 100%; justify-content: center; }
    .footer-bar-inner { flex-direction: column; }
}

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