/* ==========================================================================
   KP HEALTH CARE SERVICES — SENIOR UI/UX DESIGN SYSTEM v2.0
   Mobile-first | Responsive | Premium Healthcare Design
   ========================================================================== */

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

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --blue-900: #0a2342;
  --blue-800: #0d3461;
  --blue-700: #0f4c81;
  --blue-600: #1565c0;
  --blue-500: #1976d2;
  --blue-400: #42a5f5;
  --blue-300: #90caf9;
  --blue-100: #e3f2fd;
  --blue-50:  #f0f8ff;

  --teal-500: #00acc1;
  --teal-400: #26c6da;

  --red-600:  #e53935;
  --red-500:  #f44336;
  --red-100:  #ffebee;

  --green-500: #43a047;
  --green-100: #e8f5e9;

  --amber-500: #ffb300;

  --gray-900: #101827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Component aliases */
  --primary:       var(--blue-600);
  --primary-dark:  var(--blue-900);
  --primary-light: var(--blue-400);
  --primary-bg:    var(--blue-50);
  --accent:        var(--red-600);
  --success:       var(--green-500);
  --warning:       var(--amber-500);

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #0a2342 0%, #0d3b6e 50%, #1565c0 100%);
  --grad-primary: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  --grad-accent:  linear-gradient(135deg, #e53935 0%, #ff7043 100%);
  --grad-teal:    linear-gradient(135deg, #006064 0%, #00acc1 100%);
  --grad-dark:    linear-gradient(180deg, #101827 0%, #1f2937 100%);
  --grad-card:    linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --shadow-2xl:0 25px 50px rgba(0,0,0,.15);
  --shadow-blue: 0 8px 25px rgba(21,101,192,.35);
  --shadow-red:  0 8px 20px rgba(229,57,53,.4);
  --shadow-green:0 6px 16px rgba(37,211,102,.35);

  /* Spacing */
  --space-1: .25rem;  --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem;--space-6: 1.5rem; --space-8: 2rem;   --space-10: 2.5rem;
  --space-12: 3rem;  --space-16: 4rem;  --space-20: 5rem;  --space-24: 6rem;

  /* Border radius */
  --r-sm:  6px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px; --r-full: 9999px;

  /* Typography */
  --font-body: 'Inter', 'Noto Sans Telugu', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-te:   'Noto Sans Telugu', 'Inter', sans-serif;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 250ms cubic-bezier(.4,0,.2,1);
  --t-slow:   400ms cubic-bezier(.4,0,.2,1);

  /* Sizes */
  --header-h:      68px;
  --topbar-h:      38px;
  --container-max: 1200px;
  --nav-z:         1000;
  --modal-z:       2000;
  --float-z:       900;
}

/* ── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--t-fast); }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }

/* ── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (max-width: 768px) { .container { padding-inline: var(--space-4); } }
@media (max-width: 480px) { .container { padding-inline: var(--space-3); } }

.section { padding-block: var(--space-20); }
.section--alt { background: var(--gray-50); }
.section--white { background: var(--white); }
.section--dark {
  background: var(--grad-dark);
  color: var(--white);
}

/* ── SECTION HEADERS ────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--space-3);
  border: 1px solid rgba(21,101,192,.15);
}
.section-tag i { font-size: .8rem; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.section--dark .section-title { color: var(--white); }
.section--dark .section-desc  { color: var(--blue-300); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: .7rem 1.5rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: .9375rem;
  border: 2px solid transparent;
  transition: all var(--t-normal);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(21,101,192,.45); }

.btn-accent {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229,57,53,.55); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-whatsapp:hover { background: #128c5e; transform: translateY(-2px); }

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; border-radius: var(--r-sm); }
.btn-lg { padding: .875rem 2rem; font-size: 1.0625rem; border-radius: var(--r-lg); }
.btn-full { width: 100%; }

/* ── TOP BAR ────────────────────────────────────────────────────────────── */
.top-bar {
  height: var(--topbar-h);
  background: var(--gray-900);
  color: var(--gray-300);
  font-size: .8125rem;
  position: relative;
  z-index: calc(var(--nav-z) + 1);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: nowrap;
  overflow: hidden;
}
.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--red-600);
  color: var(--white);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .18rem .6rem;
  border-radius: var(--r-full);
  animation: pulseRed 2.5s infinite;
  flex-shrink: 0;
}
@keyframes pulseRed {
  0%,100% { box-shadow: 0 0 0 0 rgba(229,57,53,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(229,57,53,0); }
}
.topbar-phones {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--gray-300);
  font-weight: 600;
  font-size: .8125rem;
  transition: color var(--t-fast);
}
.topbar-phone:hover { color: var(--blue-300); }
.topbar-phone i { color: var(--blue-400); font-size: .7rem; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}
.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--gray-400);
  font-size: .8rem;
}
.topbar-location i { color: var(--blue-400); }

