/* =========================================================================
   NS PATIENT HOMECARE — Premium Responsive Medical Design System
   Optimized for Mobile, Tablet, Desktop (Fast, Lightweight, Modern)
   ========================================================================= */

:root {
  /* Brand Medical Color Palette */
  --primary: #0f9d8e;
  --primary-dark: #0b7f73;
  --primary-deep: #082334;
  --primary-light: #e6f7f5;
  --accent: #12c2a6;
  --accent-dark: #0ea288;
  --accent-light: #edfbf8;
  --secondary: #0e8fc4;
  --secondary-dark: #0a6c96;
  --ink: #0b2231;
  --ink-soft: #385366;
  --muted: #6b8396;
  --line: #e2ecf2;
  --line-light: #f0f5f8;
  --bg: #ffffff;
  --bg-soft: #f4f9fc;
  --bg-dark: #082130;
  --bg-darker: #051722;
  --white: #ffffff;

  /* Typography */
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 2px 6px rgba(11, 45, 66, 0.04);
  --shadow-sm: 0 4px 14px rgba(11, 45, 66, 0.06);
  --shadow: 0 10px 30px rgba(11, 45, 66, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 45, 66, 0.14);
  --shadow-glow: 0 0 24px rgba(18, 194, 166, 0.35);

  /* Transitions */
  --tr-fast: .18s ease;
  --tr-norm: .28s ease;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; vertical-align: middle; }
a { color: var(--primary); text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }

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

/* ------------------------------------------------------------------ Grid */
.row { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.col { flex: 1 1 0%; padding: 0 14px; }
.col-2 { flex: 0 0 auto; width: 16.6667%; padding: 0 14px; }
.col-3 { flex: 0 0 auto; width: 25%; padding: 0 14px; }
.col-4 { flex: 0 0 auto; width: 33.3333%; padding: 0 14px; }
.col-5 { flex: 0 0 auto; width: 41.6667%; padding: 0 14px; }
.col-6 { flex: 0 0 auto; width: 50%; padding: 0 14px; }
.col-7 { flex: 0 0 auto; width: 58.3333%; padding: 0 14px; }
.col-8 { flex: 0 0 auto; width: 66.6667%; padding: 0 14px; }
.col-12 { flex: 0 0 auto; width: 100%; padding: 0 14px; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr-norm);
  line-height: 1.2;
  text-align: center;
  background: none;
  touch-action: manipulation;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; min-width: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 157, 142, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 157, 142, 0.38);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18, 194, 166, 0.25);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 194, 166, 0.35);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  background: var(--bg-soft);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  border: 1px solid rgba(15, 157, 142, 0.16);
}
.badge svg { width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; }

/* ------------------------------------------------------------ Section head */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.8vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }

/* ------------------------------------------------------------------ Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--tr-norm), box-shadow var(--tr-norm), border-color var(--tr-norm);
  height: 100%;
  box-shadow: var(--shadow-xs);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 157, 142, 0.25);
}

/* -------------------------------------------------------- Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #d32f2f, #c2185b, #0f9d8e);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-link {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  transition: background var(--tr-fast);
}
.announcement-link:hover { background: rgba(0, 0, 0, 0.4); color: #fff; }

/* ----------------------------------------------------------------- Topbar */
.topbar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.88);
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.88); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { width: 14px; height: 14px; min-width: 14px; color: var(--accent); flex-shrink: 0; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right svg { width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; }

/* ---------------------------------------------------------------- Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(11, 45, 66, 0.06);
  transition: box-shadow var(--tr-fast), background var(--tr-fast);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}
.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}
.nav-mobile-logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Desktop Navigation */
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav > .drop > a {
  padding: 8px 13px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav > a:hover, .nav > a.active, .nav > .drop > a:hover, .nav > .drop.active > a {
  color: var(--primary);
  background: var(--bg-soft);
}
.nav > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}
.drop { position: relative; }
.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--tr-fast);
  z-index: 50;
}
.drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--tr-fast);
  border-bottom: 1px solid var(--line-light);
}
.drop-menu a:last-child { border-bottom: none; }
.drop-menu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
  padding-left: 20px;
}
.drop-caret { font-size: 9px; margin-left: 5px; color: var(--muted); transition: transform var(--tr-fast); }
.drop:hover .drop-caret { transform: rotate(180deg); }

