/* =========================================================
   DOODOO GUYS — stylesheet
   Brand: orange (#ee5a24) + navy (#2a3346), cream backdrop
   ========================================================= */

:root {
  --orange: #ee5a24;
  --orange-dark: #d8480f;
  --orange-light: #ff7a45;
  --navy: #2a3346;
  --navy-deep: #1f2735;
  --blue: #2d7dd2;
  --blue-light: #eaf3fb;
  --cream: #fff8f3;
  --cream-2: #fff1e8;
  --ink: #222a38;
  --muted: #5d6675;
  --white: #ffffff;
  --line: #ece3da;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(42, 51, 70, 0.06);
  --shadow: 0 14px 40px rgba(42, 51, 70, 0.10);
  --shadow-orange: 0 12px 30px rgba(238, 90, 36, 0.30);

  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--navy); }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 780px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.07rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 248, 243, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand-logo { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 500; color: var(--navy); font-size: .98rem; transition: color .15s; }
.nav-links a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { padding: 10px 20px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 76px; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -10%, var(--cream-2), transparent 60%),
    radial-gradient(900px 460px at 0% 110%, var(--blue-light), transparent 55%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  color: var(--navy); font-weight: 600; font-size: .86rem;
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); margin: 20px 0 30px; max-width: 33ch; }
.hero-sub strong { color: var(--navy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; color: var(--navy); font-size: .94rem; }

/* decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; animation: float 9s ease-in-out infinite; }
.blob-1 { width: 130px; height: 130px; background: var(--orange-light); top: 12%; right: 6%; }
.blob-2 { width: 80px; height: 80px; background: var(--blue); top: 60%; right: 44%; animation-delay: -3s; opacity: .25; }
.blob-3 { width: 60px; height: 60px; background: var(--orange); bottom: 12%; left: 4%; animation-delay: -5s; opacity: .35; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }

/* hero media */
.hero-media { position: relative; z-index: 1; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--white);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* hero uses a portrait crop to suit the kneeling photo */
.hero-media .media-frame { aspect-ratio: 20 / 27; }
.hero-media .media-frame img { object-position: 50% 50%; }
/* placeholder shown when image is missing */
.media-frame.is-empty::after {
  content: "📷  " attr(data-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy); font-size: .98rem;
  background:
    repeating-linear-gradient(45deg, var(--cream-2) 0 18px, #ffe7d6 18px 36px);
  border: 2px dashed var(--orange-light);
}
.media-tag {
  position: absolute; bottom: 16px; left: 16px; background: #fff;
  font-weight: 600; font-size: .85rem; color: var(--navy);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); z-index: 2;
}

/* ---------- trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 18px 22px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; }
.trust-ico { font-size: 1.2rem; }

/* ---------- stats ---------- */
.stats { background: var(--cream); padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--orange); }
.stat-label { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* ---------- generic section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { display: inline-block; color: var(--orange); font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.kicker.light { color: var(--orange-light); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section-lead.light { color: rgba(255,255,255,.78); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; }
.services-cards { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f3d9c8; }
.card-ico { font-size: 2.1rem; margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-tag { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--blue-light); color: var(--blue); }
.card-tag.popular { background: #ffe7d6; color: var(--orange-dark); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step-num {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  margin-bottom: 16px; box-shadow: var(--shadow-orange);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- pricing ---------- */
.pricing-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; }
.price-amt { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; color: var(--navy); }
.price-per { color: var(--muted); font-weight: 600; }
.price-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-list li { color: var(--muted); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-orange);
}
.price-foot { text-align: center; color: var(--muted); margin-top: 28px; }

/* ---------- why us (navy) ---------- */
.section-navy { background: var(--navy); color: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-copy h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.why-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list span { font-size: 1.5rem; flex-shrink: 0; }
.why-list strong { color: #fff; }
.why-list div { color: rgba(255,255,255,.78); }
.why-media .media-frame { aspect-ratio: 5 / 4; }

/* ---------- reviews ---------- */
.stars-big { color: var(--orange); font-size: 1.5rem; margin-top: 16px; letter-spacing: 2px; }
.stars-big span { color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-left: 6px; }
.reviews-cards { grid-template-columns: repeat(3, 1fr); }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--ink); font-size: 1.02rem; }
.review footer { margin-top: 16px; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- quote ---------- */
.section-quote { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.quote-intro { position: sticky; top: 100px; }
.estimate-box { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; margin: 26px 0; box-shadow: var(--shadow); }
.estimate-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); font-weight: 600; }
.estimate-value { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
#estimateAmt { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--orange-light); transition: transform .2s var(--ease); }
#estimateAmt.bump { transform: scale(1.12); }
.estimate-per { color: rgba(255,255,255,.7); font-weight: 600; }
.estimate-note { color: rgba(255,255,255,.65); font-size: .92rem; }
.quote-trust { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; color: var(--navy); }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); position: relative; }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .95rem; }
.optional { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(238,90,36,.12); }
.field input::placeholder, .field textarea::placeholder { color: #aab0bb; }

.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .94rem; cursor: pointer;
  padding: 10px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); color: var(--navy);
  transition: all .15s var(--ease); flex: 1; min-width: 64px;
}
.chip:hover { border-color: var(--orange-light); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }

.form-fineprint { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }

.form-success { position: absolute; inset: 0; background: #fff; border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.form-success[hidden] { display: none; }   /* hidden attr must win over display:flex */
.success-ico { font-size: 3.5rem; margin-bottom: 12px; animation: pop .4s var(--ease); }
.form-success h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 32ch; }
@keyframes pop { 0% { transform: scale(0) } 70% { transform: scale(1.2) } 100% { transform: scale(1) } }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); font-weight: 700; transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 18px; }

/* ---------- final cta ---------- */
.section-cta { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-inner p { font-size: 1.15rem; margin-top: 12px; color: rgba(255,255,255,.95); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 18px; }
.section-cta .btn-primary { background: #fff; color: var(--orange-dark); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.section-cta .btn-primary:hover { background: var(--navy); color: #fff; }
.cta-area { font-size: .98rem; color: rgba(255,255,255,.9); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* ---------- mobile sticky CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,248,243,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(42,51,70,.12);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta .mc-call { color: var(--navy); border-color: var(--navy); background: #fff; }
.mobile-cta .mc-quote { flex: 1.6; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .services-cards, .reviews-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-5px); }
  .why-grid, .quote-grid { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 18px 22px 26px; gap: 6px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s var(--ease); z-index: 55;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 6px; border-radius: 10px; }
  .nav-links a:not(.nav-cta):hover { background: var(--cream-2); }
  .nav-cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }

  .hero { padding: 40px 0 50px; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 3rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
  .hero-sub { max-width: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .section { padding: 56px 0; }
  .trust-grid { justify-content: flex-start; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; } /* room for sticky CTA */
}

@media (max-width: 460px) {
  .services-cards, .reviews-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
