/* ==========================================================================
   JASLOK HOSPITAL & TRAUMA CENTRE, RANCHI
   Main stylesheet
   --------------------------------------------------------------------------
   Palette
   --primary   : Medical Blue (#0b6cab)
   --primary-dark  (#084f7e)
   --accent    : Light Cyan (#e8f7fd)
   --soft       : Soft Grey (#f4f8fb)
   --ink        : Deep navy text (#0d2f44)
   Custom Bootstrap 5 overrides + shared components
   ========================================================================== */

:root {
  --primary: #0b6cab;
  --primary-dark: #084a7a;
  --primary-darker: #063a61;
  --cyan-soft: #e6f6fd;
  --cyan-mid: #7fd3f2;
  --soft: #f4f8fb;
  --ink: #0d2f44;
  --grey: #5a7480;
  --line: #e2ecf2;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(11, 108, 171, 0.08);
  --shadow-md: 0 14px 40px rgba(11, 108, 171, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 58, 97, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. BASE
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover { color: var(--primary-darker); }

img { max-width: 100%; height: auto; }

.section {
  padding: 96px 0;
  position: relative;
}
.section--soft { background: var(--soft); }
.section--cyan  { background: var(--cyan-soft); }

.container, .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
}
.container {
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   2. REUSABLE COMPONENTS
   ========================================================================== */

/* Eyebrow / section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan-mid);
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  margin: 14px 0 16px;
}
.section-sub {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* Buttons */
.btn {
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 60px;
  padding: 0.7rem 1.6rem;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  border: none;
  box-shadow: 0 12px 26px rgba(11, 108, 171, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 108, 171, 0.36);
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }

.btn-arrow { display: inline-flex; align-items: center; gap: 8px; }
.btn-arrow i { transition: transform 0.3s; }
.btn-arrow:hover i { transform: translateX(5px); }

/* Glass card ? light glass effect */
.glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   3. TOP INFORMATION BAR
   ========================================================================== */
.topbar {
  background: var(--primary-darker);
  color: #dceaf5;
  font-size: 0.84rem;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--cyan-mid); }
.topbar .row { min-height: 42px; }
.topbar i { color: var(--cyan-mid); margin-right: 6px; }
.topbar .sep { color: rgba(255,255,255,0.35); margin: 0 10px; }

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 4px 20px rgba(6, 58, 97, 0.08);
}
.navbar { padding: 0.8rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-text span { font-size: 0.72rem; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; font-weight: 600; }

/* Navbar links */
.navbar-nav { gap: 0.4rem; }
.navbar .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: 0.55rem 0.85rem !important;
  font-size: 0.95rem;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem; bottom: 0.3rem;
  width: 0; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: calc(100% - 1.7rem); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }

