/* South Sound Cleaning Co. — shared stylesheet
   Brand: navy + gold, matching the official badge. */

:root {
  --navy: #0a3a67;
  --navy-dark: #062544;
  --navy-text: #14334f;
  --gold: #c9a24b;
  --gold-light: #e9d193;
  --gold-pale: #faf3df;
  --ink: #22303c;
  --muted: #5a6b78;
  --bg-soft: #f2f6f9;
  --line: #d8e2ea;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { flex: 0 1 auto; }
.brand img {
  height: 64px;
  width: auto;
}
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy-text);
  border-radius: 8px;
}
.main-nav a:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 8px 8px 0 0;
}
.call-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.call-btn:hover { background: var(--navy-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy-dark);
}
.hero img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  opacity: 0.92;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(6, 37, 68, 0.88) 0%, rgba(6, 37, 68, 0.25) 55%, rgba(6, 37, 68, 0) 100%);
}
.hero-text {
  color: var(--white);
  padding: 28px 0 34px;
}
.hero-text h1 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 22ch;
}
.hero-text p {
  max-width: 58ch;
  color: #e7eef4;
  margin-bottom: 18px;
}

/* ---------- page banner (interior pages) ---------- */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0 38px;
  border-bottom: 4px solid var(--gold);
}
.page-banner h1 { font-size: 2.1rem; line-height: 1.25; margin-bottom: 8px; }
.page-banner p { color: #d9e5ee; max-width: 62ch; }

/* ---------- sections ---------- */
main section { padding: 48px 0; }
main section.alt { background: var(--bg-soft); }
h2 {
  font-size: 1.65rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
h2 .gold-rule {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 12px;
}
h3 { font-size: 1.2rem; color: var(--navy-text); margin-bottom: 6px; }
p { margin-bottom: 14px; }
.lede { font-size: 1.12rem; color: var(--navy-text); }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.card p { margin-bottom: 10px; color: var(--ink); }
.card a { font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }
section.alt .card { background: var(--white); }

/* ---------- special offer ---------- */
.special {
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 8px;
}
.special .special-label {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.special p { font-size: 1.15rem; color: var(--navy-text); margin-bottom: 0; }

/* ---------- towns ---------- */
.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.town {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
section:not(.alt) .town { background: var(--bg-soft); border-color: var(--line); }
.town h3 { margin-bottom: 4px; }
.town p { margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 46px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d9e5ee; max-width: 56ch; margin: 0 auto 20px; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  margin: 4px 6px;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

/* ---------- contact ---------- */
.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}
.contact-actions .btn { font-size: 1.1rem; padding: 16px 30px; }
form.quote-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 26px;
  max-width: 640px;
}
form.quote-form label {
  display: block;
  font-weight: 600;
  color: var(--navy-text);
  margin: 14px 0 5px;
}
form.quote-form label:first-child { margin-top: 0; }
form.quote-form input,
form.quote-form select,
form.quote-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}
form.quote-form button {
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font: inherit;
}
.form-note { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cfdde8;
  padding: 40px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
.site-footer img.footer-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-towns { line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 0.92rem;
  color: #9fb4c4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards, .town-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero img { height: 340px; }
  .hero-text h1 { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .cards, .town-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { margin-left: 0; }
  .main-nav ul { justify-content: center; }
  .brand img { height: 54px; }
  .hero img { height: 260px; }
  .hero-text h1 { font-size: 1.55rem; }
  .page-banner h1 { font-size: 1.7rem; }
  main section { padding: 36px 0; }
}
