/* ═══════════════════════════════════════════════════════════
   HOME CARE CIRCLE — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:        #1e40af;
  --primary-light:  #3b82f6;
  --primary-dark:   #1e3a8a;
  --secondary:      #059669;
  --secondary-light:#10b981;
  --accent:         #0ea5e9;
  --warning:        #f59e0b;
  --danger:         #ef4444;
  --success:        #22c55e;

  --dark:           #0f172a;
  --dark-2:         #1e293b;
  --gray-900:       #111827;
  --gray-700:       #374151;
  --gray-500:       #6b7280;
  --gray-300:       #d1d5db;
  --gray-100:       #f3f4f6;
  --white:          #ffffff;
  --light:          #f8fafc;

  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
  --gradient-hero:    linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #0369a1 100%);
  --gradient-green:   linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
  --gradient-card:    linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --shadow-md:  0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --shadow-xl:  0 30px 80px rgba(0,0,0,.20);
  --shadow-blue:0 8px 32px rgba(30,64,175,.25);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .15s ease;

  --font-primary: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --navbar-height: 72px;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ─── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-primary);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30,64,175,.35);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(5,150,105,.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--secondary-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8rem; }
.btn-icon { padding: .75rem; border-radius: var(--radius); }

/* ─── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand { color: var(--primary); }

.navbar-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.navbar-nav a {
  padding: .5rem 1rem;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius);
  transition: var(--transition);
}

.navbar.scrolled .navbar-nav a { color: var(--gray-700); }

.navbar-nav a:hover,
.navbar.scrolled .navbar-nav a:hover { color: var(--primary-light); background: rgba(30,64,175,.06); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.navbar-toggle {
  display: none;
  background: none;
  padding: .5rem;
  color: var(--white);
  font-size: 1.4rem;
}

.navbar.scrolled .navbar-toggle { color: var(--dark); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--secondary-light);
  bottom: -100px; left: 10%;
  animation-delay: -3s;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  background: var(--primary-light);
  top: 30%; left: 55%;
  animation-delay: -6s;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes float {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33%      { transform: translate(30px,-20px) rotate(5deg); }
  66%      { transform: translate(-20px,15px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--secondary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #34d399, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ─── Hero Search Box ──────────────────────────────────────── */
.hero-search {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  margin-bottom: 2rem;
}

.hero-search-row {
  display: flex;
  gap: .75rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 180px;
  position: relative;
}

.search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: .95rem;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: .875rem 1rem .875rem 2.75rem;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark);
  background: var(--gray-100);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59,130,246,.1);
}

.hero-search .btn-primary {
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

/* ─── Hero Stats ───────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-stat-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary-light);
}

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-primary);
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}

/* ─── Hero Right Visual ────────────────────────────────────── */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  max-width: 340px;
  margin: 0 auto;
}

.provider-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.provider-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.provider-info h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: .1rem;
}

.provider-specialty {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(30,64,175,.08);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .3rem;
}

.stars { color: #fbbf24; font-size: .8rem; }
.rating-text { font-size: .78rem; color: var(--gray-500); }

.provider-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.detail-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: .75rem;
  text-align: center;
}

.detail-label {
  font-size: .7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .2rem;
}

.detail-value {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-primary);
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: .875rem 1.125rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: floatCard 4s ease-in-out infinite;
  z-index: 3;
  white-space: nowrap;
}

.hero-floating-card.card-1 {
  top: -20px; left: -40px;
  animation-delay: 0s;
}
.hero-floating-card.card-2 {
  bottom: 60px; right: -30px;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.floating-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-icon.green  { background: rgba(16,185,129,.15); color: var(--secondary); }
.floating-icon.blue   { background: rgba(59,130,246,.15); color: var(--primary-light); }
.floating-icon.yellow { background: rgba(245,158,11,.15); color: var(--warning); }

.floating-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-primary);
}
.floating-text span {
  font-size: .73rem;
  color: var(--gray-500);
}

/* ─── Section Common ───────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary-light);
  background: rgba(59,130,246,.1);
  padding: .3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── How It Works ─────────────────────────────────────────── */
.how-it-works { background: var(--light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), var(--accent), transparent);
  opacity: .3;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border: 2px solid transparent;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,.15);
}

