/* ==========================================================================
   SP Cleaning Services LLC - 2026 Premium Redesign
   Self-contained design system (header, hero, forms, footer, responsive)
   Brand: Purple #4b2b96 | Orange #ff6201 | Light Blue #9ec9eb
   ========================================================================== */

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

:root {
  --purple: #4b2b96;
  --purple-dark: #3a2175;
  --purple-deep: #2d1b5e;
  --orange: #ff6201;
  --orange-light: #ff7d2b;
  --blue: #9ec9eb;
  --bg: #feffff;
  --bg-soft: #f6f3fc;
  --grad: linear-gradient(135deg, #5c3494 0%, #ebe8f3 50%, #5b3693 100%);
  --grad-purple: linear-gradient(135deg, #5c3494, #7851a9);
  --grad-cta: linear-gradient(135deg, #ff6201, #ff8a3d);
  --text: #2a2540;
  --text-soft: #5d5775;
  --muted: #8a85a0;
  --line: #ece8f5;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(75, 43, 150, 0.07);
  --shadow: 0 12px 34px rgba(75, 43, 150, 0.12);
  --shadow-lg: 0 24px 60px rgba(75, 43, 150, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.25; color: var(--purple-deep); letter-spacing: -0.01em; }
.serif { font-family: 'Playfair Display', Georgia, serif; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
.section { padding: 84px 0; position: relative; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.gradient-text {
  background: var(--grad-purple);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(120, 81, 169, 0.12), rgba(255, 98, 1, 0.08));
  color: var(--purple);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(120, 81, 169, 0.2);
  margin-bottom: 16px;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 15px 32px;
  border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); text-align: center; line-height: 1;
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 26px rgba(255, 98, 1, 0.32); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 98, 1, 0.42); }
.btn-purple { background: var(--grad-purple); color: #fff; box-shadow: 0 10px 26px rgba(75, 43, 150, 0.3); }
.btn-purple:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(75, 43, 150, 0.4); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--purple); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: var(--shadow-sm); }
.topbar {
  background: var(--grad-purple); color: #fff; font-size: 0.86rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--blue); }
.topbar .tb-info { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar .tb-info span i { margin-right: 7px; color: var(--blue); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 18px; }
.nav-logo img { height: 60px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 12px 12px; font-weight: 600; color: var(--text);
  border-radius: 10px; font-size: 0.97rem;
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--purple); background: var(--bg-soft); }
.nav-menu .has-dropdown > a::after { content: '\f107'; font-family: 'FontAwesome'; margin-left: 7px; font-size: 0.8rem; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 11px 14px; border-radius: 9px; font-weight: 500; color: var(--text-soft); font-size: 0.93rem; }
.dropdown li a:hover { background: var(--bg-soft); color: var(--purple); padding-left: 18px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple); white-space: nowrap; }
.nav-phone i { background: var(--grad-purple); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--purple); border-radius: 3px; margin: 5px 0; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 540px; display: flex; align-items: center;
  background-size: cover; background-position: center; overflow: hidden;
  padding: 90px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 680px; color: #fff; }
.hero-content .eyebrow { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.hero p.lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 30px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.breadcrumb { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span.sep { opacity: 0.6; }

/* ---------- Bubbles & sparkle ---------- */
.bubbles { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(158, 201, 235, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: rise linear infinite;
}
.bubble:nth-child(1) { width: 40px; height: 40px; left: 8%; animation-duration: 14s; }
.bubble:nth-child(2) { width: 70px; height: 70px; left: 22%; animation-duration: 19s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 28px; height: 28px; left: 38%; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(4) { width: 90px; height: 90px; left: 55%; animation-duration: 22s; animation-delay: 3s; }
.bubble:nth-child(5) { width: 50px; height: 50px; left: 70%; animation-duration: 16s; animation-delay: 1.5s; }
.bubble:nth-child(6) { width: 34px; height: 34px; left: 82%; animation-duration: 13s; }
.bubble:nth-child(7) { width: 60px; height: 60px; left: 92%; animation-duration: 20s; animation-delay: 2.5s; }
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-118vh) scale(1.15); opacity: 0; }
}
.sparkle { position: absolute; width: 14px; height: 14px; z-index: 2; pointer-events: none;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 70%); animation: twinkle 3.5s ease-in-out infinite; }
.sparkle::before, .sparkle::after { content: ''; position: absolute; inset: 0; background: inherit; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.2); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--transition); height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 62px; height: 62px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; background: var(--grad-purple); margin-bottom: 18px; box-shadow: 0 8px 20px rgba(75, 43, 150, 0.25);
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.97rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--orange); }