/* Header CTA and Fast Call Button */
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .ph-ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.header-phone .ph-ic svg { width: 18px; height: 18px; min-width: 18px; flex-shrink: 0; }
.header-phone small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1; margin-bottom: 2px; }
.header-phone b { color: var(--ink); font-size: 15px; }

.header-call-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  align-items: center;
  justify-content: center;
}
.header-call-btn svg { width: 18px; height: 18px; min-width: 18px; flex-shrink: 0; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 35, 52, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  transition: opacity var(--tr-norm);
}
.nav-backdrop.show { display: block; opacity: 1; }

.nav-mobile-head, .nav-mobile-footer { display: none; }

.nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: background var(--tr-fast);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--tr-fast), opacity var(--tr-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero Slider */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  background: var(--bg-dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,35,52,.92) 0%, rgba(8,35,52,.75) 45%, rgba(8,35,52,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  max-width: 660px;
}
.hero-content .badge {
  background: rgba(18,194,166,.18);
  color: var(--accent);
  border-color: rgba(18,194,166,.3);
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-content p {
  color: rgba(255,255,255,.88);
  font-size: clamp(15.5px, 2vw, 18px);
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all var(--tr-norm);
  padding: 0;
}
.hero-dots button.active {
  background: var(--accent);
  width: 28px;
  border-radius: 8px;
}

/* ------------------------------------------------------ Trust strip */
.trust-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 10px;
}
.trust-item svg { width: 36px; height: 36px; min-width: 36px; flex-shrink: 0; color: rgba(255,255,255,.92); }
.trust-item b { display: block; font-size: 16px; margin-bottom: 2px; }
.trust-item small { color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.3; }

/* --------------------------------------------------------------- Services */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.service-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  position: relative;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.2, 0, 0.2, 1);
}
.service-card:hover .service-thumb img { transform: scale(1.07); }
.service-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-ic {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  margin-top: -56px;
  box-shadow: 0 8px 20px rgba(15, 157, 142, 0.25);
  position: relative;
  z-index: 2;
  border: 3px solid #fff;
  flex-shrink: 0;
}
.service-ic svg { width: 28px; height: 28px; min-width: 28px; flex-shrink: 0; }
.service-body h3 { font-size: 18.5px; margin-bottom: 8px; }
.service-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; line-height: 1.55; }
.service-body .link {
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--primary);
}
.service-body .link svg { width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; transition: transform var(--tr-fast); }
.service-card:hover .service-body .link svg { transform: translateX(4px); }

/* --------------------------------------------------------- How it works */
.step-card { padding: 32px 26px; position: relative; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15, 157, 142, 0.25);
  flex-shrink: 0;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* -------------------------------------------------------- Areas covered */
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-weight: 600;
}
.area-list svg { width: 17px; height: 17px; min-width: 17px; color: var(--primary); flex-shrink: 0; }

