/* Westlake Drain ads landing page — bold / premium trade look. Mobile-first. */

:root {
  --navy: #071428;
  --navy-mid: #0c2344;
  --navy-card: #102a4d;
  --ink: #071428;
  --text: #142033;
  --muted: #4a5568;
  --line: #d7deea;
  --sky: #eef3f9;
  --white: #ffffff;
  --orange: #ff5a1f;
  --orange-hover: #e64710;
  --orange-deep: #c73a0c;
  --gold: #e8b84a;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(7, 20, 40, 0.18);
  --header-h: 4.5rem;
  --sticky-h: 4.4rem;
  --max: 72rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); }
h1, h2, h3 {
  margin: 0 0 0.55em;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1, h2 { font-weight: 800; }
h3 { font-weight: 750; }
p { margin: 0 0 1em; }

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.phone { white-space: nowrap; }

/* ----- Utility bar ----- */
.util-bar {
  background: var(--navy);
  color: #d5deea;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0;
}

.util-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: space-between;
}

.util-bar strong {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.util-bar a { color: var(--white); text-decoration: none; }
.util-bar a:hover { color: var(--gold); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(7, 20, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.4rem;
}

.logo-link {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  text-decoration: none;
  color: var(--navy);
  flex: 1 1 auto;
  min-width: 0;
}

.logo-link img {
  width: min(13.75rem, 62vw);
  height: auto;
}

.logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-left: 0.15rem;
}

.header-license {
  display: none;
}

.btn.header-call { display: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  min-height: 3.25rem;
  letter-spacing: 0.01em;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.logo-link:focus-visible {
  outline: 3px solid #ffb199;
  outline-offset: 2px;
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 8px 22px rgba(255, 90, 31, 0.35);
}

.btn-call:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover { background: #0a1d38; color: var(--white); }

.btn-block { width: 100%; }

.btn-lg {
  font-size: 1.15rem;
  padding: 1.05rem 1.5rem;
  min-height: 3.5rem;
}

.icon-phone {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(180deg, #050f1e 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 1.6rem 0 0;
}

.hero-copy {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 7.2vw, 3.15rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 0.45rem;
  line-height: 1.05;
}

.hero h1 .h1-sub {
  display: block;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f4fa;
  margin-top: 0.28em;
}

.price {
  display: inline-block;
  width: fit-content;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  margin: 0.85rem 0 0.95rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.hero-lead {
  font-size: 1.08rem;
  color: #c9d4e4;
  max-width: 34rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-photo {
  margin: 0;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 16.5rem;
  object-fit: cover;
  object-position: 40% 55%;
}
.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.8rem 0.9rem 0.65rem;
  background: linear-gradient(transparent, rgba(5, 13, 24, 0.82));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ----- Cities under hero ----- */
.city-band {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 1.15rem;
}

.city-band h2 {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cities li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
}

/* ----- Trust ----- */
.trust {
  background: var(--sky);
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--navy);
  line-height: 1.3;
}

.trust li span { display: block; }
.trust .sub {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0;
}

.trust svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 0.05rem;
}

/* ----- Sections ----- */
.section { padding: 2.5rem 0; }
.section h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  margin-bottom: 0.3em;
}
.section-lead {
  color: var(--muted);
  margin-bottom: 1.6rem;
  max-width: 40rem;
  font-size: 1.05rem;
}
.section-alt { background: var(--sky); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }
.section-dark .section-lead { color: #b7c4d6; }

/* ----- How it works ----- */
.steps {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: 0 1px 2px rgba(7,20,40,0.04);
}

.step-num {
  display: inline-block;
  font-weight: 850;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3em;
}

.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ----- Services ----- */
.services-grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
}

.card svg {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--orange);
  margin-bottom: 0.7rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
}

.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ----- Gallery ----- */
.gallery {
  display: grid;
  gap: 1rem;
}

.shot {
  margin: 0;
  background: var(--navy-card);
  border-radius: 12px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}
.shot:nth-child(3) img { object-position: center 45%; }
.shot:nth-child(6) img { object-position: center 55%; }
.shot:nth-child(7) img { object-position: center 40%; }

.shot figcaption {
  color: #d5deea;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.85rem 1rem 1.05rem;
}

/* ----- Form ----- */
.form-section { padding-bottom: 3rem; }

.form-wrap { position: relative; }

.mascot {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0 auto 1rem;
}

@media (min-width: 720px) {
  .form-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 38rem);
    gap: 1.5rem 1.25rem;
    align-items: end;
    justify-content: center;
  }
  .mascot {
    width: 10.5rem;
    margin: 0 0 1.5rem;
  }
}


