/* Norco Pool Service preview, v3. Layout modelled on ranchopools.com (white header
   bar with one quote button, full-bleed photo hero, 3-column services, photo tiles,
   3-step process with the photo on the left, FAQ with the title on the left, map and
   city list, navy footer). Type stays the business's own: Gelasio (Georgia metrics)
   for headings and body, Archivo for nav, buttons, labels and small facts. */
:root {
  --navy: #1b1463;
  --navy-dark: #120d48;
  --navy-link: #1f2a8c;
  --sky: #28aae2;
  --ink: #22242e;
  --muted: #5d6170;
  --line: rgba(0, 0, 0, .12);
  --serif: Gelasio, Georgia, "Times New Roman", serif;
  --sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --pad: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 31px; letter-spacing: -.01em; }
h2 { font-size: 28px; letter-spacing: -.01em; margin-bottom: .8em; }
h3 { font-size: 20px; margin-bottom: .4em; }
p { margin: 0 0 1em; }
.small { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--muted); }
.intro { font-size: 18px; max-width: 640px; margin-bottom: 1.6em; }
.wrap { width: min(100% - 2 * var(--pad), 1240px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* confirm tags for placeholders */
.ph { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.3; color: #7a4b00; background: #fff4d6; border: 1px dashed #d8a227; padding: 1px 6px; vertical-align: middle; cursor: help; }

/* buttons: square-ish, navy; white versions for the hero */
.btn { display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1; padding: 15px 22px; background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 3px; text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap; }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn--line { background: #fff; color: var(--navy); }
.btn--line:hover { background: #f1f2f7; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: #eef0f6; border-color: #eef0f6; color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-link); text-decoration: underline; cursor: pointer; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* header: white bar, name left, links, phone and one button right */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.menu { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--navy); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; cursor: pointer; margin-left: auto; }
.nav { display: none; width: 100%; padding: 6px 0 14px; border-top: 1px solid var(--line); }
.nav.is-open { display: grid; gap: 2px; }
.nav a { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--navy); text-decoration: none; padding: 9px 0; }
.nav a:hover { text-decoration: underline; }
.header__act { display: none; align-items: center; gap: 22px; }
.header__phone { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.header__phone--solo { margin-left: auto; }

/* hero: full-bleed photo under a flat navy-black tint */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 560px; padding: 56px 0 40px; color: #fff; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 0; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(13, 10, 52, .5); z-index: -1; }
.hero__in { display: flex; justify-content: flex-end; }
.hero__text { max-width: 640px; width: 100%; }
.hero h1 { color: #fff; max-width: 14em; margin-bottom: .5em; }
.hero__lead { font-size: 18px; max-width: 34em; margin-bottom: 1.5em; }
.hero__lead .ph { color: #5a3a00; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero__btns .btn { flex: 1 1 100%; padding: 17px 26px; font-size: 16px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.hero__facts li { padding-right: 12px; margin-right: 12px; border-right: 1px solid rgba(255, 255, 255, .45); line-height: 1.2; }
.hero__facts li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

/* sections */
.section { padding: 56px 0 0; }
.section:last-of-type { padding-bottom: 64px; }

/* services: three plain columns with a rule above each */
.services { display: grid; gap: 28px; }
.service { border-top: 2px solid var(--navy); padding-top: 18px; }
.service p { color: var(--ink); margin-bottom: .6em; }
.service a { font-family: var(--sans); font-size: 15px; font-weight: 500; }

/* plans table */
.plans { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.plans tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.plans tr:last-child { border-bottom: 1px solid var(--line); }
.plans th { text-align: left; font-size: 19px; font-weight: 600; color: var(--navy); grid-column: 1; }
.plans td { padding: 0; grid-column: 1 / -1; }
.plans__price { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--navy); }
.plans__act { font-family: var(--sans); font-size: 15px; grid-column: 2 !important; grid-row: 1; align-self: start; white-space: nowrap; }

/* photo tiles with text over a flat tint */
.tiles { display: grid; gap: 14px; }
.tile { position: relative; margin: 0; min-height: 300px; display: flex; align-items: flex-end; border-radius: 4px; overflow: hidden; isolation: isolate; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::before { content: ""; position: absolute; inset: 0; background: rgba(13, 10, 52, .52); z-index: -1; }
.tile figcaption { padding: 24px; }
.tile h3 { color: #fff; font-size: 22px; margin-bottom: .35em; }
.tile p { margin: 0; font-size: 16px; max-width: 34em; }

/* three steps, photo on the left */
.steps { display: grid; gap: 28px; }
.steps__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.steps__list { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; }
.steps__list li { position: relative; padding-left: 44px; margin-bottom: 20px; counter-increment: step; }
.steps__list li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border: 1px solid var(--navy); border-radius: 3px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--navy); display: grid; place-items: center; }
.steps__list h3 { font-size: 20px; margin-bottom: .25em; }
.steps__list p { margin: 0; }

/* two-column text sections */
.cols { display: grid; gap: 24px; }
.list { margin: 0 0 .8em; padding-left: 1.2em; }
.list li { margin-bottom: .35em; }
.cols__list--two { display: grid; gap: 0 20px; grid-template-columns: 1fr 1fr; }
.cols__list--two .list { padding-left: 1.1em; }
.cols__figure { margin: 0; }
.cols__figure img { width: 100%; border-radius: 4px; }
.cols__figure figcaption { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; }

/* faq: title left, questions right */
.faq { display: grid; gap: 8px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); }
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__list details p { margin: 0 0 18px; max-width: 42em; }

/* service area: map, then ZIP check and city list */
.map { margin-bottom: 28px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.area { display: grid; gap: 28px; }
.cities { border-collapse: collapse; width: 100%; margin-bottom: 10px; }
.cities th, .cities td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cities th { font-weight: 600; color: var(--navy); padding-right: 16px; }
.cities td { font-family: var(--sans); font-size: 15px; }
.zip label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.zip__row { display: flex; gap: 8px; max-width: 340px; }
.zip__row input { flex: 1; min-width: 0; }
.zip__result { font-size: 16px; margin: 10px 0 0; min-height: 1.5em; }
.zip__result.is-yes { color: #1b5e20; }
.zip__result.is-maybe { color: #7a4b00; }

/* forms */
input, select, textarea { font: inherit; font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #8a8f9a; border-radius: 3px; padding: 12px 12px; width: 100%; }
textarea { resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1463' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form__grid { display: grid; gap: 14px; margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 6px; }
.field__err { display: none; font-family: var(--sans); font-size: 13px; color: #a32020; margin: 0; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input, .field.is-invalid select { border-color: #a32020; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--sans); font-size: 15px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; }
.radios input { width: auto; margin: 0; accent-color: var(--navy); }
.form .btn { width: 100%; }
.form .small { margin-top: 10px; }
.summary { border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.summary__text { font-family: var(--sans); font-size: 14px; line-height: 1.5; white-space: pre-wrap; background: #f4f5f9; padding: 12px; margin: 0 0 16px; overflow-x: auto; }
.summary__actions { display: grid; gap: 8px; }

/* footer: navy, name and contact left, link columns right */
.footer { background: var(--navy); color: #fff; padding: 48px 0 28px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__in { display: grid; gap: 32px; }
.footer__brand p { margin: 0 0 4px; }
.footer__name { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 8px !important; }
.footer__brand .ph { color: #7a4b00; }
.footer__col { display: grid; align-content: start; gap: 8px; }
.footer__head { margin: 0 0 4px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.footer__note { margin: 0; color: rgba(255, 255, 255, .85); max-width: 28em; }
.footer__foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer__foot p { margin: 0; }

@media (min-width: 700px) {
  :root { --pad: 32px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .header__in { min-height: 76px; }
  .hero { min-height: 600px; padding-bottom: 48px; }
  .hero__photo { object-position: 50% 0; }
  .hero__btns .btn { flex: 0 0 auto; }
  .section { padding-top: 80px; }
  .section:last-of-type { padding-bottom: 88px; }
  .services { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .plans tr { grid-template-columns: 200px 1fr 170px auto; gap: 20px; align-items: start; padding: 18px 0; }
  .plans th { grid-column: auto; }
  .plans td { grid-column: auto; }
  .plans__act { grid-column: auto !important; grid-row: auto; }
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tile { grid-column: span 3; min-height: 340px; }
  .tile--wide { grid-column: span 4; min-height: 400px; }
  .tile--wide + .tile { grid-column: span 2; }
  .tile figcaption { padding: 32px; }
  .tile h3 { font-size: 24px; }
  .steps { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
  .cols { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
  .cols--tile { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .cols--quote { grid-template-columns: 1fr 1.7fr; }
  .faq { grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
  .map iframe { height: 420px; }
  .area { grid-template-columns: 1fr 1fr; gap: 48px; }
  .form__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .field--full { grid-column: 1 / -1; }
  .form .btn { width: auto; }
  .summary__actions { display: flex; gap: 10px; }
  .footer__in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}

@media (min-width: 1000px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .header__in { min-height: 84px; flex-wrap: nowrap; }
  .brand { font-size: 24px; }
  .menu { display: none; }
  .nav { display: flex; width: auto; padding: 0; border: 0; gap: 28px; margin-left: auto; margin-right: 32px; }
  .nav a { font-size: 15px; padding: 0; }
  .header__act { display: flex; }
  .hero { min-height: 660px; align-items: center; padding: 56px 0; }
  .hero__lead { font-size: 19px; }
  .section { padding-top: 96px; }
  .section:last-of-type { padding-bottom: 104px; }
  .services { gap: 48px; }
  .tile--wide { min-height: 440px; }
  .tile { min-height: 360px; }
  .steps { gap: 72px; }
  .cols { gap: 72px; }
  .faq { gap: 96px; }
  .area { gap: 72px; }
}

/* 2026-11-07 audit: the photos are small originals from their 2020 site, so they are
   shown at or under native size instead of stretched full-bleed under a tint. */
.hero { display: block; min-height: 0; padding: 32px 0 48px; color: var(--ink); border-bottom: 1px solid var(--line); }
.hero::before { content: none; }
.hero__in { display: grid; gap: 28px; }
.hero__photo { position: static; order: -1; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 40% 12%; z-index: auto; border-radius: 3px; }
.hero h1 { color: var(--navy); }
.hero__lead { color: var(--ink); }
.hero__facts { color: var(--muted); }
.hero__facts li { border-right-color: var(--line); }
.tiles { gap: 36px 48px; }
.tile { display: grid; grid-template-columns: 1fr; gap: 16px; min-height: 0; color: var(--ink); border-radius: 0; overflow: visible; align-items: start; }
.tile::before { content: none; }
.tile img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.tile figcaption { padding: 0; }
.tile h3 { color: var(--navy); font-size: 21px; }
.tile p { color: var(--ink); }
@media (min-width: 700px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile--wide, .tile--wide + .tile { grid-column: auto; min-height: 0; grid-template-columns: 220px 1fr; gap: 24px; }
  .tile figcaption { padding: 0; }
  .tile h3 { font-size: 22px; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 72px; min-height: 0; }
  .hero__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero h1 { max-width: none; font-size: 46px; }
  .hero__photo { order: 0; aspect-ratio: 5 / 4; }
  .tile, .tile--wide { min-height: 0; grid-template-columns: 260px 1fr; }
}
@media (max-width: 699px) {
  .hero__facts { flex-direction: column; gap: 4px; }
  .hero__facts li { border: 0; padding: 0; margin: 0; }
}
