/* =========================================================
   1. RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font: inherit; }

/* =========================================================
   2. VARIABLES
========================================================= */
:root {
  --primary: #0c5adb;
  --primary-dark: #083c96;
  --navy: #071c47;
  --navy-2: #0a2a6b;
  --primary-light: #eaf1ff;
  --accent-green: #1aab6f;
  --text-dark: #0f1b3d;
  --text-body: #4b5568;
  --text-muted: #7c8598;
  --border: #e3e8f2;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  --shadow-lg: 0 25px 60px rgba(7, 28, 71, 0.18);
  --container: 1200px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* =========================================================
   3. GLOBAL
========================================================= */
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.eyebrow.center { display: block; text-align: center; }
.section { padding: 90px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 46px;
}
.section-head h2 { font-size: 34px; margin-top: 6px; }
.section-intro { max-width: 640px; color: var(--text-body); margin-top: 14px; }
.section-head-center { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head-center h2 { font-size: 34px; margin-top: 6px; }
h2.center { text-align: center; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 12px 24px rgba(12,90,219,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text-dark); background: var(--white); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }
.play-ico { display: inline-block; }

/* =========================================================
   4. HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 110px; gap: 40px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-right { display: flex; align-items: center; gap: 28px; flex: 1; }
.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.header-actions { flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text-dark); line-height: 1.1; letter-spacing: .02em; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--primary); letter-spacing: .04em; text-transform: none; }
.logo-text.light { color: var(--white); }
.logo-text.light small { color: #a9c4ff; }

.main-nav > ul { display: flex; align-items: center; gap: 28px; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 0;
  font-weight: 600; font-size: 16px;
  color: var(--text-dark);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--primary); }
.chev { font-size: 11px; }

.has-dropdown { position: relative; }
.dropdown {
  display: block;
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dropdown li { display: block; width: 100%; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-body);
}
.dropdown li a:hover { background: var(--primary-light); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 28px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--text-dark); font-weight: 700; font-size: 16px; }
.header-phone svg { color: var(--primary); flex-shrink: 0; }
.header-phone small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text-dark); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   5. HERO
========================================================= */
.hero { padding: 74px 0 60px; background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: 46px; letter-spacing: -.01em; margin-bottom: 18px; }
.hero-lede { font-size: 16.5px; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--text-dark); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(12,90,219,.16), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(12,90,219,.12), transparent 50%);
  border-radius: var(--radius-lg);
}
.hero-photo {
  position: relative;
  width: 82%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(7, 28, 71, .18));
}

/* =========================================================
   7. STATS BAND
========================================================= */
.stats-band { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); padding: 44px 0; margin-top: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--white); font-weight: 800; }
.stat-item span { display: block; font-size: 12.5px; color: #a9c0ea; margin-top: 4px; font-weight: 500; }

/* =========================================================
   8. SERVICES
========================================================= */
.services { background: var(--primary-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-body); margin-bottom: 16px; }
.card-link { color: var(--primary); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.card-link span { transition: transform .15s ease; }
.card-link:hover span { transform: translateX(4px); }

/* =========================================================
   9. WHY US
========================================================= */
.why-us { background: var(--primary-light); }
.why-us-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; margin-bottom: 30px; }
.why-us-visual { position: relative; }
.whyus-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.floating-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
}
.floating-badge strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.floating-badge span { font-size: 12.5px; color: #b9cdfa; }
.why-us-copy h2 { font-size: 32px; margin-bottom: 18px; }
.why-us-copy p { margin-bottom: 14px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 22px 0 28px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text-dark); font-weight: 500; }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-green);
}
.check-list li::after {
  content: '';
  position: absolute; left: 5px; top: 7px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.core-values-section { background: var(--primary-light); padding: 90px 0; }
.testimonials-section { background: var(--primary-light); }
.core-values { text-align: center; position: relative; }
.values-slider-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.values-slider-viewport {
  overflow: hidden;
  padding: 10px;
}
.values-slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  text-align: left;
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}
.value-card i { font-style: normal; color: var(--primary); font-size: 18px; }
.value-card p { margin-top: 10px; font-weight: 600; color: var(--text-dark); font-size: 15px; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-btn:hover { background: var(--primary-dark); transform: translateY(-50%) scale(1.05); }
.slider-btn.prev-btn { left: -20px; }
.slider-btn.next-btn { right: -20px; }
.slider-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   10. SPECIALTIES (nested inside the Services section)
========================================================= */
.specialties-section { background: var(--white); padding: 50px 0; }
.specialties-inline {
  text-align: center;
}
.specialties-inline h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.specialty-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.specialty-pills span {
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-dark);
  background: var(--white);
  transition: all .18s ease;
}
.specialty-pills span:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* =========================================================
   10b. PARTNER / SOFTWARE / ASSOCIATION LOGOS
========================================================= */
.partner-logos { padding: 70px 0 80px; background: var(--white); overflow: hidden; }
.partner-logos-note { max-width: 640px; margin: 14px auto 40px; color: var(--text-body); font-size: 14.5px; text-align: center; }
.partner-logos h2 { font-size: 28px; margin-top: 6px; }
.partner-logos-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.partner-logos-track:hover { animation-play-state: paused; }
.partner-logos-group { display: flex; gap: 20px; padding-right: 20px; }
.partner-logo-box {
  width: 150px;
  height: 110px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: var(--shadow);
}
.partner-logo-box img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-logos-track { animation: none; }
}

