/* ================================================================
   PDC Home Advisor — styles
   ================================================================ */

:root {
  --pdc-blue:   #2D6CB8;
  --pdc-blue-d: #215591;
  --pdc-green:  #7BB648;
  --pdc-green-d:#6AA53C;
  --pdc-dark:   #3A3A3A;
  --pdc-orange: #F28C28;
  --pdc-orange-d:#E07515;

  --ink:        #1a1a1a;
  --muted:      #6b6b6b;
  --muted-2:    #888;
  --rule:       #e8e4dc;
  --cream:      #fafaf7;
  --warm:       #F6F2EA;
  --paper:      #FDFBF6;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  12px;

  --shadow-sm:  0 4px 14px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 14px 32px rgba(45,108,184,.12);
  --shadow-xl:  0 30px 80px rgba(0,0,0,.25);

  --nav-h:      64px;

  /* Placeholder stripe pattern */
  --ph-light:   repeating-linear-gradient(135deg, #e8e4dc 0 18px, #efece4 18px 36px);
  --ph-dark:    repeating-linear-gradient(135deg, #2a2a2a 0 18px, #222 18px 36px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--pdc-orange); color: #fff;
  padding: 10px 16px; z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, backdrop-filter .2s;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: #eee;
}

/* When over the hero, nav text is white; once scrolled, text turns dark */
.nav .nav__link { color: #fff; transition: color .2s; }
.nav.is-scrolled .nav__link { color: #444; }

.nav__logo { display: inline-flex; align-items: center; }
.site-logo { display: block; height: 36px; width: auto; }
.site-logo--dark { display: none; }
.nav.is-scrolled .site-logo--light { display: none; }
.nav.is-scrolled .site-logo--dark { display: block; }
.footer__logo { display: block; height: 30px; width: auto; margin-bottom: 4px; }

.nav__menu {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.nav__link { cursor: pointer; }
.nav__link:hover { color: var(--pdc-orange) !important; }

.nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0;
  transition: .2s;
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  font: 600 14px/1 Inter, sans-serif; letter-spacing: .03em;
  transition: transform .15s, background .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }

.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; letter-spacing: .04em; font-weight: 800; }
.btn--block { display: flex; width: 100%; }

.btn--green { background: var(--pdc-green); color: #fff; border-radius: var(--radius-sm); font-weight: 700; }
.btn--green:hover:not(:disabled) { background: var(--pdc-green-d); }

.btn--blue { background: var(--pdc-blue); color: #fff; border-radius: 8px; font-weight: 700; }
.btn--blue:hover:not(:disabled) { background: var(--pdc-blue-d); }

.btn--orange { background: var(--pdc-orange); color: #fff; font-weight: 700; }
.btn--orange:hover:not(:disabled) { background: var(--pdc-orange-d); }

.btn--white { background: #fff; color: var(--pdc-orange-d); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn--white:hover:not(:disabled) { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); }

.btn--ghost { background: none; color: var(--muted); padding: 10px 14px; font-weight: 500; }
.btn--ghost:hover:not(:disabled) { color: var(--ink); transform: none; }

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: 70px 60px;
  background: #fff;
}
.section--cream { background: var(--cream); }
.section--warm  { background: var(--warm); }
.section--center { text-align: center; }

.section__head { text-align: center; margin-bottom: 40px; }
.section__title {
  font: 700 36px/1.1 Inter, sans-serif;
  letter-spacing: -.02em;
  margin: 0 0 48px;
}
.section--center .section__title { margin-bottom: 48px; }
.section__title--md { font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
.section__title--sm { font-size: 30px; line-height: 1.15; margin-bottom: 28px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted-2);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow--green { color: var(--pdc-green); font-weight: 700; }
.eyebrow--light { color: rgba(255,255,255,.85); }

.text--green { color: var(--pdc-green); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute; inset: 0;
  background: #1e2a3a url("https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=1600&q=80") center/cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,40,55,.55), rgba(30,40,55,.3));
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 80px 60px 90px;
  color: #fff;
  min-height: 520px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__copy { position: relative; z-index: 1; }

.hero__title {
  font: 700 48px/1.08 Inter, sans-serif;
  letter-spacing: -.02em;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__title-accent { color: #FFB36A; }

.hero__lead {
  font-size: 18px;
  margin: 16px 0 28px;
  color: rgba(255,255,255,.92);
  max-width: 480px;
  line-height: 1.5;
}

.hero__offer {
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: var(--radius);
  max-width: 420px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero__offer-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.hero__offer-text { font-size: 15px; }
.hero__offer-sub { font-size: 15px; color: #555; }
.hero__offer-sub strong { color: var(--ink); }
.hero__offer .btn { margin-top: 14px; box-shadow: 0 4px 14px rgba(123,182,72,.35); }
.hero__offer-fine {
  font-size: 12px; color: var(--muted-2);
  margin-top: 8px; text-align: center;
}

.badge {
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  color: #fff;
}
.badge--green { background: var(--pdc-green); }

.hero__graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__graphic-bg {
  position: absolute;
  inset: 8% 0 8% 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1e2a3a url("https://images.unsplash.com/photo-1524813686514-a57563d77965?w=800&q=80") center/cover;
  opacity: .35;
  filter: grayscale(.4) contrast(.9);
}

/* ================================================================
   TRIANGLE GRAPHIC
   ================================================================ */
.triangle-graphic {
  width: 280px; height: 294px;
  overflow: visible;
  position: relative; z-index: 1;
}
.triangle-graphic--lg { width: 300px; height: 315px; }
.triangle-graphic__node {
  transition: transform .2s;
  transform-origin: center;
  transform-box: fill-box;
  cursor: pointer;
}
.triangle-graphic__node:hover { transform: scale(1.1); }

/* ================================================================
   PROCESS (WHAT I DO)
   ================================================================ */
.process {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 16px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.process__step { text-align: center; }
.process__icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.process__label { font: 700 20px/1.1 Inter, sans-serif; margin-bottom: 6px; }
.process__desc {
  font-size: 13.5px; color: #666;
  max-width: 180px; margin: 0 auto; line-height: 1.45;
}
.process__dots {
  display: flex; align-items: center; justify-content: center;
  margin-top: 24px;
}
.process__dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pdc-orange);
  margin: 0 3px;
}
.process__dots span:nth-child(1) { opacity: .4; }
.process__dots span:nth-child(2) { opacity: .55; }
.process__dots span:nth-child(3) { opacity: .7; }
.process__dots span:nth-child(4) { opacity: .85; }

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.service-card--green {
  box-shadow: var(--shadow-md);
  border: 1px solid #eee;
}
.service-card--blue {
  box-shadow: var(--shadow-lg);
  border: 1px solid #d6e4f5;
}

.service-card__ribbon {
  position: absolute;
  top: 14px; right: -34px;
  transform: rotate(35deg);
  background: var(--pdc-orange);
  color: #fff;
  padding: 3px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 2;
}

.service-card__header {
  color: #fff;
  padding: 28px 24px;
}
.service-card__header--green { background: linear-gradient(135deg, var(--pdc-green), var(--pdc-green-d)); }
.service-card__header--blue  { background: linear-gradient(135deg, var(--pdc-blue), var(--pdc-blue-d)); }
.service-card__title { font: 700 22px/1.2 Inter, sans-serif; margin: 0; }
.service-card__sub {
  font-size: 12px; letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  margin-top: 6px; text-transform: uppercase; font-weight: 600;
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__intro {
  color: #444; margin: 0 0 18px;
  font-size: 14.5px; line-height: 1.55;
}

.service-card__price {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-top: auto;
}
.service-card__price--green {
  background: #F2F8EC; border: 1px solid #DFEBD0;
  margin-top: 22px;
}
.service-card__price--blue {
  background: #EEF4FC; border: 1px solid #D6E4F5;
  margin-top: 22px;
}
.service-card__price-mark {
  width: 42px; height: 42px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  flex-shrink: 0;
}
.service-card__price-mark--green { border-radius: 50%; background: var(--pdc-green); }
.service-card__price-mark--blue  { border-radius: 8px; background: var(--pdc-blue); }
.service-card__price-value { font: 800 22px/1 Inter, sans-serif; color: var(--ink); }
.service-card__price-unit { font-size: 12px; color: var(--muted-2); font-weight: 500; letter-spacing: .1em; }
.service-card__price-note { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.service-card__price-note--green { color: var(--pdc-green); font-weight: 600; }

.service-card .btn { margin-top: 14px; border-radius: 8px; padding: 12px; font-size: 13px; }

/* ================================================================
   BULLETS
   ================================================================ */
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #333;
}
.bullets--lg li { font-size: 15px; }

.bullets--check li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M20 6L9 17L4 12' stroke='%237BB648' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.bullets--dot li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pdc-orange);
  flex-shrink: 0;
}

/* ================================================================
   TRUST
   ================================================================ */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.trust__lead {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 420px;
}
.trust__lead em { color: var(--ink); font-style: italic; }
.trust__chip {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #E4DFD3;
  border-radius: 999px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
}
.trust__graphic { display: flex; justify-content: center; }

/* ================================================================
   SERVICE AREA
   ================================================================ */
.area-tags {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 30px;
}
.area-tag {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-tag--green {
  border-color: var(--pdc-green);
  background: rgba(123,182,72,.08);
  color: var(--pdc-green);
}
.area-tag__badge {
  background: var(--pdc-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .08em;
}

/* Community detector */
.detector {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.detector__label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted-2);
  text-transform: uppercase;
  font-weight: 600;
}
.detector__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.detector__chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.detector__chip:hover { border-color: var(--pdc-orange); color: var(--pdc-orange); }
.detector__chip.is-active {
  background: var(--pdc-orange);
  border-color: var(--pdc-orange);
  color: #fff;
}
.detector__result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.detector__price {
  font: 800 28px/1 Inter, sans-serif;
  color: var(--ink);
  letter-spacing: -.02em;
}
.detector__price-sub { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 8px; }
.detector__note { font-size: 12px; color: var(--muted-2); margin-top: 4px; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--pdc-orange), var(--pdc-orange-d));
  color: #fff;
  padding: 60px 60px;
  text-align: center;
}
.final-cta__title {
  font: 700 38px/1.15 Inter, sans-serif;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.final-cta__lead {
  font-size: 16px;
  color: rgba(255,255,255,.95);
  margin: 0 0 26px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #2E3A47;
  color: rgba(255,255,255,.7);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__address { font-size: 13px; margin: 12px 0 0; line-height: 1.7; }
.footer__address strong { color: #fff; }
.footer__heading {
  font-size: 11px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.footer__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
}
.footer__links a { cursor: pointer; transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__contact {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  font-size: 12px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================================================================
   MODAL
   ================================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  animation: slideUp .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px 10px;
}
.modal__close:hover { color: var(--ink); }
.modal__title { margin: 0 0 4px; font-size: 22px; }
.modal__sub   { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

.modal__actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
}

.steps {
  display: flex; gap: 6px;
  margin-bottom: 20px;
}
.steps__dot {
  height: 3px;
  flex: 1;
  background: #eee;
  border-radius: 2px;
  transition: background .3s;
}
.steps__dot.is-on   { background: var(--pdc-orange); }
.steps__dot.is-done { background: var(--pdc-green); }

.step { display: none; }
.step.is-active { display: block; }

/* Form fields */
.field { margin-bottom: 16px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  padding: 0;
}
.field__hint { text-transform: none; color: #bbb; font-weight: 400; }
.field__feedback { margin-top: 10px; font-size: 13px; min-height: 19px; }
.field__feedback.is-free { color: var(--pdc-green); }
.field__feedback.is-paid { color: var(--muted-2); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  font: 400 15px Inter, sans-serif;
  background: #fafafa;
  transition: .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pdc-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242,140,40,.15);
}
.field textarea { resize: vertical; min-height: 100px; font-family: Inter, sans-serif; }

/* Chip group */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 9px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fafafa;
  cursor: pointer;
  font: 500 13px Inter, sans-serif;
  color: #444;
  transition: .15s;
  user-select: none;
}
.chip:hover { border-color: var(--pdc-orange); color: var(--pdc-orange); }
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}
.chip:has(input:checked) {
  background: var(--pdc-orange);
  border-color: var(--pdc-orange);
  color: #fff;
}
.chip:focus-within { box-shadow: 0 0 0 3px rgba(242,140,40,.15); }
.chip__badge {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}
.chip__badge::before { content: '· '; }

/* Honeypot — visually hidden but present in DOM */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Success state */
.success { text-align: center; padding: 12px 0 4px; }
.success__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pdc-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: pop .4s ease;
}
@keyframes pop {
  0%   { transform: scale(.5); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.success__title { font-size: 24px; margin: 0 0 6px; }
.success__sub { color: var(--muted); font-size: 14px; margin: 0; }
.success__sub strong { color: var(--pdc-green); }
.success__summary {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}
.success__summary .free-note {
  color: var(--pdc-green);
  font-weight: 600;
  margin-top: 4px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  /* Safety: prevent horizontal scroll from any off-canvas positioned element */
  html, body { overflow-x: hidden; }

  .nav__inner { padding: 12px 24px; }
  .footer__inner { padding: 32px 24px 24px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu .nav__link { color: #444 !important; font-size: 16px; }
  .nav__menu .btn { width: 100%; }

  .section { padding: 50px 24px; }
  .final-cta { padding: 50px 24px; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 70px 24px 60px;
    gap: 32px;
  }
  /* Grid items default to min-width: auto, which expands the cell to fit
     intrinsic child width (e.g. the wide SCHEDULE button) — force shrink. */
  .hero__copy, .hero__graphic { min-width: 0; }
  .hero__title { font-size: 36px; overflow-wrap: break-word; }
  .hero__lead { font-size: 16px; }

  .btn--lg { padding: 14px 20px; font-size: 14px; letter-spacing: .03em; }

  .service-card__ribbon { right: -30px; top: 12px; padding: 3px 36px; }

  .process {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process__dots {
    transform: rotate(90deg);
    margin: 0 auto;
    width: 40px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trust__graphic { display: none; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__title { font-size: 28px; margin-bottom: 32px; }
  .final-cta__title { font-size: 30px; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; }
  .hero__inner { padding: 60px 20px 48px; }
  .hero__title { font-size: 28px; line-height: 1.12; }
  .hero__lead { font-size: 15px; }
  .hero__offer { padding: 16px 18px; }
  .hero__offer-text, .hero__offer-sub { font-size: 14px; }

  .btn--lg { font-size: 13px; padding: 13px 16px; letter-spacing: .02em; }

  .section { padding: 44px 20px; }
  .section__title { font-size: 26px; }
  .final-cta { padding: 44px 20px; }
  .final-cta__title { font-size: 26px; }

  .nav__inner { padding: 10px 20px; }
  .footer__inner { padding: 28px 20px 20px; }

  .modal__panel { padding: 24px 20px; }
  .modal__title { font-size: 20px; }

  .area-tag { padding: 8px 14px; font-size: 13px; }
  .detector__price { font-size: 24px; }
}

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