/* ============================================
   MERIDIAN HEALTHCARE HOSPITAL — STYLESHEET
   Vanilla CSS3 — No frameworks
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Primary — Teal */
  --primary-50: #ecfdf9;
  --primary-100: #d1faf0;
  --primary-200: #a7f3e1;
  --primary-300: #6ee7cc;
  --primary-400: #34d3b3;
  --primary-500: #14b89a;
  --primary-600: #0d9482;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;
  --primary-950: #042f2e;

  /* Accent — Orange */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --accent-700: #c2410c;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #334155;
  --text-light: #64748b;
  --text-dark: #0f172a;
  --white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 5rem 0;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-dark); line-height: 1.25; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--primary-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-padding); }
.section-gray { background: var(--bg-alt); }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-600);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.btn-primary { background: var(--primary-700); color: var(--white); }
.btn-primary:hover { background: var(--primary-800); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,118,110,0.3); }

.btn-accent { background: var(--accent-500); color: var(--white); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,0.3); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: var(--white); color: var(--primary-800); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--primary-800); }
.btn-white:hover { background: var(--accent-50); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header { position: sticky; top: 0; z-index: 1000; }

.topbar {
  background: var(--primary-950);
  color: var(--primary-50);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.topbar-left { display: flex; align-items: center; gap: 1.5rem; }
.topbar-item { display: flex; align-items: center; gap: 0.35rem; }
.topbar-item .icon { width: 14px; height: 14px; }
.topbar-item.emergency { color: var(--accent-300); }
.topbar-right { color: var(--primary-200); }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--t-base), padding var(--t-base);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-badge {
  width: 2.75rem; height: 2.75rem;
  background: var(--primary-700);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-base);
}
.logo-badge svg { width: 1.5rem; height: 1.5rem; color: var(--white); }
.logo:hover .logo-badge { transform: scale(1.05); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--primary-800); line-height: 1.1; }
.logo-sub { font-size: 0.7rem; color: var(--gray-400); letter-spacing: 0.03em; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.nav-link:hover { color: var(--primary-700); background: var(--gray-50); }
.nav-link.active { color: var(--primary-700); background: var(--primary-50); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--t-base);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; height: 640px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-badge .icon { width: 16px; height: 16px; color: var(--accent-300); }

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--primary-50);
  margin-top: 1.25rem;
  line-height: 1.65;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--t-base);
  z-index: 5;
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  transition: all var(--t-base);
  cursor: pointer; border: none; padding: 0;
}
.hero-dot.active { width: 32px; background: var(--accent-400); }

/* ============================================
   QUICK ACTION CARDS
   ============================================ */
.quick-cards { position: relative; z-index: 10; margin-top: -4rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }

.quick-icon {
  width: 3rem; height: 3rem;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.quick-icon svg { width: 24px; height: 24px; color: var(--primary-700); }
.quick-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.quick-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; flex: 1; }
.quick-link {
  font-size: 0.85rem; font-weight: 600; color: var(--primary-700);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.quick-link .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.quick-card:hover .quick-link .icon { transform: translateX(3px); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p { margin-bottom: 1rem; color: var(--text); line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.about-stat { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; font-weight: 500; color: var(--gray-700); }
.about-stat-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--primary-50); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-stat-icon svg { width: 20px; height: 20px; color: var(--primary-700); }

.about-images { position: relative; }
.about-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: 280px; object-fit: cover; }
.about-img-2 { margin-top: -6rem; margin-left: 3rem; width: calc(100% - 3rem); border: 6px solid var(--white); }

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
  background: var(--primary-800);
  padding: 3.5rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-300);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--primary-100); margin-top: 0.5rem; }

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-img { position: relative; height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,47,46,0.5), transparent); }
.service-img-icon {
  position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 2;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.service-img-icon svg { width: 20px; height: 20px; color: var(--primary-700); }

.service-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; transition: color var(--t-fast); }
.service-card:hover .service-body h3 { color: var(--primary-700); }
.service-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.75rem; flex: 1; }
.service-link {
  font-size: 0.85rem; font-weight: 600; color: var(--primary-700);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.service-link .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service-card:hover .service-link .icon { transform: translateX(3px); }

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-timeline::before {
  content: '';
  position: absolute; top: 2rem; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--gray-200);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-number {
  width: 4rem; height: 4rem;
  background: var(--white);
  border: 3px solid var(--primary-700);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  margin: 0 auto 1.25rem;
  transition: all var(--t-base);
}
.process-step:hover .process-number { background: var(--primary-700); color: var(--white); transform: scale(1.05); }
.process-content h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.process-content p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; padding: 0 0.5rem; }

