/* ==========================================================================
   Smart Coverage Protect — Global Stylesheet
   Author: Smart Coverage Protect Web Team
   Stack : HTML5 + CSS3 + Bootstrap 5 (grid/nav/carousel) + Vanilla JS
   ========================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  /* Core brand colours */
  --navy-900: #071a30;
  --navy-800: #0b2443;
  --navy-700: #123560;
  --navy-600: #1a4479;

  /* Vibrant accents (each service uses its own) */
  --c-blue: #1d6ff2;
  --c-teal: #0fb9a5;
  --c-green: #16a34a;
  --c-amber: #f59e0b;
  --c-coral: #ef476f;
  --c-violet: #7c4dff;
  --c-cyan: #22b8f0;
  --c-pink: #e5449b;

  /* Neutrals */
  --ink: #10233a;
  --body: #55657a;
  --muted: #8395aa;
  --line: #e5ecf4;
  --light: #f4f8fd;
  --white: #ffffff;

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(11, 36, 67, 0.06);
  --shadow: 0 14px 40px rgba(11, 36, 67, 0.10);
  --shadow-lg: 0 26px 70px rgba(11, 36, 67, 0.16);
  --grad-brand: linear-gradient(135deg, #0fb9a5 0%, #1d6ff2 55%, #7c4dff 100%);
  --grad-dark: linear-gradient(140deg, #071a30 0%, #0b2443 45%, #123560 100%);
}

/* ---------------------------------------------------------------
   2. Base
   --------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

a { text-decoration: none; transition: all 0.25s ease; }

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

::selection { background: var(--c-teal); color: #fff; }

/* Utility helpers */
.text-brand { color: var(--c-teal) !important; }
.text-navy { color: var(--navy-800) !important; }
.bg-soft { background: var(--light); }
.bg-navy { background: var(--grad-dark); }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow); }
.divider-dot { color: var(--c-teal); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: #b9cadb; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-600); }

/* ---------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------- */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.01em;
}

.btn-brand {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 185, 165, 0.32);
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(29, 111, 242, 0.38);
}

.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-3px); }

.btn-amber {
  background: var(--c-amber);
  color: #1d1503;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover { background: #e08c05; color: #1d1503; transform: translateY(-3px); }

.btn-outline-brand {
  border-color: var(--c-teal);
  color: var(--c-teal);
  background: transparent;
}
.btn-outline-brand:hover { background: var(--c-teal); color: #fff; transform: translateY(-3px); }

.btn-outline-navy {
  border-color: rgba(11, 36, 67, 0.25);
  color: var(--navy-800);
  background: #fff;
}
.btn-outline-navy:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }

.btn-light-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-light-outline:hover { background: #fff; color: var(--navy-800); }

.btn-sm-pill { padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-lg-pill { padding: 0.95rem 2.1rem; font-size: 1.05rem; }

.btn-link-arrow {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}
.btn-link-arrow:hover { color: var(--c-teal); gap: 0.75rem; }

/* ---------------------------------------------------------------
   4. Top bar
   --------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: var(--c-teal); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.45rem; margin-right: 1.35rem; }
.topbar .tb-item:last-child { margin-right: 0; }
.topbar svg { flex: 0 0 auto; opacity: 0.9; }

/* ---------------------------------------------------------------
   5. Navbar
   --------------------------------------------------------------- */
.main-nav {
  background: #fff;
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(11, 36, 67, 0.05);
  transition: all 0.3s ease;
  z-index: 1030;
}
.main-nav.is-stuck {
  padding: 0.5rem 0;
  box-shadow: 0 10px 34px rgba(11, 36, 67, 0.12);
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(29, 111, 242, 0.28);
  flex: 0 0 auto;
}
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy-800);
  display: block;
}
.brand-name span { color: var(--c-teal); }
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.main-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-800) !important;
  padding: 0.55rem 0.95rem !important;
  font-size: 0.97rem;
  position: relative;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.2rem;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 2px;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--c-teal) !important; }

