/* Thomson Cleaning Ltd — site stylesheet (static rebuild, no WordPress) */

:root {
  --navy: #000f2b;
  --blue: #1952ab;
  --teal: #1a6c7a;
  --mint: #b2dbd7;
  --mint-soft: #e6f3f1;
  --green: #6cbb47;
  --text: #4d4d5a;
  --muted: #7a7a85;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --slate: #50627a;
  --shadow: 0 6px 22px rgba(0, 15, 43, .12);
  --radius: 10px;
  --max: 1140px;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", 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: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 500; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: #33333d; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.rule { width: 120px; height: 2px; background: var(--navy); border: 0; margin: 0 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 170px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 10px; cursor: pointer; color: var(--navy); font: inherit;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  display: block; padding: 10px 9px; color: var(--teal); text-decoration: none;
  font-size: .93rem; border-radius: 6px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); background: var(--mint-soft); }
.main-nav a[aria-current="page"] { color: var(--muted); }
.has-sub > a::after { content: " ▾"; font-size: .75em; }
.sub {
  list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0;
  min-width: 240px; background: #fff; box-shadow: var(--shadow); border-radius: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background-color: var(--slate);
  background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,15,43,.72), rgba(0,15,43,.35)); }
.hero .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; flex-wrap: wrap; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin: 0; max-width: 620px; }
.hero p { margin: 12px 0 0; font-size: 1.05rem; max-width: 520px; opacity: .95; }
.hero--home { background-image: url(../img/hero-home.jpg); }
.hero--prices { background-image: url(../img/hero-prices.jpg); }
.hero--tasks { background-image: url(../img/hero-tasks.jpg); }
.hero--why { background-image: url(../img/hero-why.jpg); }
.hero--reasons { background-image: url(../img/hero-reasons.jpg); }
.hero--faq { background-image: url(../img/hero-faq.jpg); }
.hero--testimonials { background-image: url(../img/hero-testimonials.jpg); }
.hero--jobs { background-image: url(../img/hero-jobs.jpg); }
.hero--contact { background-image: url(../img/hallway.jpg); }
.hero--plain { background: var(--navy); }
.hero--plain::before { display: none; }
.hero--plain .wrap { padding-top: 48px; padding-bottom: 48px; }

.hero-contact { list-style: none; margin: 0; padding: 0; font-size: .98rem; }
.hero-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.hero-contact a { color: #fff; text-decoration: none; }
.hero-contact a:hover { text-decoration: underline; }
.hero-contact svg { flex: 0 0 18px; margin-top: 4px; fill: currentColor; }

/* ---------- Buttons & bands ---------- */
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: 12px 28px; border-radius: 4px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .82rem; border: 0; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.btn:hover { background: var(--navy); color: #fff; }
.btn--light { background: transparent; border: 2px solid #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }

.quote-band { background: var(--mint); text-align: center; padding: 18px 20px; }
.quote-band p { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.75rem); font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.quote-band a { color: inherit; text-decoration: none; white-space: nowrap; }
.quote-band a:hover { text-decoration: underline; }

.cta-band { position: relative; color: #fff; background: var(--slate) url(../img/cta-sky.jpg) center / cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(40, 58, 82, .62); }
.cta-band .wrap { position: relative; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-weight: 400; letter-spacing: .03em; margin: 0 0 6px; }
.cta-band p { margin: 0; font-weight: 700; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split--reverse > :first-child { order: 2; }
.split img { border-radius: 4px; box-shadow: var(--shadow); width: 100%; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card--center { text-align: center; }

/* Icon + card rows (home & prices) */
.info-row { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: start; max-width: 960px; margin: 0 auto 40px; }
.info-row .icon { width: 110px; justify-self: center; margin-top: 8px; mix-blend-mode: multiply; }
.info-row h3 { color: var(--blue); font-size: 1.1rem; font-weight: 700; }

/* Price tables */
.price-table { width: 100%; max-width: 460px; border-collapse: collapse; margin: 8px 0 18px; }
.price-table caption { text-align: left; font-weight: 700; font-size: .85rem; letter-spacing: .03em; color: var(--muted); padding-bottom: 8px; text-transform: uppercase; }
.price-table th, .price-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.price-table td { text-align: right; color: var(--navy); font-weight: 700; white-space: nowrap; }

/* Areas card */
.areas img { border-radius: 4px; margin-bottom: 18px; }
.areas h3 { text-align: center; letter-spacing: .04em; }
.areas p { text-align: center; font-size: .95rem; }

/* Feature grid (why choose us) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { text-align: center; }
.feature svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 10px; }
.feature h2 { font-size: 1.3rem; margin-bottom: .8em; }
.feature p { font-size: .95rem; }

/* Tasks checklists */
.task-block { margin-bottom: 64px; }
.task-block:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; columns: 1; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.note { background: var(--mint-soft); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 0 6px 6px 0; }

/* Ten reasons */
.reason { margin-bottom: 64px; }
.reason:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border-radius: 6px; box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--navy);
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { background: var(--mint); padding: 18px 22px 8px; color: #2f3a40; }
.faq .answer ol, .faq .answer ul { padding-left: 1.4em; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { margin: 0; display: flex; flex-direction: column; }
.testimonial::before { content: "\201C"; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--navy); height: 34px; }
.testimonial blockquote { margin: 0 0 16px; font-size: .93rem; flex: 1; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { font-weight: 700; color: var(--navy); font-size: 1.05rem; }

/* Map (loads only when clicked — no Google cookies until then) */
.map-box {
  position: relative; background: var(--mint-soft) center/cover; border-radius: var(--radius);
  min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }

/* Contact details list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: 0 0 22px; width: 22px; height: 22px; fill: var(--teal); margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); }

/* Form placeholders (replace with Zoho Forms embed) */
.form-slot {
  border: 2px dashed var(--mint); border-radius: var(--radius); background: var(--mint-soft);
  padding: 40px 28px; text-align: center;
}
.form-slot h3 { color: var(--teal); }
.form-slot iframe { width: 100%; min-height: 900px; border: 0; }

/* Embedded Zoho Creator forms */
.form-embed { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 8px 0 16px; }
.form-embed iframe { display: block; width: 100%; height: 1250px; border: 0; }
.form-fallback { font-size: .9rem; color: var(--muted); }
.form-embed--tall iframe { height: 1000px; }
@media (max-width: 720px) { .form-embed iframe { height: 2100px; } }
@media (max-width: 720px) { .form-embed--tall iframe { height: 1700px; } }

/* Privacy */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-grid img { width: 150px; }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; width: 40px; height: 40px; border-radius: 6px; background: var(--blue); align-items: center; justify-content: center; }
.social a:hover { background: var(--navy); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.copyright { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  .has-sub > a::after { content: ""; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
}
@media (max-width: 1000px) {
  .grid-3, .testimonials { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .split, .grid-3, .testimonials { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
  .info-row { grid-template-columns: 1fr; gap: 12px; }
  .info-row .icon { width: 80px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin: 0 auto; }
  .social { justify-content: center; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sub { transition: none; } }