/* Service card with image */
.service-card { overflow: hidden; padding: 0; }
.service-card .sc-img { height: 210px; overflow: hidden; position: relative; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .sc-img img { transform: scale(1.08); }
.service-card .sc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(45, 27, 94, 0.35)); }
.service-card .sc-body { padding: 26px; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 16px; }
.split-body h3 { font-size: 1.15rem; color: var(--purple); margin-bottom: 12px; }
.split-body p { color: var(--text-soft); margin-bottom: 14px; }

/* checklist */
.checklist-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.checklist {
  background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.checklist h3 { font-size: 1.15rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-soft); }
.checklist ul li { display: flex; gap: 10px; padding: 7px 0; color: var(--text-soft); font-size: 0.95rem; }
.checklist ul li i { color: var(--orange); margin-top: 5px; font-size: 0.85rem; }

/* feature list */
.feature-list li { display: flex; gap: 14px; padding: 12px 0; }
.feature-list li i { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; }
.feature-list li strong { display: block; color: var(--purple-deep); }
.feature-list li span { color: var(--text-soft); font-size: 0.95rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; background: #fff; border-radius: var(--radius); padding: 28px 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat .lbl { color: var(--text-soft); font-weight: 600; margin-top: 8px; font-size: 0.92rem; }

/* testimonials */
.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%; }
.testimonial .stars { color: #ffb400; margin-bottom: 12px; }
.testimonial p { color: var(--text-soft); font-style: italic; margin-bottom: 16px; }
.testimonial .who { font-weight: 700; color: var(--purple-deep); }
.testimonial .who span { display: block; font-weight: 500; color: var(--muted); font-size: 0.88rem; }

/* portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.portfolio-grid img { border-radius: var(--radius); height: 220px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); transition: var(--transition); }
.portfolio-grid img:hover { transform: scale(1.04); box-shadow: var(--shadow); }

/* ---------- Service Area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.area-card {
  min-height: 178px; padding: 24px 14px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.area-card:hover { color: var(--purple); transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 98, 1, 0.45); }
.area-card:active { transform: translateY(-2px) scale(0.985); }
.area-card:focus-visible { outline: 3px solid rgba(255, 98, 1, 0.55); outline-offset: 3px; }
.area-icon, .city-icon {
  width: 64px; height: 64px; margin-bottom: 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(75, 43, 150, 0.24); border-radius: 50%; background: #fff; color: var(--purple); transition: var(--transition);
}
.area-icon i { font-size: 1.7rem; line-height: 1; }
.area-icon svg, .city-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.city-icon .city-icon-accent { stroke: var(--orange); }
.area-card:hover .area-icon, .area-card:hover .city-icon { color: var(--orange); border-color: rgba(255, 98, 1, 0.52); transform: scale(1.07); }
.area-card h3 { color: var(--purple-deep); font-size: 1rem; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.area-card .area-state { color: var(--text-soft); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; margin-top: 5px; text-transform: uppercase; }
/* Keep the custom city icons visible if an older broad span rule is present. */
.area-card > .city-icon {
  color: var(--purple) !important;
  border-color: rgba(75, 43, 150, 0.24) !important;
}
.area-card > .city-icon svg { display: block; stroke: var(--purple) !important; }
.area-card > .city-icon svg .city-icon-accent { stroke: var(--orange) !important; }
.area-card > .area-state { color: var(--text-soft) !important; }
.city-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 14px 0 0; padding: 7px 11px 7px 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(32,19,69,.16); color: var(--purple-deep); }
.city-badge .city-icon { width: 40px; height: 40px; flex: 0 0 40px; margin: 0; border-color: rgba(75,43,150,.2); }
.city-badge .city-icon svg { width: 22px; height: 22px; }
.city-badge-copy { display: grid; min-width: 0; line-height: 1.15; text-align: left; }
.city-badge-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 800; }
.city-badge-state { margin-top: 2px; color: var(--text-soft); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.area-card.area-card-featured {
  position: relative;
  display: block;
  border: 2.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, rgba(255, 98, 1, 0.6), rgba(255, 140, 60, 0.35), rgba(75, 43, 150, 0.45)) border-box;
  box-shadow: 0 18px 48px rgba(255, 98, 1, 0.12), 0 8px 20px rgba(75, 43, 150, 0.08);
  padding: 28px 16px;
}
.area-card.area-card-featured:hover {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--purple), rgba(255, 140, 60, 0.55), rgba(75, 43, 150, 0.65)) border-box;
  box-shadow: 0 24px 64px rgba(255, 98, 1, 0.18), 0 12px 28px rgba(75, 43, 150, 0.12);
  transform: translateY(-6px);
}
.area-card.area-card-featured i {
  color: var(--purple-dark);
  font-size: 1.65rem;
}
.area-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6201, #ff8a3d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 98, 1, 0.32);
}
.area-badge::before {
  content: '\f3c5';
  font-family: 'FontAwesome';
  font-size: 0.85rem;
}

