/* Ratby Jet Washing. One stylesheet for every page. Colours live in :root so the scheme can be changed in one place. */

@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand: #412e20;        /* logo brown: buttons and links */
  --brand-hover: #2e2017;
  --brand-light: #f1e8da;
  --aqua: #c99a62;         /* small highlights on dark backgrounds */
  --navy: #2b1f17;         /* dark brown: footer, dark bands, hero without a photo */
  --navy-2: #3a2a1f;
  --bg: #f6f1e7;           /* page background */
  --bg-deep: #ece4d6;
  --surface: #fffdf9;
  --text: #2a2019;
  --text-2: #5b4b3e;
  --muted: #76655a;
  --line: #e4dacb;
  --radius: 3px;
  --wrap: 72rem;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; color: var(--text); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--surface); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #2f5a3c; color: #fff; }
.btn-primary:hover { background: #234530; color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 14px; font-size: .9375rem; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(65,46,32,.35); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--brand); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
@media (min-width: 1024px) { .head-bar { height: 72px; } }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 48px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 58px; } }
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; flex: 1; justify-content: flex-end; gap: 24px; margin-right: 8px; }
  .main-nav a { color: var(--text-2); font-weight: 500; text-decoration: none; font-size: .975rem; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand); }
}
.head-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.head-phone { display: none; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.head-phone svg { width: 18px; height: 18px; }
.head-quote { display: none; }
@media (min-width: 640px) { .head-phone, .head-quote { display: inline-flex; } }

.menu { position: static; }
@media (min-width: 1024px) { .menu { display: none; } }
.menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--bg); }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(43,31,23,.12); padding: 8px 20px 20px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li + li { border-top: 1px solid var(--line); }
.menu-panel a { display: flex; align-items: center; min-height: 48px; color: var(--text); font-weight: 600; text-decoration: none; }
.menu-panel a:hover { color: var(--brand); }
.menu-panel .menu-sub a { font-weight: 500; color: var(--text-2); padding-left: 14px; min-height: 42px; }