.dropdown-menu {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  margin-top: 0.6rem !important;
  min-width: 250px;
}
.dropdown-item {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dropdown-item:hover, .dropdown-item:focus { background: var(--light); color: var(--c-blue); }
.dropdown-item .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }

.navbar-toggler { border: 0; padding: 0.35rem 0.5rem; box-shadow: none !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230b2443' stroke-width='2.4' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    padding: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-cta { margin-top: 0.5rem; width: 100%; }
}

/* ---------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(15, 185, 165, 0.35), transparent 65%);
  top: -180px; right: -120px;
}
.hero::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.30), transparent 65%);
  bottom: -200px; left: -140px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2ee6c5, #6fb6ff 60%, #c7a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 1.09rem; color: rgba(255, 255, 255, 0.78); max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: rgba(15, 185, 165, 0.12);
  border: 1px solid rgba(15, 185, 165, 0.28);
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.eyebrow.on-light { background: rgba(29, 111, 242, 0.08); border-color: rgba(29, 111, 242, 0.2); color: var(--c-blue); }
.eyebrow.on-navy { color: #7ff0dc; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid rgba(255, 255, 255, 0.09);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1.05rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.float-card strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.float-card span { font-size: 0.76rem; color: var(--muted); font-family: var(--font-body); }
.fc-1 { left: -22px; top: 16%; }
.fc-2 { right: -18px; bottom: 12%; animation-delay: 1.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 991.98px) {
  .fc-1 { left: 6px; top: 10px; }
  .fc-2 { right: 6px; bottom: 10px; }
}

.hero-mini-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.1rem; }
.hero-mini-stats .hms strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-mini-stats .hms span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  background: var(--grad-dark);
  padding: 74px 0 68px;
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 85% 10%, rgba(15, 185, 165, 0.28), transparent 70%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 0.6rem; }
.page-banner p { max-width: 700px; margin: 0 auto; color: rgba(255, 255, 255, 0.75); }
.page-banner .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
}
.page-banner .breadcrumb a { color: var(--c-teal); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.45); }
.page-banner .breadcrumb .active { color: rgba(255, 255, 255, 0.65); }

/* ---------------------------------------------------------------
   7. Trust strip
   --------------------------------------------------------------- */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-item {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}
.trust-item svg { color: var(--c-teal); }

/* ---------------------------------------------------------------
   8. Section headings
   --------------------------------------------------------------- */
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.text-start { margin-left: 0; }
.section-head p { color: var(--body); margin-bottom: 0; }
.section-head h2 { margin-bottom: 0.85rem; }

