/* =========================================================
   7link – 7 Luma Network | Teleradiology Website
   ========================================================= */

:root {
  --brand: #0b8a8a;
  --brand-dark: #0a6f73;
  --brand-deep: #0b4f5c;
  --brand-light: #2dd4bf;
  --brand-50: #ecfbf9;
  --brand-100: #d5f4f0;
  --ink: #0f3a4a;
  --ink-2: #33525e;
  --muted: #6b8590;
  --line: #dbeeee;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(11, 79, 92, .06);
  --shadow: 0 12px 34px rgba(11, 79, 92, .10);
  --shadow-lg: 0 24px 60px rgba(11, 79, 92, .16);
  --gradient: linear-gradient(90deg, #0b8a8a 0%, #14b8a6 100%);
  --header-h: 84px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-2);
  background: #fff;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-muted-2 { color: var(--muted); font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all .25s ease; }
.btn i.bi-arrow-right { transition: transform .25s ease; }
.btn:hover i.bi-arrow-right { transform: translateX(3px); }

.btn-brand {
  background: var(--brand-dark);
  color: #fff;
  border: 2px solid var(--brand-dark);
  box-shadow: 0 8px 20px rgba(10, 111, 115, .25);
}
.btn-brand:hover, .btn-brand:focus { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
  color: var(--brand-deep);
  border: 2px solid var(--brand);
  background: #fff;
  padding: .45rem 1.1rem;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

.btn-lg { padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }

/* ---------- Brand logo ---------- */
.brand { display: inline-flex; align-items: baseline; position: relative; line-height: 1; padding-bottom: 14px; text-decoration: none; }
.brand-7 {
  font-size: 3rem; font-weight: 800; font-style: italic; letter-spacing: -2px;
  background: linear-gradient(160deg, #2dd4bf 0%, #0b8a8a 55%, #0b4f5c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-link { font-size: 2.6rem; font-weight: 700; color: var(--brand-deep); letter-spacing: -1px; }
.brand-sub { position: absolute; right: 0; bottom: 0; font-size: .68rem; font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
.brand-light .brand-link, .brand-light .brand-sub { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: .6rem 0;
}
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: .25rem 0; }
.site-header .brand-7 { font-size: 2.6rem; }
.site-header .brand-link { font-size: 2.2rem; }

.main-nav { gap: .35rem; }
.main-nav .nav-link {
  color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: .45rem 1rem !important; border-radius: 999px;
  transition: all .2s ease;
}
.main-nav .nav-link:hover { color: var(--brand); }
.main-nav .nav-link.active { background: var(--brand); color: #fff; }
.main-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .65rem; vertical-align: middle; margin-left: .3rem; }
.main-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; }
.main-nav .dropdown-item { border-radius: 8px; font-size: .88rem; padding: .5rem .8rem; color: var(--ink-2); }
.main-nav .dropdown-item:hover { background: var(--brand-50); color: var(--brand-dark); }

@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

.navbar-toggler { border: 0; font-size: 2rem; color: var(--brand-deep); padding: 0; box-shadow: none !important; }

.mobile-nav li a { display: block; padding: .8rem 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav li a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 1.25rem) 0 2.5rem; overflow: hidden; }

/* Wider container on large screens to reduce side whitespace */
@media (min-width: 1600px) {
  .container { max-width: 1480px; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(45, 212, 191, .22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(20, 184, 166, .12), transparent 40%),
    linear-gradient(180deg, #f3fcfb 0%, #ffffff 100%);
}
.hero-title { font-size: clamp(2.1rem, 3.25vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.12rem; color: var(--ink); max-width: 30rem; margin-bottom: 1.75rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-call { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.hero-call i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.05rem; }
.hero-call small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); }
.hero-call:hover { color: var(--brand-dark); }

.hero-stats { display: flex; gap: 0; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 34rem; }
.hero-stats div { flex: 1; padding-right: 1rem; }
.hero-stats div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.hero-stats > div > span { font-size: .8rem; color: var(--muted); }

.hero-visual { position: relative; padding-right: 0; }
.hero-image {
  border-radius: 46% 0 0 46% / 60% 0 0 60%;
  overflow: hidden; height: clamp(360px, 34vw, 520px);
  box-shadow: var(--shadow);
  /* bleed exactly to the viewport's right edge (--cw = container max-width) */
  margin-right: calc((var(--cw, 960px) - 100vw) / 2 - .75rem);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 0; }
/* Desktop: zoom toward the radiologist so he sits beside (not behind) the form */
@media (min-width: 992px) {
  /* keep the form a fixed distance from the viewport edge so it lines up with the photo at any width */
  .hero-visual .consult-card { right: calc((var(--cw, 960px) - 100vw) / 2 - .75rem + 2.5rem); }
  .hero-image img { scale: 1.35; transform-origin: 100% 15%; object-position: 100% 15%; }
}
@media (min-width: 1200px) { :root { --cw: 1140px; } }
@media (min-width: 1400px) { :root { --cw: 1320px; } }
@media (min-width: 1600px) { :root { --cw: 1480px; } }

.consult-card {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 260px; background: #fff; border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow-lg);
}
.input-icon { position: relative; }
.input-icon i { position: absolute; left: .8rem; top: .7rem; color: var(--brand-deep); font-size: .85rem; }
.input-icon .form-control { padding-left: 2.2rem; }
.form-control {
  background: #f4f8f9; border: 1px solid transparent; border-radius: 10px; font-size: .85rem;
}
.form-control:focus { background: #fff; border-color: var(--brand-light); box-shadow: 0 0 0 .2rem rgba(45, 212, 191, .2); }

/* ---------- Feature strip ---------- */
.feature-strip { background: linear-gradient(90deg, #eaf8f7, #f4fbfb); border-block: 1px solid var(--line); }
.feature-item { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: 1.4rem 1rem; position: relative; }
.feature-item + .feature-item::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; border-left: 1.5px solid #b9e2df; }
.feature-item i { font-size: 1.8rem; color: var(--brand); }
.feature-item .bi-lightning-charge-fill { color: #16a34a; }
.feature-item strong { display: block; color: var(--ink); font-size: .95rem; }
.feature-item span { display: block; font-size: .75rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; position: relative; }
.section-head { margin-bottom: 2.5rem; }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--ink); }
.section-title.with-lines { display: flex; align-items: center; gap: 1.5rem; justify-content: center; }
.section-title.with-lines::before,
.section-title.with-lines::after { content: ""; flex: 1; max-width: 220px; height: 1.5px; background: linear-gradient(90deg, transparent, #b9e2df); }
.section-title.with-lines::after { transform: scaleX(-1); }

/* ---------- Services ---------- */
.service-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: 100%; padding: 1.75rem 1rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: all .3s ease; color: inherit;
}
.service-card > i { font-size: 2.4rem; color: var(--brand); margin-bottom: 1rem; transition: transform .3s ease; }
.service-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { font-size: .8rem; line-height: 1.55; color: var(--muted); margin-bottom: 1rem; }
.service-card .go { margin-top: auto; color: var(--brand); font-size: 1.2rem; }
.service-card:hover { transform: scale(1.06); z-index: 2; box-shadow: var(--shadow); border-color: var(--brand-light); color: inherit; }
.service-card:hover > i { transform: scale(1.1); }

/* ---------- Workflow ---------- */
.workflow { background: linear-gradient(180deg, #eef9f8 0%, #f6fcfc 100%); }
.steps { display: flex; align-items: flex-start; justify-content: space-between; margin: 0; padding: 0; }
.step { text-align: center; flex: 1; }
.step-icon {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; font-size: 2.2rem; color: var(--brand-dark);
  background: radial-gradient(circle, #ffffff 55%, #d5f4f0 100%);
  box-shadow: 0 0 0 8px rgba(45, 212, 191, .12), var(--shadow-sm);
  transition: transform .3s ease;
}
.step:hover .step-icon { transform: translateY(-5px) rotate(-4deg); }
.step h3 { font-size: .95rem; font-weight: 700; }
.step-arrow { padding-top: 28px; font-size: 1.6rem; color: var(--brand-deep); }
.workflow-note { border-left: 2px solid #b9e2df; padding-left: 2rem; }
.workflow-note h3 { font-size: 1.2rem; font-weight: 700; }
.workflow-note p { color: var(--ink-2); font-size: .9rem; }

/* ---------- Why us ---------- */
.why { overflow: hidden; padding-bottom: 5rem; }
.why-city {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  clip-path: ellipse(85% 100% at 100% 50%);
}
.why-city img { width: 100%; height: 100%; object-fit: cover; }
.why-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(11,138,138,.15) 35%, rgba(11,79,92,.45) 100%); }
.why-tagline {
  position: absolute; right: 1rem; top: 1rem; text-align: right;
  color: #fff; font-weight: 500; font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.why-item { text-align: center; padding: .5rem 1rem; position: relative; }
.why-item + .why-item::before { content: ""; position: absolute; left: 0; top: 10%; height: 80%; border-left: 1.5px solid var(--line); }
.why-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .8rem;
  background: var(--brand-50); color: var(--brand); font-size: 1.8rem;
}
.why-item:nth-child(3) .why-icon { background: var(--brand); color: #fff; }
.why-item h3 { font-size: .9rem; font-weight: 700; margin-bottom: .1rem; }
.why-item p { font-size: .78rem; color: var(--muted); margin: 0; }

/* ---------- Coverage + testimonials ---------- */
.coverage { background: linear-gradient(180deg, #f3fbfb, #fff); }
.coverage-box, .testimonial-box { height: 100%; border-radius: var(--radius); padding: 2rem; }
.coverage-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; background: linear-gradient(120deg, #ecfbf9, #f8fdfd); }
.coverage-box p { font-size: .9rem; }
.coverage-map { width: 100%; height: auto; color: var(--brand-light); }
.pin-pulse { fill: rgba(11, 138, 138, .25); transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.testimonial-box { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testimonial { margin: 0; position: relative; padding-left: 3rem; min-height: 170px; }
.quote-mark { position: absolute; left: -.5rem; top: -.75rem; font-size: 3.5rem; color: var(--brand); line-height: 1; }
.testimonial blockquote { font-style: italic; font-size: 1.1rem; color: var(--ink); line-height: 1.6; margin-bottom: 1rem; }
.testimonial figcaption { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.stars { color: #f5b301; letter-spacing: 3px; }
.carousel-nav { display: flex; justify-content: flex-end; gap: .5rem; }
.carousel-nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; transition: all .2s ease;
}
.carousel-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { border: 1px solid var(--line); border-radius: 10px !important; margin-bottom: .6rem; overflow: hidden; }
.faq-accordion .accordion-button { font-size: .88rem; font-weight: 600; color: var(--ink); padding: .9rem 1rem; background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--brand-dark); background: var(--brand-50); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(45, 212, 191, .2); }
.faq-accordion .accordion-body { font-size: .85rem; color: var(--ink-2); }

.cta-box {
  height: 100%; border-radius: var(--radius); padding: 2.25rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, .25), transparent 50%),
    linear-gradient(135deg, #e6f7f5, #f3fbfb);
  box-shadow: var(--shadow);
}
.cta-box p { font-size: .92rem; }
.cta-btn { border-radius: 12px; padding: .75rem 1.1rem; font-size: .85rem; }
.cta-btn > i:first-child { font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: linear-gradient(180deg, #0b4f5c 0%, #0a4250 100%); color: #cfe9ea; padding-top: 2.5rem; padding-bottom: 5rem; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top > * + * { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.18); }
.footer-tagline { margin: 0; font-style: italic; font-size: 1.05rem; color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; font-size: .85rem; }
.footer-contact i { margin-right: .4rem; color: #fff; }
.footer-contact a { color: #cfe9ea; }
.footer-contact a:hover { color: #fff; }
.footer-social { margin-left: auto; display: flex; gap: .6rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand-deep); transition: all .2s ease;
}
.footer-social a:hover { background: var(--brand-light); color: #fff; transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; margin: 0; }
.footer-bottom li + li::before { content: "|"; margin: 0 .6rem; opacity: .5; }
.footer-bottom a { color: #cfe9ea; }
.footer-bottom a:hover { color: #fff; }
.footer-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 80px; }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-deep); color: #fff; }

#successToast { background: var(--brand-dark); color: #fff; }

.modal-content { border: 0; border-radius: var(--radius); }
.form-label { font-size: .85rem; font-weight: 600; color: var(--ink); }

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* ---- Scroll reveal (variants: default up, left, right, zoom) ---- */
[data-animate] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-animate="left"]  { transform: translateX(-50px); }
[data-animate="right"] { transform: translateX(50px); }
[data-animate="zoom"]  { transform: scale(.85) translateY(20px); }
[data-animate].in-view { opacity: 1; transform: none; }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1040;
  background: linear-gradient(90deg, #2dd4bf, #0b8a8a, #0b4f5c);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---- Hero load-in (staggered via --d) ---- */
.hero-in { opacity: 0; transform: translateY(28px); animation: heroIn .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.8); color: var(--brand-dark); border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #16a34a; animation: livePing 1.6s ease-out infinite; }
@keyframes livePing { to { transform: scale(3); opacity: 0; } }

/* Moving gradient on the headline */
.text-shine { background-size: 200% auto; background-image: linear-gradient(90deg, #0b8a8a, #2dd4bf, #0b8a8a, #14b8a6); animation-name: heroIn, gradientShift; animation-duration: .9s, 5s; animation-delay: var(--d, 0s), 0s; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; animation-timing-function: cubic-bezier(.2,.7,.2,1), linear; }
@keyframes gradientShift { to { background-position: 200% center; } }

/* Hero background: drifting grid + floating orbs */
.hero-grid {
  position: absolute; inset: -60px; opacity: .45;
  background-image: linear-gradient(rgba(11,138,138,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,138,138,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift { to { transform: translate(60px, 60px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: orbFloat 14s ease-in-out infinite; }
.orb-1 { width: 320px; height: 320px; background: #99f6e4; top: 8%; left: -80px; }
.orb-2 { width: 240px; height: 240px; background: #5eead4; bottom: 0; left: 35%; animation-delay: -5s; animation-duration: 18s; }
.orb-3 { width: 200px; height: 200px; background: #a5f3fc; top: 5%; right: 10%; animation-delay: -9s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 25px) scale(.95); }
}

/* Hero image: slow zoom + scanning beam */
.hero-image { position: relative; }
.hero-image img { animation: kenBurns 22s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.scan-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(45,212,191,.28) 70%, rgba(45,212,191,.9) 98%, transparent);
  mix-blend-mode: screen; animation: scanDown 4.5s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scanDown { 0% { transform: translateY(-100px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(560px); opacity: 0; } }
.scan-tint { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,79,92,.15), transparent 50%); pointer-events: none; }

/* Parallax-ready visual */
.hero-visual { transition: transform .3s ease-out; }

/* Floating cards */
.consult-card { animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .6rem .9rem; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .78rem; animation: cardFloat 5s ease-in-out infinite;
}
.float-chip strong { display: block; color: var(--ink); font-size: .8rem; }
.float-chip small { color: var(--muted); }
.float-chip > i { font-size: 1.4rem; color: #16a34a; }
.chip-1 { left: 4%; bottom: 10%; animation-delay: -2s; }
.chip-2 { left: 18%; top: 6%; animation-delay: -3.5s; }
.ecg { width: 60px; height: 22px; }
.ecg path, .ecg-line path { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: ecgDraw 2.4s linear infinite; }
@keyframes ecgDraw { 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -320; } }
.ecg-line { width: 100%; max-width: 280px; height: 34px; display: block; margin: .25rem 0 .75rem; }
.ecg-line path { stroke-dasharray: 420; stroke-dashoffset: 420; animation-duration: 3s; }

/* Pulse ring helper */
.ring-pulse { position: relative; }
.ring-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-light); animation: ringOut 2s ease-out infinite; }
@keyframes ringOut { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* Button shine sweep */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }

/* Feature strip icons bob */
.feature-item i { animation: bob 3s ease-in-out infinite; }
.feature-item:nth-child(2) i { animation-delay: .4s; }
.feature-item:nth-child(3) i { animation-delay: .8s; }
.feature-item:nth-child(4) i { animation: spinSlow 12s linear infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Service cards: shine + icon halo */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(45,212,191,.15), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.service-card:hover::before { left: 140%; }
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover > i { animation: iconPop .6s ease; }
@keyframes iconPop { 40% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1.1); } }
.service-card:hover .go { animation: nudge .8s ease infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* Workflow: pulsing rings, sequential glow, flowing arrows */
.step-icon { position: relative; }
.step-icon::before, .step-icon::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(45,212,191,.5); animation: ringOut 3s ease-out infinite;
}
.step-icon::after { animation-delay: 1.5s; }
.step:nth-child(1) .step-icon { animation: stepGlow 6s infinite 0s; }
.step:nth-child(3) .step-icon { animation: stepGlow 6s infinite 1.5s; }
.step:nth-child(5) .step-icon { animation: stepGlow 6s infinite 3s; }
.step:nth-child(7) .step-icon { animation: stepGlow 6s infinite 4.5s; }
@keyframes stepGlow {
  0%, 30%, 100% { background: radial-gradient(circle, #fff 55%, #d5f4f0 100%); color: var(--brand-dark); }
  8%, 20% { background: radial-gradient(circle, #14b8a6 55%, #0b8a8a 100%); color: #fff; }
}
.step-arrow i { display: inline-block; animation: arrowFlow 1.6s ease-in-out infinite; }
@keyframes arrowFlow { 0% { transform: translateX(-6px); opacity: .3; } 50% { opacity: 1; } 100% { transform: translateX(6px); opacity: .3; } }

/* Why section: city slow zoom + rotating icon ring */
.why-city img { animation: kenBurns 26s ease-in-out infinite alternate; }
.why-icon { position: relative; transition: transform .4s ease; }
.why-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed rgba(11,138,138,.35); animation: spinSlow 14s linear infinite;
}
.why-item:hover .why-icon { transform: translateY(-6px) scale(1.08); }

/* Coverage map routes + packets */
.map-routes path { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .6; animation: dashFlow 1.2s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -18; } }
.map-cities circle { fill: var(--brand-dark); }
.map-packets circle { fill: #f59e0b; filter: drop-shadow(0 0 3px rgba(245,158,11,.9)); }
.map-pin { animation: pinBounce 2.4s ease-in-out infinite; }
@keyframes pinBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* Testimonial quote breathing + star pop */
.quote-mark { animation: bob 4s ease-in-out infinite; }
.carousel-item.active .stars i { display: inline-block; animation: starPop .5s ease backwards; }
.carousel-item.active .stars i:nth-child(2) { animation-delay: .1s; }
.carousel-item.active .stars i:nth-child(3) { animation-delay: .2s; }
.carousel-item.active .stars i:nth-child(4) { animation-delay: .3s; }
.carousel-item.active .stars i:nth-child(5) { animation-delay: .4s; }
@keyframes starPop { from { transform: scale(0) rotate(-45deg); opacity: 0; } }

/* CTA box animated gradient border glow */
.cta-box { position: relative; background-size: 200% 200%; animation: ctaGlow 8s ease-in-out infinite; }
@keyframes ctaGlow { 50% { box-shadow: 0 18px 50px rgba(20,184,166,.28); } }

/* Footer waves */
.footer-wave path { animation: waveMove 8s ease-in-out infinite alternate; }
.footer-wave path:nth-child(2) { animation-duration: 6s; animation-direction: alternate-reverse; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-60px); } }
.footer-wave { width: calc(100% + 120px); }

/* Back-to-top pulse */
.back-to-top.show { animation: ringShadow 2.4s ease-out infinite; }
@keyframes ringShadow { 0% { box-shadow: 0 0 0 0 rgba(11,138,138,.45); } 100% { box-shadow: 0 0 0 16px rgba(11,138,138,0); } }

@media (max-width: 991.98px) {
  .float-chip { display: none; }
  .consult-card { animation: none; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-animate], .hero-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .site-header { background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero-image { margin-right: 0; border-radius: var(--radius); }
  .consult-card { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -3rem 1rem 0; }
  .feature-item:nth-child(3)::before { display: none; }
  .steps { flex-wrap: wrap; }
  .workflow-note { border-left: 0; padding-left: 0; text-align: center; }
  .why-city { position: relative; width: 100%; height: 220px; clip-path: none; border-radius: var(--radius); margin-bottom: 2rem; }
  .why { display: flex; flex-direction: column-reverse; }
  .why-tagline { position: static; text-align: center; color: var(--ink); text-shadow: none; margin-top: 2rem; }
  .footer-top > * + * { padding-left: 0; border-left: 0; }
  .footer-social { margin-left: 0; }
}

@media (max-width: 767.98px) {
  .section { padding: 3.25rem 0; }
  .section-title.with-lines::before, .section-title.with-lines::after { display: none; }
  .feature-item { justify-content: flex-start; padding: 1rem .75rem; }
  .feature-item::before { display: none; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .step-arrow { display: none; }
  .why-item:nth-child(3)::before { display: none; }
  .why-item { padding-bottom: 1.25rem; }
  .coverage-box { grid-template-columns: 1fr; }
  .testimonial { padding-left: 2.25rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-contact { flex-direction: column; gap: .6rem; }
}

/* =========================================================
   EXTRA SECTIONS: modalities, impact, partners, security, insights
   ========================================================= */
.section-lead { max-width: 640px; margin: .75rem auto 0; color: var(--muted); font-size: .95rem; }

/* ---- Modalities ---- */
.modality {
  height: 100%; padding: 1.25rem 1.25rem 1.1rem; border-radius: var(--radius);
  background: linear-gradient(160deg, #fff 0%, var(--brand-50) 100%);
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.modality:hover { transform: scale(1.04); box-shadow: var(--shadow); border-color: var(--brand-light); }
.modality-tag {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 .6rem;
  border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 800; letter-spacing: .04em;
  margin-bottom: .85rem; box-shadow: 0 8px 18px rgba(11, 138, 138, .25); transition: transform .3s ease;
}
.modality:hover .modality-tag { transform: rotate(-6deg) scale(1.08); }
.modality h3 { font-size: .98rem; font-weight: 700; margin-bottom: .3rem; }
.modality p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---- Impact band ---- */
.impact {
  position: relative; overflow: hidden; padding: 3rem 0;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-dark) 55%, var(--brand));
  background-size: 200% 200%; animation: softShift 12s ease-in-out infinite alternate; color: #fff;
}
.impact::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.impact-item { position: relative; }
.impact-item i { font-size: 1.8rem; color: var(--brand-light); display: block; margin-bottom: .35rem; }
.impact-item strong { display: block; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.1; color: #fff; }
.impact-item > span { font-size: .85rem; opacity: .85; }

/* ---- Who we serve ---- */
.audience-card {
  position: relative; height: 100%; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.audience-card:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.audience-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.audience-badge {
  position: absolute; top: -12px; right: 1.5rem; padding: .25rem .75rem; border-radius: 99px;
  background: var(--gradient); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em;
}
.audience-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 1.7rem; margin-bottom: 1rem;
}
.audience-card h3 { font-size: 1.2rem; font-weight: 700; }
.audience-card p { color: var(--muted); font-size: .9rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; font-size: .9rem; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: .15rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: .7rem; font-weight: 800;
  display: grid; place-items: center;
}
.audience-card .btn, .audience-card .audience-link { margin-top: auto; align-self: flex-start; }
.audience-link { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.audience-link i { transition: transform .25s ease; }
.audience-link:hover i { transform: translateX(4px); }

/* ---- Security ---- */
.security { background: linear-gradient(180deg, #f6fcfc 0%, #eef9f8 100%); }
.security-shield {
  width: 120px; height: 120px; margin-top: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 3.2rem; color: #fff; background: var(--gradient); animation: ringShadow 2.8s ease-out infinite;
}
.sec-item {
  display: flex; gap: 1rem; height: 100%; padding: 1.1rem 1.2rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
.sec-item:hover { transform: scale(1.03); box-shadow: var(--shadow-sm); }
.sec-item > i { flex: none; font-size: 1.5rem; color: var(--brand); line-height: 1; margin-top: .15rem; }
.sec-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.sec-item p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---- Insights ---- */
.insight-card {
  height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.insight-card:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.insight-thumb {
  height: 150px; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.95);
  background-size: 200% 200%; animation: softShift 8s ease-in-out infinite alternate;
}
.insight-thumb i { transition: transform .4s ease; }
.insight-card:hover .insight-thumb i { transform: scale(1.15); }
.insight-thumb.t1 { background-image: linear-gradient(135deg, #0b4f5c, #0b8a8a, #2dd4bf); }
.insight-thumb.t2 { background-image: linear-gradient(135deg, #0a6f73, #14b8a6, #0b4f5c); }
.insight-thumb.t3 { background-image: linear-gradient(135deg, #0f3a4a, #0b8a8a, #14b8a6); }
.insight-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.insight-meta { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.insight-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.insight-body p { font-size: .85rem; color: var(--muted); }
.insight-body .audience-link { margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
  .impact, .insight-thumb, .security-shield { animation: none; }
}
@keyframes softShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