.mobile-cta { display: flex; background: var(--brand); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
.mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.25); }
.mobile-cta a:hover { background: var(--brand-hover); color: #fff; }
.mobile-cta svg { width: 16px; height: 16px; }

/* Photo placeholders. Swap each .ph block for an <img> when the photo is ready (see README). */
.ph { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; background: #6b5444; color: rgba(255,255,255,.85); text-align: center; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: repeating-linear-gradient(-45deg, #fff 0, #fff 1px, transparent 1px, transparent 10px); }
.ph span { position: relative; max-width: 18rem; padding: 0 16px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.ph-light { background: #d9cdbb; color: #4a3a2e; }
.ph-light::before { background-image: repeating-linear-gradient(-45deg, #2a2019 0, #2a2019 1px, transparent 1px, transparent 10px); opacity: .08; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph { min-height: 100%; background: linear-gradient(135deg, #2b1f17 0%, #4a3426 55%, #412e20 100%); }
.hero-media .ph span { position: absolute; right: 20px; bottom: 16px; padding: 0; opacity: .55; max-width: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 16, 15, 0.72); }
.hero-inner { padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 640px) { .hero-inner { padding-top: 104px; padding-bottom: 80px; } }
@media (min-width: 1024px) { .hero-inner { padding-top: 120px; padding-bottom: 96px; text-align: center; } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.06; max-width: 22ch; }
@media (min-width: 1024px) { .hero h1 { margin: 0 auto; } }
.hero .lead { margin-top: 20px; max-width: 38rem; font-size: 1.15rem; color: rgba(255,255,255,.85); }
@media (min-width: 1024px) { .hero .lead { margin-left: auto; margin-right: auto; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 1024px) { .hero-ctas { justify-content: center; } }
.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.65); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.35); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero-page .hero-inner { padding-top: 56px; padding-bottom: 48px; text-align: left; }
@media (min-width: 1024px) { .hero-page .hero-inner { padding-top: 72px; padding-bottom: 64px; } .hero-page h1, .hero-page .lead { margin-left: 0; } .hero-page .hero-ctas { justify-content: flex-start; } }
.hero-page h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); max-width: 26ch; }

/* Trust points under the hero */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 20px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.trust li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .975rem; line-height: 1.35; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 640px) { .section { padding: 80px 0; } }
.section-white { background: var(--surface); border-top: 1px solid var(--line); }
.section-tint { background: var(--bg); border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section-head p { max-width: 40rem; color: var(--text-2); margin: 12px 0 0; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding-left: 12px; border-left: 2px solid var(--aqua); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 44rem; color: var(--text-2); }
.prose h2 { margin: 40px 0 14px; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.split .copy p { color: var(--text-2); }

/* Service cards (home) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; } }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 250px; padding: 18px; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); }
@media (min-width: 640px) { .card { min-height: 290px; padding: 22px; } }
.card .card-media { position: absolute; inset: 0; z-index: -2; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card .card-media .ph span { position: absolute; top: 14px; left: 14px; padding: 0; text-align: left; font-size: .65rem; opacity: .7; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,20,14,.88), rgba(28,20,14,.35) 55%, rgba(28,20,14,.05)); }
.card h3 { color: #fff; font-size: 1.2rem; }
@media (min-width: 640px) { .card h3 { font-size: 1.35rem; } }
.card p { margin: 8px 0 0; font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.82); }
.card .more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.card .more svg { width: 15px; height: 15px; }
.card:hover { color: #fff; }
.card:focus-visible { outline-offset: -3px; outline-color: #fff; }
@media (max-width: 480px) { .card p { display: none; } .card { min-height: 200px; } }

/* Before and after slider */
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: none; cursor: ew-resize; background: var(--bg-deep); --pos: 50%; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img, .ba-layer .ph { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-after .ph { background: #8a705c; }
.ba .ph span { position: absolute; bottom: 14px; padding: 0; max-width: 45%; font-size: .65rem; }
.ba-before .ph span { left: 14px; text-align: left; }
.ba-after .ph span { right: 14px; text-align: right; }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; pointer-events: none; }
.ba-tag.before { left: 12px; background: rgba(43,31,23,.75); }
.ba-tag.after { right: 12px; background: var(--brand); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(43,31,23,.85); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Areas */
.areas { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.section-white .areas li { background: var(--bg); }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 8px 4px 0 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 32px 20px 0; color: var(--text-2); }

/* Services page */
.svc { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.svc:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .svc { grid-template-columns: 5fr 4fr; gap: 56px; align-items: start; } .svc:nth-of-type(even) .svc-media { order: -1; } .svc:nth-of-type(even) { grid-template-columns: 4fr 5fr; } }
.svc h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 16px; }
.svc .copy p { color: var(--text-2); }
.svc-media { aspect-ratio: 4 / 3; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 40px; padding: 0; }
.jump a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-weight: 600; font-size: .925rem; text-decoration: none; color: var(--text); }
.jump a:hover { border-color: var(--brand); color: var(--brand); }

/* Quote form */
.quote { display: grid; gap: 32px; }
@media (min-width: 1024px) { .quote { grid-template-columns: 5fr 7fr; gap: 48px; } }
.quote-side p { color: var(--text-2); }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--brand); }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.field label { display: block; margin-bottom: 6px; font-size: .925rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; font-size: .8rem; color: var(--muted); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1px solid #d3c6b3; border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(65,46,32,.15); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: 12px 14px; background: #fdecec; border: 1px solid #f3c2c2; color: #9b1c1c; font-size: .925rem; }
.form-error.show { display: block; }
.form-card .btn { width: 100%; }

/* Footer */
.site-foot { background: var(--navy); color: rgba(255,255,255,.72); font-size: .95rem; }
.foot-call { padding: 40px 0 32px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-call a { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-size: clamp(1.75rem, 5vw, 2.4rem); font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.foot-call a:hover { color: rgba(255,255,255,.85); }
.foot-call .ring { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); }
.foot-call .ring svg { width: 24px; height: 24px; }
.foot-call p { margin: 12px 0 0; color: #fff; font-weight: 600; }
.foot-grid { display: grid; gap: 32px; padding: 40px 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 4fr 3fr 3fr; gap: 40px; } }
.foot-grid h2 { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: rgba(255,255,255,.88); font-weight: 600; text-decoration: none; }
.foot-grid a:hover { color: var(--aqua); }
.foot-logo img { height: 72px; width: auto; margin-bottom: 14px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--aqua); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.55); }
.foot-base a { color: rgba(255,255,255,.65); text-decoration: none; }
.foot-base a:hover { color: #fff; }
.foot-base nav { display: flex; gap: 16px; }

/* Thank you and 404 */
.notice { max-width: 40rem; margin: 0 auto; padding: 40px 28px; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.notice .icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--brand-light); color: var(--brand); }
.notice .icon svg { width: 34px; height: 34px; }
.notice h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 12px; }
.notice p { color: var(--text-2); }
.notice .hero-ctas { justify-content: center; margin-top: 24px; }
.notice .btn-ghost { background: var(--bg-deep); color: var(--text); }
.notice .btn-ghost:hover { background: var(--line); color: var(--text); }

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