/*
Theme Name: Wollongong Window Cleaning
Theme URI: https://wollongongwindowcleaning.com.au/
Author: Ocean View Window Cleaning
Author URI: https://wollongongwindowcleaning.com.au/
Description: A high-converting local SEO theme for Wollongong Window Cleaning, run by Ocean View Window Cleaning.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: wollongong-window-cleaning
*/

:root {
  --ink: #10212c;
  --muted: #51616b;
  --paper: #fbfcfb;
  --mist: #eef6f6;
  --sea: #087e8b;
  --sea-dark: #075968;
  --foam: #dff5f3;
  --sun: #f4b860;
  --line: rgba(16, 33, 44, 0.13);
  --shadow: 0 22px 70px rgba(5, 38, 52, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; line-height: 1.06; letter-spacing: 0; color: var(--ink); }
h1 { font-size: clamp(2.55rem, 6vw, 5.8rem); max-width: 980px; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--sea-dark);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sun);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 251, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.brand-text { display: grid; gap: .1rem; }
.brand strong { font-size: 1.08rem; letter-spacing: .01em; }
.brand span { color: var(--muted); font-size: .82rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #22333d;
  font-size: .93rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--sea-dark); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: end;
  isolation: isolate;
  color: white;
  background: #112731;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 32, .86), rgba(5, 24, 32, .54) 46%, rgba(5, 24, 32, .12)),
    linear-gradient(0deg, rgba(5, 24, 32, .78), rgba(5, 24, 32, 0) 42%);
  z-index: -1;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  z-index: -2;
}
.hero-content {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 8rem 0 5.4rem;
}
.hero h1, .hero p { color: white; }
.hero-copy {
  max-width: 720px;
  margin-top: 1.4rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--sun); color: #1a242a; }
.button.secondary { background: rgba(255,255,255,.14); color: white; border-color: rgba(255,255,255,.38); }
.button.dark { background: var(--ink); color: white; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4.5rem;
  background: rgba(255,255,255,.26);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 980px;
}
.trust-item {
  min-height: 108px;
  padding: 1.05rem;
  background: rgba(9, 34, 43, .5);
}
.trust-item strong { display: block; color: white; font-size: 1.4rem; line-height: 1; margin-bottom: .45rem; }
.trust-item .trust-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
  margin-bottom: .52rem;
}
.trust-item .trust-score {
  line-height: 1;
}
.trust-item .trust-stars {
  display: inline-flex;
  align-items: center;
  color: var(--sun);
  font-size: 1.03rem;
  letter-spacing: .06em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.34), 0 0 14px rgba(244, 184, 96, .72);
}
.trust-item > span { display: block; color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.35; }

section { padding: clamp(4.6rem, 8vw, 7.4rem) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-head p { font-size: 1.05rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 34px rgba(8, 69, 83, .06);
}
.service-card h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.service-card p { margin: .7rem 0 1rem; }
.service-meta {
  display: inline-block;
  margin-bottom: .65rem;
  color: var(--sea-dark);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.service-card a {
  color: var(--sea-dark);
  font-weight: 850;
  text-decoration: none;
}
.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: stretch;
}
.visual-tile {
  position: relative;
  margin: 0;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #10212c;
}
.visual-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-tile figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .75rem .85rem;
  border-radius: 6px;
  background: rgba(7, 25, 32, .82);
  color: white;
  font-weight: 800;
  line-height: 1.3;
}
.visual-column {
  display: grid;
  gap: 1rem;
}
.visual-column .visual-tile { min-height: 220px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.photo-stack {
  position: relative;
  min-height: 580px;
}
.photo-stack img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo-stack .one { left: 0; top: 0; width: 72%; height: 460px; }
.photo-stack .two { right: 0; bottom: 0; width: 54%; height: 360px; border: 8px solid var(--paper); }
.check-list {
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .7rem;
  color: #23343e;
}
.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: .08rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--sun) 0 34%, var(--foam) 36% 100%);
}

.area-band {
  background: var(--mist);
  border-block: 1px solid var(--line);
}
.suburb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}
.suburb-grid span {
  padding: .85rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

.booking-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(8, 69, 83, .06);
}
.booking-call h2 { max-width: 760px; margin-top: .35rem; }
.booking-call p { max-width: 720px; margin: .9rem 0 0; font-size: 1.08rem; }
.booking-call .button { white-space: nowrap; }

