/* Scott's Plumbing Repair — Design System
   Color palette derived from logo (blues only, with neutral text):
   --navy:     #0B2A6B
   --primary:  #1453C8   (logo dominant blue)
   --sky:      #4D8DEB   (logo gradient highlight)
   --pale:     #E6EFFB
   --ink:      #0B1733
   --slate:    #475569
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:    #001E3F;
  --primary: #003060;
  --sky:     #4D8DEB;
  --pale:    #E6EFFB;
  --ink:     #0B1733;
  --slate:   #475569;
  --line:    #E2E8F0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--slate); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- TOP UTILITY BAR ---------- */
.topbar {
  background: var(--navy);
  color: #cfd9ee;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.5rem; padding-bottom: 0.5rem; gap: 1rem; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; display: inline-block; margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- NAVBAR ---------- */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.nav .logo-wrap {
  background: #fff; padding: 4px 8px; border-radius: 8px;
  display: flex; align-items: center; gap: 3px;
}
.nav .logo-wrap img { height: 56px; width: 56px; object-fit: contain; }
.nav .logo-mark {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  color: var(--ink); letter-spacing: -0.02em;
}
.nav .logo-mark .l1 { font-size: 1.15rem; }
.nav .logo-mark .l2 { font-size: 1.15rem; color: var(--primary); }
.nav-links {
  display: flex; gap: 2rem; align-items: center;
}
.nav-links a:not(.btn) {
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 9999px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: #1453C8; color: #fff;
  box-shadow: 0 4px 14px rgba(20, 83, 200, 0.4);
}
.btn-primary:hover {
  background: #0E3FA0; color: #fff;
  box-shadow: 0 6px 20px rgba(14, 63, 160, 0.55);
  transform: translateY(-1px);
}
.btn-primary svg { color: #fff; }
.btn-secondary {
  background: #fff; color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--pale); color: var(--navy); border-color: var(--navy);
}
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1); border-color: #fff;
}
.btn svg { width: 18px; height: 18px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(77, 141, 235, 0.55) 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(11, 42, 107, 0.7) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--primary) 60%, #1f6bd9 100%);
  color: #fff;
  padding: 5rem 0 6rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: #99c2ff; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 540px; }
.hero .badges {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.hero .badge {
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero .meta-row {
  display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero .meta-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.9); }
.hero .meta-item svg { width: 22px; height: 22px; color: #99c2ff; flex-shrink: 0; }
.hero .meta-item strong { font-family: 'Manrope', sans-serif; font-weight: 700; color: #fff; }

/* Hero card holds logo on white as required */
.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow:
    0 25px 60px -15px rgba(0,0,0,0.4),
    0 8px 20px -8px rgba(0,0,0,0.25);
  transform: rotate(-1deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}
.hero-card:hover { transform: rotate(0deg); }
.hero-card img { max-width: 380px; width: 100%; margin: 0 auto; }
.hero-card .price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 0.85rem; letter-spacing: 0.05em;
  position: absolute; top: -16px; right: -8px;
  box-shadow: 0 8px 20px rgba(20, 83, 200, 0.4);
  transform: rotate(8deg);
}
.hero-card-wrap { position: relative; }

/* ---------- TRUST STRIP ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.trust .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 0.85rem; }
.trust-item svg {
  width: 36px; height: 36px;
  color: var(--primary);
  background: var(--pale);
  padding: 6px; border-radius: 10px;
  flex-shrink: 0;
}
.trust-item .label {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.95rem;
  color: var(--ink); display: block;
}
.trust-item .sub { font-size: 0.8rem; color: var(--slate); }

/* ---------- SECTION GENERIC ---------- */
section { padding: 5rem 0; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--pale);
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  margin-bottom: 1rem;
}
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 2rem; transition: all 0.25s ease; cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  transition: width 0.3s ease;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px -10px rgba(20, 83, 200, 0.25);
  transform: translateY(-2px);
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card ul {
  margin: 1rem 0 0; padding: 0; list-style: none;
  font-size: 0.9rem; color: var(--slate);
}
.service-card ul li {
  padding: 0.3rem 0; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 0.5rem;
}
.service-card ul li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0;
}