/* ---------------------------------------------------------------
   9. Service cards
   --------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent, var(--c-teal));
  opacity: 0.9;
  z-index: 3;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-media { position: relative; overflow: hidden; }
.service-media img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-media img { transform: scale(1.07); }
.service-badge {
  position: absolute;
  top: 188px; left: 22px;          /* overlaps the bottom edge of the 215px image */
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--accent, var(--c-teal));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 36, 67, 0.22);
  border: 3px solid #fff;
  z-index: 4;
}
.service-body {
  padding: 2.2rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-body h3 { font-size: 1.22rem; margin-bottom: 0.55rem; }
.service-body p { font-size: 0.95rem; margin-bottom: 1.1rem; }
.service-list { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.service-list li {
  font-size: 0.88rem;
  color: var(--body);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}
.service-list svg { color: var(--accent, var(--c-teal)); margin-top: 5px; flex: 0 0 auto; }
.service-body .btn { margin-top: auto; align-self: flex-start; }

/* accent variants */
.accent-blue   { --accent: var(--c-blue); }
.accent-teal   { --accent: var(--c-teal); }
.accent-green  { --accent: var(--c-green); }
.accent-amber  { --accent: var(--c-amber); }
.accent-coral  { --accent: var(--c-coral); }
.accent-violet { --accent: var(--c-violet); }
.accent-cyan   { --accent: var(--c-cyan); }
.accent-pink   { --accent: var(--c-pink); }

.btn-accent {
  background: var(--accent, var(--c-teal));
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 36, 67, 0.16);
}
.btn-accent:hover { color: #fff; transform: translateY(-3px); filter: saturate(1.15) brightness(0.95); }

/* ---------------------------------------------------------------
   10. Feature / icon boxes
   --------------------------------------------------------------- */
.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.icon-badge {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 1.1rem;
  background: var(--accent, var(--c-blue));
  box-shadow: 0 12px 24px rgba(11, 36, 67, 0.14);
}
.feature-box h4 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.93rem; margin: 0; }

/* Dark panel variant */
.feature-box.on-navy {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}
.feature-box.on-navy h4 { color: #fff; }
.feature-box.on-navy p { color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------
   11. Steps
   --------------------------------------------------------------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem 1.6rem;
  height: 100%;
  transition: all 0.3s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step-num {
  position: absolute;
  top: -20px; left: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--accent, var(--c-blue));
  box-shadow: 0 12px 22px rgba(11, 36, 67, 0.18);
}
.step-card h4 { font-size: 1.06rem; margin: 0.4rem 0 0.5rem; }
.step-card p { font-size: 0.92rem; margin: 0; }

/* ---------------------------------------------------------------
   12. Stats band
   --------------------------------------------------------------- */
.stats-band { background: var(--grad-dark); position: relative; overflow: hidden; }
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 15% 20%, rgba(15, 185, 165, 0.28), transparent 70%),
              radial-gradient(600px 260px at 85% 90%, rgba(124, 77, 255, 0.24), transparent 70%);
}
.stats-band .container { position: relative; z-index: 2; }
.stat-item { text-align: center; padding: 0.6rem 0.4rem; }
.stat-item .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-item .num small { font-size: 0.55em; }
.stat-item .lbl {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}
.stat-sep { border-right: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 767.98px) { .stat-sep { border-right: 0; } }

/* ---------------------------------------------------------------
   13. Testimonials
   --------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  height: 100%;
  border-top: 5px solid var(--accent, var(--c-blue));
}
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent, var(--c-blue));
  opacity: 0.28;
  display: block;
  margin-bottom: 0.6rem;
}
.testimonial-card p { font-size: 0.97rem; color: var(--body); font-style: italic; }
.stars { color: var(--c-amber); letter-spacing: 2px; margin-bottom: 0.7rem; font-size: 0.95rem; }
.testimonial-name {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy-800);
  font-size: 1.02rem;
  margin: 0;
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 50px; height: 50px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: var(--shadow);
}
#testimonialCarousel .carousel-control-prev { left: -12px; }
#testimonialCarousel .carousel-control-next { right: -12px; }
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon { filter: invert(1) grayscale(1) brightness(0.35); width: 1.05rem; height: 1.05rem; }
#testimonialCarousel .carousel-control-prev:hover { background: var(--c-teal); }
#testimonialCarousel .carousel-control-next:hover { background: var(--c-teal); }
#testimonialCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon { filter: invert(1); }
@media (max-width: 991.98px) {
  #testimonialCarousel .carousel-control-prev { left: 0; }
  #testimonialCarousel .carousel-control-next { right: 0; }
}

/* ---------------------------------------------------------------
   14. Blog cards
   --------------------------------------------------------------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card .blog-media { overflow: hidden; }
.blog-card .blog-media img {
  width: 100%; height: 210px; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-card .blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card h3 { font-size: 1.16rem; line-height: 1.4; margin-bottom: 0.65rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--c-blue); }
.blog-card p { font-size: 0.93rem; margin-bottom: 1.1rem; }
.blog-card .btn-link-arrow { margin-top: auto; }
.blog-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, var(--c-blue));
  background: color-mix(in srgb, var(--accent, var(--c-blue)) 12%, #fff);
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

/* Featured post on blog page */
.featured-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-post img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.featured-post .fp-body { padding: 2.4rem; }