/* =========================================================
   11. CTA BAND
========================================================= */
.cta-band { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); padding: 54px 0; }
.cta-band-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-copy { flex: 1; min-width: 260px; }
.cta-copy h2 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.cta-copy p { color: #b9cdfa; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   12. ABOUT SUMMARY
========================================================= */
.about-summary-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.about-summary-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-summary-copy h2 { font-size: 30px; margin-bottom: 16px; }
.about-summary-copy p { margin-bottom: 14px; }

/* =========================================================
   13. CONTACT
========================================================= */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 40px; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 22px; }
.input-box { margin-bottom: 18px; }
.input-box label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.input-box input, .input-box textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text-dark);
  transition: border-color .15s ease;
  resize: vertical;
}
.input-box input:focus, .input-box textarea:focus { border-color: var(--primary); outline: none; }
.captcha-mock { margin: 6px 0 20px; }
.captcha-check { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13.5px; color: var(--text-body); background: #fafbff; }
.form-success { margin-top: 14px; color: var(--accent-green); font-weight: 700; font-size: 14px; text-align: center; }

.contact-info-wrap { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.contact-info-card i { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h5 { font-size: 14px; margin-bottom: 2px; }
.contact-info-card p { font-size: 13.5px; color: var(--text-body); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; }

/* =========================================================
   14. FOOTER
========================================================= */
.site-footer { background: var(--navy); color: #c4d3f5; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin: 16px 0 20px; font-size: 13.5px; line-height: 1.7; color: #93a8d6; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease; }
.social-icons a:hover { background: var(--primary); }
.parent-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: transform .15s ease;
}
.parent-brand-badge:hover { transform: translateY(-2px); }
.parent-brand-badge span { font-size: 11.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.parent-brand-badge img { height: 26px; width: auto; display: block; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; font-size: 13.5px; }
.footer-col ul li a { color: #93a8d6; transition: color .15s ease; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { color: #93a8d6; }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 13px; color: #7c8fc0; }

/* =========================================================
   15. BACK TO TOP
========================================================= */
.back-to-top { position: fixed; bottom: 28px; right: 28px; z-index: 400; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top button {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 18px; box-shadow: var(--shadow-lg);
}

/* =========================================================
   16. MODALS
========================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(7, 15, 40, .6);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  z-index: 900;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  position: fixed; inset: 0;
  z-index: 950;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.98);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.modal.active .modal-dialog { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-light); color: var(--text-dark);
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--primary); color: var(--white); }
.modal-eyebrow { display: block; color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.modal-dialog h2 { font-size: 28px; margin-bottom: 20px; padding-right: 30px; }
.modal-dialog p { margin-bottom: 14px; font-size: 15px; color: var(--text-body); }
.modal-dialog ul { margin: 0 0 16px; }
.modal-dialog ul li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 14.5px; color: var(--text-body); }
.modal-dialog ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.modal-dialog b { color: var(--text-dark); }
.modal-dialog form { margin-top: 20px; }
body.modal-open { overflow: hidden; }

/* =========================================================
   17. RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-visual { max-width: 420px; margin: 0 auto 40px; }
  .whyus-photo { height: 320px; }
  .about-summary-grid { grid-template-columns: 1fr; }
  .about-summary-image img { height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--white); padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; z-index: 490; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav > ul > li > a { padding: 14px 10px; font-size: 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; margin-left: 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-phone { display: none !important; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .cta-band-inner { text-align: center; justify-content: center; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .header-inner { height: 90px; }
  .hero { padding: 40px 0 40px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-visual { display: flex; flex-direction: column; }
  .hero-photo { max-width: 260px; }
  .whyus-photo { height: 240px; }
  .about-summary-image img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-dialog { padding: 34px 22px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1181px) {
  .header-phone { display: flex; }
}

/* =========================================================
   18. FORM STATES — honeypot, loading, error, thank-you panel
========================================================= */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.btn[data-loading-label] { position: relative; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: '';
  width: 16px; height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  border: 1px solid #f5b8b8;
  color: #b42318;
  font-weight: 600;
  font-size: 13.5px;
  text-align: center;
}

.thankyou-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
  background: #f8f9fa;
  border-radius: var(--radius-lg);
}
.thankyou-panel[hidden] { display: none; }
.thankyou-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.thankyou-panel h3 { color: var(--primary); font-size: 26px; margin-bottom: 10px; }
.thankyou-panel p { font-size: 15px; color: var(--text-body); margin-bottom: 22px; }
.btn-home {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
  border: none;
  cursor: pointer;
}
.btn-home:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* 404 modal */
.error-dialog { text-align: center; }
.error-title { font-size: 88px; color: var(--primary); line-height: 1; margin-bottom: 14px; }
.error-dialog p { max-width: 440px; margin-left: auto; margin-right: auto; }
.error-dialog .btn { margin-top: 10px; }