.lang-toggle {
  display: flex;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--gray-400);
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  line-height: 1.5;
}
.lang-btn.active {
  background: var(--blue-500);
  color: var(--white);
}

/* ── HEADER / NAV ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--nav-z);
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow var(--t-normal);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-4);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-text { min-width: 0; }
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tagline {
  font-size: .7rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

/* Navigation */
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .125rem;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.nav-link:hover { color: var(--primary); background: var(--blue-50); }
.nav-link.active { color: var(--primary); background: var(--blue-50); }
.nav-link .chevron {
  font-size: .65rem;
  transition: transform var(--t-fast);
  opacity: .7;
}
.nav-item:hover > .nav-link .chevron { transform: rotate(180deg); }
/* Chevron visible indicator for dropdown-enabled links */
.nav-link.has-dropdown .chevron {
  opacity: 1;
  color: var(--primary);
}
.nav-link.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--t-normal);
  padding: var(--space-2);
  z-index: 10;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
  rotate: 45deg;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--t-fast);
}
.dropdown-item:hover {
  background: var(--blue-50);
  color: var(--primary);
}
.dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--white);
}
.dropdown-label { font-weight: 600; }
.dropdown-sub   { font-size: .75rem; color: var(--gray-400); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--grad-accent);
  color: var(--white);
  padding: .55rem 1.1rem;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: all var(--t-normal);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(229,57,53,.5); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  padding: var(--space-2);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto; /* push to end on mobile */
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--t-normal);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  z-index: calc(var(--nav-z) - 2);
}
.mobile-nav-overlay.open { display: block; }

/* Mobile Navigation Drawer */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--white);
  z-index: calc(var(--nav-z) - 1);
  flex-direction: column;
  border-right: 1px solid var(--gray-200);
  transform: translateX(-100%);
  transition: transform var(--t-normal);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

/* Mobile Nav Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--blue-900);
  flex-shrink: 0;
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.mobile-nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--white);
}
.mobile-nav-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.25); }

/* Mobile Nav Body */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) var(--space-3);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  margin-bottom: 2px;
}
.mnl-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--blue-50);
  color: var(--primary);
}
.mobile-nav-link:hover .mnl-icon,
.mobile-nav-link.active .mnl-icon {
  background: var(--primary);
  color: var(--white);
}

.mobile-nav-section {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-100);
}
.mobile-nav-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 800;
  color: var(--gray-400);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-1);
}
.mobile-nav-section-title i { color: var(--primary); font-size: .75rem; }

.mobile-nav-cta {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
  background: var(--gray-50);
}

/* ── HERO SECTION ───────────────────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  color: var(--white);
  padding-block: var(--space-20) var(--space-16);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--topbar-h) - var(--header-h));
  display: flex;
  align-items: center;
}

/* Particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(66,165,245,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,172,193,.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--gray-50) 0%, transparent 100%);
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2; /* above canvas and pseudo-elements */
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  color: var(--blue-300);
  font-size: .8125rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--space-5);
  letter-spacing: .3px;
}
.hero-eyebrow i { color: var(--amber-500); }

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-5);
  letter-spacing: -1px;
}
.hero-title .accent-word {
  color: var(--teal-400);
  position: relative;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}
