/* ============================================================
   Insure Solution Plan — Main Stylesheet
   HTML + CSS + JS + Bootstrap 5
   ============================================================ */

:root {
  --navy-950: #050F26;
  --navy-900: #071A3A;
  --navy-800: #0A2450;
  --navy-700: #10306B;
  --blue:     #1E6FEB;
  --blue-600: #1259C9;
  --teal:     #00B4C7;
  --teal-600: #0092A6;
  --emerald:  #10B981;
  --amber:    #F5A524;
  --coral:    #EE4B5F;
  --violet:   #7C6CF6;
  --ink:      #12224E;
  --body-c:   #55617D;
  --muted:    #8A94AD;
  --bg-soft:  #F5F8FD;
  --line:     #E4E9F4;
  --white:    #FFFFFF;
  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--blue) 100%);
  --grad-navy:  linear-gradient(135deg, #0A2450 0%, #10306B 55%, #0B4F86 100%);
  --shadow-sm: 0 4px 14px rgba(10, 36, 80, .08);
  --shadow-md: 0 10px 30px rgba(10, 36, 80, .12);
  --shadow-lg: 0 24px 60px rgba(7, 26, 58, .18);
  --radius:   18px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--body-c);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; }

a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; }

::selection { background: rgba(0, 180, 199, .25); color: var(--navy-900); }

