/* Local Cleaning Company - Branch landing page
   Colours and type taken from the live Elementor kit (post-7.css). */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/lato-300.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-400.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-700.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato-900.woff2) format("woff2"); }

:root {
  --primary: #AAC0CF;
  --secondary: #CEDCE7;
  --cream: #FFFFFB;
  --light: #F3F3F3;
  --black: #000;
  --dark: #222;
  --grey: #D4D4D4;
  --teal: #174753;
  --font: "Lato", "Segoe UI", Arial, sans-serif;
  --font-alt: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--black); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.services :focus-visible, .contact :focus-visible, .hero :focus-visible { outline-color: var(--cream); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--cream); padding: 8px 16px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

.wrap { width: min(1500px, 100% - 40px); margin-inline: auto; }
.wrap-mid { width: min(1400px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(1400px, 100% - 40px); margin-inline: auto; }
.wrap-text { width: min(900px, 100% - 40px); margin-inline: auto; }

/* Eyebrow headings (small line above section titles) */
.eyebrow { font-size: 25px; line-height: 1; font-weight: 700; margin-bottom: 10px; }
.eyebrow-dark { color: var(--teal); }
.eyebrow-blue { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1; font-weight: 400; text-decoration: none; padding: 15px 30px; border-radius: 25px; border: 2px solid transparent; white-space: nowrap; }
.btn .ico { width: 20px; height: 20px; }
.btn-outline { color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--teal); }
.btn-link { color: var(--cream); padding-inline: 15px; }
.btn-link:hover span, .btn-link:hover { text-decoration: underline; }
.btn-solid { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.btn-solid:hover { background: var(--cream); color: var(--teal); }

/* ---------- Top bar (mobile only) ---------- */
.topbar { display: none; background: var(--black); color: var(--primary); }
.topbar ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 28px; padding: 13px 10px; }
.topbar li { white-space: nowrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; text-decoration: none; color: var(--cream); }
.topbar .ico { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { background: var(--light); }
.header-grid { display: grid; grid-template-columns: 450fr 600fr 450fr; align-items: center; min-height: 190px; padding-top: 10px; }
.h-link { display: inline-flex; align-items: center; gap: 5px; justify-self: center; color: var(--primary); font-size: 22px; line-height: 33px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.h-link .ico { width: 25px; height: 25px; }
.h-link:hover { color: var(--teal); }
.logo { justify-self: center; }
.logo img { width: 300px; }
.main-nav { border-top: 1px solid var(--secondary); padding: 10px 0; }
.nav-desktop { display: flex; justify-content: center; }
.nav-desktop a { position: relative; display: block; margin-right: 5px; padding: 13px 18px; font-size: 15px; line-height: 20px; font-weight: 400; text-decoration: none; color: var(--black); }
/* Main site menu: 1px underline under the whole item, fading in on hover/focus */
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--black); opacity: 0; transition: opacity .3s; }
.nav-desktop a:hover::after, .nav-desktop a:focus-visible::after { opacity: 1; }
.nav-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 650px; display: flex; align-items: center; background: var(--teal) url(../images/hero-1920.webp) center / cover no-repeat; color: var(--cream); padding: 10px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(101, 134, 165, .4) 0%, var(--teal) 95%); opacity: .72; }
.hero-inner { position: relative; }
.hero-inner > * { max-width: 1050px; }
.eyebrow-light { color: var(--cream); font-weight: 300; letter-spacing: 5px; margin-bottom: 0; }
.hero h1 { font-size: 65px; line-height: 1; font-weight: 400; margin: 0 0 0 -3px; }
.hero-text { font-family: var(--font-alt); font-size: 20px; line-height: 30px; margin-top: 6px; }
.hero-text p + p { margin-top: 1em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 25px; }