/* ---------- WHY US ---------- */
.why {
  background: linear-gradient(180deg, #fff 0%, var(--pale) 100%);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.why-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.why-list li {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list svg {
  width: 28px; height: 28px; color: var(--primary); flex-shrink: 0;
  background: #fff; padding: 4px; border-radius: 8px;
  border: 1px solid var(--line);
}
.why-list strong { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 1.05rem; display: block; margin-bottom: 0.2rem; }
.why-list p { margin: 0; font-size: 0.92rem; }

.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: #fff; border-radius: 16px; padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px -8px rgba(20, 83, 200, 0.15);
}
.stat-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff; border-color: transparent;
}
.stat-card .num {
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 2.5rem; color: var(--primary); line-height: 1;
}
.stat-card.featured .num { color: #fff; }
.stat-card .label { font-size: 0.9rem; color: var(--slate); margin-top: 0.5rem; }
.stat-card.featured .label { color: rgba(255,255,255,0.85); }

/* ---------- SERVICE AREA ---------- */
.area {
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
.area::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(77, 141, 235, 0.2) 0%, transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(20, 83, 200, 0.3) 0%, transparent 60%);
}
.area .container { position: relative; z-index: 2; }
.area h2 { color: #fff; }
.area p { color: rgba(255,255,255,0.8); }
.area .section-eyebrow { background: rgba(77, 141, 235, 0.2); color: #99c2ff; }
.cities {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem; margin-top: 2rem;
}
.city-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s ease;
}
.city-pill:hover { background: rgba(77, 141, 235, 0.25); border-color: var(--sky); }
.city-pill svg { width: 16px; height: 16px; color: var(--sky); }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.tcard {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.tcard .stars { color: #f59e0b; display: flex; gap: 2px; }
.tcard .stars svg { width: 18px; height: 18px; fill: currentColor; }
.tcard blockquote {
  margin: 0; font-size: 1.02rem; line-height: 1.6;
  color: var(--ink); font-family: 'Manrope', sans-serif; font-weight: 500;
}
.tcard .who { font-size: 0.88rem; color: var(--slate); margin-top: auto; }
.tcard .who strong { color: var(--ink); display: block; font-family: 'Manrope', sans-serif; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.02rem;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--pale); }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--primary);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { content: "−"; }
.faq .body { padding: 0 1.5rem 1.25rem; color: var(--slate); }
.faq-cta {
  margin-top: 2rem; display: flex; gap: 0.75rem; align-items: center;
  flex-wrap: wrap; justify-content: center; text-align: center;
}
.faq-cta span {
  width: 100%; font-family: 'Manrope', sans-serif; font-weight: 700;
  color: var(--ink); font-size: 1.1rem; margin-bottom: 0.25rem;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative; padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  color: #fff; overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg, #fff, #fff 1px, transparent 1px, transparent 12px);
}
.cta-section .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center;
}
.cta-section h2 { color: #fff; }
.cta-section .lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; }
.cta-section .actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- FOOTER ---------- */
footer { background: #050E22; color: #94a3b8; padding: 4rem 0 2rem; }
footer .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer h4 {
  color: #fff; font-size: 0.95rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { padding: 0.3rem 0; }
footer a { color: #94a3b8; transition: color 0.15s ease; }
footer a:hover { color: #fff; }
footer .footer-logo {
  background: #fff; border-radius: 12px; padding: 0.75rem 1rem;
  display: inline-flex; align-items: center; gap: 3px;
  margin-bottom: 1rem;
}
footer .footer-logo img { height: 56px; width: 56px; object-fit: contain; }
footer .footer-logo .mark {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  letter-spacing: -0.02em;
}
footer .footer-logo .mark .l1 { color: var(--ink); font-size: 1.05rem; }
footer .footer-logo .mark .l2 { color: var(--primary); font-size: 1.05rem; }
footer .legal {
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #64748b; flex-wrap: wrap; gap: 1rem;
}
footer .legal a { color: #cbd5e1; }
footer .contact-line { display: flex; gap: 0.6rem; align-items: center; padding: 0.3rem 0; font-size: 0.92rem; }
footer .contact-line svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  color: #fff; padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; max-width: 760px; }
.page-header .lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 640px; margin-top: 1rem; }
.breadcrumbs { display: flex; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: #fff; }
.page-header .header-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 12px 30px -15px rgba(20, 83, 200, 0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: 'Manrope', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: var(--ink); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 83, 200, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-side .info-card {
  background: var(--pale); border-radius: 18px; padding: 2rem; margin-bottom: 1rem;
}
.contact-side .info-card h3 { font-family: 'Manrope', sans-serif; margin-bottom: 1rem; }
.contact-side .row {
  display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem 0;
  border-top: 1px solid rgba(20, 83, 200, 0.15);
}
.contact-side .row:first-of-type { border-top: none; }
.contact-side .row svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-side .row strong { display: block; font-family: 'Manrope', sans-serif; color: var(--ink); }
.contact-side .row span { font-size: 0.92rem; color: var(--slate); }

/* ---------- DETAILED SERVICES PAGE ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid var(--line);
}
.service-detail:nth-child(even) > div:first-child { order: 2; }
.service-detail .visual {
  background: linear-gradient(135deg, var(--pale), #fff);
  border: 1px solid var(--line);
  border-radius: 24px; padding: 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.service-detail .visual::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 50% 50%, rgba(77, 141, 235, 0.12) 0%, transparent 70%);
}
.service-detail .visual svg {
  width: 140px; height: 140px; color: var(--primary); margin: 0 auto;
  position: relative; z-index: 2;
}
.service-detail h2 { font-size: 2rem; }
.service-detail .feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.service-detail .feature-list li {
  padding: 0.6rem 0; display: flex; gap: 0.6rem; align-items: flex-start;
  color: var(--ink); font-weight: 500;
}
.service-detail .feature-list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.service-detail .block-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* ---------- MOBILE ---------- */
.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--pale); border: none; border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
  color: var(--primary);
}
.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero .meta-row { gap: 1.25rem; padding-top: 1.5rem; margin-top: 2rem; }
  .hero-card { transform: rotate(0); margin-top: 0.5rem; padding: 1.5rem 1.25rem; }
  .hero-card img { max-width: 280px; }
  .trust .grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.5rem; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cities { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tcard { padding: 1.5rem; }
  .cta-section { padding: 3.5rem 0; }
  .cta-section .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-section .actions { justify-content: flex-start; gap: 0.75rem; }
  footer .grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
  footer { padding: 3rem 0 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { padding: 1.75rem 1.5rem; }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .service-detail:nth-child(even) > div:first-child { order: 0; }
  .service-detail .visual { padding: 2rem; }
  .service-detail .visual svg { width: 100px; height: 100px; }
  .service-detail .block-cta { margin-top: 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-header { padding: 3rem 0 2.5rem; }
  .page-header .header-cta { gap: 0.6rem; margin-top: 1.5rem; }
  .page-header .header-cta .btn { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .faq-cta { margin-top: 1.5rem; gap: 0.6rem; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 1.5rem;
    border-top: 1px solid var(--line); align-items: stretch; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .mobile-toggle { display: flex; }
  .nav .container { position: relative; padding: 0 1rem; }
  .topbar .container { justify-content: center; font-size: 0.78rem; padding: 0.5rem 1rem; }
  .topbar .topbar-left { display: none; }
  .topbar .topbar-right a:first-child { display: none; } /* hide email at mobile, keep phone */
  .topbar .topbar-right span { display: none; }
  .nav .logo-wrap img { height: 44px; width: 44px; }
  .nav .logo-mark .l1, .nav .logo-mark .l2 { font-size: 1rem; }
  section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .stat-stack { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1.25rem; }
  .stat-card .num { font-size: 2rem; }
  .container { padding: 0 1.25rem; }
}
@media (max-width: 520px) {
  footer .grid { grid-template-columns: 1fr; }
  .trust .grid { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: 1fr; }
}