.quote-band {
  background: #10212c;
  color: white;
}
.quote-band h2, .quote-band p, .quote-band label { color: white; }
.quote-band .check-list li { color: rgba(255,255,255,.86); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  gap: 3rem;
  align-items: start;
}
.quote-form {
  display: grid;
  gap: .8rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}
.quote-form label { display: grid; gap: .28rem; color: var(--ink); font-weight: 800; font-size: .88rem; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%;
  border: 1px solid rgba(16, 33, 44, .2);
  border-radius: 6px;
  padding: .85rem;
  font: inherit;
  color: var(--ink);
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form .button { width: 100%; border: 0; }
.quote-form .fine-print { color: var(--muted); font-size: .83rem; margin: 0; }
.notice {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--foam);
  color: var(--ink);
  font-weight: 800;
}
.notice.error { background: #ffe8d9; }

.faq-list { display: grid; gap: .75rem; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 1rem 1.15rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--ink);
}
.faq-list details p { margin: .8rem 0 0; }

.service-hero {
  padding: 5.8rem 0 4rem;
  background: linear-gradient(135deg, var(--mist), #fff 68%);
}
.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}
.content-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2.2rem);
}
.content-panel h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 1.8rem 0 .8rem; }
.content-panel h2:first-child { margin-top: 0; }
.sidebar-card {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 1.2rem;
}
.sidebar-card h3, .sidebar-card p { color: white; }
.sidebar-card p { opacity: .82; }

.site-footer {
  padding: 4rem 0 2.4rem;
  background: #071920;
  color: rgba(255,255,255,.74);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr 1fr;
  gap: 2rem;
  align-items: start;
}
.site-footer strong, .site-footer a { color: white; }
.site-footer a { text-decoration: none; }
.site-footer p { color: rgba(255,255,255,.78); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
}
.footer-brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  flex: 0 0 auto;
}
.footer-brand div {
  display: grid;
  gap: .15rem;
}
.footer-brand span {
  color: rgba(255,255,255,.7);
  font-size: .84rem;
}
.footer-list {
  list-style: none;
  display: grid;
  gap: .45rem;
  margin: .85rem 0 0;
  padding: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .trust-strip, .service-grid, .section-head, .split, .quote-layout, .service-page-grid, .footer-grid, .visual-grid, .booking-call {
    grid-template-columns: 1fr;
  }
  .booking-call .button { justify-self: start; }
  .suburb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-stack { min-height: 480px; }
  .photo-stack .one { width: 78%; height: 380px; }
  .photo-stack .two { width: 58%; height: 300px; }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .container, .hero-content { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 76px; gap: .75rem; }
  .brand { min-width: 0; gap: .55rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text { min-width: 0; }
  .brand strong { font-size: 1rem; white-space: nowrap; }
  .brand span { font-size: .78rem; white-space: nowrap; }
  .site-header .nav-cta { display: none; }
  .hero { min-height: 760px; align-items: end; }
  .hero-content { padding: 6.5rem 0 2.2rem; }
  .hero h1 {
    max-width: 330px;
    font-size: clamp(1.56rem, 7vw, 1.88rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .service-hero h1 {
    max-width: 340px;
    font-size: clamp(2.15rem, 10.8vw, 2.65rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .service-hero .hero-copy,
  .service-hero .hero-actions {
    max-width: 340px;
  }
  .hero-copy { max-width: 340px; font-size: .96rem; overflow-wrap: anywhere; }
  .hero-actions { max-width: 340px; }
  .trust-strip { margin-top: 2.3rem; }
  .trust-item span { font-size: .82rem; overflow-wrap: anywhere; }
  .hero-actions .button { width: 100%; }
  .suburb-grid { grid-template-columns: 1fr; }
  .photo-stack { min-height: auto; display: grid; gap: 1rem; }
  .photo-stack img { position: static; width: 100% !important; height: auto !important; border: 0 !important; }
  .visual-tile, .visual-column .visual-tile { min-height: 260px; }
  .footer-bottom { display: grid; }
  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    gap: .65rem;
    padding: .7rem 28px calc(.7rem + env(safe-area-inset-bottom)) 14px;
    background: rgba(251, 252, 251, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 34px rgba(5, 38, 52, .14);
    backdrop-filter: blur(16px);
  }
  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem .9rem;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-weight: 850;
    font-size: .9rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .mobile-action-bar a:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }
  .mobile-action-bar a:first-child {
    background: var(--ink);
    color: white;
  }
}