/* -------------------------------------------------------- Google reviews */
.g-reviews {
  background: linear-gradient(110deg, #1257c7, #0d44a1);
  color: #fff;
}
.g-reviews .badge { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }
.g-reviews h2 { color: #fff; }
.g-card { color: #fff; }
.g-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.g-logo svg { width: 42px; height: 42px; min-width: 42px; flex-shrink: 0; }
.g-card h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.g-card p { color: rgba(255,255,255,.88); font-size: 15px; }
.g-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px;
  font-size: 20px;
  color: #ffc107;
  letter-spacing: 2px;
}
.g-stars b { color: #fff; font-size: 19px; letter-spacing: 0; }
.g-stars span { color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: 0; }
.g-quote { padding: 22px 20px; }
.g-quote-stars { color: #ffc107; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.g-quote p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; line-height: 1.5; }
.g-quote small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ----------------------------------------------------------- About Section */
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-exp {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}
.about-exp b { display: block; font-size: 28px; line-height: 1; }
.about-exp small { font-size: 12.5px; opacity: .92; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.about-points svg { width: 18px; height: 18px; min-width: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ------------------------------------------------------------- Counters */
.counters { background: var(--bg-dark); }
.counter-box { text-align: center; padding: 32px 14px; color: #fff; }
.counter-box .num {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.counter-box .lbl { margin-top: 8px; color: rgba(255,255,255,.8); font-size: 14.5px; }

/* --------------------------------------------------------- Why choose */
.why-card { padding: 30px 24px; }
.why-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.why-card .ic svg { width: 26px; height: 26px; min-width: 26px; flex-shrink: 0; }
.why-card h4 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------- Testimonials */
.testi-card { padding: 28px 24px; }
.testi-stars { color: #f6b01e; margin-bottom: 12px; letter-spacing: 2px; font-size: 15px; }
.testi-text { font-size: 15px; font-style: italic; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.6; }
.testi-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testi-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-foot b { display: block; color: var(--ink); font-size: 14.5px; }
.testi-foot small { color: var(--muted); font-size: 12.5px; }

/* ----------------------------------------------------------------- Blog */
.blog-card { display: flex; flex-direction: column; background: #fff; }
.blog-thumb { overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(0.2, 0, 0.2, 1); }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.blog-body h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.35; }
.blog-body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }

/* ---------------------------------------------------------------- FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--tr-fast);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q .fq-ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: transform var(--tr-norm), background var(--tr-fast), color var(--tr-fast);
}
.faq-q .fq-ic svg { width: 14px; height: 14px; min-width: 14px; flex-shrink: 0; }
.faq-item.open .fq-ic { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* -------------------------------------------------------------- Contact */
.contact-card { padding: 30px 24px; }
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.contact-row .ic svg { width: 22px; height: 22px; min-width: 22px; flex-shrink: 0; }
.contact-row b { display: block; color: var(--ink); margin-bottom: 2px; font-size: 15px; }
.contact-row span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ----------------------------------------------------------------- Forms */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
  min-height: 48px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 157, 142, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14.5px; display: none; }
.alert.show { display: block; }
.alert-success { background: #e8faf3; color: #0b7a57; border: 1px solid #b7ecd9; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f6c6c2; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* -------------------------------------------------------------- Page hero */
.page-hero {
  background: linear-gradient(110deg, var(--bg-dark), var(--primary-dark));
  color: #fff;
  padding: 64px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); margin-bottom: 8px; }
.page-hero .crumb { color: rgba(255,255,255,.82); font-size: 14px; }
.page-hero .crumb a { color: rgba(255,255,255,.9); }
.page-hero .crumb a:hover { color: #fff; }

/* -------------------------------------------------------------- Gallery */
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.08); }
.g-item .ov {
  position: absolute;
  inset: 0;
  background: rgba(8,35,52,.6);
  opacity: 0;
  transition: opacity .3s;
  display: grid;
  place-items: center;
}
.g-item:hover .ov { opacity: 1; }
.g-item .ov svg { width: 38px; height: 38px; min-width: 38px; flex-shrink: 0; color: #fff; }

/* ---------------------------------------------------------------- Team */
.team-card { text-align: center; padding: 30px 20px; }
.team-ava {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 3px solid var(--primary-light);
  flex-shrink: 0;
}
.team-ava img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 14px; }
.team-card .qual { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--bg-dark), var(--primary-dark));
  color: #fff;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: 22px; font-size: 16px; }

/* --------------------------------------------------------------- Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.76);
  padding: 70px 0 0;
}
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,.76); }
.footer a:hover { color: var(--accent); }
.footer-about p { font-size: 14px; line-height: 1.6; }
.footer-links li { list-style: none; margin-bottom: 10px; font-size: 14px; }
.footer-links li a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links svg { width: 13px; height: 13px; min-width: 13px; flex-shrink: 0; color: var(--accent); }
.footer-contact li { list-style: none; display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.footer-contact svg { width: 17px; height: 17px; min-width: 17px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all var(--tr-fast);
  flex-shrink: 0;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; min-width: 17px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 50px;
  padding: 20px 0;
  font-size: 13.5px;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ----------------------------------------------------- Floating Buttons */
.float-btns {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--tr-fast);
  position: relative;
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; min-width: 26px; flex-shrink: 0; }
.float-wa { background: #25d366; color: #fff; }
.float-call { background: var(--primary); color: #fff; }

.float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: .8;
  animation: pulse-ring 2s cubic-bezier(0.2, 0, 0, 1) infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.back-top {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--tr-fast);
  flex-shrink: 0;
}
.back-top.show { display: grid; }
.back-top:hover { background: var(--primary); transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; }

/* ------------------------------------------- Mobile Bottom Sticky Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  z-index: 120;
  grid-template-columns: 1fr 1fr 1fr;
}
.mb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--tr-fast);
  padding: 4px;
}
.mb-btn svg { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; }
.mb-call { color: #0a6c96; }
.mb-call svg { color: #0e8fc4; }
.mb-wa { color: #1a9649; }
.mb-wa svg { color: #25d366; }
.mb-book {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 0;
}
.mb-book svg { color: #fff; }

/* ------------------------------------------------------------ Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 36, .94);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--tr-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* -------------------------------------------------- Emergency Urgent Popup */
.emergency-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 33, 48, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-norm), visibility var(--tr-norm);
}
.emergency-popup-backdrop.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.emergency-popup-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 5px solid #d32f2f;
  margin: auto;
}
.emergency-popup-backdrop.show .emergency-popup-box {
  transform: scale(1) translateY(0);
}
.popup-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--tr-fast);
  z-index: 10;
}
.popup-close-btn:hover { background: var(--line); }
.popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdecec;
  color: #c62828;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid #f6c6c2;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d32f2f;
  box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
  animation: dotPulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(211, 47, 47, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}
