/* Ultimate Cleaning Service — palette taken from the logo */
:root {
  --ink: #0a2550;        /* logo navy: text, dark surfaces */
  --ink-2: #3e5878;      /* secondary text */
  --sky: #dcf0fa;        /* logo's pale sky */
  --mist: #f1f8fc;       /* page sections */
  --white: #ffffff;
  --accent: #43b3e6;      /* logo's bright sky blue: primary actions (navy text) */
  --accent-d: #2a9fd8;
  --water: #1470b8;      /* links */
  --line: #c8dff0;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--water); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.hp { position: absolute; left: -5000px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; font: 600 1rem/1 var(--body);
  padding: .95em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-d); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #061a3d; color: var(--white); }
.text-link { font-weight: 600; }

/* Top bar + header */
.topbar { background: var(--ink); color: #cfe3f5; font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: var(--accent); font-weight: 600; text-decoration: none; }
.topbar-r span { margin-right: .8rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 200px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 1.45rem/1 var(--display); letter-spacing: -.03em; }
.brand-sub { font-size: .8rem; color: var(--ink-2); margin-top: .2rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; padding: .6rem .75rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .975rem; border-radius: 8px; }
.nav > ul > li > a:hover, .nav a[aria-current] { background: var(--sky); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(10,37,80,.35); }
.sub a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--mist); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.menu-btn { display: none; font: 600 1rem var(--body); background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: .6rem 1.1rem; }