/* ---------- About ---------- */
.about { padding: 80px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 675fr 825fr; align-items: center; }
.about-img { width: 100%; }
.about-copy { padding-left: 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.about-copy .eyebrow { margin-bottom: 0; }
.about h2 { font-size: 50px; line-height: 1; font-weight: 700; }
.about-text { font-size: 20px; line-height: 30px; font-weight: 300; }
.about-text p { margin-bottom: 20px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { font-weight: 400; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-block: 2px solid var(--primary); padding: 15px 0; margin: 10px 0; }
.counter { padding: 10px; text-align: center; }
.counter-num { font-size: 70px; line-height: 1; font-weight: 700; color: var(--primary); white-space: nowrap; }
.counter-label { font-size: 20px; line-height: 25px; }

/* ---------- Features strip ---------- */
.features { background: var(--secondary); padding: 30px 0; }
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.features-row li { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 0 10px; }
.features-row li + li { border-left: 1px solid rgba(0, 0, 0, .25); }
.features-row .ico { width: 50px; height: 50px; }
.features-row h3 { font-size: 25px; line-height: 30px; font-weight: 900; }

/* ---------- Services ---------- */
.services { background: var(--dark); color: var(--cream); padding: 50px 0 80px; text-align: center; }
.services h2 { font-size: 50px; line-height: 1; font-weight: 700; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.card { background: var(--primary); color: var(--black); display: flex; flex-direction: column; }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 35px; }
.card h3 { font-size: 25px; line-height: 30px; font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.card p { font-size: 20px; line-height: 30px; font-weight: 300; }

/* ---------- Why choose / reviews ---------- */
.why { background: var(--primary); padding: 80px 0; text-align: center; }
.why h2 { font-size: 50px; line-height: 1; font-weight: 700; color: var(--teal); margin-bottom: 20px; }
.why-text { font-size: 20px; line-height: 30px; max-width: 1480px; margin-inline: auto; }
.reviews { display: grid; grid-template-columns: 245px 1fr; gap: 20px; align-items: center; margin-top: 40px; text-align: left; }
.reviews-summary { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.reviews-score { font-size: 40px; line-height: 1; font-weight: 900; }
.reviews-count { font-size: 16px; }
.reviews-summary .btn { margin-top: 8px; font-size: 18px; padding: 12px 26px; }
.stars { display: inline-flex; gap: 2px; color: #F6BB06; }
.star { width: 18px; height: 18px; fill: currentColor; }
.stars-lg .star { width: 26px; height: 26px; }
.star-part { position: relative; display: inline-flex; color: rgba(0, 0, 0, .2); }
.star-part::after { content: ""; position: absolute; inset: 0; width: var(--fill); overflow: hidden; background: #F6BB06; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left / 26px 26px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left / 26px 26px no-repeat; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.review { scroll-snap-align: start; background: #fff; border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.review-name { font-weight: 700; font-size: 16px; }
.review-text { font-size: 15px; line-height: 1.5; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); padding: 80px 0; text-align: center; }
.gallery h2 { font-size: 50px; line-height: 1; font-weight: 700; margin-bottom: 20px; }
.gallery-text { font-size: 20px; line-height: 30px; margin-bottom: 30px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 30px) / 4); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 14px; width: min(1370px, 100%); margin-inline: auto; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.gallery-track li { scroll-snap-align: start; }
.gallery-track img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--dark) url(../images/contact-bg-1920.webp) center / cover no-repeat; color: var(--cream); padding: 80px 0; }
.contact::before { content: ""; position: absolute; inset: 0; background: var(--dark); opacity: .85; }
.contact-grid { position: relative; display: grid; grid-template-columns: 666fr 814fr; gap: 20px; align-items: center; }
.contact-copy { padding-right: 30px; display: flex; flex-direction: column; gap: 10px; }
.contact-copy .eyebrow { margin-bottom: 0; }
.contact h2 { font-size: 50px; line-height: 1; font-weight: 700; color: var(--grey); }
.contact-text { font-size: 20px; line-height: 30px; font-weight: 300; }
.contact-list { margin-top: 10px; }
.contact-list li { display: flex; align-items: center; gap: 5px; font-size: 25px; line-height: 37.5px; }
.contact-list a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.contact-list a:hover span { text-decoration: underline; }
.contact-list .ico { width: 25px; height: 25px; color: var(--primary); margin-right: 5px; }
.contact-list span { overflow-wrap: anywhere; }

.form-box { background: var(--grey); border: 3px solid var(--teal); border-radius: 20px; padding: 50px; color: var(--dark); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-wide, .quote-form button, .quote-form [data-slu-status] { grid-column: 1 / -1; }
.field label { font-size: 20px; line-height: 20px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 18px; color: var(--black); background: #fff; border: 2px solid var(--primary); border-radius: 3px; padding: 8px 16px; min-height: 45px; }
.field select { padding: 5px 14px; min-height: 41px; }
.field textarea { padding: 5px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: 1px; }
.quote-form button { font: inherit; font-size: 25px; font-weight: 900; text-transform: uppercase; color: #fff; background: var(--teal); border: 0; border-radius: 3px; min-height: 44px; cursor: pointer; margin-top: 4px; }
.quote-form button:hover { background: var(--dark); }
.quote-form button:focus-visible { outline: 3px solid var(--dark); }
.quote-form.is-sending button { opacity: .6; cursor: progress; }
.quote-form.is-sending button::after { content: " …"; }
[data-slu-status]:empty { display: none; }
[data-slu-status] { font-size: 18px; line-height: 1.4; padding: 12px 14px 12px 44px; border-radius: 4px; border: 2px solid; position: relative; scroll-margin: 120px; }
[data-slu-status]::before { position: absolute; left: 14px; top: 10px; font-weight: 900; font-size: 20px; }
[data-slu-status].is-success { background: #E7F4EA; border-color: #1D6B32; color: #12461F; }
[data-slu-status].is-success::before { content: "\2713"; }
[data-slu-status].is-error { background: #FBE9E9; border-color: #A3201D; color: #6E1210; }
[data-slu-status].is-error::before { content: "!"; left: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--light); padding: 80px 0 80px; }
.footer-grid { display: grid; grid-template-columns: 375fr 450fr 375fr 300fr; }
.f-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.f-brand { padding-right: 20px; align-items: center; }
.f-brand img { width: 280px; }
.f-strap { font-size: 18px; line-height: 25px; text-align: center; }
.f-services { padding-left: 40px; }
.f-contact { padding-right: 60px; }
.f-title { font-size: 20px; line-height: 1.2; font-weight: 700; color: var(--primary); }
.f-booking { font-family: "Marcellus", var(--font); font-size: 18px; margin-top: 10px; }
.f-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; line-height: 25.5px; }
.f-list a { display: inline-flex; align-items: flex-start; gap: 8px; text-decoration: none; }
.f-list a:hover span { text-decoration: underline; }
.f-list .ico { width: 14px; height: 14px; margin-top: 6px; color: var(--primary); }
.f-contact .f-list li, .f-hours .f-list li { font-size: 18px; line-height: 27px; }
.f-contact .ico, .f-hours .ico { width: 18px; height: 18px; margin-top: 4px; }
.f-book { font-size: 18px; text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid var(--black); }
.f-book:hover { color: var(--teal); border-color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; }
.footer-bottom p { font-size: 14px; line-height: 21px; letter-spacing: 2px; }
.footer-bottom a { font-size: 16px; text-decoration: none; white-space: nowrap; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Privacy page ---------- */
.privacy { padding: 60px 0 80px; }
.privacy h1 { font-size: 50px; line-height: 1.1; margin-bottom: 10px; }
.privacy h2 { font-size: 30px; line-height: 1.2; margin: 0 0 20px; color: var(--teal); }
.privacy p, .privacy li { font-size: 17px; line-height: 1.6; margin-bottom: 12px; }
.privacy ol, .privacy ul { padding-left: 1.4em; margin: 24px 0 8px; list-style: decimal; font-weight: 700; }
.privacy ul { list-style: disc; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero h1 { font-size: 55px; }
  .about h2, .services h2, .why h2, .gallery h2, .contact h2 { font-size: 42px; }
  .counter-num { font-size: 56px; }
  .card-body { padding: 28px; }
  .card p, .about-text, .why-text, .contact-text { font-size: 18px; line-height: 27px; }
  .reviews-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}

@media (max-width: 1024px) {
  .header-grid { grid-template-columns: 1fr 1.4fr 1fr; min-height: 150px; }
  .h-link { font-size: 18px; }
  .logo img { width: 240px; }
  .hero { background-image: url(../images/hero-960.webp); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .about-copy { padding-left: 0; align-items: center; text-align: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .gallery-track { grid-auto-columns: calc((100% - 30px) / 2); }
  .contact { background-image: url(../images/contact-bg-960.webp); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .f-services, .f-contact { padding: 0; }
}

@media (max-width: 767px) {
  .topbar { display: block; }
  .header-grid { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .h-link { display: none; }
  .logo img { width: 290px; }
  .main-nav { padding: 0; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 38px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 3px; background: var(--primary); border-radius: 2px; position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; }
  .burger::after { top: 7px; }
  .nav-mobile[open] .burger { background: transparent; }
  .nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
  .nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
  .nav-mobile ul { border-top: 1px solid var(--secondary); padding: 6px 0 10px; text-align: center; }
  .nav-mobile a { display: block; padding: 10px; font-size: 16px; text-decoration: none; }

  .hero { min-height: 700px; text-align: center; }
  .hero-inner { width: calc(100% - 50px); }
  .eyebrow-light { font-size: 16px; line-height: 1.4; }
  .hero h1 { font-size: 35px; margin: 8px 0; }
  .hero-text { font-size: 16px; line-height: 24px; }
  .hero-buttons { justify-content: center; }
  .btn { font-size: 18px; }

  .about { padding: 50px 0; }
  .wrap, .wrap-mid { width: calc(100% - 50px); }
  .eyebrow { font-size: 16px; line-height: 24px; }
  .about h2, .services h2, .why h2, .gallery h2, .contact h2 { font-size: 30px; }
  .about-text { font-size: 18px; line-height: 27px; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counters .counter:last-child { grid-column: 1 / -1; }
  .counter-num { font-size: 40px; }
  .counter-label { font-size: 18px; }

  .features { padding: 50px 0; }
  .features-row { grid-template-columns: 1fr; gap: 24px; }
  .features-row li + li { border-left: 0; }
  .features-row h3 { font-size: 20px; line-height: 24px; }

  .services { padding: 50px 0; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card img { height: auto; aspect-ratio: 5 / 3; }
  .card-body { padding: 25px 20px 30px; }
  .card h3 { font-size: 20px; line-height: 24px; }
  .card p { font-size: 16px; line-height: 24px; }

  .why { padding: 50px 0; }
  .why-text, .gallery-text, .contact-text { font-size: 16px; line-height: 24px; }
  .reviews-track { grid-auto-columns: 85%; }

  .gallery { padding: 40px 0; }
  .gallery-track { grid-auto-columns: 100%; gap: 16px; }

  .contact { padding: 50px 0; text-align: center; }
  .contact-copy { align-items: center; }
  .contact-list li { font-size: 16px; line-height: 24px; justify-content: center; }
  .contact-list .ico { width: 16px; height: 16px; }
  .form-box { padding: 24px 18px; border-radius: 14px; text-align: left; }
  .quote-form { grid-template-columns: 1fr; }
  .field label { font-size: 18px; }
  .quote-form button { font-size: 22px; }

  .site-footer { padding: 50px 0 30px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .f-col { align-items: center; }
  .f-brand { padding: 0; }
  .f-list li { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 30px; }
}