/* ---------------- Buttons ---------------- */
.btn-cta {
  background: var(--grad-brand);
  border: 0; color: #fff; font-family: var(--font-head);
  font-weight: 600; padding: .8rem 1.7rem; border-radius: 50px;
  box-shadow: 0 10px 24px rgba(0, 148, 190, .35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-cta:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 34px rgba(0, 148, 190, .45); filter: brightness(1.05); }
.btn-cta:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff;
  font-family: var(--font-head); font-weight: 600; padding: .72rem 1.6rem;
  border-radius: 50px; display: inline-flex; align-items: center; gap: .5rem;
  transition: all .25s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-ghost-dark {
  background: transparent; border: 2px solid var(--line); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; padding: .72rem 1.6rem;
  border-radius: 50px; display: inline-flex; align-items: center; gap: .5rem;
  transition: all .25s ease;
}
.btn-ghost-dark:hover { border-color: var(--teal); color: var(--teal-600); background: rgba(0,180,199,.06); }

.btn-amber {
  background: linear-gradient(120deg, #FFC24D, #F58A1F); border: 0; color: #fff;
  font-family: var(--font-head); font-weight: 600; padding: .8rem 1.7rem; border-radius: 50px;
  box-shadow: 0 10px 24px rgba(245, 138, 31, .35);
  display: inline-flex; align-items: center; gap: .55rem; transition: all .25s ease;
}
.btn-amber:hover { color:#fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(245,138,31,.45); }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 92px 0; }
.section-tint { background: var(--bg-soft); }
.section-navy { background: var(--grad-navy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; border-radius: 50px;
  padding: .35rem 1rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow.teal    { color: var(--teal-600);   background: rgba(0,180,199,.12); }
.eyebrow.blue    { color: var(--blue);       background: rgba(30,111,235,.10); }
.eyebrow.emerald { color: #0B9E6E;           background: rgba(16,185,129,.12); }
.eyebrow.amber   { color: #C77E08;           background: rgba(245,165,36,.15); }
.eyebrow.coral   { color: var(--coral);      background: rgba(238,75,95,.10); }
.eyebrow.violet  { color: var(--violet);     background: rgba(124,108,246,.12); }
.eyebrow.light   { color: #9FE9F2;           background: rgba(255,255,255,.1); }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.22; margin-bottom: 1rem; }
.section-sub { max-width: 640px; margin-inline: auto; color: var(--body-c); }
.divider-dot { width: 66px; height: 5px; border-radius: 50px; background: var(--grad-brand); margin: 1.1rem auto 0; }

/* ---------------- Navbar ---------------- */
.isp-navbar {
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; padding: 1rem 0;
  transition: all .3s ease;
}
.isp-navbar.scrolled { padding: .55rem 0; box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.navbar-brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.navbar-brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 6px 14px rgba(0,148,190,.35); }
.brand-teal { color: var(--teal-600); }
.navbar-nav .nav-link {
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
  margin-inline: .15rem; padding: .55rem .85rem; border-radius: 10px; position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--teal-600); background: rgba(0,180,199,.08); }
.navbar-toggler { border: 1px solid var(--line); padding: .5rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(0,180,199,.2); }
.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: .6rem; }
.dropdown-item { border-radius: 9px; font-weight: 500; padding: .5rem .9rem; }
.dropdown-item:hover { background: rgba(0,180,199,.09); color: var(--teal-600); }

/* ---------------- Hero ---------------- */
.hero {
  background: var(--grad-navy);
  position: relative; overflow: hidden; color: #fff;
  padding: 150px 0 170px;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; }
.hero::before { width: 620px; height: 620px; background: radial-gradient(circle, rgba(0,180,199,.35), transparent 65%); top: -180px; right: -140px; }
.hero::after  { width: 520px; height: 520px; background: radial-gradient(circle, rgba(30,111,235,.4), transparent 65%); bottom: -220px; left: -160px; }
.hero .shape-ring { position: absolute; border: 2px solid rgba(255,255,255,.09); border-radius: 50%; }
.hero .ring-1 { width: 340px; height: 340px; top: 12%; left: 44%; }
.hero .ring-2 { width: 180px; height: 180px; bottom: 16%; left: 6%; }

.hero-chip {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .82rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: .45rem 1.1rem; border-radius: 50px; color: #CFEFF4; letter-spacing: .04em;
}
.hero-chip i { color: #FFD166; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.16; }
.hero h1 .accent-teal { color: #4FDCEA; }
.hero h1 .accent-amber { color: #FFC24D; }
.hero p.lead-text { color: #C6D4EA; font-size: 1.08rem; max-width: 560px; }
.hero .btn-cta { padding: .95rem 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.2rem; color: #C6D4EA; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust i { color: #4FDCEA; font-size: 1.05rem; }

.hero-visual { position: relative; }
.hero-frame {
  border-radius: 26px; overflow: hidden; border: 6px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(3, 14, 34, .55); position: relative; z-index: 1;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: .9rem 1.15rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card.fc-1 { top: -26px; left: -34px; }
.float-card.fc-2 { bottom: -24px; right: -20px; animation-delay: 2.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats strip overlapping hero */
.stats-strip { margin-top: -86px; position: relative; z-index: 5; }
.stats-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { text-align: center; padding: .5rem; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); display: block; }
.stat-num b { color: var(--teal-600); }
.stat-label { color: var(--muted); font-size: .86rem; font-weight: 500; }

/* ---------------- Service cards ---------------- */
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-media { position: relative; height: 200px; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-badge {
  position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px;
  border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.22); border: 3px solid #fff;
}
.svc-body { padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.svc-body p { font-size: .92rem; color: var(--body-c); flex: 1; }
.svc-link {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1rem; color: #fff; transition: all .25s ease; margin-top: .4rem;
}
.svc-link:hover { filter: brightness(1.1); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.svc-link i { transition: transform .25s ease; }
.svc-link:hover i { transform: translateX(4px); }

/* accent color helpers */
.acc-blue    { background: linear-gradient(135deg, #2F80FF, #1259C9); }
.acc-emerald { background: linear-gradient(135deg, #22D3A0, #0B9E6E); }
.acc-amber   { background: linear-gradient(135deg, #FFC24D, #F58A1F); }
.acc-coral   { background: linear-gradient(135deg, #FF7B8B, #E23A50); }
.acc-violet  { background: linear-gradient(135deg, #9A8CFF, #6A57F0); }
.acc-teal    { background: linear-gradient(135deg, #22D3E0, #0092A6); }
.acc-navy    { background: linear-gradient(135deg, #3D6FD8, #0A2450); }

/* ---------------- Feature / why choose ---------------- */
.feature-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; height: 100%; transition: all .3s ease; position: relative; overflow: hidden;
}
.feature-tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.feature-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-tile:hover::after { transform: scaleX(1); }
.feature-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-tile h4 { font-size: 1.08rem; margin-bottom: .5rem; }
.feature-tile p { font-size: .92rem; margin: 0; }

/* ---------------- Steps ---------------- */
.step-card { text-align: center; padding: 1.2rem 1rem; position: relative; height: 100%; }
.step-num {
  width: 74px; height: 74px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 800; font-size: 1.5rem; color: #fff; position: relative; z-index: 1;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
.step-card h4 { font-size: 1.05rem; }
.step-card p { font-size: .9rem; }
@media (min-width: 992px) {
  .step-card::after {
    content: ""; position: absolute; top: 49px; left: calc(50% + 52px); width: calc(100% - 104px);
    border-top: 2px dashed #CBD6EA; z-index: 0;
  }
  .step-card:last-child::after { display: none; }
}

/* ---------------- Testimonials ---------------- */
.testi-wrap { position: relative; }
.testi-card {
  background: #fff; border-radius: 22px; padding: 2.2rem 2rem; height: 100%;
  box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--line);
}
.testi-card::before {
  content: "\201C"; position: absolute; top: -6px; right: 26px;
  font-family: Georgia, serif; font-size: 6.2rem; line-height: 1; color: rgba(0,180,199,.16);
}
.testi-stars { color: #FFB43A; margin-bottom: .9rem; letter-spacing: 2px; }
.testi-text { color: var(--body-c); font-size: .98rem; }
.testi-person { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; flex-shrink: 0;
}
.testi-person strong { font-family: var(--font-head); color: var(--ink); display: block; }
.carousel-control-prev, .carousel-control-next { width: 52px; opacity: 1; }
.testi-nav-btn {
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md); border: 0; font-size: 1.2rem;
  transition: all .25s ease;
}
.testi-nav-btn:hover { background: var(--grad-brand); color: #fff; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #B9C6DE; opacity: 1; }
.carousel-indicators .active { background: var(--teal); width: 26px; border-radius: 50px; }

/* ---------------- Blog cards ---------------- */
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-media { height: 210px; overflow: hidden; position: relative; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.45; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--teal-600); }
.blog-body p { font-size: .92rem; flex: 1; }
.read-more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--blue); display: inline-flex; align-items: center; gap: .45rem; }
.read-more:hover { color: var(--teal-600); gap: .7rem; }

/* ---------------- CTA band ---------------- */
.cta-band { border-radius: 26px; overflow: hidden; position: relative; background: var(--grad-navy); padding: 3.2rem 2.6rem; color: #fff; }
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,199,.45), transparent 65%); right: -120px; top: -160px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; }
.cta-band p { color: #C6D4EA; }

/* ---------------- Page banner (inner pages) ---------------- */
.page-banner { background: var(--grad-navy); padding: 150px 0 90px; position: relative; overflow: hidden; color: #fff; }
.page-banner::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,199,.32), transparent 65%); right: -140px; top: -180px;
}
.page-banner h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-banner p { color: #C6D4EA; max-width: 640px; }
.breadcrumb-nav { display: flex; gap: .6rem; align-items: center; font-size: .88rem; color: #9FE9F2; font-weight: 500; }
.breadcrumb-nav a { color: #9FE9F2; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { font-size: .7rem; color: #5E7BAE; }

/* ---------------- Forms ---------------- */
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .72rem 1rem;
  font-size: .95rem; color: var(--ink); background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .25rem rgba(0,180,199,.15); }
.form-control::placeholder { color: #A7B0C6; }
.form-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); padding: 2.4rem 2.1rem; border: 1px solid var(--line); }
.input-ico { position: relative; }
.input-ico > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-ico .form-control, .input-ico .form-select { padding-left: 2.7rem; }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: var(--coral); }

.form-note { font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--teal-600); font-weight: 600; }

/* ---------------- Info cards (contact) ---------------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.4rem; text-align: center; height: 100%; transition: all .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-ico { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; }
.info-card h4 { font-size: 1.02rem; }
.info-card p, .info-card a { font-size: .92rem; color: var(--body-c); margin: 0; }
.info-card a:hover { color: var(--teal-600); }

/* ---------------- Footer ---------------- */
.footer { background: var(--navy-950); color: #A9B6D2; padding: 76px 0 0; position: relative; }
.footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 1.3rem; font-weight: 600; }
.footer a { color: #A9B6D2; }
.footer a:hover { color: #4FDCEA; }
.footer-brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; }
.footer-brand img { width: 40px; border-radius: 10px; }
.footer-links li { margin-bottom: .6rem; }
.footer-links i { font-size: .7rem; color: var(--teal); margin-right: .45rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center;
  background: rgba(255,255,255,.07); color: #CFE0F5; margin-right: .5rem; transition: all .25s ease;
}
.footer-social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 1.3rem 0; font-size: .86rem; }
.footer-bottom a { margin-left: 1rem; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; font-size: .92rem; }
.footer-contact i { color: #4FDCEA; margin-top: .28rem; }

/* Newsletter strip above footer */
.news-strip {
  background: var(--grad-brand); border-radius: 22px; padding: 2.2rem 2.2rem;
  position: relative; overflow: hidden; margin-bottom: -76px; z-index: 3; box-shadow: var(--shadow-lg);
}
.news-strip::before { content: ""; position: absolute; width: 300px; height: 300px; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; right: -90px; top: -140px; }
.news-strip h3 { color: #fff; font-weight: 700; }
.news-strip p { color: rgba(255,255,255,.85); margin: 0; font-size: .94rem; }
.news-strip .form-control { border: 0; border-radius: 50px; padding: .85rem 1.4rem; }
.news-strip .btn-amber { white-space: nowrap; }

/* ---------------- Toasts ---------------- */
.isp-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: flex; flex-direction: column; gap: .7rem; max-width: 380px; }
.isp-toast {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: .95rem 1.1rem;
  display: flex; gap: .8rem; align-items: flex-start; border-left: 5px solid var(--teal);
  animation: toast-in .35s ease; min-width: 290px;
}
.isp-toast.t-success { border-left-color: var(--emerald); }
.isp-toast.t-error { border-left-color: var(--coral); }
.isp-toast.t-info { border-left-color: var(--blue); }
.isp-toast .ti { font-size: 1.2rem; margin-top: .1rem; }
.isp-toast.t-success .ti { color: var(--emerald); }
.isp-toast.t-error .ti { color: var(--coral); }
.isp-toast.t-info .ti { color: var(--blue); }
.isp-toast strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: .95rem; }
.isp-toast span { font-size: .86rem; color: var(--body-c); }
.isp-toast.out { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-out { to { transform: translateX(60px); opacity: 0; } }

/* ---------------- Misc ---------------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; border: 0;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all .3s ease; z-index: 1500; font-size: 1.15rem;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { filter: brightness(1.08); }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].revealed { transform: none; }

/* Legal pages */
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 3rem 2.6rem; box-shadow: var(--shadow-sm); }
.legal-card h2 { font-size: 1.28rem; margin: 2.2rem 0 .8rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { font-size: .95rem; }
.legal-toc a { color: var(--blue); }
.legal-toc a:hover { color: var(--teal-600); }

/* About page */
.value-card { border-radius: var(--radius); padding: 2rem 1.6rem; color: #fff; height: 100%; position: relative; overflow: hidden; }
.value-card i.big { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.value-card h4 { color: #fff; }
.value-card p { color: rgba(255,255,255,.88); font-size: .93rem; margin: 0; }

.img-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.img-frame img { width: 100%; display: block; }
.exp-badge {
  position: absolute; background: #fff; border-radius: 16px; padding: 1rem 1.3rem; text-align: center;
  box-shadow: var(--shadow-lg); bottom: 22px; left: 22px;
}
.exp-badge strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--teal-600); display: block; line-height: 1.1; }
.exp-badge span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* FAQ accordion */
.accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--ink); border-radius: 14px !important; }
.accordion-button:not(.collapsed) { background: rgba(0,180,199,.08); color: var(--teal-600); box-shadow: none; }
.accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: .8rem; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(0,180,199,.15); }

/* Blog article */
.article-body { font-size: 1.02rem; }
.article-body p { margin-bottom: 1.35rem; }
.article-body h2 { font-size: 1.45rem; margin: 2.2rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 .8rem; }
.article-body ul { margin-bottom: 1.4rem; padding-left: 1.2rem; }
.article-body ul li { margin-bottom: .5rem; }
.article-body ul li::marker { color: var(--teal); }
.article-cover { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; display: block; }
.related-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; transition: all .3s ease; height: 100%; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.related-card h5 { font-size: 1rem; }
.related-card h5 a { color: var(--ink); }
.related-card h5 a:hover { color: var(--teal-600); }

/* Map illustration card */
.map-card { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #EAF2FB; }

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
  .stat-item:nth-child(3)::before { display: none; }
  .hero { padding: 130px 0 150px; }
  .float-card.fc-1 { left: 8px; }
  .float-card.fc-2 { right: 8px; }
  .navbar-collapse { background: #fff; border-radius: 16px; padding: 1rem; margin-top: .8rem; box-shadow: var(--shadow-md); }
  .legal-card { padding: 2rem 1.4rem; }
}
@media (max-width: 575.98px) {
  .stats-card { grid-template-columns: 1fr 1fr; padding: 1.4rem .8rem; }
  .stat-num { font-size: 1.5rem; }
  .news-strip { padding: 1.7rem 1.3rem; }
  .cta-band { padding: 2.2rem 1.4rem; }
}