/* Hero: crew photo behind a frosted pane; a squeegee swipe clears the right side on load */
.hero { position: relative; z-index: 2; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--sky); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; }
.hero-frost { position: absolute; inset: 0; background: rgba(241,248,253,.88);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(100deg, #000 0 36%, rgba(0,0,0,.3) 43%, transparent 48%);
          mask-image: linear-gradient(100deg, #000 0 36%, rgba(0,0,0,.3) 43%, transparent 48%);
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
  -webkit-mask-position: 31% 0; mask-position: 31% 0;
  animation: swipe 1.5s cubic-bezier(.6,.05,.25,1) .3s both; }
@keyframes swipe { from { -webkit-mask-position: 0% 0; mask-position: 0% 0; } to { -webkit-mask-position: 31% 0; mask-position: 31% 0; } }
.hero-in { position: relative; padding: clamp(4rem, 10vw, 8rem) 0 clamp(4.5rem, 10vw, 8.5rem); }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: .95; margin-bottom: .35em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.hero .lede { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.seal { position: absolute; right: 0; bottom: 1.75rem; z-index: 5; width: clamp(120px, 12vw, 160px); color: var(--ink); font-family: var(--display);
  transform: rotate(-8deg); filter: drop-shadow(0 14px 24px rgba(10,37,80,.3)); }
.facts { position: relative; z-index: 1; }

/* Facts strip */
.facts { background: var(--ink); color: #d3e6f6; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.75rem 0; }
.facts p { margin: 0; font-size: .93rem; line-height: 1.45; }
.facts strong { display: block; color: var(--white); font: 700 1.2rem/1.2 var(--display); margin-bottom: .2rem; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: end; margin: 0 0 2rem; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.services-index, .areas-strip, .home-split { padding: clamp(3rem, 7vw, 5.5rem) 0; }

/* Service list: an index, not a card grid */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; border-top: 2px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; gap: .2rem; padding: 1.15rem .25rem; text-decoration: none; color: var(--ink); transition: background .15s, padding .15s; }
.svc-list a:hover { background: var(--mist); padding-left: .9rem; }
.svc-name { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.svc-list a:hover .svc-name { color: var(--water); }
.svc-short { color: var(--ink-2); font-size: .975rem; }
.svc-list-lg .svc-name { font-size: 1.6rem; }

/* Rug feature */
.rug-feature { background: var(--sky); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.rug-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.rug-in p { color: var(--ink-2); max-width: 54ch; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; columns: 2; column-gap: 1.5rem; }
.mini-steps li { counter-increment: s; break-inside: avoid; display: flex; gap: .7rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid rgba(10,37,80,.15); font-weight: 600; }
.mini-steps li::before { content: counter(s); font: 800 1.1rem var(--display); color: var(--water); min-width: 1.1rem; }

/* Areas */
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.area-col { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.area-col h2, .area-col h3 { font-size: 1.4rem; }
.area-col h2 a, .area-col h3 a { color: var(--ink); text-decoration: none; }
.area-col h2 a:hover, .area-col h3 a:hover { color: var(--water); }
.towns { color: var(--ink-2); font-size: .94rem; }
.area-cols-lg { padding: 1rem 0 4rem; }

/* Home split */
.home-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; padding-top: 0; }
.special-teaser { background: var(--accent); border-radius: var(--r); padding: 2.25rem; align-self: start; }
.special-teaser .btn-primary { background: var(--ink); color: var(--white); }
.special-teaser .btn-primary:hover { background: #061a3d; }
.latest .post-card { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.latest .post-card:first-of-type { border-top: 2px solid var(--ink); }

/* Posts */
.post-card h3 { font-size: 1.2rem; margin: .1rem 0 .4rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--water); text-decoration: underline; }
.post-card p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.post-meta { color: var(--ink-2); font-size: .875rem; margin: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; padding-bottom: 3rem; }
.post-grid .post-card { border-top: 2px solid var(--ink); padding-top: 1rem; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 4rem; font-weight: 600; }
.post .post-meta { margin-top: .5rem; }
.post-hero { border-radius: var(--r); margin-bottom: 2rem; }
.post-services, .more-posts { padding: 2.5rem 0 1rem; }

/* Page heads + crumbs */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 20ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; font-size: .875rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--ink-2); }

/* Service page */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3.5rem; align-items: start; padding-bottom: 3rem; }
.svc-aside { position: sticky; top: 96px; }
.prose { max-width: 68ch; }
.prose p, .prose li { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; margin-top: 2.5rem; }
.group h2 { font-size: 1.25rem; padding-bottom: .55rem; border-bottom: 2px solid var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8rem; width: .8rem; height: .45rem; border-left: 2.5px solid var(--water); border-bottom: 2.5px solid var(--water); transform: rotate(-45deg); }
.steps-h { margin-top: 2.5rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(st); grid-row: span 2; font: 800 2rem/1 var(--display); color: var(--water); }
.steps h3 { margin: .1rem 0 .25rem; } .steps p { margin: 0; color: var(--ink-2); }
.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.town-list li { background: var(--sky); padding: .35rem .8rem; border-radius: 999px; font-size: .94rem; font-weight: 600; }

/* FAQ */
.faq { padding: 1rem 0 3rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font: 700 1.12rem var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.5rem; color: var(--water); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: .5rem; }

.related { padding: 1rem 0 3.5rem; }
.related-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.related-list a { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.related-list a:hover { background: var(--ink); color: var(--white); }

/* Form */
.quote { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .9rem; }
.quote-h { font-size: 1.5rem; margin: 0; }
.quote-sub { margin: 0; font-size: .93rem; color: var(--ink-2); }
.quote label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.quote input, .quote select, .quote textarea { font: 400 1rem var(--body); color: var(--ink); width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(20,112,184,.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.quote .btn { width: 100%; margin-top: .25rem; }
.form-done { background: var(--white); border-left: 4px solid var(--water); padding: .8rem 1rem; margin: 0; }

/* Specials */
.specials-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3.5rem; align-items: start; padding-bottom: 4rem; }
.special-figure { margin: 0; }
.special-figure img { width: 100%; max-width: 683px; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(10,37,80,.45); }
.special-empty { padding: 3rem; background: var(--sky); border-radius: var(--r); font-size: 1.15rem; }

/* About */
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; padding-bottom: 3.5rem; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ink); }
.timeline li { padding: 0 0 1.6rem 1.4rem; position: relative; display: grid; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.yr { font: 800 1.6rem/1.1 var(--display); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; padding-bottom: 4rem; align-items: start; }
.contact-info h2 { font-size: 1.3rem; margin-top: 1.5rem; }
.contact-info h2:first-child { margin-top: 0; }
.big-phone { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--display); letter-spacing: -.02em; }
.big-phone a { color: var(--ink); text-decoration: none; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem 0; flex-wrap: wrap; }
.cta-in h2 { margin: 0 0 .3rem; } .cta-in p { margin: 0; color: #cfe3f5; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: var(--white); color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--white); color: var(--ink); }

/* Footer */
.site-footer { background: #061a3d; color: #b6cde6; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.site-footer li { padding: .2rem 0; }
.f-logo { display: inline-block; background: var(--white); border-radius: var(--r); padding: .6rem .9rem; margin-bottom: 1.2rem; }
.f-logo img { width: 200px; height: auto; }
.f-h { font: 700 1rem var(--display); color: var(--white); margin-bottom: .5rem; }
.site-footer .muted { color: #8fadd0; }
.f-legal { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0 1.6rem; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; max-height: calc(100vh - 110px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; min-width: 0; }
  .sub a { padding: .35rem .75rem; font-size: .94rem; color: var(--ink-2); }
  .svc-layout, .specials-layout, .about-layout, .contact-layout, .rug-in, .home-split { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .brand img { width: 140px; }
  .header-in { min-height: 72px; }
  .topbar-r span, .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
  .seal { display: none; }
  .hero-frost { background: rgba(241,248,253,.84); -webkit-mask-position: 0% 0; mask-position: 0% 0; animation: none; }
  .hero-photo { object-position: 80% 40%; }
  .sec-head, .svc-list, .groups, .area-cols, .post-grid, .field-row { grid-template-columns: 1fr; }
  .mini-steps { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-legal { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Photos */
.svc-list a { grid-template-columns: 112px 1fr; align-items: center; column-gap: 1rem; }
.svc-thumb { width: 112px; height: 74px; object-fit: cover; border-radius: 10px; }
.svc-txt { display: grid; gap: .2rem; }
.page-head.has-photo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.head-photo { margin: 0; }
.head-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(10,37,80,.45); }
.head-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.inline-photo { margin: 2.5rem 0 0; }
.inline-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.inline-photo figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .5rem; }
.rug-media { display: grid; gap: 1.5rem; }
.rug-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(10,37,80,.45); }
.area-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.area-col { border-top: 0; padding-top: 0; }
.about-side { display: grid; gap: 2rem; align-content: start; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: .9rem; }
.post-grid .post-card.has-img { border-top: 0; padding-top: 0; }
.latest .post-card.has-img { display: grid; grid-template-columns: 150px 1fr; column-gap: 1.1rem; align-items: start; }
.latest .post-card.has-img .post-thumb { grid-row: span 3; }
.latest .post-card.has-img .post-thumb img { margin: 0; aspect-ratio: 4 / 3; }
.post-hero { margin-bottom: 2rem; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
@media (max-width: 980px) {
  .page-head.has-photo { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 680px) {
  .svc-list a { grid-template-columns: 84px 1fr; }
  .svc-thumb { width: 84px; height: 62px; }
  .latest .post-card.has-img { grid-template-columns: 100px 1fr; }
}

/* Specials offer card */
.offer-card { background: var(--ink); color: var(--white); border-radius: var(--r); padding: 1.6rem; margin-bottom: 1.25rem; }
.offer-card h2 { font-size: 1.4rem; color: var(--white); }
.offer-card .ticks li { font-weight: 600; }
.offer-card .ticks li::before { border-color: var(--accent); }
.offer-terms { font-size: .9rem; color: #cfe3f5; margin: .9rem 0; }
.offer-call { margin: 0; font-weight: 600; }
.offer-card a { color: var(--accent); }
.svc-list-one { grid-template-columns: 1fr; }
.also-h { margin-top: 2.5rem; font-size: 1.3rem; }
.area-back { margin-top: 2rem; }
.town-list a { color: var(--ink); text-decoration: none; }
.town-list li:has(a) { background: var(--ink); }
.town-list li:has(a) a { color: var(--white); }
