:root {
  --ink: #102027;
  --muted: #56666d;
  --teal: #0a5c74;
  --teal-dark: #063949;
  --gold: #f4b63f;
  --coral: #d85b45;
  --sky: #e9f7fb;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: #d8e2e5;
  --shadow: 0 20px 60px rgba(6, 57, 73, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
}

.brand,
.nav-links,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  letter-spacing: 0;
}

.nav-links {
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.call-button,
.primary-cta,
.secondary-cta,
.quick-call a,
.final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.call-button,
.primary-cta,
.quick-call a,
.final-cta a {
  background: var(--gold);
  color: #211705;
  box-shadow: 0 10px 20px rgba(244, 182, 63, 0.28);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  background: var(--teal-dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/santa-ana-plumber-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 57, 73, 0.94) 0%, rgba(6, 57, 73, 0.76) 44%, rgba(6, 57, 73, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 57, 73, 0.38), rgba(6, 57, 73, 0.08));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 710px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
}

.quick-call,
.section,
.final-cta,
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: -36px;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.quick-call h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro > p,
.split p,
.faq p {
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-grid article,
.steps article,
.area-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 250px;
  padding: 1.35rem;
  box-shadow: 0 12px 34px rgba(16, 32, 39, 0.07);
}

.service-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.area-panel {
  padding: 1.4rem;
  background: var(--sky);
}

.area-panel ul {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--teal-dark);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.steps article {
  padding: 1.25rem;
  background: var(--paper);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq a {
  color: var(--teal);
  font-weight: 900;
}

.final-cta {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 92, 116, 0.95), rgba(216, 91, 69, 0.88)),
    var(--teal);
}

.final-cta h2 {
  max-width: 860px;
}

.final-cta a {
  margin-top: 1.4rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--muted);
}

footer a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 0.8rem 0;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.92rem;
  }

  .call-button {
    min-height: 44px;
    padding-inline: 0.8rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 57, 73, 0.88), rgba(6, 57, 73, 0.72));
  }

  .quick-call,
  .intro,
  .split,
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .quick-call a,
  .final-cta a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 120px;
    line-height: 1.1;
  }

  .call-button {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.4rem, 16vw, 4rem);
  }

  .hero {
    min-height: 760px;
  }
}