/* ============================================
   FACILITIES
   ============================================ */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--t-base);
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.facility-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.facility-card:hover img { transform: scale(1.05); }
.facility-body { padding: 1.5rem; }
.facility-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.facility-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}
.testimonial-card > * {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-stars { font-size: 1.25rem; color: var(--accent-400); letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-text {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-author div { text-align: left; }
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-light); }

.testimonial-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-700);
  transition: all var(--t-base);
  z-index: 5;
}
.testimonial-arrow:hover { background: var(--primary-50); transform: translateY(-50%) scale(1.05); }
.testimonial-arrow svg { width: 20px; height: 20px; }
.testimonial-prev { left: 0.5rem; }
.testimonial-next { right: 0.5rem; }

.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.testimonial-dot {
  width: 8px; height: 8px; border-radius: var(--radius-full);
  background: var(--gray-300); transition: all var(--t-base);
  cursor: pointer; border: none; padding: 0;
}
.testimonial-dot.active { width: 28px; background: var(--primary-600); }

/* ============================================
   FAQ
   ============================================ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item.open { border-color: var(--primary-300); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.5rem;
  font-size: 1rem; font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--primary-700); }
.faq-chevron { width: 20px; height: 20px; color: var(--primary-600); transition: transform var(--t-base); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-base), padding var(--t-base);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.15rem; }
.faq-answer p { font-size: 0.92rem; color: var(--text); line-height: 1.7; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { background: var(--primary-800); padding: 2.5rem 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-icon {
  width: 4rem; height: 4rem;
  background: var(--accent-500);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  animation: pulse-glow 3s ease-in-out infinite;
}
.cta-icon svg { width: 32px; height: 32px; color: var(--white); }
.cta-inner h2 { color: var(--white); font-size: 1.5rem; }
.cta-inner p { color: var(--primary-100); margin-top: 0.25rem; }
.cta-phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  transition: color var(--t-fast);
}
.cta-phone:hover { color: var(--accent-300); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--primary-950); color: var(--primary-100); }

.footer-cta { background: var(--primary-700); }
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 2.5rem 1.5rem;
}
.footer-cta h3 { color: var(--white); font-size: 1.5rem; }
.footer-cta p { color: var(--primary-100); margin-top: 0.25rem; }

.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
.logo-footer .logo-name { color: var(--white); }
.logo-badge { background: var(--primary-600); }
.footer-desc { font-size: 0.88rem; color: var(--primary-200); line-height: 1.7; margin-top: 1rem; }

.footer-col h4 { color: var(--white); font-size: 1rem; font-family: var(--font-sans); margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: var(--primary-200); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--accent-300); }

.footer-contact li { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--primary-200); margin-bottom: 0.85rem; line-height: 1.6; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent-400); flex-shrink: 0; margin-top: 2px; }

.footer-map-links { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.footer-map-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--primary-800);
  border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--primary-100);
  transition: background var(--t-fast);
}
.footer-map-link:hover { background: var(--primary-700); }
.footer-map-link .icon { width: 18px; height: 18px; color: var(--accent-400); }
.footer-sub-heading { color: var(--primary-300); font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-note { font-size: 0.82rem; color: var(--primary-200); }

.footer-bottom { border-top: 1px solid var(--primary-800); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--primary-300); }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-200);
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--accent-500); color: var(--white); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 3rem; height: 3rem;
  background: var(--primary-700);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-base);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-800); transform: scale(1.1); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 340px;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,118,110,0.92), rgba(4,47,46,0.88)); }
.page-hero-content { position: relative; z-index: 2; padding-top: 4rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { color: var(--primary-50); font-size: 1.1rem; margin-top: 0.75rem; max-width: 560px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-timeline::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .topbar { display: none; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-xl);
    transition: right var(--t-base);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { padding: 0.85rem 1rem; font-size: 1rem; border-radius: var(--radius-sm); }

  .hamburger { display: flex; z-index: 1001; }

  .nav-actions .btn { display: none; }

  .hero { height: 520px; }
  .hero-content { padding-top: 2rem; }

  .quick-grid { grid-template-columns: 1fr; gap: 1rem; }
  .quick-cards { margin-top: -3rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-2 { margin-left: 0; margin-top: 1rem; width: 100%; }
  .about-stats { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-phone { font-size: 1.75rem; }

  .footer-main { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-cta-inner { flex-direction: column; text-align: center; }

  .testimonial-card > * { padding: 1.75rem 1.25rem; }
  .testimonial-text { font-size: 1rem; }
  .testimonial-arrow { width: 2.25rem; height: 2.25rem; }

  .section { padding: 3rem 0; }
  .hero-arrow { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