/* ---------- Map ---------- */
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-purple); position: relative; overflow: hidden; color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--purple-deep); font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: inherit; }
.faq-q i { color: var(--orange); transition: var(--transition); flex: none; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-soft); }

/* ---------- Forms (Quote + Careers) ---------- */
.form-wrap { max-width: 940px; margin: 0 auto; background: #fff; border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-wrap .form-head { text-align: center; margin-bottom: 30px; }
.form-wrap .form-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.form-wrap .form-head p { color: var(--text-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.88rem; color: var(--purple-deep); margin-bottom: 7px; }
.form-field label .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 0.96rem; color: var(--text); background: #fff; transition: var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(75, 43, 150, 0.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--purple); }
.form-consent span { color: var(--text-soft); font-size: 0.92rem; }
.field-error { color: #d43c38; font-size: 0.82rem; margin-top: 6px; display: none; }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.form-status.success { display: block; background: #e8f7ec; color: #1d7a3a; }
.form-status.error { display: block; background: #fdecec; color: #c0392b; }
.form-section-title { grid-column: 1 / -1; font-size: 1.05rem; color: var(--purple); border-bottom: 2px solid var(--bg-soft); padding-bottom: 8px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-deep); color: rgba(255, 255, 255, 0.78); position: relative; overflow: hidden; }
.footer-top { padding: 70px 0 40px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  filter: none;
}
.footer-col p { font-size: 0.92rem; }
.footer-menu li { margin-bottom: 11px; }
.footer-menu a { color: rgba(255, 255, 255, 0.75); font-size: 0.93rem; }
.footer-menu a:hover { color: var(--orange); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact li i { color: var(--blue); margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0; text-align: center; font-size: 0.88rem; position: relative; z-index: 2; }

/* floating phone */
.float-call { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 10px 26px rgba(255, 98, 1, 0.45); animation: pulse 2s infinite; }
.float-call:hover { color: #fff; transform: scale(1.08); }

/* Mobile conversion bar */
.mobile-cta-bar { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 98, 1, 0.5); } 70% { box-shadow: 0 0 0 16px rgba(255, 98, 1, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 98, 1, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .checklist-group { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .hamburger { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 84%; max-width: 360px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 84px 20px 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15); overflow-y: auto; transition: right 0.35s ease; z-index: 1300;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li > a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .has-dropdown > a::after { float: right; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.3s ease; background: var(--bg-soft); border-radius: 10px; }
  .has-dropdown.open .dropdown { max-height: 500px; padding: 6px; margin: 6px 0; }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 990; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .nav-phone span { display: none; }
}

/* iPad and smaller tablets: show the hero photo first, then its content. */
@media (min-width: 769px) and (max-width: 1100px),
       (min-width: 1101px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .hero {
    display: block;
    min-height: 0;
    padding: 340px 0 0;
    background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 340px;
    overflow: visible;
  }
  .hero::before {
    right: 0;
    bottom: auto;
    left: 0;
    height: 340px;
    background: linear-gradient(180deg, rgba(24, 12, 62, 0.05), rgba(24, 12, 62, 0.16));
  }
  .hero .bubbles, .hero .sparkle { display: none; }
  .hero .container { padding-top: 38px; padding-bottom: 56px; background: #fff; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-content { max-width: none; color: var(--text); }
  .hero-content .eyebrow { background: var(--bg-soft); color: var(--purple); border-color: rgba(75, 43, 150, 0.2); }
  .hero h1 { color: var(--purple-deep); text-shadow: none; }
  .hero p.lead { color: var(--text-soft); }
  .hero .btn-ghost { background: #fff; color: var(--purple); border-color: rgba(75, 43, 150, 0.35); backdrop-filter: none; }
  .hero .btn-ghost:hover { background: var(--bg-soft); color: var(--purple); }
  .hero .breadcrumb { color: var(--text-soft); }
  .hero .breadcrumb a { color: var(--purple); }
  .hero [data-lead-form-mount] { display: block; width: 100%; }
}

@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .topbar { display: none; }
  .container { padding-right: 16px; padding-left: 16px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 1rem; }
  /* On phones the background photo becomes a dedicated image-first panel. */
  .hero {
    display: block;
    min-height: 0;
    padding: 240px 0 0;
    background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 240px;
    overflow: visible;
  }
  .hero::before {
    right: 0;
    bottom: auto;
    left: 0;
    height: 240px;
    background: linear-gradient(180deg, rgba(24, 12, 62, 0.06), rgba(24, 12, 62, 0.18));
  }
  .hero .bubbles, .hero .sparkle { display: none; }
  .hero .container { padding-top: 28px; padding-bottom: 42px; background: #fff; }
  .hero-grid { gap: 28px; }
  .hero-content { min-width: 0; color: var(--text); }
  .hero-content .eyebrow { background: var(--bg-soft); color: var(--purple); border-color: rgba(75, 43, 150, 0.2); }
  .hero h1 { color: var(--purple-deep); font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.12; overflow-wrap: anywhere; text-shadow: none; }
  .hero p.lead { font-size: 1rem; color: var(--text-soft); margin-bottom: 24px; }
  .hero .btn-ghost { background: #fff; color: var(--purple); border-color: rgba(75, 43, 150, 0.35); backdrop-filter: none; }
  .hero .btn-ghost:hover { background: var(--bg-soft); color: var(--purple); }
  .city-badge { align-items: flex-start; }
  .city-badge-copy { padding-top: 2px; }
  .breadcrumb { flex-wrap: wrap; gap: 6px 10px; margin-top: 18px; color: var(--text-soft); }
  .breadcrumb a { color: var(--purple); }
  .hero [data-lead-form-mount] { display: block; min-width: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-wrap { width: 100%; min-width: 0; padding: 24px 16px; border-radius: 16px; }
  .form-field, .form-field.full { min-width: 0; grid-column: auto; }
  .form-field input, .form-field select, .form-field textarea { min-width: 0; font-size: 16px; }
  .form-consent { gap: 10px; margin: 18px 0; }
  .form-consent span { font-size: 0.88rem; line-height: 1.45; }
  .btn { max-width: 100%; }
  /* Service cards contain detailed copy, so phones use one card per row. */
  .grid-4, .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card, .testimonial, .checklist { padding: 24px 20px; }
  .faq-q { padding: 18px; font-size: 0.98rem; }
  .faq-a p { padding: 0 18px 18px; }
  .map-section iframe { height: 300px; }
  .footer-top { padding: 52px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .tb-info { gap: 14px; font-size: 0.78rem; }
  .topbar .tb-social { display: none; }
  body.has-mobile-cta { padding-bottom: 98px; }
  .float-call { display: none; }
  .mobile-cta-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1200; display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid rgba(75,43,150,.13); box-shadow: 0 -12px 32px rgba(39,23,91,.13); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .mobile-cta { min-width: 0; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 12px; border: 1px solid transparent; border-radius: 14px; font-size: .88rem; line-height: 1.05; text-align: left; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
  .mobile-cta:hover { color: #fff; transform: translateY(-2px); }
  .mobile-cta:active { transform: translateY(0) scale(.98); }
  .mobile-cta:focus-visible { outline: 3px solid rgba(255,98,1,.62); outline-offset: 3px; }
  .mobile-cta svg { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-cta span { display: grid; gap: 3px; min-width: 0; }
  .mobile-cta small { font-size: .64rem; font-weight: 700; letter-spacing: .02em; opacity: .82; }
  .mobile-cta strong { white-space: nowrap; font-size: .94rem; font-weight: 800; }
  .mobile-cta-call { background: var(--purple-deep); box-shadow: 0 7px 16px rgba(49,29,113,.22); color: #fff; }
  .mobile-cta-call:hover { background: var(--purple); }
  .mobile-cta-quote { background: var(--orange); box-shadow: 0 7px 16px rgba(255,98,1,.24); color: #fff; }
  .mobile-cta-quote:hover { background: #e65800; }
  body.mobile-menu-open .mobile-cta-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
}
@media (max-width: 480px) {
  .topbar .container { justify-content: center; }
  .topbar .tb-info { justify-content: center; }
  .topbar .tb-info span:first-child { display: none; }
  .navbar { padding: 10px 0; gap: 10px; }
  .nav-logo img { height: 44px; }
  .nav-menu { width: min(88vw, 340px); padding-right: 16px; padding-left: 16px; }
  .hero { padding: 220px 0 0; background-size: 100% 220px; }
  .hero::before { height: 220px; }
  .hero .container { padding-top: 24px; padding-bottom: 36px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 50px; }
  .grid-4, .grid-2, .stats { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .area-card { min-height: 158px; padding: 20px 10px 16px; }
  .area-icon { width: 58px; height: 58px; margin-bottom: 11px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* AOS fallback (in case CDN fails, content still visible) */
[data-aos]:not(.aos-animate) { opacity: 1; }