.trust-item i { color: var(--teal-400); font-size: .95rem; }

/* Hero image */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.hero-card-wrap {
  position: relative;
  display: inline-block;
}
.hero-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-2xl);
  border: 3px solid rgba(255,255,255,.12);
  max-width: 440px;
  width: 100%;
}
.hero-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}
.hero-card-info {
  position: absolute;
  inset-inline: var(--space-4);
  bottom: var(--space-4);
  background: rgba(10,35,66,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.card-info-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.card-info-role { font-size: .75rem; color: rgba(255,255,255,.6); }
.card-info-phone {
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-top: .2rem;
}
.hero-badge-float {
  position: absolute;
  top: 24px;
  left: -28px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}
.badge-num { font-size: 1.5rem; font-weight: 900; color: var(--blue-700); line-height: 1; }
.badge-label { font-size: .75rem; font-weight: 600; color: var(--gray-600); }

/* ── STATS STRIP ────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: var(--space-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}
.stat-item { padding: var(--space-2) var(--space-4); }
.stat-item + .stat-item { border-left: 1px solid var(--gray-200); }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-lbl { font-size: .8125rem; font-weight: 600; color: var(--gray-500); }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-media { position: relative; width: 100%; }
.about-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}
.about-badge {
  position: absolute;
  right: -var(--space-2);
  bottom: -var(--space-3);
  background: var(--grad-primary);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-blue);
  max-width: 230px;
  z-index: 2;
}
.about-badge h4 { font-size: .9375rem; font-weight: 700; margin-bottom: .2rem; }
.about-badge p  { font-size: .78rem; opacity: .85; }

.mission-box {
  background: linear-gradient(135deg, var(--blue-50) 0%, rgba(224,242,254,.5) 100%);
  border-left: 4px solid var(--primary);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--space-6) 0;
}
.mission-box h4 { font-size: .875rem; font-weight: 700; color: var(--blue-700); margin-bottom: var(--space-1); }
.mission-box p  { font-size: 1rem; font-weight: 600; color: var(--blue-900); font-style: italic; line-height: 1.6; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-block: var(--space-6);
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.check-item i { color: var(--green-500); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }

/* ── WHY CARDS ──────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}
.why-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-4);
  transition: all var(--t-fast);
}
.why-card:hover .why-icon { background: var(--primary); color: var(--white); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: var(--space-2); }
.why-card p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; }

/* ── SERVICES CARDS ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); }
.service-card p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; flex: 1; }
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--blue-50);
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  align-self: flex-start;
}

/* ── SPECIALTIES ────────────────────────────────────────────────────────── */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.specialty-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: all var(--t-normal);
  box-shadow: var(--shadow-xs);
}
.specialty-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.spec-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 2px solid var(--blue-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--t-normal);
}
.specialty-card:hover .spec-icon-ring { background: var(--primary); border-color: var(--primary); color: var(--white); }
.spec-name     { font-size: .9375rem; font-weight: 700; color: var(--gray-800); }
.spec-name-en  { font-size: .75rem; font-weight: 600; color: var(--primary); }
.spec-arrow    { font-size: .75rem; color: var(--gray-300); transition: color var(--t-fast); }
.specialty-card:hover .spec-arrow { color: var(--primary); }

/* ── DIAGNOSTICS ────────────────────────────────────────────────────────── */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.diag-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--t-normal);
}
.diag-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-3px);
}
.diag-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(66,165,245,.2);
  color: var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.diag-card h4 { font-size: .9375rem; font-weight: 700; color: var(--white); margin-bottom: .2rem; }
