/* ============================================================
   Same Day Plumber Portland — Theme
   (adapted from the iWater Damage Restoration theme)
   ============================================================ */

:root {
  --navy: #0a1e3a;
  --navy-2: #112c54;
  --blue: #0066cc;
  --blue-2: #0052a3;
  --blue-light: #e8f1fb;
  --accent: #ff5a1f;
  --accent-2: #e63946;
  --text: #1a2238;
  --muted: #5a6781;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-dark: #0a1e3a;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 6px rgba(10, 30, 58, 0.06);
  --shadow: 0 6px 22px rgba(10, 30, 58, 0.10);
  --shadow-lg: 0 22px 50px rgba(10, 30, 58, 0.18);
  --container: 1240px;
  --transition: 0.22s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; color: var(--navy); line-height: 1.18; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--muted); }
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  padding: 7px 14px; border-radius: 999px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow.center { display: inline-flex; }
.accent { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(0, 102, 204, 0.32); }
.btn-primary:hover { background: var(--blue-2); color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0, 102, 204, 0.42); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--white); box-shadow: 0 10px 24px rgba(230, 57, 70, 0.32); }
.btn-accent:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(230, 57, 70, 0.42); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ============================================================
   TOP BAR + HEADER
   ============================================================ */
.topbar { background: var(--navy); color: rgba(255, 255, 255, 0.86); font-size: 0.83rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar-left { display: flex; gap: 22px; align-items: center; }
.topbar-left i, .topbar-right i { color: var(--blue); margin-right: 6px; }
.topbar-right a { color: rgba(255, 255, 255, 0.86); }
.topbar-right a:hover { color: var(--white); }
.hide-sm { display: inline; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, #2a8cf0 100%); color: var(--white); border-radius: 12px; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(0, 102, 204, 0.35); }
.brand-text { line-height: 1.1; font-weight: 500; }
.brand-text strong { display: block; font-weight: 800; }

/* Nav */
.primary-nav > ul { display: flex; gap: 6px; align-items: center; }
.primary-nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; padding: 10px 14px; border-radius: 8px; }
.primary-nav a:hover { background: var(--blue-light); color: var(--blue); }
.primary-nav li { position: relative; }
.mega { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 260px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px; display: none; flex-direction: column; gap: 2px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; }
.mega a i { color: var(--blue); width: 18px; text-align: center; }
.primary-nav .has-mega:hover .mega { display: flex; }
.mega.two-col { min-width: 460px; flex-direction: row; flex-wrap: wrap; }
.mega.two-col a { width: calc(50% - 4px); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }
.phone-pill { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--white); padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 22px rgba(230, 57, 70, 0.32); }
.phone-pill:hover { color: var(--white); transform: translateY(-2px); }
.phone-pill i { font-size: 1.2rem; }
.phone-pill small { display: block; font-size: 0.7rem; opacity: 0.9; line-height: 1; }
.phone-pill strong { font-size: 1.02rem; line-height: 1.2; }
.nav-toggle { display: none; background: var(--blue-light); border: none; color: var(--blue); font-size: 1.3rem; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(10, 30, 58, 0.92) 0%, rgba(17, 44, 84, 0.85) 60%, rgba(0, 102, 204, 0.72) 100%),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'><path d='M0 80 L40 40 L80 80 L120 40 L160 80' fill='none' stroke='rgba%28255%2C255%2C255%2C0.07%29' stroke-width='2'/><path d='M0 40 L40 0 L80 40 L120 0 L160 40' fill='none' stroke='rgba%28255%2C255%2C255%2C0.05%29' stroke-width='2'/></svg>") center / 160px 80px repeat;
  color: var(--white); padding: 90px 0 110px; overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.35) 0%, transparent 55%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.hero-text .eyebrow { background: rgba(255, 255, 255, 0.14); color: var(--white); backdrop-filter: blur(8px); }
