/* ==========================================================================
   EdovioPlus — Healthcare & Healthtech Marketing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #3A77CF;
  --blue-deep: #2A5AA4;
  --blue-wash: #EAF1FB;
  --blue-tint: #F4F8FE;
  --green: #3EE18F;
  --green-deep: #14A163;
  --green-wash: #E9FBF2;
  --ink: #1F151F;
  --ink-soft: #6B6472;
  --mist: #E3E1EF;
  --haze: #F7F8FC;
  --paper: #FFFFFF;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 84px;

  --shell: 1180px;
  --r: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(31,21,31,.07);
  --shadow-sm: 0 8px 24px rgba(31,21,31,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 999; }
.skip-link:focus { left: 0; top: 0; }

/* --- Type ----------------------------------------------------------------- */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.04em; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; }

p { margin: 0 0 var(--s-2); color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.02rem; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* --- Layout --------------------------------------------------------------- */
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.section { padding: var(--s-7) 0; }
.section--tint { background: var(--haze); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink p { color: #A9A2B0; }

.section-head { margin-bottom: var(--s-4); }
.section-head.center { max-width: 620px; margin-inline: auto; }

.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: 99px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease),
              border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(58,119,207,.28); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 12px 28px rgba(58,119,207,.34); }
.btn--ghost { border-color: var(--mist); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-deep); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-4); }
.center .cta-row { justify-content: center; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  transition: box-shadow 260ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(31,21,31,.06); }

.nav { display: flex; align-items: center; gap: var(--s-3); min-height: 76px; transition: min-height 300ms var(--ease); }
.site-header.is-scrolled .nav { min-height: 64px; }

.brand { flex: none; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.035em; color: var(--ink); }
.brand--light span { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links > a {
  position: relative; padding: 10px 16px; border-radius: 99px;
  text-decoration: none; font-weight: 500; font-size: 0.94rem; color: var(--ink-soft);
  transition: color 180ms var(--ease);
}
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--ink); }
.nav-links > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease);
}
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { display: none; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--mist); border-radius: 12px; background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--ink); position: relative; transition: background 150ms; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink);
  transition: transform 200ms var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding: var(--s-5) 0 var(--s-6); background: linear-gradient(180deg, var(--blue-tint), #fff 90%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.hero h1 span { color: var(--blue); }

.hero-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: var(--s-4); font-size: 0.92rem; color: var(--ink-soft);
}
.hero-note .dot {
  width: 26px; height: 26px; flex: none; border-radius: 99px;
  background: var(--blue); display: grid; place-items: center;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-visual .halo {
  position: absolute; inset: -6% -9% -5% -11%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 40%, #eaf1fb00, #e9fbf200);
  z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow:  0 18px 50px rgb(31 21 31 / 0%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }

/* Floating cards */
.float-card {
  position: absolute; z-index: 2;
  background: #ffffff00; border-radius: 14px;
  box-shadow: 0 18px 50px rgb(31 21 31 / 0%);;
  padding: 0px;
  animation: bob 5s ease-in-out infinite;
}
.float-card--top { top: 15%; right: -16%; width: 200px; animation-delay: -1.4s; }
.float-card--bottom { bottom: 8%; left: -8%; width: 200px; }

.float-card .fc-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.fc-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.fc-row:last-of-type { margin-bottom: 12px; }
.fc-dot { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue-deep); }
.fc-row.is-green .fc-dot { background: var(--green-wash); color: var(--green-deep); }
.fc-text strong { display: block; font-size: 0.78rem; font-weight: 700; line-height: 1.3; }
.fc-text span { font-size: 0.68rem; color: var(--ink-soft); }
.fc-metric { display: grid; grid-template-columns: 64px 1fr 32px; align-items: center; gap: 8px; margin-bottom: 9px; }
.fc-metric:last-child { margin-bottom: 0; }
.fc-key { font-size: 0.66rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.fc-val { font-size: 0.68rem; font-weight: 700; color: var(--ink); text-align: right; }
.fc-bar { height: 6px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.fc-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--green)); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --- Strip ---------------------------------------------------------------- */
.strip { padding: var(--s-5) 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.strip p { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s-3); }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); }
.strip-items span { font-size: 1.02rem; font-weight: 700; color: var(--mist); letter-spacing: -0.02em; transition: color 240ms var(--ease); }
.strip-items span:hover { color: var(--blue); }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: #fff; border-radius: var(--r);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 0.92rem; margin: 0; }

.pill {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: var(--s-3);
  background: var(--blue-wash); color: var(--blue-deep);
  transition: transform 260ms var(--ease);
}
.pill--green { background: var(--green-wash); color: var(--green-deep); }
.card:hover .pill { transform: translateY(-3px) rotate(-6deg); }