.step-number {
  position: absolute;
  top: -14px; right: 24px;
  width: 28px; height: 28px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.step-icon.blue   { background: rgba(59,130,246,.1);  color: var(--primary-light); }
.step-icon.green  { background: rgba(16,185,129,.1);  color: var(--secondary); }
.step-icon.sky    { background: rgba(14,165,233,.1);  color: var(--accent); }
.step-icon.orange { background: rgba(245,158,11,.1);  color: var(--warning); }

.step-card:hover .step-icon { transform: scale(1.1) rotate(-5deg); }

.step-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step-card p  { color: var(--gray-500); font-size: .9rem; line-height: 1.6; }

/* ─── Service Categories ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.service-card h4 { font-size: .9rem; color: var(--dark); margin-bottom: .25rem; }
.service-card span { font-size: .78rem; color: var(--gray-500); }

/* ─── Providers Search Form ─────────────────────────────────── */
.providers-search-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: .75rem;
  max-width: 900px;
  margin: 0 auto;
}

.providers-search-form .btn { align-self: flex-end; white-space: nowrap; }

/* ─── Provider Cards ───────────────────────────────────────── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.provider-card-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
}

.pcard {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
  transition: var(--transition);
}

.pcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pcard-header {
  height: 90px;
  background: var(--gradient-primary);
  position: relative;
}

.pcard-header.green  { background: var(--gradient-green); }
.pcard-header.sky    { background: linear-gradient(135deg,#0369a1,#0ea5e9); }
.pcard-header.purple { background: linear-gradient(135deg,#4f46e5,#818cf8); }

.pcard-avatar {
  position: absolute;
  bottom: -30px; left: 1.5rem;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-primary);
}

.pcard-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
}

.pcard-body {
  padding: 2.75rem 1.5rem 1.5rem;
}

.pcard-name { font-size: 1rem; margin-bottom: .2rem; }
.pcard-spec {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .75rem;
}

.pcard-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pcard-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--gray-500);
}

.pcard-meta-item i { color: var(--primary-light); }

.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.pcard-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-primary);
}

.pcard-price span {
  font-size: .75rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* ─── Stats Section ────────────────────────────────────────── */
.stats-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1.5rem; }
.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  font-family: var(--font-primary);
  line-height: 1;
  margin-bottom: .35rem;
  color: var(--white);
}
.stat-label { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tcard {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
  position: relative;
  transition: var(--transition);
}

.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tcard-quote {
  font-size: 2.5rem;
  color: var(--primary-light);
  opacity: .3;
  font-family: serif;
  line-height: 1;
  margin-bottom: .5rem;
}

.tcard p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.tcard-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
}

.tcard-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.tcard-role { font-size: .78rem; color: var(--gray-500); }

/* ─── App Download Section ─────────────────────────────────── */
.app-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: var(--primary);
  border-radius: 50%;
  top: -300px; right: -200px;
  opacity: .06;
}

.app-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.app-btn {
  display: flex;
  align-items: center;
  gap: .875rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  padding: .875rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.app-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.app-btn i { font-size: 1.75rem; }
.app-btn-text small { display: block; font-size: .7rem; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.app-btn-text strong { font-size: 1.05rem; font-family: var(--font-primary); }

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 300px; }

.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.social-link:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); }

.footer-col h5 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: var(--font-primary);
}

.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: .85rem; }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ─── Cards & Badges ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}

.badge-success  { background: rgba(34,197,94,.12);  color: var(--success); }
.badge-warning  { background: rgba(245,158,11,.12); color: var(--warning); }
.badge-danger   { background: rgba(239,68,68,.12);  color: var(--danger); }
.badge-primary  { background: rgba(59,130,246,.12); color: var(--primary-light); }
.badge-secondary{ background: rgba(16,185,129,.12); color: var(--secondary); }

/* ─── Form Elements ────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
  font-family: var(--font-primary);
}

.form-control {
  width: 100%;
  padding: .875rem 1rem;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59,130,246,.1);
}

.form-control.has-icon { padding-left: 2.75rem; }

.input-wrapper { position: relative; }
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: .9rem;
  pointer-events: none;
}

.form-text { font-size: .8rem; color: var(--gray-500); margin-top: .35rem; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .35rem; }

/* ─── Alerts / Flash Messages ──────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}

.alert-success { background: rgba(34,197,94,.1);  border-color: rgba(34,197,94,.3);  color: #15803d; }
.alert-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: #b91c1c; }
.alert-warning { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #b45309; }
.alert-info    { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.3); color: #1d4ed8; }

/* ─── Loader / Spinner ─────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Scroll Animations ────────────────────────────────────── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: .1s; }
.animate-delay-2 { transition-delay: .2s; }
.animate-delay-3 { transition-delay: .3s; }
.animate-delay-4 { transition-delay: .4s; }

/* ─── Divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-100); margin: 1.5rem 0; }

/* ─── Page Header ──────────────────────────────────────────── */
.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--navbar-height) + 3rem) 0 3rem;
  color: var(--white);
  text-align: center;
}