.hero-text h1 { color: var(--white); margin-top: 18px; }
.hero-text .accent { color: #6ec1ff; }
.hero-text .lead { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; max-width: 580px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.94rem; color: rgba(255, 255, 255, 0.92); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { color: #6ec1ff; }

.hero-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 32px 28px 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); position: relative; }
.hero-card-badge { position: absolute; top: -22px; left: 28px; width: 52px; height: 52px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--white); border-radius: 14px; font-size: 1.3rem; box-shadow: 0 12px 24px rgba(230, 57, 70, 0.35); }
.hero-card h3 { margin: 8px 0 8px; font-size: 1.35rem; }
.hero-card p { font-size: 0.92rem; color: var(--muted); }
.quick-form { display: grid; gap: 10px; margin-top: 14px; }
.quick-form input, .quick-form select, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); background: var(--bg-soft);
  transition: border-color var(--transition), background var(--transition);
}
.quick-form input:focus, .quick-form select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.form-note i { color: var(--blue); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 8px 4px; }
.trust-item i { font-size: 1.8rem; color: var(--blue); width: 48px; height: 48px; display: grid; place-items: center; background: var(--blue-light); border-radius: 12px; flex-shrink: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 0.98rem; }
.trust-item span { color: var(--muted); font-size: 0.82rem; }

/* SECTION HEAD */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head.left { text-align: left; margin: 0 0 30px; }
.section-head h2 { margin-top: 16px; }
.section-head p { font-size: 1.05rem; }

/* SERVICES */
.services-section { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, #2a8cf0 100%); color: var(--white); border-radius: 14px; font-size: 1.5rem; margin-bottom: 22px; box-shadow: 0 12px 24px rgba(0, 102, 204, 0.25); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 16px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 0.92rem; }
.service-link:hover { gap: 10px; }

/* PROCESS */
.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-step { position: relative; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 36px 28px 28px; border: 1px solid var(--line); transition: transform var(--transition); }
.process-step:hover { transform: translateY(-4px); border-color: var(--blue); }
.step-num { position: absolute; top: 18px; right: 22px; font-family: 'Manrope', sans-serif; font-size: 2.5rem; font-weight: 900; color: rgba(0, 102, 204, 0.12); line-height: 1; }
.step-icon { font-size: 1.8rem; color: var(--blue); width: 56px; height: 56px; background: var(--white); display: grid; place-items: center; border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; margin: 0; }

/* URGENCY CTA */
.urgency-cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 50%, var(--blue-2) 100%); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.urgency-cta::before { content: ""; position: absolute; top: -60%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 90, 31, 0.16) 0%, transparent 65%); pointer-events: none; }
.urgency-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; position: relative; }
.urgency-text h2 { color: var(--white); margin-bottom: 12px; }
.urgency-text p { color: rgba(255, 255, 255, 0.88); margin: 0; font-size: 1.05rem; }
.urgency-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* WHY US */
.why-section { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line); transition: transform var(--transition), box-shadow var(--transition); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card i { font-size: 1.6rem; color: var(--blue); background: var(--blue-light); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 18px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.94rem; margin: 0; }

/* STATS */
.stats-section { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; line-height: 1; }
.stat strong small { font-size: 0.5em; opacity: 0.7; margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: 0.95rem; opacity: 0.9; letter-spacing: 0.02em; }

/* COVERAGE / AREAS */
.coverage-section { background: var(--white); }
.states-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 18px; }
.states-grid a { display: block; padding: 12px 14px; border-radius: 8px; font-size: 0.92rem; font-weight: 600; color: var(--navy); transition: background var(--transition), color var(--transition); }
.states-grid a:hover { background: var(--blue); color: var(--white); }