.form-panel {
  background: var(--white);
  border-radius: 14px;
  padding: 1.4rem 1.15rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 38rem;
  color: var(--text);
}

.form-panel h2 { color: var(--ink); }
.form-panel .section-lead { color: var(--muted); }

.form-row { margin-bottom: 0.95rem; }

.form-row label {
  display: block;
  font-weight: 750;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-row .req { color: #c0392b; }

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c5cedb;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'><path d='M5 7.5L10 12.5L15 7.5' stroke='%23071428' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
}

textarea { min-height: 7.5rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a94a6; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* ----- Footer ----- */
.site-footer {
  background: #050d18;
  color: #c5d0de;
  padding: 2rem 0 calc(1.75rem + var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

.footer-name {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.footer-license {
  margin-top: 0.55rem;
  color: var(--gold);
  font-weight: 750;
}

.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #8a99ad;
}

/* ----- Sticky call ----- */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #050d18;
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
}

.sticky-call .btn { width: 100%; }

/* ----- Thank-you ----- */
.thanks {
  min-height: 58vh;
  padding: 2.5rem 0 3rem;
  background: var(--sky);
}

.thanks-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.thanks-card h1 { font-size: clamp(1.6rem, 4vw, 2.15rem); }

.thanks-check {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--orange);
}

.thanks-card .btn { margin-top: 0.5rem; }

/* ----- Desktop ----- */
@media (min-width: 720px) {
  .btn.header-call {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.8rem 1.2rem;
    font-size: 1.08rem;
  }

  .header-license {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 750;
    color: var(--navy);
    line-height: 1.3;
    margin-right: 0.4rem;
  }

  .header-license .cslb {
    color: var(--orange-deep);
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .logo-link img { width: 15.75rem; }

  .hero { padding: 0; }

  .hero {
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(22rem, 1.05fr) minmax(18rem, 0.95fr);
    align-items: stretch;
    min-height: 32rem;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 3.4rem 2.6rem 3.2rem max(1.5rem, calc((100vw - var(--max)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-photo {
    margin: 0;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
  }
  .hero-photo img {
    height: 100%;
    width: 100%;
    min-height: 32rem;
    border-radius: 0;
    object-fit: cover;
    object-position: 40% 55%;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .hero-actions .btn { min-width: 15.5rem; }

  .trust ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 1.25rem;
  }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }

  .shot-featured { grid-column: span 2; }
  .shot-featured img {
    aspect-ratio: 16 / 10;
    object-position: 25% 30%;
  }

  .section { padding: 3.4rem 0; }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
  .form-row-full { grid-column: 1 / -1; }

  .form-panel { padding: 2rem 2rem 2.1rem; }

  .sticky-call { display: none; }

  .site-footer { padding: 2.4rem 0 2.1rem; }

  .thanks { padding: 4.5rem 0 5rem; }
  .thanks-card { padding: 2.75rem 2.5rem; }
}

@media (min-width: 960px) {
  .hero-copy { padding-right: 3.5rem; }
  .hero h1 { font-size: 3.15rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) and (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
}


/* Netlify Forms honeypot — hidden from people, visible to bots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