.diag-card p  { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ── SCHEMES ────────────────────────────────────────────────────────────── */
.schemes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.scheme-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}
.scheme-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.scheme-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.scheme-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.scheme-card h3 { font-size: .9375rem; font-weight: 700; color: var(--gray-800); }
.scheme-card p  { font-size: .8125rem; color: var(--gray-500); line-height: 1.6; }

/* ── NETWORK ────────────────────────────────────────────────────────────── */
.network-search-wrap {
  max-width: 520px;
  margin: 0 auto var(--space-8);
  position: relative;
}
.network-search {
  width: 100%;
  padding: .85rem 1.25rem .85rem 3.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: .9375rem;
  background: var(--white);
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.network-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21,101,192,.12);
}
.search-icon-pos {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .9rem;
  pointer-events: none;
}
.towns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  max-height: 340px;
  overflow-y: auto;
  padding: var(--space-1);
}
.town-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: .825rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.town-chip.hub {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
}
.town-chip:hover:not(.hub) {
  background: var(--blue-50);
  border-color: var(--primary);
  color: var(--primary);
}
.town-chip i { font-size: .7rem; }

.network-slogans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}
.slogan-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
}
.slogan-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  flex-shrink: 0;
}
.slogan-item span { font-size: .875rem; font-weight: 600; color: var(--gray-700); }

