:root {
  /* Trust-forward clinical palette: deep credible blue + calm teal + soft sky tints */
  --blue-deep: #0B3C5D;
  --blue-mid: #145374;
  --blue-line: #1C6E8C;
  --teal: #1B8A8A;
  --teal-dark: #146F6F;
  --sky: #EAF4F8;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe57;
  --bg: #ffffff;
  --bg-alt: #F5F9FB;
  --text: #16242E;
  --text-muted: #55707D;
  --border: #DEE9EC;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(11, 60, 93, 0.10);

  /* Mobile-first spacing scale — sections get roomier as the viewport grows */
  --header-h: 56px;
  --section-pad: 48px;
  --hero-pad-top: 40px;
  --hero-pad-bottom: 48px;
}

/* ============ BASE / MOBILE (default — no media query needed) ============ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin: 0 0 14px; color: var(--blue-deep); }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.55rem; text-align: center; }
h2.left { text-align: left; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #bcd3de;
  margin-bottom: 14px;
}
.breadcrumb a { color: #dcedf3; text-decoration: underline; }
.breadcrumb a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { border-color: var(--blue-deep); color: var(--blue-deep); background: transparent; }
.btn-outline:hover { background: var(--blue-deep); color: #fff; }
.wa-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 8px 20px;
  gap: 12px;
}
/* Logo runs along the front of the bar on mobile */
.logo { display: flex; align-items: center; margin-right: auto; min-width: 0; }
.logo img { width: min(200px, 58vw); height: auto; display: block; }

/* Mobile nav: dropdown panel anchored under the hamburger, on the right */
.nav-scrim {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(11, 60, 93, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 40;
  border: 0;
  padding: 0;
}
.nav-scrim.open { opacity: 1; visibility: visible; }

.main-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  left: auto;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - var(--header-h) - 28px);
  max-height: calc(100dvh - var(--header-h) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(11, 60, 93, 0.22);
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 2px;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 50;
}
.main-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.main-nav > a,
.nav-group > a {
  display: block;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 1rem;
  padding: 11px 12px;
  border-radius: 9px;
}
.main-nav > a:hover,
.nav-group > a:hover { background: var(--sky); }
.nav-group {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.nav-group > a { padding-right: 4px; }
.nav-group-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
}
.nav-group-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.nav-group.expanded .nav-group-toggle::before { transform: translateY(2px) rotate(-135deg); }
.nav-group-toggle:hover { background: var(--sky); }
.nav-group + .nav-group,
.nav-group + a,
.main-nav > a + a { border-top: 1px solid var(--border); }
.nav-dropdown {
  display: none;
  grid-column: 1 / -1;
  position: static;
  box-shadow: none;
  border: none;
  padding: 0 0 6px 12px;
  min-width: 0;
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-dropdown a:hover { background: var(--sky); color: var(--blue-deep); }
.nav-group.expanded .nav-dropdown { display: block; }
.nav-cta {
  margin: 8px 4px 4px;
  justify-content: center;
  font-size: 0.95rem;
  padding: 12px 18px;
}

.header-cta { display: none; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* Hero (home) */
.hero {
  /* Brand gradient overlay keeps text legible over the home-care photo */
  background:
    linear-gradient(160deg, rgba(11,60,93,0.92) 0%, rgba(20,83,116,0.85) 55%, rgba(20,111,111,0.8) 130%),
    url("../images/hero-home-care.jpg") 70% center / cover no-repeat,
    var(--blue-deep);
  background:
    linear-gradient(160deg, rgba(11,60,93,0.92) 0%, rgba(20,83,116,0.85) 55%, rgba(20,111,111,0.8) 130%),
    image-set(url("../images/hero-home-care.webp") type("image/webp"), url("../images/hero-home-care.jpg") type("image/jpeg")) 70% center / cover no-repeat,
    var(--blue-deep);
  color: #fff;
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Subpage hero (services/locations/about/contact) */
.subhero {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-mid) 60%, var(--blue-line) 130%);
  color: #fff;
  padding: 36px 0 40px;
}
.subhero h1 { color: #fff; font-size: 1.7rem; max-width: 700px; }
.subhero .hero-sub { max-width: 620px; }
/* Photo variant (location pages + about): same home-care photo as the home hero */
.subhero-photo {
  background:
    linear-gradient(160deg, rgba(11,60,93,0.92) 0%, rgba(20,83,116,0.85) 55%, rgba(20,111,111,0.8) 130%),
    url("../images/hero-home-care.jpg") 70% center / cover no-repeat,
    var(--blue-deep);
  background:
    linear-gradient(160deg, rgba(11,60,93,0.92) 0%, rgba(20,83,116,0.85) 55%, rgba(20,111,111,0.8) 130%),
    image-set(url("../images/hero-home-care.webp") type("image/webp"), url("../images/hero-home-care.jpg") type("image/jpeg")) 70% center / cover no-repeat,
    var(--blue-deep);
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  color: #e3f6f2;
}
.hero-copy h1 {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 14px;
}
.hero-sub {
  color: #cfe1ea;
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 22px;
}
/* Call-out fee badge (hero, all pages) */
.price-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 620px;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(95,214,196,0.45);
  border-left: 4px solid #5fd6c4;
  border-radius: var(--radius);
  color: #eaf3f6;
  font-size: 0.95rem;
}
.price-callout-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B3C5D;
  background: #5fd6c4;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-callout-amount {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  vertical-align: middle;
}
.dirham {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.08em;
  background-color: currentColor;
  -webkit-mask: url("../images/dirham.svg") center / contain no-repeat;
  mask: url("../images/dirham.svg") center / contain no-repeat;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.hero-actions .btn { width: 100%; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.65); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--blue-deep); }