/* ---------------------------------------------------------------
   15. Article / legal typography
   --------------------------------------------------------------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.article-body { font-size: 1.05rem; }
.article-body h2 {
  font-size: 1.6rem;
  margin: 2.4rem 0 1rem;
  padding-left: 1rem;
  border-left: 5px solid var(--c-teal);
  border-radius: 3px;
}
.article-body h3 { font-size: 1.22rem; margin: 1.8rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.1rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  background: var(--light);
  border-left: 5px solid var(--c-blue);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  font-style: italic;
  color: var(--navy-700);
  margin: 1.8rem 0;
}
.article-body .callout {
  background: #effaf7;
  border: 1px solid rgba(15, 185, 165, 0.3);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1.9rem 0;
}
.article-body .callout h4 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--navy-800); }
.article-body .callout ul { margin-bottom: 0; }
.article-body img { border-radius: var(--radius); }
.article-cta {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3rem;
}
.article-cta h3 { color: #fff; }

.share-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.share-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--light); color: var(--navy-800);
  border: 1px solid var(--line);
}
.share-btn:hover { background: var(--c-teal); color: #fff; border-color: transparent; transform: translateY(-3px); }

.legal-body h2 { font-size: 1.45rem; }
.legal-body h3 { font-size: 1.1rem; }
.legal-toc {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  position: sticky;
  top: 120px;
}
.legal-toc h5 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; }
.legal-toc a { color: var(--navy-700); }
.legal-toc a:hover { color: var(--c-teal); }

/* ---------------------------------------------------------------
   16. Forms
   --------------------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  color: var(--ink);
  background-color: #fbfdff;
  transition: all 0.22s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(15, 185, 165, 0.14);
  background-color: #fff;
}
.form-control::placeholder { color: #a9b8c9; }
.form-check-input:checked { background-color: var(--c-teal); border-color: var(--c-teal); }
.invalid-feedback { font-size: 0.82rem; }

.form-note { font-size: 0.84rem; color: var(--muted); }
.form-status {
  display: none;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.93rem;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.form-status.show { display: flex; align-items: center; gap: 0.6rem; animation: fadeUp 0.4s ease; }
.form-status.success { background: #e9f9f3; color: #0a7a5f; border: 1px solid rgba(15, 185, 165, 0.35); }
.form-status.error { background: #fdecef; color: #b3123c; border: 1px solid rgba(239, 71, 111, 0.32); }

/* Contact info cards */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon-badge { margin: 0 auto 1rem; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.contact-card p, .contact-card a { font-size: 0.94rem; margin: 0; color: var(--body); }
.contact-card a:hover { color: var(--c-teal); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; filter: saturate(1.05); }

/* FAQ accordion */
.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1rem;
  background: #fff;
  padding: 1.15rem 1.3rem;
}
.accordion-button:not(.collapsed) { background: var(--light); color: var(--c-blue); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 4px rgba(15, 185, 165, 0.12); border-color: transparent; }
.accordion-body { font-size: 0.95rem; padding-top: 0.4rem; }

/* ---------------------------------------------------------------
   17. Newsletter page
   --------------------------------------------------------------- */
.news-tabs { border: 0; gap: 0.6rem; justify-content: center; margin-bottom: 2rem; }
.news-tabs .nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
}
.news-tabs .nav-link.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(29, 111, 242, 0.28);
}
.perk-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.perk-item .pi-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
  background: var(--accent, var(--c-teal));
  color: #fff;
}
.perk-item h5 { font-size: 1rem; margin-bottom: 0.2rem; }
.perk-item p { font-size: 0.9rem; margin: 0; }

/* ---------------------------------------------------------------
   18. CTA band
   --------------------------------------------------------------- */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  right: -110px; top: -140px;
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }
.cta-band .container, .cta-band .relative { position: relative; z-index: 2; }

