/* ===== Shredder's Pool Service and Repair - shared styles =====
   Change the colors here and every page updates. */
:root {
  --cream: #f6e9bf;
  --cream-light: #fbf4dc;
  --green: #14352b;
  --gold: #c8931c;
  --teal: #3c8b86;
  --ink: #1f2a25;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--cream-light); line-height: 1.65; font-size: 17px; }
h1, h2, h3 { font-family: Rockwell, "Rockwell Extra Bold", Georgia, serif; color: var(--green); line-height: 1.2; }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
.wrap { width: 92%; max-width: 1100px; margin: 0 auto; }

/* Header */
.site-header { background: var(--cream); border-bottom: 4px solid var(--gold); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; flex-wrap: wrap; }
.logo img { height: 74px; width: auto; }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--green); text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 4px 0; border-bottom: 3px solid transparent; }
nav a:hover, nav a.active { border-bottom-color: var(--gold); }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--green); padding: 13px 26px; border-radius: 8px; font-weight: 800; text-decoration: none; border: 2px solid var(--gold); }
.btn:hover { background: #dba62a; }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--cream); }
.btn.light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.light:hover { background: var(--cream); color: var(--green); }

/* Hero */
.hero { background: var(--cream); padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 14px; }
.hero p { font-size: 1.12rem; margin-bottom: 22px; max-width: 540px; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-logo img { width: 100%; max-width: 440px; margin: 0 auto; }
.page-hero { background: var(--green); color: var(--cream); padding: 48px 0; text-align: center; }
.page-hero h1 { color: var(--cream); font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p { max-width: 640px; margin: 0 auto; }

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--cream); }
.center { text-align: center; }
h2.title { font-size: 1.9rem; text-align: center; margin-bottom: 10px; }
.lead { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: 12px; padding: 26px; border-top: 5px solid var(--gold); box-shadow: 0 3px 12px rgba(20, 53, 43, 0.10); }
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card.teal { border-top-color: var(--teal); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split p { margin-bottom: 14px; }
ul.ticks { list-style: none; margin: 10px 0 0; }
ul.ticks li { padding-left: 30px; position: relative; margin-bottom: 8px; }
ul.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

/* Photo spots: shows your photo once the file exists, otherwise a friendly placeholder */
.photo { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; background: linear-gradient(135deg, var(--teal), #6fb3ad); border: 3px solid var(--gold); }
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo .label { display: none; }
.photo.empty .label { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; color: var(--white); font-weight: 700; padding: 20px; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

/* Steps */
.steps { max-width: 760px; margin: 0 auto; }
.step { background: var(--white); border-radius: 12px; padding: 20px 22px 20px 74px; position: relative; margin-bottom: 14px; box-shadow: 0 3px 10px rgba(20, 53, 43, 0.08); }
.step::before { content: attr(data-n); position: absolute; left: 20px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--green); font-weight: 900; display: flex; align-items: center; justify-content: center; font-family: Rockwell, Georgia, serif; }
.step strong { color: var(--green); }

/* Cities */
.cities { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; }
.cities li { background: var(--green); color: var(--cream); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.cities.gold li { background: var(--gold); color: var(--green); }

/* FAQ */
details { background: var(--white); border-radius: 10px; padding: 16px 20px; margin: 0 auto 12px; max-width: 800px; box-shadow: 0 2px 8px rgba(20, 53, 43, 0.08); }
summary { cursor: pointer; font-weight: 700; color: var(--green); }
details p { margin-top: 10px; }

/* Call to action */
.cta { background: var(--green); color: var(--cream); text-align: center; }
.cta h2 { color: var(--cream); font-size: 1.9rem; margin-bottom: 10px; }
.cta p { max-width: 620px; margin: 0 auto 20px; }
.cta .btn { margin: 5px; }
.contact-box { background: var(--white); border-radius: 14px; padding: 30px; border-top: 5px solid var(--gold); box-shadow: 0 3px 12px rgba(20, 53, 43, 0.10); }
.contact-box p { margin-bottom: 12px; }
.contact-box .big { font-size: 1.4rem; font-weight: 800; color: var(--green); text-decoration: none; }

/* Footer */
footer { background: #0c211a; color: #cdd8d2; padding: 34px 0; font-size: 0.92rem; text-align: center; }
footer a { color: var(--gold); }
footer .links { margin-bottom: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
footer p { margin-bottom: 4px; }

@media (max-width: 760px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 300px; }
  .logo img { height: 60px; }
  nav { gap: 14px; width: 100%; justify-content: center; }
  .bar > .btn { width: 100%; text-align: center; }
}

/* Real photos */
.photo { min-height: 340px; background: var(--teal); }
.photo img { object-position: center; }

/* ===== Accessibility (WCAG 2.1 AA) ===== */
:root { --teal: #1f6560; }
a { color: #1f6560; text-decoration: underline; }
nav a, .btn, footer a, .logo { text-decoration: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: var(--cream); padding: 12px 18px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid #0b57d0; outline-offset: 3px; border-radius: 4px; }
footer a:focus-visible, .cta a:focus-visible, .page-hero a:focus-visible { outline-color: #ffd66b; }
nav a { padding: 12px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.btn { min-height: 48px; }
summary { min-height: 44px; display: flex; align-items: center; }
footer a { display: inline-block; padding: 8px 4px; }
footer .links { gap: 10px 18px; }
.cta a.link, .contact-box a:not(.btn) { color: var(--green); }
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p, .legal ul { margin-bottom: 12px; }
.legal ul.ticks { margin-left: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ===== Home refresh: big logo, badge, trust strip ===== */
:root { --cream: #feedbd; }
.logo img { height: 112px; }
.eyebrow { font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; margin-bottom: 10px !important; }
.hero { padding: 48px 0 56px; }
.hero h1 { font-size: 2.6rem; }
.hero-grid { grid-template-columns: 1.05fr .95fr; }
ul.checks { margin: 0 0 24px; }
ul.checks li { font-weight: 700; color: var(--green); font-size: 1.05rem; }
.hero-photo { position: relative; border-radius: 18px; overflow: hidden; border: 4px solid var(--gold); box-shadow: 0 6px 20px rgba(20,53,43,.2); aspect-ratio: 4/5; max-height: 560px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 16px; bottom: 16px; width: 150px; height: 150px; border-radius: 50%; background: var(--green); color: var(--cream); border: 4px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; padding: 10px; }
.badge span { font-size: .8rem; }
.badge strong { font-family: Rockwell, Georgia, serif; font-size: 1.1rem; color: var(--gold); margin: 3px 0; }
.trust { background: var(--green); color: var(--cream); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; padding: 18px 0; text-align: center; }
.trust strong { color: var(--gold); display: block; font-size: 1.05rem; }
@media (max-width: 760px) {
  .logo img { height: 84px; }
  .hero h1 { font-size: 2rem; }
  .hero-photo { aspect-ratio: 4/3; }
  .badge { width: 124px; height: 124px; }
  .hero-logo { display: none; }
}
summary { justify-content: space-between; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; font-weight: 800; color: var(--gold); margin-left: 12px; }
details[open] summary::after { content: "\2212"; }

/* ===== Service areas dropdown + footer cities ===== */
nav { align-items: center; }
.dd { position: relative; display: inline-flex; align-items: center; }
.ddb { background: none; border: 0; color: var(--green); font-size: 1rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.ddl { position: absolute; top: 100%; left: 0; z-index: 30; background: var(--white); border: 2px solid var(--gold); border-radius: 10px; padding: 8px 0; list-style: none; min-width: 230px; box-shadow: 0 8px 20px rgba(20,53,43,.2); max-height: 70vh; overflow: auto; }
.ddl[hidden] { display: none; }
.ddl a { display: flex; padding: 10px 18px; border-bottom: 0; min-height: 44px; }
.ddl a:hover, .ddl a:focus-visible { background: var(--cream); }
.fcities { line-height: 2; margin-bottom: 12px; }
@media (max-width: 760px) { .ddl { position: static; box-shadow: none; width: 100%; } .dd { flex-wrap: wrap; } }

/* Mobile call bar */
.stickycall { display: none; }
@media (max-width: 760px) { .stickycall { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--gold); color: var(--green); text-align: center; font-weight: 800; padding: 14px; min-height: 48px; text-decoration: none; border-top: 3px solid var(--green); } body { padding-bottom: 60px; } }
.stickycall:focus-visible { outline: 3px solid #0b57d0; outline-offset: -6px; }

/* Reviews */
.reviews { background: var(--cream-light); }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.rv { background: var(--white); border-radius: 12px; padding: 24px; border-top: 5px solid var(--gold); box-shadow: 0 3px 12px rgba(20,53,43,.10); }
.rv blockquote p { font-size: 1.08rem; color: var(--green); font-style: italic; }
.rv figcaption { margin-top: 12px; font-weight: 700; color: var(--teal); }
.stars { color: #b07d0e; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 8px; }

/* Reviews, roomier layout */
.reviews { padding: 56px 0; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 980px; margin: 0 auto; }
.rv { padding: 32px 30px 26px; display: flex; flex-direction: column; }
.rv .stars { font-size: 1.5rem; margin-bottom: 14px; }
.rv blockquote p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.7; font-style: italic; color: var(--ink); }
.rv blockquote p.big { font-size: 1.3rem; line-height: 1.5; font-family: Rockwell, Georgia, serif; font-style: normal; color: var(--green); }
.rv figcaption { margin-top: auto; padding-top: 16px; border-top: 2px solid var(--cream); font-weight: 800; color: var(--green); }
.rv figcaption span { font-weight: 600; color: var(--teal); margin-left: 8px; }
.rv-grid + p { margin-top: 32px !important; }

/* Clickable city pills */
.cities li { padding: 0; }
.cities a { display: flex; align-items: center; min-height: 44px; padding: 8px 18px; color: inherit; text-decoration: none; border-radius: 999px; }
.cities a:hover, .cities a:focus-visible { text-decoration: underline; }
.cities.gold a { color: var(--green); }

/* reviews redesign */
.reviews { background: var(--green); padding: 64px 0; }
.reviews .title { color: #fff; text-align: center; }
.reviews .lead { color: #e8efe9; text-align: center; margin-bottom: 30px; }
.rv-grid { max-width: 1040px; gap: 24px; }
.rv { position: relative; background: #fff; border: 0; border-left: 6px solid var(--gold); border-radius: 4px 18px 4px 18px; padding: 44px 30px 24px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.rv::before { content: "\201C"; position: absolute; top: 4px; left: 20px; font: 700 4.2rem/1 Georgia, serif; color: var(--gold); opacity: .55; }
.rv .stars { color: #b07d0e; font-size: 1.25rem; margin-bottom: 10px; }
.rv blockquote p.big { font-size: 1.22rem; }
.rv blockquote p { font-size: 1rem; }
.rv figcaption { border-top: 1px solid #d9e2dc; font-weight: 800; }
.rv figcaption span { display: inline-block; background: var(--cream); color: var(--green); font-size: .8rem; padding: 2px 10px; border-radius: 99px; }
.reviews .center, .rv-grid + p { text-align: center; }
.reviews .btn.ghost { color: #fff; border-color: #fff; background: transparent; }
.reviews .btn.ghost:hover { background: #fff; color: var(--green); }

/* city pills: clear contrast */
.cities li, .cities.gold li { background: #fff; color: var(--green); border: 2px solid var(--green); box-shadow: 0 2px 6px rgba(20,53,43,.12); }
.cities a, .cities.gold a { color: var(--green); font-weight: 700; }
.cities li:hover, .cities li:focus-within { background: var(--gold); border-color: var(--green); }
.cities a:hover, .cities a:focus-visible { text-decoration: underline; }

/* city pills v3: solid dark pills, white text */
.cities li, .cities.gold li { background: #14352b; border: 2px solid #14352b; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.cities a, .cities.gold a { color: #ffffff; font-weight: 700; }
.cities li:hover, .cities li:focus-within { background: #c8931c; border-color: #14352b; }
.cities li:hover a, .cities li:focus-within a { color: #14352b; }
h2 small { font-size: .6em; font-weight: 600; color: var(--teal); white-space: normal; }

/* Phone layout fixes (narrow screens only; desktop unchanged) */
@media (max-width: 760px) {
  .site-header { position: static; }
  .bar { justify-content: center; padding: 6px 0 4px; gap: 4px; }
  .logo img { height: 64px; }
  nav { gap: 4px 16px; justify-content: center; }
  nav a { font-size: .92rem; padding: 6px 0; }
  .bar > .btn { display: none; }
  .hero { padding: 24px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .hero p { font-size: 1.02rem; max-width: none; }
  .hero .btns { flex-direction: column; }
  .hero .btns .btn { width: 100%; text-align: center; }
  .hero-photo { aspect-ratio: 4/3; max-height: 300px; }
  .badge { width: 100px; height: 100px; font-size: .8rem; }
  .eyebrow, .hero .eyebrow { font-size: .8rem; letter-spacing: .06em; }
  .title { font-size: 1.6rem; }
  .cta .btn, .center .btn { max-width: 100%; }
}
@media (max-width: 760px) { nav { gap: 2px 12px; } nav a { font-size: .86rem; } }