/* ── TEAM ───────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}
.team-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.team-card.lead { border: 2px solid var(--primary); box-shadow: var(--shadow-blue); }

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-name { font-size: 1.25rem; font-weight: 800; color: var(--blue-900); }
.team-name-en { font-size: .875rem; color: var(--gray-500); margin-top: -var(--space-3); }
.team-role {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
}
.team-contacts { display: flex; flex-direction: column; gap: var(--space-2); width: 100%; }
.team-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--gray-900);
  color: var(--white);
  padding: .6rem 1.25rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--t-fast);
}
.team-call:hover { background: var(--primary); }
.team-call i { font-size: .9rem; }
.team-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: #25d366;
  color: var(--white);
  padding: .5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 700;
  transition: background var(--t-fast);
}
.team-wa:hover { background: #128c5e; }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-6);
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-300);
  margin-bottom: var(--space-6);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-row:last-child { border-bottom: none; }
.contact-row-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(21,101,192,.25);
  color: var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-row h4 { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.contact-row p, .contact-row a { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.contact-row a:hover { color: var(--blue-300); }
.contact-phones { display: flex; flex-direction: column; gap: var(--space-1); }
.cphone-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--blue-300) !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  flex-wrap: wrap;
  word-break: break-word;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-2xl);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: var(--space-2);
}
.contact-form-card .subtitle { font-size: .875rem; color: var(--gray-500); margin-bottom: var(--space-6); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-label { font-size: .8125rem; font-weight: 700; color: var(--gray-700); }
.form-control {
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--gray-50);
  font-size: .9375rem;
  color: var(--gray-800);
  transition: all var(--t-fast);
  width: 100%;
  box-sizing: border-box;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}
.form-control::placeholder { color: var(--gray-400); }
.contact-form-card .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-block: var(--space-16) var(--space-6);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  padding: 2px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2px;
}
.footer-brand-sub {
  font-size: .78rem;
  color: var(--blue-300);
  font-weight: 500;
}
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: var(--space-5); }
.footer-socials { display: flex; gap: var(--space-3); }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  transition: all var(--t-fast);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--blue-700);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: .875rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--t-fast);
}
.footer-links a:hover { color: var(--blue-300); padding-left: var(--space-1); }
.footer-links a i { font-size: .7rem; color: var(--blue-600); }

.footer-contact p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.footer-phone {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-300);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.footer-phone i { color: var(--blue-500); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: .8125rem;
}

/* ── FLOATING ACTION BUTTONS ────────────────────────────────────────────── */
.fab-stack {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-4);
  z-index: var(--float-z);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  /* Ensure no overflow */
  max-right: 0;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-xl);
  transition: all var(--t-normal);
  position: relative;
}
.fab:hover { transform: scale(1.12); }
.fab-call    { background: var(--red-600); }
.fab-wa      { background: #25d366; }
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  padding: .35rem .8rem;
  border-radius: var(--r-sm);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.fab:hover .fab-tooltip { opacity: 1; }

/* ── MODAL ──────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: var(--modal-z);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-2xl);
  transform: scale(.95);
  transition: transform var(--t-normal);
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.modal-close-btn:hover { background: var(--red-100); color: var(--red-600); }

/* ── BACK TO TOP ────────────────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: var(--float-z);
  transition: all var(--t-fast);
}
.back-top.visible { display: flex; }
.back-top:hover { background: var(--blue-800); transform: translateY(-3px); }

/* ── DIVIDER ────────────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .hero-grid   { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; } /* hidden only at tablet—desktop gap, shown on mobile separately */
  .hero-desc   { max-width: 100%; }
  .hero-actions{ justify-content: center; }
  .hero-trust  { justify-content: center; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .diag-grid   { grid-template-columns: repeat(2, 1fr); }
  .schemes-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(3, 1fr); }
  .nav-brand-tagline { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; --topbar-h: 34px; }

  .site-nav  { display: none; }
  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  /* Header: brand left, hamburger right */
  .header-inner { justify-content: space-between; }
  .brand { flex: 1; min-width: 0; }
  .brand-tagline { display: none; }

  .hero { min-height: auto; padding-block: var(--space-12) var(--space-8); }
  .hero-title { font-size: clamp(1.65rem, 5vw, 2.2rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  /* Hero visual on mobile — proper 3/4 portrait aspect ratio & compact overlay */
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: var(--space-8);
    width: 100%;
  }
  .hero-card-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
  }
  .hero-card {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--r-xl);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    border: 2px solid rgba(255,255,255,.2);
    overflow: hidden;
  }
  .hero-img {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .hero-card-info {
    position: absolute;
    inset-inline: 10px;
    bottom: 10px;
    background: rgba(10,35,66,.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-md);
    padding: .65rem .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }
  .card-info-name {
    font-size: .875rem;
    font-weight: 700;
  }
  .card-info-role {
    font-size: .7rem;
    color: rgba(255,255,255,.7);
  }
  .card-info-phone {
    font-size: .8rem;
    color: var(--blue-300);
    margin-top: 1px;
  }
  .hero-badge-float {
    display: flex !important;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 3;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 6px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    flex-direction: column;
    align-items: center;
  }
  .badge-num { font-size: 1.15rem; font-weight: 900; line-height: 1; }
  .badge-label { font-size: .65rem; font-weight: 700; color: var(--gray-600); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-200); }

  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid    { grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .diag-grid   { grid-template-columns: 1fr; }
  .schemes-grid{ grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }

  /* Contact section mobile fitting */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    width: 100%;
  }
  .contact-info, .contact-form-card {
    padding: var(--space-5) var(--space-4);
    border-radius: var(--r-lg);
    width: 100%;
    box-sizing: border-box;
  }
  .contact-row {
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }
  .cphone-link {
    font-size: .875rem !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }

  /* About image on mobile */
  .about-img {
    aspect-ratio: 16/10;
    max-height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
  }

  .checklist   { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; gap: var(--space-2); }
  .network-slogans { grid-template-columns: 1fr; }
  .topbar-phones .topbar-phone:last-child { display: none; }
  .topbar-location { display: none; }
  .section     { padding-block: var(--space-12); }

  /* FABs: keep within viewport */
  .fab-stack { right: 14px; bottom: 16px; }
  .fab { width: 46px; height: 46px; font-size: 1.1rem; }
  .fab-tooltip { display: none; }

  .back-top { left: 14px; bottom: 16px; }
}

@media (max-width: 480px) {
  .topbar-phones { display: none; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust  { flex-direction: column; gap: var(--space-3); align-items: flex-start; }
  .hero-card { max-width: 270px; }
}

/* ── SCROLL ANIMATION UTILITY ───────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ── ACCESSIBILITY ──────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