/* ---------------------------------------------------------------
   19. Footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.66);
  padding: 70px 0 0;
  font-size: 0.94rem;
}
.site-footer h5 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: var(--grad-brand);
  border-radius: 3px;
}
.site-footer a { color: rgba(255, 255, 255, 0.66); }
.site-footer a:hover { color: var(--c-teal); padding-left: 4px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}
.footer-contact svg { color: var(--c-teal); flex: 0 0 auto; margin-top: 4px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.5); }
.social-row { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-row a:hover { background: var(--grad-brand); padding-left: 0; transform: translateY(-3px); color: #fff; }

.footer-news .form-control {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 12px 0 0 12px;
}
.footer-news .form-control::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer-news .form-control:focus { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: var(--c-teal); box-shadow: none; }
.footer-news .btn { border-radius: 0 12px 12px 0; }
.footer-news .form-status { margin-bottom: 0.8rem; font-size: 0.86rem; }
.footer-news .form-status.success { background: rgba(15, 185, 165, 0.15); color: #7ff0dc; border-color: rgba(15, 185, 165, 0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 56px;
  padding: 1.4rem 0;
  font-size: 0.87rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.66); }
.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.1rem 0 0;
  margin-top: 1rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   20. Floating helpers
   --------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

.sticky-quote {
  position: fixed;
  left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 1035;
}
.sticky-quote a {
  writing-mode: vertical-rl;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 1.1rem 0.65rem;
  border-radius: 0 12px 12px 0;
  display: block;
}
.sticky-quote a:hover { background: var(--c-teal); }
@media (max-width: 1199.98px) { .sticky-quote { display: none; } }

/* Toast */
.toast-stack {
  position: fixed;
  top: 100px; right: 22px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.mini-toast {
  background: #fff;
  border-left: 5px solid var(--c-teal);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: fadeUp 0.35s ease;
  max-width: 340px;
}
.mini-toast.err { border-left-color: var(--c-coral); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
/* Content is visible by default; the hide-then-reveal animation only runs
   when JavaScript is available (html.js), so nothing can ever be stuck hidden. */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------
   21. Misc components
   --------------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
}
.check-list svg { color: var(--c-teal); flex: 0 0 auto; margin-top: 5px; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-frame img { width: 100%; display: block; object-fit: cover; }

.img-stack { position: relative; }
.img-stack .badge-float {
  position: absolute;
  bottom: -22px; right: -14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  text-align: center;
}
.img-stack .badge-float strong { display: block; font-size: 1.6rem; color: var(--c-teal); line-height: 1; }
.img-stack .badge-float span { font-size: 0.78rem; color: var(--muted); }

.value-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.7rem 1.4rem;
  height: 100%;
  border-bottom: 4px solid var(--accent, var(--c-teal));
  transition: all 0.3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; margin: 0; }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-teal), var(--c-violet));
  opacity: 0.45;
}
.timeline-item { position: relative; margin-bottom: 1.8rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--c-teal);
}
.timeline-item h5 { font-size: 1.03rem; margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.93rem; margin: 0; }
.timeline-item .yr {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--c-blue);
  letter-spacing: 0.08em;
}

.service-detail-row { padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-detail-row:last-child { border-bottom: 0; }
.service-detail-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.service-detail-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--accent, var(--c-teal));
  margin-bottom: 1rem;
  box-shadow: 0 14px 26px rgba(11, 36, 67, 0.16);
}
.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  background: var(--light);
  border: 1px dashed var(--line);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.price-chip span { color: var(--c-teal); font-size: 1.15rem; }

.badge-soft {
  background: #effaf7;
  color: #0a7a5f;
  border: 1px solid rgba(15, 185, 165, 0.3);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .section { padding: 66px 0; }
  .hero { padding: 62px 0 80px; }
  .cta-band { padding: 2.2rem; }
  .form-card { padding: 1.7rem; }
  .featured-post .fp-body { padding: 1.8rem; }
  .article-hero img { height: 260px; }
  .legal-toc { position: static; margin-bottom: 2rem; }
}
@media (max-width: 575.98px) {
  .topbar .tb-item { margin-right: 0.9rem; font-size: 0.8rem; }
  .hero-mini-stats { gap: 1.1rem; }
  .cta-band { padding: 1.7rem; }
  .section-head { margin-bottom: 2.1rem; }
}