/* --- Feature rows --------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.feature-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 18px 50px rgb(31 21 31 / 0%); }
.feature-img img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 22%; }
.features-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 18px 50px rgb(31 21 31 / 0%); }
.features-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}

.feature-list { display: grid; gap: 12px; margin-top: var(--s-3); }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease);
}
.feature-item:hover { transform: translateX(4px); }
.feature-item .pill { width: 40px; height: 40px; margin: 0; flex: none; border-radius: 11px; }
.feature-item strong { display: block; font-size: 0.96rem; font-weight: 700; letter-spacing: -0.015em; }
.feature-item span { font-size: 0.86rem; color: var(--ink-soft); }

.ticks { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: center; font-size: 0.95rem; color: var(--ink-soft); }
.ticks svg { flex: none; }

/* --- Service grid --------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-item {
  background: #fff; border: 1px solid var(--mist); border-radius: 14px;
  padding: var(--s-3); text-decoration: none; display: block;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.svc-item:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.svc-item em {
  font-style: normal; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 8px;
}
.svc-item strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.svc-item span { font-size: 0.86rem; color: var(--ink-soft); }
.svc-item.is-green em { color: var(--green-deep); }

/* --- Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.step { padding-top: var(--s-3); border-top: 2px solid rgba(255,255,255,.16); }
.step b { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; color: var(--green); margin-bottom: 8px; }
.step strong { display: block; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 5px; color: #fff; }
.step p { font-size: 0.89rem; margin: 0; }

/* --- Quotes --------------------------------------------------------------- */
.quote { background: #fff; border-radius: var(--r); padding: var(--s-4); box-shadow: var(--shadow-sm); }
.quote .stars { display: flex; gap: 3px; margin-bottom: var(--s-2); }
.quote p { font-size: 0.95rem; color: var(--ink); margin-bottom: var(--s-3); }
.quote footer { display: flex; align-items: center; gap: 11px; }
.quote .avatar {
  width: 38px; height: 38px; border-radius: 99px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.85rem;
}
.quote cite { font-style: normal; font-size: 0.9rem; font-weight: 700; display: block; }
.quote small { font-size: 0.8rem; color: var(--ink-soft); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(520px 260px at 88% 0%, rgba(62,225,143,.18), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band .cta-row { margin: 0; }

/*---testimonial-----*/
.testimonial-slider { position: relative; max-width: 900px; margin: 40px auto 0; min-height: 330px; } .testimonial-slide { display: none; width: 100%; margin: 0; animation: testimonialFade .45s ease; } .testimonial-slide.active { display: block; } @keyframes testimonialFade { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .testimonial-prev, .testimonial-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.12); z-index: 5; } .testimonial-prev { left: -65px; } .testimonial-next { right: -65px; } .testimonial-prev:hover, .testimonial-next:hover { transform: translateY(-50%) scale(1.08); } .testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; } .testimonial-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: all .25s ease; } .testimonial-dot.active { width: 25px; border-radius: 10px; background: #3EE18F; } /* Mobile */ @media (max-width: 768px) { .testimonial-slider { min-height: 400px; padding: 0 15px; } .testimonial-prev, .testimonial-next { width: 36px; height: 36px; font-size: 16px; } .testimonial-prev { left: -5px; } .testimonial-next { right: -5px; } } @media (max-width: 480px) { .testimonial-slider { min-height: 450px; } .testimonial-prev, .testimonial-next { top: auto; bottom: 55px; transform: none; } .testimonial-prev:hover, .testimonial-next:hover { transform: scale(1.08); } }


/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding: var(--s-6) 0 var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s-4); margin-bottom: var(--s-5); }
.footer-grid .brand { margin-bottom: var(--s-2); }
.footer-grid p { font-size: 0.89rem; color: #A9A2B0; max-width: 30ch; }
.footer-grid h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; font-size: 0.89rem; color: #A9A2B0; transition: color 180ms var(--ease); }
.footer-grid a:hover { color: #fff; }

.newsletter { display: flex; gap: 8px; margin-top: var(--s-2); }
.newsletter input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 15px;
  border-radius: 11px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 0.89rem;
}
.newsletter input::placeholder { color: #7E7686; }
.newsletter input:focus { outline: none; border-color: var(--green); }

.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between;
  padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.83rem; color: #7E7686;
}
.footer-base p { color: #7E7686; margin: 0; }

/* --- Page head ------------------------------------------------------------ */
.page-head {
  position: relative; overflow: hidden;
  padding: var(--s-6) 0 var(--s-5);
  background: linear-gradient(180deg, var(--blue-tint), #fff);
  text-align: center;
}
.page-head .blob { opacity: .22; }
.page-head .lede { margin-inline: auto; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-5); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow); }
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 15px;
  border: 1.5px solid var(--mist); border-radius: 11px;
  font: inherit; font-size: 0.94rem; background: var(--haze); color: var(--ink);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D33A3A; }