.emergency-popup-box h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.emergency-popup-box p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}
.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-actions .btn {
  width: 100%;
  font-size: 14.5px;
  padding: 12px 18px;
}
.popup-subnote {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}

/* --------------------------------------------------------------- Misc */
.page-content { padding: 70px 0; }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose h3 { font-size: 20px; margin: 22px 0 10px; }
.prose p, .prose li { font-size: 15.5px; }
.prose img { border-radius: var(--radius); margin: 18px 0; }
.prose ul { margin-bottom: 18px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-3 { margin-top: 30px; }
.mb-3 { margin-bottom: 30px; }

/* ------------------------------------------------------------- Responsive Engine */
@media (max-width: 1024px) {
  .header-phone { display: none; }
  .header-call-btn { display: flex; }
  .col-3 { width: 50%; }
}

@media (max-width: 900px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
  .nav-toggle { display: flex; }
  
  /* Mobile Slide-in Drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 310px;
    max-width: 85vw;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    z-index: 150;
    transform: translateX(100%);
    transition: transform var(--tr-norm);
    overflow-y: auto;
    display: flex;
  }
  .nav.open { transform: translateX(0); }
  
  .nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
  }
  .nav-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
  }
  
  .nav > a, .nav > .drop > a {
    padding: 14px 22px;
    font-size: 15.5px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-light);
    justify-content: space-between;
  }
  
  .drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    display: none;
    background: var(--bg-soft);
  }
  .drop.open .drop-menu { display: block; }
  .drop-menu a {
    padding: 11px 22px 11px 34px;
    border-bottom: 1px solid var(--line-light);
    border-radius: 0;
    font-size: 14px;
  }
  
  .nav-mobile-footer {
    display: block;
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
  }
  .nav-mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14.5px;
    color: var(--primary);
  }
  .nav-mobile-call svg { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; }
  
  .col-2, .col-4, .col-5, .col-6, .col-7, .col-8 { width: 100%; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .about-img { margin-bottom: 32px; }
  .contact-card { margin-bottom: 28px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 64px; } /* Space for Mobile Sticky Bottom Bar */
  .mobile-bottom-bar { display: grid; }
  .float-btns { display: none; } /* Replaced by bottom bar on mobile */
  .back-top { bottom: 76px; }

  .hero { min-height: 480px; }
  .hero-content { padding: 60px 0 80px; text-align: left; }
  .hero-btns .btn { width: 100%; }
  
  .col-3 { width: 100%; }
  .about-exp { right: 0; bottom: -14px; padding: 12px 18px; }
  .about-exp b { font-size: 22px; }
  .about-points { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  
  .counter-box { padding: 22px 10px; }
  .topbar { display: none; } /* Hidden on mobile for maximum clean viewport */
  .header-cta .btn-header { display: none; }
  .brand-logo-img { height: 40px; max-width: 200px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .service-body { padding: 20px; }
  .service-ic { width: 50px; height: 50px; margin-top: -48px; }
  .service-ic svg { width: 24px; height: 24px; min-width: 24px; }
  .contact-card { padding: 22px 16px; }
  .brand-logo-img { height: 36px; max-width: 175px; }

  .emergency-popup-box {
    padding: 24px 16px 18px;
    border-radius: 16px;
    max-height: 90vh;
  }
  .emergency-popup-box h3 { font-size: 18px; }
  .emergency-popup-box p { font-size: 13px; margin-bottom: 16px; }
}