/* Dropdown / Mega menu */
.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 0.75rem;
  margin-top: 0.6rem;
  min-width: 420px;
}
.navbar .dropdown-item {
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar .dropdown-item i { color: var(--primary); font-size: 1.05rem; width: 22px; }
.navbar .dropdown-item:hover { background: var(--cyan-soft); color: var(--primary); }
.navbar .dropdown-menu h6 { padding: 0.5rem 0.75rem 0.35rem; font-size: 0.72rem; letter-spacing: 1.5px; color: var(--grey); text-transform: uppercase; }

/* Navbar CTA ? emergency */
.nav-emergency {
  display: flex; align-items: center; gap: 12px;
  background: var(--cyan-soft);
  padding: 0.5rem 1rem;
  border-radius: 60px;
}
.nav-emergency .pulse { width: 44px; height: 44px; flex: 0 0 44px; }
.nav-emergency small { display: block; color: var(--grey); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.nav-emergency strong { color: var(--primary-darker); font-size: 0.98rem; }

/* Navbar ERP login button */
.nav-erp {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--primary); color: #fff !important;
  border-radius: 50rem;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.nav-erp:hover { background: var(--primary-dark); color: #fff !important; }
.nav-erp::after { display: none !important; }

.navbar-toggler { border: none; color: var(--primary); font-size: 1.6rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .navbar .dropdown-menu { min-width: 0; box-shadow: none; background: var(--soft); margin-top: 0.3rem; }
  .nav-emergency { margin: 0.5rem 0; justify-content: center; }
  .navbar-nav { padding: 0.5rem 0; }
}

/* ==========================================================================
   5. HERO SLIDER
   ========================================================================== */
.hero { position: relative; }
.hero .carousel-item { min-height: 640px; position: relative; }
.hero .carousel-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(6,58,97,0.86) 0%, rgba(11,108,171,0.62) 45%, rgba(11,108,171,0.15) 100%);
  z-index: 1;
}
.hero .carousel-caption {
  left: 0; right: 0; bottom: auto; top: 0;
  padding: 0;
  width: 100%;
  z-index: 2;
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  color: #dff3ff;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 24px 0 18px;
  max-width: 640px;
}
.hero-title .accent { color: var(--cyan-mid); }
.hero-text {
  color: #d9ecf8;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero slide contents animate on show */
.hero .carousel-caption > * { opacity: 0; transform: translateY(24px); }
.hero .carousel-item.active .carousel-caption > * { animation: heroUp 0.8s ease forwards; }
.hero .carousel-item.active .carousel-caption > *:nth-child(1) { animation-delay: 0.1s; }
.hero .carousel-item.active .carousel-caption > *:nth-child(2) { animation-delay: 0.25s; }
.hero .carousel-item.active .carousel-caption > *:nth-child(3) { animation-delay: 0.4s; }
.hero .carousel-item.active .carousel-caption > *:nth-child(4) { animation-delay: 0.55s; }
@keyframes heroUp {
  to { opacity: 1; transform: none; }
}

.hero .carousel-indicators { z-index: 3; bottom: 34px; }
.hero .carousel-indicators [data-bs-target] {
  width: 34px; height: 5px; border-radius: 4px; border: none;
  background: rgba(255,255,255,0.5); opacity: 1;
}
.hero .carousel-indicators .active { background: var(--cyan-mid); width: 48px; }

.hero .carousel-control-prev, .hero .carousel-control-next {
  width: 56px; height: 56px; top: 50%; transform: translateY(-50%);
  border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  margin: 0 24px; opacity: 1; backdrop-filter: blur(6px);
  z-index: 3;
}
.hero .carousel-control-prev { left: 0; }
.hero .carousel-control-next { right: 0; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { background: rgba(255,255,255,0.28); }

@media (max-width: 767.98px) {
  .hero .carousel-item, .hero .carousel-caption { min-height: 520px; }
  .hero-title { font-size: 2rem; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}

/* ==========================================================================
   6. EMERGENCY CONTACT BAR (below hero)
   ========================================================================== */
.emergency-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  margin-top: -58px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.emergency-bar .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center; font-size: 1.5rem; color: var(--cyan-mid);
}
.emergency-bar h5 { color: #fff; font-size: 1rem; letter-spacing: 0.5px; text-transform: uppercase; }
.emergency-bar strong { font-size: 1.35rem; color: #fff; }
.emergency-bar p { margin: 0; color: #d3e9f6; font-size: 0.85rem; }

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.about-media { position: relative; }
.about-media .main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about-media .accent-img {
  position: absolute; right: -30px; bottom: -30px;
  width: 46%; border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute; left: -24px; top: 32px;
  background: #fff;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.about-badge i {
  font-size: 2rem; color: var(--primary);
  background: var(--cyan-soft); padding: 12px; border-radius: 12px;
}
.about-badge strong { font-size: 1.4rem; display: block; color: var(--ink); }
.about-badge span { color: var(--grey); font-size: 0.82rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; font-weight: 500;
}
.check-list li i {
  color: var(--primary); margin-top: 3px;
  background: var(--cyan-soft); padding: 6px; border-radius: 50%;
}

/* ==========================================================================
   8. DEPARTMENTS CARDS
   ========================================================================== */
.dept-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.dept-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.dept-card:hover::before { transform: scaleX(1); }
.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dept-icon {
  width: 62px; height: 62px; border-radius: 16px;
  background: var(--cyan-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 1.7rem;
  margin-bottom: 22px; transition: var(--transition);
}
.dept-card:hover .dept-icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.dept-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.dept-card p { color: var(--grey); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.dept-card .more { font-size: 0.88rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.dept-card .more i { transition: transform 0.3s; }
.dept-card:hover .more i { transform: translateX(5px); }

/* ==========================================================================
   9. FACILITIES / SERVICE ICON CARDS
   ========================================================================== */
.card--icon {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.card--icon:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.card--icon .ci-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 16px; background: var(--cyan-soft); color: var(--primary);
  font-size: 1.6rem; display: grid; place-items: center;
}
.card--icon h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card--icon p { color: var(--grey); font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ==========================================================================
   10. WHY CHOOSE US
   ========================================================================== */
.why-item { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); transition: var(--transition); }
.why-item:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateX(6px); }
.why-index {
  font-size: 1.3rem; font-weight: 700; color: var(--cyan-mid);
  border: 1.5px solid var(--cyan-mid); width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 12px; display: grid; place-items: center;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { color: var(--grey); margin: 0; font-size: 0.95rem; line-height: 1.7; }
.why-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ==========================================================================
   11. STATISTICS
   ========================================================================== */
.stats {
  background: linear-gradient(120deg, var(--primary-darker), var(--primary));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before { /* soft radial glow */
  content: "";
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  top: -160px; right: -120px;
}
.stat { text-align: center; color: #fff; }
.stat i { font-size: 2rem; color: var(--cyan-mid); margin-bottom: 14px; display: inline-block; }
.stat .num { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stat .lbl { margin-top: 8px; opacity: 0.85; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; }

/* ==========================================================================
   12. GALLERY PREVIEW / FULL
   ========================================================================== */
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.g-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.7s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,58,97,0.85), transparent 60%);
  opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 20px;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay .tag { color: #fff; font-weight: 600; }
.g-overlay i { color: #fff; margin-left: auto; font-size: 1.2rem; }

/* Masonry */
.masonry { columns: 3; column-gap: 20px; }
.masonry .g-item { margin-bottom: 20px; break-inside: avoid; }
.masonry .g-item img { height: auto; }

@media (max-width: 991.98px) { .gallery-grid, .masonry { columns: 2; grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .gallery-grid, .masonry { columns: 1; grid-template-columns: 1fr; } }

/* Gallery pagination */
.gallery-page { display: none; }
.gallery-page.active { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.gallery-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 2.5rem; }
.gallery-pagination button {
  min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.gallery-pagination button i { font-size: 0.85rem; }
.gallery-pagination button:hover { border-color: var(--primary); color: var(--primary); }
.gallery-pagination button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.gallery-page .g-item { display: block; cursor: pointer; }
@media (max-width: 991.98px) { .gallery-page.active { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .gallery-page.active { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox-body { background: rgba(6,20,32,0.96); }
.lightbox-body .modal-content { background: transparent; border: none; }
.lightbox-body img { border-radius: 10px; margin: 0 auto; display: block; max-height: 80vh; }
.lightbox-caption { text-align: center; color: #fff; padding-top: 16px; font-weight: 500; }

/* ==========================================================================
   13. NEWS / BLOG CARDS
   ========================================================================== */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.news-media { position: relative; overflow: hidden; }
.news-media img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.7s; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-date {
  position: absolute; left: 16px; top: 16px;
  background: #fff; border-radius: 12px; text-align: center; padding: 6px 12px; box-shadow: var(--shadow-sm);
}
.news-date strong { display: block; color: var(--primary); font-size: 1.15rem; line-height: 1; }
.news-date span { font-size: 0.72rem; color: var(--grey); text-transform: uppercase; }
.news-body { padding: 22px; }
.news-body h3 { font-size: 1.05rem; line-height: 1.45; }
.news-body p { color: var(--grey); font-size: 0.92rem; line-height: 1.7; }
.news-meta { color: var(--grey); font-size: 0.78rem; display: flex; gap: 16px; margin-bottom: 10px; }
.news-meta i { color: var(--primary); margin-right: 4px; }

/* ==========================================================================
   14. GOOGLE MAP / CONTACT
   ========================================================================== */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--soft); }
.map-wrap iframe { display: block; width: 100%; height: 460px; min-height: 340px; border: 0; }
@media (max-width: 767.98px) { .map-wrap iframe { height: 340px; } }
.map-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }

.contact-item { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: var(--transition); }
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-item .ci-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px;
  background: var(--cyan-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.4rem;
}
.contact-item h5 { font-size: 1rem; margin-bottom: 6px; }
.contact-item p { margin: 0; color: var(--grey); line-height: 1.6; }

/* Contact / enquiry form */
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--line);
  padding: 0.75rem 1rem; color: var(--ink);
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 0.25rem rgba(11,108,171,0.12); }
.form-label { font-weight: 600; font-size: 0.9rem; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer { background: var(--primary-darker); color: #cfe2f0; }
.footer-top { padding: 72px 0 40px; }
.footer-brand p { color: #bcd3e3; line-height: 1.8; margin: 18px 0 22px; }
.footer-head {
  color: #fff; font-size: 1rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.footer-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--cyan-mid); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bcd3e3; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.footer-links a:hover { color: var(--cyan-mid); padding-left: 4px; }
.footer-links i { font-size: 0.7rem; color: var(--cyan-mid); }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact i { color: var(--cyan-mid); font-size: 1.05rem; margin-top: 3px; }
.footer-contact p { margin: 0; color: #bcd3e3; line-height: 1.6; }

.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center; font-size: 1.05rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--cyan-mid); color: var(--primary-darker); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 0.88rem; color: #a9c4d6; }
.footer-bottom .legal a { color: #a9c4d6; margin-left: 18px; }
.footer-bottom .legal a:hover { color: var(--cyan-mid); }

/* ==========================================================================
   16. FLOATING BUTTONS
   ========================================================================== */
.float-whatsapp {
  position: fixed; left: 22px; bottom: 22px; z-index: 1050;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.7rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.4);
  animation: pulse 2.2s infinite;
}
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4);} 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff; font-size: 1.2rem; border: none;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-4px); color: #fff; }

/* ==========================================================================
   18. PAGE HEADER (interior pages)
   ========================================================================== */
.page-header {
  position: relative;
  padding: 110px 0 90px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary-darker), var(--primary));
}
.page-header .ph-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 40%);
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 18px 0 14px; }
.page-header p { color: #d3e9f6; max-width: 620px; line-height: 1.8; margin: 0; }
.breadcrumb { margin: 0; }
.breadcrumb-item a, .breadcrumb-item.active { color: #c7e2f2; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ==========================================================================
   19. CONTENT / PROSE (policy pages)
   ========================================================================== */
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.content-card h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--grey); line-height: 1.9; font-weight: 400; }
.content-card ul { padding-left: 1.2rem; }
.content-card ul li { margin-bottom: 10px; }

/* Accordion */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: 14px; }
.accordion-button { font-weight: 600; color: var(--ink); padding: 1.1rem 1.4rem; }
.accordion-button:not(.collapsed) { background: var(--cyan-soft); color: var(--primary); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--grey); line-height: 1.8; padding: 1.2rem 1.4rem; }

/* Feature list rows */
.feature-row { align-items: center; gap: 30px; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* Placeholder / editable reminder blocks */
.tip-note {
  background: var(--cyan-soft);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--primary-darker);
  font-size: 0.9rem;
  margin: 20px 0;
}
.tip-note i { margin-right: 8px; }

/* ==========================================================================
   20. MISC UTILITIES
   ========================================================================== */
.text-primary-c { color: var(--primary); }
.bg-gradient-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}