.page-header h1 { margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ─── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  justify-content: center;
  margin-top: .75rem;
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .7rem; }

/* ─── Hero Layout Classes ───────────────────────────────────── */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-quicklinks {
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-quicklinks-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

.hero-quicklink {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  padding: .25rem .75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--transition);
  white-space: nowrap;
}

.hero-quicklink:hover {
  background: rgba(255,255,255,.2);
  color: white;
}

.hero-slots {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.hero-slot {
  font-size: .75rem;
  padding: .3rem .7rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all .2s;
  background: white;
}

.hero-slot:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* ─── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  padding: 1.75rem 0;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: .5;
  filter: grayscale(1);
}

.trust-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #334155;
  font-family: var(--font-primary);
  white-space: nowrap;
}

/* ─── Section Header Utilities ──────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle { margin: 0 auto; }

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Tracking Section ──────────────────────────────────────── */
.tracking-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.tracking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tracking-title {
  color: white;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.tracking-desc {
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-size: .95rem;
}

.tracking-features {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}

.tracking-feature {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}

.tracking-feature-icon {
  width: 36px; height: 36px;
  background: rgba(59,130,246,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

/* ─── Map Mockup ────────────────────────────────────────────── */
.map-mockup {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.map-mockup-visual {
  background: linear-gradient(135deg, #1e3a8a, #0369a1);
  border-radius: 16px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.map-mockup-center {
  text-align: center;
  z-index: 2;
  position: relative;
}

.map-mockup-pill {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: .625rem .875rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}

.map-mockup-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.map-mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .75rem;
}

.map-mockup-stat {
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: .875rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── Provider CTA ──────────────────────────────────────────── */
.provider-cta-section { background: #f0fdf4; }

.provider-cta-card {
  background: var(--gradient-green);
  border-radius: 28px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.provider-cta-left { position: relative; z-index: 2; }

.provider-cta-title {
  color: white;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  margin-bottom: .875rem;
}

.provider-cta-desc {
  color: rgba(255,255,255,.82);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: .95rem;
}

.provider-cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.provider-cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 220px;
  position: relative;
  z-index: 2;
}

.provider-cta-feature {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  color: white;
}

.provider-cta-feature-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.provider-cta-feature-title {
  font-weight: 700;
  font-size: .875rem;
  font-family: var(--font-primary);
}

.provider-cta-feature-desc {
  font-size: .75rem;
  opacity: .75;
}

/* ─── App Section ────────────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-visual { text-align: center; }

.app-phone-mockup {
  display: inline-block;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  padding: 2rem 2.5rem;
}

/* ─── Attractive Enhancements ──────────────────────────────── */

/* Navbar glassmorphism on scroll */
.navbar.scrolled {
  background: rgba(255,255,255,.95) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,.08) !important;
}

/* Enhanced hero */
.hero { background: var(--gradient-hero); }

/* Glow on primary buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.15), transparent);
  pointer-events: none;
}

/* Card glass effect */
.dash-card,
.step-card,
.pcard,
.tcard {
  backdrop-filter: blur(2px);
}

/* Pcard avatar image support */
.pcard-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Smooth navbar actions */
.navbar-actions .btn { transition: all .25s ease; }

/* Provider card bookmark/favourite */
.pcard-fav {
  position: absolute;
  top: 12px; left: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .8rem;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.3);
}
.pcard-fav:hover { background: rgba(255,255,255,.9); color: var(--danger); }

/* Verified badge */
.verified-tick {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(5,150,105,.1);
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(5,150,105,.2);
}

/* Mobile-friendly tap targets on public pages */
.navbar-nav a,
.footer-col ul li a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Public / Marketing Pages
   ═══════════════════════════════════════════════════════════ */

/* ─── Large Tablet (≤1024px) ────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .hero-container   { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual      { display: none; }
  .tracking-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .app-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .app-visual       { display: none; }
  .provider-cta-card{ grid-template-columns: 1fr; }
  .provider-cta-right { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .provider-cta-feature { flex: 1; min-width: 180px; }
  .providers-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .providers-search-form { grid-template-columns: 1fr 1fr; }
}

/* ─── Tablet (≤768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --navbar-height: 60px; }

  /* Navbar */
  .navbar { padding: 0 1.25rem; }
  .navbar-brand { font-size: 1.15rem; }

  .navbar-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    border-top: 1px solid var(--gray-100);
    z-index: 999;
    gap: .2rem;
    animation: slideDown .25s ease;
  }
  .navbar-nav.open { display: flex; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .navbar-nav a {
    color: var(--dark) !important;
    padding: .75rem 1rem;
    width: 100%;
    border-radius: var(--radius);
    font-size: .95rem;
    min-height: 48px;
  }

  .navbar-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .navbar-actions .btn-outline-white { display: none; }
  /* Shrink "Get Started" on tablet to save space */
  .navbar-actions .btn-white { padding: .4rem .875rem; font-size: .78rem; }

  /* Hero */
  .hero { padding-top: var(--navbar-height); }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 2rem; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.75rem); }
  .hero-subtitle { font-size: .95rem; }
  .hero-search { padding: 1rem; margin-bottom: 1.5rem; }
  .hero-search-row { flex-direction: column; gap: .625rem; }
  .hero-search .btn-primary { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.25rem; }
  .hero-stat-icon { width: 38px; height: 38px; font-size: .9rem; }

  /* Trust bar */
  .trust-logos { gap: 1.5rem; }
  .trust-logo { font-size: .875rem; }

  /* Tracking */
  .tracking-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tracking-title { font-size: 1.5rem; }

  /* CTA */
  .provider-cta-card { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; }
  .provider-cta-right { flex-direction: column; min-width: 0; }

  /* App */
  .app-grid { grid-template-columns: 1fr; gap: 2rem; }
  .app-visual { display: none; }

  /* Section header flex stacks */
  .section-header-flex { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.25rem); }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }
  .section-header-flex { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }

  /* Steps */
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .step-card { padding: 1.75rem 1.25rem; }
  .step-icon { width: 60px; height: 60px; font-size: 1.5rem; }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .service-card { padding: 1.25rem .75rem; }
  .service-icon { width: 52px; height: 52px; font-size: 1.25rem; }

  /* Providers search form: 1 col stacked on tablet */
  .providers-search-form { grid-template-columns: 1fr; }
  .providers-search-form .btn { width: 100%; justify-content: center; }

  /* Providers */
  .providers-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }

  /* Stats section */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .875rem; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  /* App section */
  .app-btns { justify-content: center; }
}