/* TESTIMONIALS */
.testimonials-section { background: var(--bg-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { font-style: italic; font-size: 1rem; color: var(--text); margin-bottom: 20px; flex: 1; }
.testimonial footer { border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial footer strong { display: block; color: var(--navy); }
.testimonial footer span { color: var(--muted); font-size: 0.86rem; }

/* FAQ */
.faq-section { background: var(--white); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--blue); border-radius: var(--radius); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq-q { padding: 16px 0 8px; font-weight: 700; color: var(--navy); font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.faq-q::before { content: "\f059"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--blue); font-size: 0.85rem; flex-shrink: 0; }
.faq-item p { padding-bottom: 18px; margin: 0; font-size: 0.95rem; }

/* CONTACT */
.contact-section { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h2 { margin-top: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list i { font-size: 1.1rem; color: var(--blue); background: var(--blue-light); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-list a, .contact-list span { color: var(--muted); font-size: 0.95rem; }
.contact-list a:hover { color: var(--blue); }
.contact-form { background: var(--white); padding: 36px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--white); border-radius: 50%; transition: background var(--transition), transform var(--transition); }
.social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-col h4, .footer-col .footer-col-title {
  font-size: 1rem; font-weight: 800; color: var(--white); font-size: 1rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: center; font-size: 0.94rem; }
.footer-contact i { color: var(--blue); width: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); flex-wrap: wrap; gap: 10px; }
.footer-disclaimer { font-size: 0.68rem; color: rgba(255,255,255,0.35); max-width: 420px; line-height: 1.5; text-align: right; margin: 0; }

/* FLOATING CALL BUTTON */
.floating-call { display: none; position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--white); border-radius: 50%; font-size: 1.6rem; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(230, 57, 70, 0.45); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(230, 57, 70, 0.45), 0 0 0 0 rgba(230, 57, 70, 0.4); }
  70% { box-shadow: 0 14px 30px rgba(230, 57, 70, 0.45), 0 0 0 18px rgba(230, 57, 70, 0); }
}

/* ============================================================
   PAGE ADDITIONS (service/area pages)
   ============================================================ */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--line); font-size: 0.8rem; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* sub-hero for inner pages */
.page-hero { background: linear-gradient(120deg, rgba(10,30,58,0.94) 0%, rgba(17,44,84,0.9) 55%, rgba(0,102,204,0.8) 100%), url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'><path d='M0 80 L40 40 L80 80 L120 40 L160 80' fill='none' stroke='rgba%28255%2C255%2C255%2C0.07%29' stroke-width='2'/><path d='M0 40 L40 0 L80 40 L120 0 L160 40' fill='none' stroke='rgba%28255%2C255%2C255%2C0.05%29' stroke-width='2'/></svg>") center / 160px 80px repeat; color: var(--white); padding: 64px 0 70px; }
.page-hero .eyebrow { background: rgba(255,255,255,0.14); color: var(--white); }
.page-hero h1 { color: var(--white); margin-top: 16px; max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,0.9); font-size: 1.12rem; max-width: 680px; }
.page-hero .hero-cta { margin-top: 24px; }
.page-hero .hero-points { margin-top: 22px; }

/* rich body content */
.content-section { background: var(--white); }
.prose { max-width: 820px; }
.prose p { font-size: 1.02rem; color: var(--muted); }
.prose h2 { margin-top: 8px; }
.prose ul.ticks { display: grid; gap: 10px; margin: 6px 0 18px; }
.prose ul.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.prose ul.ticks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--blue); position: absolute; left: 0; top: 2px; }

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split.center { align-items: center; }

