/* Base Reset & Variables */
:root {
  --primary: #1e3a8a;
  --primary-dark: #172554;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Helpers */
.text-center { text-align: center; }
h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background-color: #f1f5f9;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Top Announcement */
.top-bar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  padding: 8px 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-phone {
  font-weight: 600;
  color: #fdba74;
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-bold {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Mobile Header Controls (hidden on desktop) */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.btn-mobile-call {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-mobile-call:hover, .btn-mobile-call:active {
  background: #dcfce7;
  color: #166534;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
  z-index: 110;
  transition: all 0.2s ease;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

/* Hamburger active transform to X */
.mobile-nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: block;
  max-height: 400px;
  padding: 16px 20px 24px;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.mobile-nav-link:active, .mobile-nav-link:hover {
  background: #f1f5f9;
  color: var(--accent);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 70px 0;
}

.hero-content {
  max-width: 720px;
}

.hero .badge {
  display: inline-block;
  background-color: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-stats {
  display: flex;
  gap: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fdba74;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Section Header */
.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Estimator Section */
.estimator-section {
  padding: 80px 0;
}

.estimator-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.service-category {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.category-header .icon {
  font-size: 1.8rem;
  line-height: 1;
}

.category-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.category-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.2s ease;
}

.service-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.item-info {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.item-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.custom-tag {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.service-item.custom-trade-item {
  border-style: dashed;
  background: #fbfcfe;
}

.service-item.custom-trade-item:hover {
  border-color: var(--accent);
  background: #fff7ed;
}

.select-control {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
}

.custom-desc-box {
  margin-top: 10px;
}

/* Handyman Price Guarantee Banner */
.cap-guarantee-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cap-guarantee-badge .shield-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cap-guarantee-badge u {
  font-weight: 700;
  color: #172554;
}

/* Real-time Subtotal Bar */
.calculator-total-bar {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  color: #fff;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 35px 0;
  text-align: center;
}

.total-text {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.total-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e2e8f0;
}

.total-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fdba74;
}

.total-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 5px;
}

/* Contact Details */
.contact-details-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.contact-details-box h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.contact-details-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

/* Homeowner Policy & Agreement Box */
.policy-agreement-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 22px;
  margin: 25px 0 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.policy-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.policy-list {
  padding-left: 20px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 9px;
  line-height: 1.5;
}

.policy-list strong {
  color: #0f172a;
}

.policy-checkbox-wrapper {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 10px;
  transition: background 0.2s;
}

.policy-checkbox-wrapper:hover {
  background: #f1f5f9;
}

.policy-checkbox-wrapper.agreement-required {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #1e293b;
  line-height: 1.45;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Success Banner */
.success-banner {
  text-align: center;
  padding: 50px 20px;
}

.success-banner h3 {
  color: var(--success);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.success-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 25px;
}

/* Why Us Section */
.why-us-section {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-card {
  padding: 30px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 50px 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .logo-bold {
  color: #fff;
  margin-bottom: 5px;
}

.footer-contact a {
  color: #fdba74;
}

/* Meet Daniel Section */
.meet-daniel-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.meet-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  align-items: center;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.meet-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.avatar-frame {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pro-photo {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.15);
}

.experience-pill {
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: -14px;
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.personal-tag .pro-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 5px;
}

.personal-tag .pro-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.personal-tag .pro-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.meet-content-col .section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.meet-content-col h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}

.meet-lead {
  font-size: 1.08rem;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.6;
}

.meet-content-col p {
  color: #475569;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.daniel-promises {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #1e293b;
}

.promise-icon {
  font-size: 1.1rem;
  line-height: 1.4;
}

.meet-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===================================================
   Mobile Sticky Action Bar
   =================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  gap: 10px;
}

.sticky-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-family);
  transition: transform 0.15s ease, background 0.15s ease;
}

.sticky-action-btn:active {
  transform: scale(0.97);
}

.sticky-call {
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #86efac;
}

.sticky-book {
  background: var(--accent);
  color: #ffffff;
  border: 1.5px solid var(--accent);
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.3);
}

.sticky-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sticky-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.sticky-text strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.sticky-text small {
  font-size: 0.72rem;
  opacity: 0.88;
}

/* Selected state for service items */
.service-item.selected {
  border-color: var(--accent);
  background: #fff7ed;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.12);
}

.service-item.selected .item-title {
  color: #9a3412;
}

/* ===================================================
   Mobile Responsive Rules
   =================================================== */

@media (max-width: 850px) {
  .meet-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 25px;
  }
  .meet-avatar-col {
    padding: 20px;
  }
  .pro-photo {
    height: 280px;
  }
}

@media (max-width: 768px) {
  /* Prevent sticky bar overlap */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-bar {
    display: flex;
  }

  /* Header & Navigation */
  .desktop-nav {
    display: none !important;
  }

  .mobile-header-actions {
    display: flex !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
  }

  .header {
    padding: 10px 0;
    position: static;
  }

  .header-container {
    padding: 0 16px;
  }

  .logo-bold {
    font-size: 1.15rem;
  }

  .logo-sub {
    font-size: 0.68rem;
  }

  /* Top Bar */
  .top-bar {
    padding: 6px 12px;
    font-size: 0.76rem;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .top-phone {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(253, 186, 116, 0.15);
    border-radius: 4px;
  }

  /* Hero Section */
  .hero {
    padding: 45px 0 35px;
  }

  .hero .badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.2vw, 2.4rem);
    line-height: 1.22;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.02rem;
  }

  .trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
    text-align: center;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 4px;
  }

  .stat-num {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 26px;
  }

  .section-header h2 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Meet Daniel Section */
  .meet-daniel-section {
    padding: 45px 0;
  }

  .meet-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .meet-content-col h2 {
    font-size: 1.5rem;
    line-height: 1.28;
  }

  .meet-lead {
    font-size: 0.98rem;
  }

  .daniel-promises {
    padding: 14px 14px;
    margin: 18px 0;
  }

  .promise-item {
    font-size: 0.88rem;
  }

  .meet-cta {
    flex-direction: column;
    gap: 10px;
  }

  .meet-cta .btn {
    width: 100%;
    padding: 13px 16px;
  }

  /* Estimator & Pricing */
  .estimator-section {
    padding: 45px 0;
  }

  .estimator-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .service-category {
    padding-bottom: 20px;
    margin-bottom: 22px;
  }

  .category-header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .category-header .icon {
    font-size: 1.5rem;
  }

  .category-header h3 {
    font-size: 1.15rem;
  }

  .category-header p {
    font-size: 0.82rem;
  }

  /* Touch-Friendly Service Item Row */
  .service-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 10px;
    cursor: pointer;
  }

  .service-item .item-info {
    width: 100%;
  }

  .service-item .item-title {
    font-size: 0.96rem;
    line-height: 1.35;
  }

  .service-item .item-desc {
    font-size: 0.8rem;
    margin-top: 3px;
  }

  .service-item .item-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    gap: 10px;
  }

  .service-item.tiered-item .item-action,
  .service-item:first-child .item-action {
    flex-wrap: wrap;
  }

  .select-control {
    width: 100%;
    max-width: 100%;
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
    padding: 9px 12px;
    border-radius: 8px;
  }

  .custom-checkbox {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    min-height: 26px;
  }

  .item-price {
    font-size: 1.15rem;
  }

  /* Cap Guarantee Banner */
  .cap-guarantee-badge {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    font-size: 0.88rem;
    gap: 8px;
  }

  .cap-guarantee-badge .shield-icon {
    font-size: 1.5rem;
  }

  /* Real-Time Total Bar */
  .calculator-total-bar {
    padding: 18px 14px;
    margin: 25px 0;
    border-radius: 12px;
  }

  .total-text {
    flex-direction: column;
    gap: 4px;
  }

  .total-label {
    font-size: 1.05rem;
  }

  .total-amount {
    font-size: 2.3rem;
  }

  .total-subtext {
    font-size: 0.76rem;
  }

  /* Form & Scheduling Inputs */
  .contact-details-box {
    padding: 18px 14px;
  }

  .contact-details-box h3 {
    font-size: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* iOS Auto-Zoom Prevention */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
    padding: 11px 12px;
    border-radius: 8px;
  }

  /* Policy Agreement Box */
  .policy-agreement-box {
    padding: 14px 12px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .policy-title {
    font-size: 0.92rem;
  }

  .policy-list li {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .policy-checkbox-wrapper {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 10px;
    margin-top: 10px;
  }

  .checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .checkbox-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  /* Features / Why Us */
  .why-us-section {
    padding: 45px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  /* Footer */
  .footer {
    padding: 35px 0 25px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

/* Micro screens (< 400px) */
@media (max-width: 400px) {
  .logo-bold {
    font-size: 1.05rem;
  }
  .btn-mobile-call {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .sticky-text strong {
    font-size: 0.82rem;
  }
  .sticky-text small {
    font-size: 0.68rem;
  }
  .trust-stats {
    gap: 5px;
  }
  .stat-num {
    font-size: 1.15rem;
  }
}