/* ─── Mobile (≤480px) ───────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --navbar-height: 56px; }

  /* Navbar: prevent brand from wrapping, hide action buttons */
  .navbar-brand { gap: .5rem; white-space: nowrap; }
  .navbar-brand span { font-size: .9rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .navbar-actions .btn-white,
  .navbar-actions .btn-outline-white { display: none; }
  /* Show login/register links inside mobile menu instead */
  .navbar-nav .mobile-auth { display: flex !important; }

  /* Hero */
  .hero-title  { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-badge  { font-size: .7rem; padding: .3rem .75rem; }
  .hero-stats  { gap: .75rem; }
  .hero-stat   { flex-direction: column; text-align: center; gap: .25rem; }
  .hero-stat-icon { margin: 0 auto; }
  .hero-search { border-radius: var(--radius-lg); }

  /* Sections */
  .section     { padding: 3rem 0; }
  .container   { padding: 0 1rem; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: .9rem; }

  /* Hero */
  .hero-container { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .hero-quicklinks { gap: .5rem; }
  .hero-quicklink { font-size: .75rem; padding: .2rem .6rem; }
  .hero-slots { gap: .4rem; }

  /* Trust bar */
  .trust-logos { gap: 1rem; }

  /* Steps: 1 col */
  .steps-grid { grid-template-columns: 1fr; }

  /* Services: 2 col */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .service-card h4 { font-size: .8rem; }
  .service-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Providers: 1 col */
  .providers-grid { grid-template-columns: 1fr; }

  /* Stats: 2 col */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.75rem; }

  /* Footer: 1 col */
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 3rem 0 0; }
  .social-links { flex-wrap: wrap; }
  .app-btns { flex-direction: column; align-items: stretch; }
  .app-btn  { justify-content: center; }

  /* Forms */
  .form-control { font-size: .875rem; padding: .75rem .875rem; }
  .btn-lg { padding: .875rem 1.5rem; font-size: .9rem; }

  /* Page header */
  .page-header { padding: calc(var(--navbar-height) + 2rem) 0 2rem; }
  .page-header h1 { font-size: 1.75rem; }
}

/* ─── Very small (≤360px) ───────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title  { font-size: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .navbar-brand .navbar-logo-icon { width: 32px; height: 32px; font-size: .85rem; }
}

/* ─── Touch Devices ─────────────────────────────────────────── */
@media (hover: none) {
  .pcard:hover,
  .step-card:hover,
  .tcard:hover,
  .service-card:hover { transform: none; }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-outline:hover { transform: none; }
}

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