.hero-trustbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #b7cdd8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 20px;
}
.hero-trustbar li::before { content: "✓ "; color: #5fd6c4; font-weight: 700; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(6px);
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  color: #eaf3f6;
}
.hero-card-row:last-child { border-bottom: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); flex-shrink: 0; }

/* Services */
.services { padding: var(--section-pad) 0; background: var(--bg); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-line); }
.service-card p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }

/* Locations */
.locations { padding: var(--section-pad) 0; background: var(--sky); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.location-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.location-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.location-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.location-card-any { background: var(--sky); border-style: dashed; border-color: var(--blue-line); }
.location-card-any:hover { box-shadow: none; transform: none; }
.coverage-banner {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 20px 22px;
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
}
.coverage-banner-title { font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.coverage-banner-text { color: #cfe1ea; font-size: 0.92rem; margin: 0; }
.location-grid-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Hero note on location pages: reassure visitors from other areas */
.hero-note { color: #cfe1ea; font-size: 0.9rem; margin: 16px 0 0; }
.hero-note a { color: #fff; font-weight: 600; text-decoration: underline; }

/* Coverage: every location page lists all areas + "anywhere in Dubai" */
.coverage { padding: var(--section-pad) 0; background: var(--bg-alt); }
.coverage .section-sub { max-width: 640px; }
.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.coverage-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.coverage-list li a,
.coverage-list li.current,
.coverage-list li.coverage-any { display: block; padding: 11px 14px; }
.coverage-list li a:hover { background: var(--sky); border-radius: 10px; }
.coverage-list li.current { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.coverage-list li.coverage-any {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.coverage-cta { text-align: center; color: var(--text-muted); margin: 22px 0 0; font-size: 0.95rem; }

/* How it works */
.how-it-works { padding: var(--section-pad) 0; background: var(--bg-alt); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* Trust */
.trust { padding: var(--section-pad) 0; background: var(--blue-deep); color: #fff; }
.trust-inner { max-width: 720px; }
.trust h2 { color: #fff; text-align: left; }
.trust-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: #cfe1ea;
  font-size: 0.95rem;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list strong { color: #fff; }

/* Detail (service/about/contact pages) */
.detail { padding: 44px 0; background: var(--bg); }
.detail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.check-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--teal);
  font-weight: 800;
}
.detail-card {
  background: var(--sky);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.detail-card h3 { color: var(--blue-deep); }
.trust-list-light li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(11,60,93,0.08);
}
.trust-list-light li:last-child { border-bottom: none; }
.trust-list-light li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* CTA band */
.cta-band { background: var(--teal); padding: 40px 0; text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 20px; font-size: 1.4rem; }
.cta-band .btn-whatsapp { background: #fff; color: var(--teal-dark); box-shadow: none; }
.cta-band .btn-whatsapp:hover { background: #eafffb; }
.cta-band .btn { width: 100%; max-width: 360px; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #aec7d3; padding: 40px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .logo { color: #fff; }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-address { font-style: normal; font-size: 0.9rem; line-height: 1.6; margin: 10px 0 0; }
.footer-address strong { color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a { display: block; padding: 6px 0; color: #aec7d3; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 18px 20px; font-size: 0.8rem; text-align: center; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 60;
}
.whatsapp-float svg { width: 26px; height: 26px; color: #fff; }
.whatsapp-float:hover { transform: scale(1.06); }

/* ============ SOCIAL ============ */

/* Brand colors, used for hover states and the follow band */
:root {
  --facebook: #1877F2;
  --instagram: #E1306C;
  --youtube: #FF0000;
  --tiktok: #010101;
  --snapchat: #FFFC00;
}

/* Footer icon row */
.footer-social { margin-top: 20px; }
.footer-social h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #dcedf3;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
}
.social-links a:hover .social-icon,
.social-links a:focus-visible .social-icon { color: #fff; }
.social-links .s-facebook:hover,
.social-links .s-facebook:focus-visible { background: var(--facebook); }
.social-links .s-instagram:hover,
.social-links .s-instagram:focus-visible { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-links .s-youtube:hover,
.social-links .s-youtube:focus-visible { background: var(--youtube); }
.social-links .s-tiktok:hover,
.social-links .s-tiktok:focus-visible { background: var(--tiktok); }
.social-links .s-snapchat:hover,
.social-links .s-snapchat:focus-visible { background: var(--snapchat); color: #16242E; }
.social-links .s-snapchat:hover .social-icon,
.social-links .s-snapchat:focus-visible .social-icon { color: #16242E; }
.social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: currentColor;
}

/* Follow band */
/* White with a hairline so it separates cleanly from both the sky-tinted
   locations block (home) and the white detail block (about/contact) */
.follow {
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.follow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 4px;
}
.follow-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.follow-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--blue-line);
}
.follow-card .social-icon { width: 24px; height: 24px; margin-top: 2px; }
.follow-card .f-facebook { color: var(--facebook); }
.follow-card .f-instagram { color: var(--instagram); }
.follow-card .f-youtube { color: var(--youtube); }
.follow-card .f-tiktok { color: var(--tiktok); }
.follow-card .f-snapchat { color: #C9C700; }
.follow-card h3 { margin-bottom: 4px; font-size: 1rem; }
.follow-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.follow-handle {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ============ TABLET AND UP ============ */
@media (min-width: 640px) {
  :root {
    --section-pad: 64px;
    --hero-pad-top: 56px;
    --hero-pad-bottom: 64px;
  }
  .container { padding: 0 24px; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .hero-copy h1 { font-size: clamp(2.2rem, 4.2vw, 2.8rem); }
  .subhero h1 { font-size: clamp(1.9rem, 3.6vw, 2.3rem); }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .hero-trustbar { flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .coverage-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-band .btn { width: auto; }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
  .follow-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ DESKTOP AND UP ============ */
@media (min-width: 960px) {
  .header-inner { padding: 16px 24px; }
  .logo { margin-right: 0; }
  .logo img { width: auto; height: 34px; }
  .main-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    width: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    display: flex;
  }
  .main-nav > a,
  .nav-group > a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0;
    border-radius: 0;
  }
  .main-nav > a:hover,
  .nav-group > a:hover { color: var(--blue-deep); background: transparent; }
  .nav-group + .nav-group,
  .nav-group + a,
  .main-nav > a + a { border-top: none; }
  .nav-cta { display: none; }
  .nav-scrim { display: none; }
  body.nav-open { overflow: visible; }
  .nav-group { position: relative; display: block; }
  .nav-group-toggle { display: none; }
  .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 220px;
  }
  .nav-group:hover .nav-dropdown { display: block; }
  .header-cta { display: inline-flex; padding: 10px 18px; font-size: 0.9rem; }
  .nav-toggle { display: none; }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .hero-card { padding: 28px; }
  /* Fade the overlay out to the right so the doctor, nurse and patient show through */
  .hero {
    background:
      linear-gradient(90deg, rgba(11,60,93,0.96) 0%, rgba(11,60,93,0.86) 38%, rgba(20,83,116,0.35) 68%, rgba(20,83,116,0.1) 100%),
      url("../images/hero-home-care.jpg") right center / cover no-repeat,
      var(--blue-deep);
    background:
      linear-gradient(90deg, rgba(11,60,93,0.96) 0%, rgba(11,60,93,0.86) 38%, rgba(20,83,116,0.35) 68%, rgba(20,83,116,0.1) 100%),
      image-set(url("../images/hero-home-care.webp") type("image/webp"), url("../images/hero-home-care.jpg") type("image/jpeg")) right center / cover no-repeat,
      var(--blue-deep);
  }
  .subhero-photo {
    background:
      linear-gradient(90deg, rgba(11,60,93,0.96) 0%, rgba(11,60,93,0.86) 45%, rgba(20,83,116,0.4) 75%, rgba(20,83,116,0.15) 100%),
      url("../images/hero-home-care.jpg") right center / cover no-repeat,
      var(--blue-deep);
    background:
      linear-gradient(90deg, rgba(11,60,93,0.96) 0%, rgba(11,60,93,0.86) 45%, rgba(20,83,116,0.4) 75%, rgba(20,83,116,0.15) 100%),
      image-set(url("../images/hero-home-care.webp") type("image/webp"), url("../images/hero-home-care.jpg") type("image/jpeg")) right center / cover no-repeat,
      var(--blue-deep);
  }
  .hero-visual { align-self: end; justify-content: flex-end; }
  .hero-card { max-width: 280px; background: rgba(11,60,93,0.55); }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .location-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .coverage-list { grid-template-columns: repeat(4, 1fr); }
  .detail { padding: 80px 0; }
  .detail-inner { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .detail-card { padding: 28px; }
  .follow-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