/* info card (sidebar / callout) */
.info-card { background: var(--navy); color: rgba(255,255,255,0.9); border-radius: var(--radius-lg); padding: 30px 28px; }
.info-card h3 { color: var(--white); }
.info-card.soft { background: var(--blue-light); color: var(--text); }
.info-card.soft h3 { color: var(--navy); }
.info-card.warn { background: #fff4f2; border: 1px solid #f6c9c4; color: var(--text); }
.info-card.warn h3 { color: var(--accent-2); }

/* steps list */
.steps { counter-reset: s; display: grid; gap: 16px; }
.steps li { list-style: none; position: relative; padding-left: 54px; color: var(--muted); }
.steps li strong { color: var(--navy); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; background: linear-gradient(135deg, var(--blue) 0%, #2a8cf0 100%); color: #fff; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-family: 'Manrope',sans-serif; box-shadow: 0 8px 16px rgba(0,102,204,0.28); }

/* price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th { background: var(--blue-light); color: var(--navy); text-align: left; padding: 14px 16px; font-size: 0.9rem; }
.price-table td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--text); }
.price-table td:last-child { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* offer band */
.offer-band { background: linear-gradient(120deg, #fff6e9, #ffe8d6); border: 1px dashed var(--accent); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.offer-band .big { color: var(--accent-2); font-weight: 900; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .process-grid, .why-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap, .contact-grid, .urgency-inner, .split { grid-template-columns: 1fr; }
  .urgency-cta-buttons { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .states-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mega.two-col { min-width: 320px; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .primary-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: var(--white); box-shadow: var(--shadow-lg); padding: 80px 20px 20px; overflow-y: auto; transition: right 0.32s ease; z-index: 99; }
  .primary-nav.open { right: 0; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav a { font-size: 1rem; }
  .mega { position: static; display: none; box-shadow: none; border: none; padding: 8px 0 8px 18px; min-width: 0; }
  .mega.two-col { flex-direction: column; min-width: 0; }
  .mega.two-col a { width: 100%; }
  .primary-nav .has-mega.open .mega { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .header-cta .phone-pill small { display: none; }
  .header-cta .phone-pill { padding: 10px 14px; }
  .services-grid, .process-grid, .why-grid, .testimonials-grid, .footer-grid, .stats-grid, .trust-grid, .form-row { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .urgency-cta-buttons { flex-direction: column; }
  .urgency-cta-buttons .btn { width: 100%; }
  .floating-call { display: flex; }
  .hide-sm { display: none; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ============================================================
   FEATURE IMAGE BANDS (added)
   ============================================================ */
.media-band { background: var(--white); }
.media-band.alt { background: var(--bg-soft); }
.media-figure { margin: 0; }
.media-figure img { width: 100%; height: clamp(240px, 40vw, 460px); object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(10,30,58,0.16); background: var(--blue-light); }
.media-band .split .media-figure img { height: clamp(240px, 36vw, 420px); }
.media-figure figcaption { margin-top: 14px; text-align: center; font-size: 0.92rem; color: var(--muted); }

/* area chips (service-areas page) + review CTA */
.area-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.area-grid span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; color: var(--text); }
.area-grid a { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; color: var(--text); text-decoration: none; transition: background var(--transition), border-color var(--transition); }
.area-grid a:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.area-grid span i, .area-grid a i { color: var(--blue); margin-right: 7px; }
.review-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ============================================================
   IMAGE SPLIT SECTIONS
   Replaces wide media-band with narrow split layout (image + text side-by-side)
   ============================================================ */
.img-split { background: var(--white); padding: 72px 0; }
.img-split.alt { background: var(--bg-soft); }

.img-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.img-split-inner.img-left .img-split-figure { order: -1; }
.img-split-inner.img-right .img-split-figure { order: 1; }

.img-split-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.img-split-figure img {
  width: 100%;
  /* height:auto is load-bearing -- without it the HTML height attribute makes
     the box definite and aspect-ratio below is ignored. */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.img-split-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  box-shadow: 0 4px 18px rgba(10,30,58,0.35);
}
.img-split-badge i { font-size: 1.25rem; color: var(--accent); flex-shrink: 0; }
.img-split-badge span { display: flex; flex-direction: column; }
.img-split-badge small { font-weight: 400; opacity: 0.8; font-size: 0.7rem; }

.img-split-text .eyebrow { display: block; margin-bottom: 12px; }
.img-split-text h2 { margin-bottom: 18px; }
.img-split-text p { color: var(--muted); margin-bottom: 20px; }
.img-split-text .btn { margin-top: 8px; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 0.95rem; }
.check-list li i { color: var(--blue); flex-shrink: 0; width: 18px; margin-top: 2px; }

@media (max-width: 900px) {
  .img-split-inner { grid-template-columns: 1fr; gap: 36px; }
  .img-split-inner.img-left .img-split-figure,
  .img-split-inner.img-right .img-split-figure { order: 0; }
  .img-split { padding: 48px 0; }
}

/* ============================================================
   HEADER CTA + MOBILE STICKY CALL BAR   (2026-09-19)
   ============================================================ */

/* 1. The header phone CTA must never be squeezed or wrap.
      Previously .phone-pill could shrink, which collapsed it into a
      blob and pushed it out of the header between ~760px and ~1250px. */
.header-inner { gap: 16px; }
.brand { flex-shrink: 0; }
.primary-nav { min-width: 0; }
.header-cta { flex-shrink: 0; }
.phone-pill { flex-shrink: 0; white-space: nowrap; }
.phone-pill span { display: flex; flex-direction: column; justify-content: center; }
.phone-pill small, .phone-pill strong { white-space: nowrap; }

/* the call-bar label only ever renders inside the mobile sticky bar */
.floating-call-label { display: none; }

/* 2. Tighten the horizontal nav before it runs out of room */
@media (max-width: 1320px) {
  .primary-nav > ul { gap: 2px; }
  .primary-nav a { padding: 10px 9px; font-size: 0.9rem; }
  .mega.two-col { min-width: 420px; }
}

/* 3. Collapse to the hamburger while there is still room for brand + phone CTA */
@media (max-width: 1100px) {
  .primary-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
    height: 100vh; background: var(--white); box-shadow: var(--shadow-lg);
    padding: 80px 20px 20px; overflow-y: auto; transition: right 0.32s ease; z-index: 99; }
  .primary-nav.open { right: 0; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav a { font-size: 1rem; padding: 10px 14px; }
  .mega { position: static; display: none; box-shadow: none; border: none;
    padding: 8px 0 8px 18px; min-width: 0; }
  .mega.two-col { flex-direction: column; min-width: 0; }
  .mega.two-col a { width: 100%; }
  .primary-nav .has-mega.open .mega { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
}

/* 4. Mobile: drop the phone pill from the header (it crowded out the logo)
      and carry the call CTA in a full-width sticky bottom bar instead. */
@media (max-width: 760px) {
  .header-cta .phone-pill { display: none; }

  .floating-call {
    display: flex;
    left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; height: auto; min-height: 58px;
    border-radius: 0;
    gap: 10px;
    font-size: 1.05rem; font-weight: 700; letter-spacing: 0.2px;
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(10, 30, 58, 0.22);
    animation: none;
  }
  .floating-call i { font-size: 1.15rem; }
  .floating-call .floating-call-label { display: inline; }

  /* keep the sticky bar from covering the end of the page */
  body { padding-bottom: 72px; }
}

/* ============================================================
   MOBILE MENU — CLOSE AFFORDANCES   (2026-09-19)
   The panel is a child of .site-header, which makes a stacking
   context (sticky + z-index:100). The panel's z-index:99 beat the
   toggle's z-index:auto, so the open menu covered its own close
   button and there was no way back out.
   ============================================================ */
.header-cta { position: relative; z-index: 101; }

@media (max-width: 1100px) {
  /* the toggle stays on top of the open panel and becomes a close button */
  .nav-toggle[aria-expanded="true"] { background: var(--accent); color: var(--white); }
  .nav-toggle[aria-expanded="true"] .fa-bars::before { content: "\f00d"; }

  /* tap anywhere outside the panel to dismiss it */
  body.nav-open::after {
    content: "";
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(10, 30, 58, 0.45);
    z-index: 98;
  }
  body.nav-open { overflow: hidden; }
}

/* Headings promoted from h3 to h2 so the document outline stays
   contiguous (an h3 directly under the h1 skips a level). Sizes are
   unchanged from the h3 rules they replace. */
.hero-card .card-title { margin: 8px 0 8px; font-size: 1.35rem;
  font-family: 'Manrope','Inter',sans-serif; font-weight: 800;
  color: var(--navy); line-height: 1.18; }
.why-card .card-title { margin-bottom: 8px; font-size: 1.2rem;
  font-family: 'Manrope','Inter',sans-serif; font-weight: 800;
  color: var(--navy); line-height: 1.18; }

/* Real labels on the contact form. The theme relied on placeholders,
   which vanish on input and are not a substitute for a label. */
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-row .field { flex: 1; }
.contact-form label { font-size: .86rem; font-weight: 700;
  color: var(--navy); }
.contact-form .field-hint { font-size: .78rem; color: var(--muted); }
.contact-form input:disabled, .contact-form select:disabled,
.contact-form textarea:disabled { opacity: .55; cursor: not-allowed; }