.field-error { color: #B02424; font-size: 0.83rem; margin: 6px 0 0; display: none; }
.field-error.is-visible { display: block; }
.form-status { margin-top: var(--s-3); padding: 13px 15px; border-radius: 11px; background: var(--green-wash); border: 1px solid var(--green); font-size: 0.92rem; color: var(--ink); display: none; }
.form-status.is-visible { display: block; }

.contact-item { padding: var(--s-3) 0; border-bottom: 1px solid var(--mist); }
.contact-item:first-of-type { border-top: 1px solid var(--mist); }
.contact-item span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.contact-item a { font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.contact-item a:hover { color: var(--blue-deep); }

/* --- Animation ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 560ms var(--ease), transform 560ms var(--ease); }

.stagger > * { opacity: 0; transform: translateY(20px); }
.stagger.is-in > * { opacity: 1; transform: none; transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
.stagger.is-in > *:nth-child(7) { transition-delay: 480ms; }
.stagger.is-in > *:nth-child(8) { transition-delay: 560ms; }
.stagger.is-in > *:nth-child(9) { transition-delay: 640ms; }

.hero-line { opacity: 0; transform: translateY(24px); animation: heroIn 760ms var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 80ms; }
.hero-copy > *:nth-child(2) { animation-delay: 190ms; }
.hero-copy > *:nth-child(3) { animation-delay: 300ms; }
.hero-copy > *:nth-child(4) { animation-delay: 410ms; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-visual { opacity: 0; animation: heroIn 900ms var(--ease) 260ms forwards; }

.media-reveal img { transform: scale(1.08); transition: transform 1100ms var(--ease); }
.media-reveal.is-in img { transform: scale(1); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: var(--s-5); }
  .feature--flip .feature-copy { order: -1; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .float-card--top { right: 0; }
  .float-card--bottom { left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    margin-inline: 0;
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--mist);
    padding: var(--s-2) 20px var(--s-4); gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a { padding: 14px 12px; font-size: 1.02rem; }
  .nav-links > a::after { display: none; }
  .nav-links .btn { display: inline-flex; margin-top: var(--s-2); }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .section { padding: var(--s-6) 0; }
  .grid-2, .grid-3, .svc-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .float-card--top { top: 30%; right: -30px; width: 196px; padding: 0px; }
  .float-card--bottom { bottom: 4%; left: 0; width: 196px; padding: 0px; }
  .fc-metric { grid-template-columns: 56px 1fr 30px; gap: 6px; }
  .fc-key { font-size: 0.62rem; }
  .fc-val { font-size: 0.62rem; }
  .form-card, .cta-band { padding: var(--s-4) var(--s-3); }
  .strip-items { gap: 12px var(--s-3); }
  .strip-items span { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .stagger > *, .hero-line, .hero-visual { opacity: 1; transform: none; animation: none; }
  .media-reveal img { transform: none; }
  .float-card { animation: none; }
}

/* --- Flags ---------------------------------------------------------------- */
.flag {
  width: 24px; height: 16px; flex: none;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(31,21,31,.09);
  object-fit: cover;
}
.flag--lg { width: 34px; height: 23px; }

.flag-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flag-row .fr-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 8px;
  background: #fff; border: 1px solid var(--mist); border-radius: 99px;
  font-size: 0.84rem; font-weight: 600; color: var(--ink);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.flag-row .fr-item:hover { border-color: var(--blue); transform: translateY(-2px); }

/* --- Specialty tiles ------------------------------------------------------ */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec {
  background: #fff; border-radius: var(--r); padding: var(--s-3);
  border: 1px solid var(--mist);
  display: flex; align-items: center; gap: 14px;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.spec:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.spec .pill { margin: 0; flex: none; width: 44px; height: 44px; }
.spec strong { display: block; font-size: 0.96rem; font-weight: 700; letter-spacing: -0.02em; }
.spec span { font-size: 0.82rem; color: var(--ink-soft); }

/* --- FAQ ------------------------------------------------------------------ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--mist); border-radius: 14px;
  margin-bottom: 10px; overflow: hidden;
  transition: border-color 220ms var(--ease);
}
.faq details[open] { border-color: var(--blue); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.02em;
  min-height: 44px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 240ms var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; font-size: 0.92rem; margin: 0; }

/* --- Office cards --------------------------------------------------------- */
.office {
  background: #fff; border: 1px solid var(--mist); border-radius: var(--r);
  padding: var(--s-3); display: flex; gap: 14px; align-items: flex-start;
}
.office strong { display: block; font-size: 0.94rem; font-weight: 700; margin-bottom: 4px; }
.office p { font-size: 0.87rem; margin: 0; }

/* Footer contact block */
.footer-contact { display: grid; gap: 10px; }
.footer-contact a, .footer-contact p { font-size: 0.89rem; color: #A9A2B0; text-decoration: none; margin: 0; }
.footer-contact a:hover { color: #fff; }
.footer-contact .fc-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 0.92rem; }

@media (max-width: 820px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Colour, section breaks, motion
   ========================================================================== */

/* --- Gradient section ----------------------------------------------------- */
.section--grad {
  position: relative;
  background: linear-gradient(135deg, #2A5AA4 0%, #3A77CF 42%, #24B978 100%);
  color: #fff;
  overflow: hidden;
}
.section--grad h2, .section--grad strong { color: #fff; }
.section--grad p { color: rgba(255,255,255,.82); }

/* --- Animated blobs ------------------------------------------------------- */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55; pointer-events: none; z-index: 0;
  animation: drift 18s ease-in-out infinite;
}
.blob--blue { background: var(--blue); }
.blob--green { background: var(--green); }
.blob--a { width: 380px; height: 380px; top: -110px; left: -90px; }
.blob--b { width: 320px; height: 320px; bottom: -120px; right: -70px; animation-delay: -7s; }
.blob--c { width: 260px; height: 260px; top: 30%; right: 12%; animation-delay: -12s; opacity: .32; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(34px, -26px) scale(1.09); }
  66% { transform: translate(-24px, 22px) scale(0.94); }
}

.hero { overflow: hidden; }
.hero .blob { opacity: .3; }

/* --- Section dividers ----------------------------------------------------- */
.divider { position: relative; line-height: 0; }
.divider svg { width: 100%; height: 40px; display: block; }
.divider--flip svg { transform: rotate(180deg); }

/* --- Gradient rule -------------------------------------------------------- */
.rule {
  display: block;
  height: 4px; width: 76px; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 0 0 var(--s-2);
}
.center .rule { margin-inline: auto; }

/* --- Coloured card accents ------------------------------------------------ */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform 380ms var(--ease);
}
.card:hover::before { transform: scaleX(1); }

.spec { position: relative; overflow: hidden; }
.spec::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  transform: scaleY(0); transform-origin: top;
  transition: transform 340ms var(--ease);
}
.spec:hover::after { transform: scaleY(1); }

.svc-item { position: relative; overflow: hidden; }
.svc-item::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform 360ms var(--ease);
}
.svc-item:hover::before { transform: scaleX(1); }

/* --- Gradient counters ---------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); position: relative; z-index: 1; }
.stat { text-align: center; padding: var(--s-2); }
.stat b {
  display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900;
  letter-spacing: -0.05em; line-height: 1; color: #fff; margin-bottom: 6px;
}
.stat span { font-size: 0.88rem; color: rgba(255,255,255,.8); }

/* --- Marquee -------------------------------------------------------------- */
.marquee {
  overflow: hidden; padding: 15px 0;
  background: var(--blue-tint);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: var(--s-5); width: max-content; animation: slide 28s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.015em;
  color: var(--blue-deep); white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--green-deep); }
.marquee-track span::before {
  content: ''; width: 7px; height: 7px; border-radius: 99px;
  background: var(--green); flex: none;
}
.marquee-track span:nth-child(even)::before { background: var(--blue); }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Pulse ring on hero photo --------------------------------------------- */
.pulse {
  position: absolute; z-index: 0; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 0 rgba(62,225,143,.5);
  animation: pulse 3.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62,225,143,.45); }
  70% { box-shadow: 0 0 0 26px rgba(62,225,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,225,143,0); }
}

/* --- Live dot ------------------------------------------------------------- */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--green); flex: none; }
.live-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 99px;
  background: var(--green); animation: ripple 2s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* --- Tinted variants ------------------------------------------------------ */
.section--blue { background: linear-gradient(180deg, var(--blue-tint), var(--green-wash)); }
.section--soft { background: var(--blue-tint); }

@media (max-width: 820px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .blob, .marquee-track, .pulse, .live-dot::after { animation: none !important; }
  .card::before, .spec::after, .svc-item::before { transform: none; }
}

/* Flag chips inside contact items must not inherit the uppercase label style */
.contact-item .flag-row .fr-item {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
  display: inline-flex;
}
