/* =============================================================
   KAIROVA TECHNOLOGIES — main.css
   Custom-coded site stylesheet. No frameworks. No CSS resets
   beyond what's authored here. Organised in sections:
     1. Tokens (CSS custom properties)
     2. Base / reset
     3. Typography
     4. Layout primitives
     5. Navigation
     6. Buttons
     7. Hero
     8. Sections (What We Do, Why, Who We Serve, CTA)
     9. Footer
    10. Floating WhatsApp
    11. Preloader
    12. Custom cursor
    13. Animations & scroll states
    14. Content protection
    15. Responsive
    16. Print
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand colours */
  --blue-primary: #0B3C84;
  --blue-deep: #082C61;
  --red-accent: #DE251C;
  --off-white: #F8F8FC;
  --light-blue: #E8EEF7;
  --charcoal: #333333;
  --light-gray: #F5F5F7;
  --dark: #0D1117;
  --white: #FFFFFF;

  /* Type scale (fluid) */
  --fs-h1: clamp(2.25rem, 4.5vw + 1rem, 5rem);   /* 36 → 80 */
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 3rem);   /* 28 → 48 */
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.75rem);  /* 20 → 28 */
  --fs-body: clamp(1rem, 0.25vw + 0.95rem, 1.125rem); /* 16 → 18 */
  --fs-small: 0.875rem;
  --fs-label: 0.78rem;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 60, 132, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 60, 132, 0.12);
  --shadow-lg: 0 24px 48px rgba(11, 60, 132, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;

  /* Fonts */
  --font-display: "Syne", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. BASE / RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}

ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--red-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5);
  color: var(--blue-primary);
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 var(--s-5); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--red-accent);
  margin: 0 0 var(--s-5);
  position: relative;
  padding-left: 36px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms var(--ease-out);
}
.section-label.is-in::before { transform: scaleX(1); }

.lede {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  color: var(--charcoal);
  max-width: 60ch;
  line-height: 1.6;
}

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tinted { background: var(--off-white); }
.section--blue-tint { background: var(--light-blue); }
.section--dark { background: var(--blue-primary); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

/* Custom grid (no Bootstrap) */
.grid {
  display: grid;
  gap: var(--s-6);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-6 { gap: var(--s-6); }

/* Decorative thin red divider */
.divider-red {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--red-accent);
  border: 0;
  margin-block: var(--s-7);
}

/* ---------- 5. NAVIGATION ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: var(--s-4) 0;
  transition: background var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              padding var(--t-med) var(--ease-out);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.nav__logo { display: flex; align-items: center; gap: var(--s-3); }
.nav__logo svg,
.nav__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 240px;
  pointer-events: none; /* clicks pass through to the parent <a> */
}
@media (max-width: 720px) {
  .nav__logo img, .nav__logo svg { height: 38px; max-width: 200px; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  padding-block: var(--s-2);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__lang {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 4px;
}
.nav__lang button {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.nav__lang button[aria-current="true"] {
  background: var(--red-accent);
  color: var(--white);
}

/* Solid (scrolled) state */
.nav.is-solid {
  background: var(--blue-primary);
  box-shadow: var(--shadow-md);
  padding: var(--s-3) 0;
}

/* Mobile burger */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 101;
}
.nav__burger span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--t-med) var(--ease-out),
              opacity var(--t-fast),
              top var(--t-med) var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 24px; }
body.menu-open .nav__burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Mobile fullscreen menu */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--blue-primary);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease-out),
              visibility var(--t-med) var(--ease-out);
}
.nav__overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
}
body.menu-open .nav__overlay {
  opacity: 1;
  visibility: visible;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  --btn-bg: var(--red-accent);
  --btn-fg: var(--white);
  --btn-bd: var(--red-accent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  isolation: isolate;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(222, 37, 28, 0.28);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255,255,255,0.55);
}
.btn--ghost:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--blue-primary);
  --btn-bd: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.btn--blue { --btn-bg: var(--blue-primary); --btn-fg: var(--white); --btn-bd: var(--blue-primary); }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: btn-ripple 600ms var(--ease-out);
  background: rgba(255,255,255,0.4);
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(3); opacity: 0; }
}

/* Inline link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--blue-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--t-med) var(--ease-out);
}
.link-arrow:hover { gap: var(--s-4); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--blue-primary);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(222,37,28,0.22), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 40%),
    var(--blue-primary);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: -1;
  will-change: transform;
}
.hero__shape--1 {
  width: 360px; height: 360px;
  background: var(--red-accent);
  top: 10%; right: -80px;
  animation: float-1 14s ease-in-out infinite;
}
.hero__shape--2 {
  width: 480px; height: 480px;
  background: #1c5cc4;
  bottom: -120px; left: -120px;
  animation: float-2 18s ease-in-out infinite;
}
@keyframes float-1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.05); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.08); }
}

.hero__content {
  max-width: 880px;
  padding-block: var(--s-9) var(--s-7);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-5);
}
.hero__eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--red-accent);
}
.hero h1 {
  color: var(--white);
  margin-bottom: var(--s-5);
}
.hero h1 .word { display: inline-block; }
.hero h1 .accent { color: var(--red-accent); }
.hero__sub {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.35rem);
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: var(--s-7);
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--s-6);
  transform: translateX(-50%);
  font-size: var(--fs-label);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.5);
  animation: scroll-pulse 1.8s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- 8. SECTIONS ---------- */

/* Service cards (What We Do) */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--s-7) var(--s-6) var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--red-accent);
  transition: width var(--t-slow) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { width: 100%; }
.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--light-blue);
  color: var(--blue-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-5);
  transition: transform var(--t-med) var(--ease-out);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.05); }
.service-card h3 { margin-bottom: var(--s-3); color: var(--blue-primary); }
.service-card p { color: var(--charcoal); margin-bottom: var(--s-5); }

/* Why Kairova horizontal points */
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}
.why__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.why__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-accent);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.why__item h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.why__item p { font-size: 0.98rem; color: var(--charcoal); margin: 0; }

/* Who We Serve chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 22px;
  background: var(--white);
  color: var(--blue-primary);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out);
}
.chip:hover { transform: translateY(-3px); }
.chip__dot {
  width: 8px;
  height: 8px;
  background: var(--red-accent);
  border-radius: 50%;
}

/* Closing CTA */
.cta-band {
  text-align: center;
  padding-block: var(--s-10);
}
.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  margin: 0 auto var(--s-7);
}

/* ---------- 8B. PAGE HERO (short, for inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--blue-primary);
  color: var(--white);
  padding-block: clamp(8rem, 14vw, 10rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 30%, rgba(222,37,28,0.18), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.08), transparent 40%),
    var(--blue-primary);
}
.page-hero__grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 30%, transparent 75%);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw + 1rem, 4rem);
  margin-bottom: var(--s-4);
}
.page-hero__sub {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--s-5);
}
.breadcrumb a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.breadcrumb a:hover { border-color: var(--red-accent); }
.breadcrumb__sep {
  width: 14px;
  height: 1px;
  background: var(--red-accent);
  display: inline-block;
}

/* Anchor / jump menu (sticky under nav) */
.jump-menu {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 60, 132, 0.08);
}
.jump-menu__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding-block: var(--s-3);
  font-size: 0.92rem;
}
.jump-menu__label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--red-accent);
  font-weight: 600;
}
.jump-menu__link {
  position: relative;
  color: var(--charcoal);
  font-weight: 500;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.jump-menu__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--red-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-out);
}
.jump-menu__link:hover { color: var(--blue-primary); }
.jump-menu__link:hover::after,
.jump-menu__link.is-active::after { transform: scaleX(1); }

/* ---------- 8C. SERVICE DIVISIONS ---------- */
.division {
  scroll-margin-top: 120px;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.division--white { background: var(--white); }
.division--gray  { background: var(--light-gray); }

.division__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.division__head h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  margin-bottom: var(--s-5);
}
.division__lede {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: var(--s-6);
}

.division__pricing {
  display: inline-flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  background: var(--off-white);
  border-left: 3px solid var(--red-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--s-5);
}
.division--gray .division__pricing { background: var(--white); }
.division__pricing-label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-accent);
  font-weight: 600;
}
.division__pricing-amount {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.4;
}

/* Service list — two columns of bullet items */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list li {
  position: relative;
  padding-left: var(--s-6);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--charcoal);
  border-top: 1px solid rgba(11, 60, 132, 0.1);
  padding-top: var(--s-4);
  padding-bottom: var(--s-2);
}
.service-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--red-accent);
}
.service-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 4px;
}

/* Big division number */
.division__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 60, 132, 0.18);
  line-height: 1;
  margin-bottom: var(--s-4);
  letter-spacing: -0.04em;
}
.division--gray .division__num {
  -webkit-text-stroke: 1.5px rgba(11, 60, 132, 0.22);
}

/* Thin red divider strip between divisions */
.division-divider {
  height: 1px;
  background: var(--red-accent);
  border: 0;
  margin: 0;
  width: 100%;
  opacity: 0.6;
}

/* ---------- 9. FOOTER ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-block: var(--s-9) var(--s-6);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer__brand img,
.footer__brand svg {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: var(--s-4);
}
.footer__brand p { color: rgba(255,255,255,0.6); max-width: 32ch; margin-top: var(--s-4); }
.footer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: var(--s-4);
}
.footer__list li { margin-bottom: var(--s-2); }
.footer__list a {
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.footer__list a:hover { color: var(--red-accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__socials { display: flex; gap: var(--s-3); }
.footer__socials a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer__socials a:hover { border-color: var(--red-accent); color: var(--red-accent); }

/* ---------- 10. FLOATING WHATSAPP ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-med) var(--ease-out);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  z-index: -1;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 11. PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--blue-primary);
  display: grid;
  place-items: center;
  transition: opacity var(--t-slow) var(--ease-out),
              visibility var(--t-slow) var(--ease-out);
}
.preloader__logo svg,
.preloader__logo img {
  display: block;
  width: clamp(280px, 45vw, 460px);
  height: auto;
}
.preloader__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--red-accent);
  width: 0%;
  transition: width 1.4s var(--ease-out);
}
body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--red-accent);
  z-index: 9998;
  transform: translateY(100%);
  pointer-events: none;
}

/* ---------- 12. CUSTOM CURSOR ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 36px; height: 36px;
  border: 1.5px solid var(--white);
  transform: translate(-50%, -50%);
  transition: width 250ms var(--ease-out),
              height 250ms var(--ease-out),
              background 250ms var(--ease-out),
              border-color 250ms var(--ease-out);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
body.cursor-hover .cursor {
  width: 64px; height: 64px;
  background: var(--red-accent);
  border-color: var(--red-accent);
  mix-blend-mode: normal;
}
body.cursor-hover .cursor-dot { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  * { cursor: auto !important; }
}

/* ---------- 13. ANIMATION HELPERS ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-line { overflow: hidden; }
.reveal-line > * { display: inline-block; transform: translateY(110%); }

/* ---------- 14. CONTENT PROTECTION ---------- */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.allow-pointer img { pointer-events: auto; }

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .division__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .service-list { grid-template-columns: 1fr; gap: var(--s-3); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__content { padding-block: var(--s-10) var(--s-8); }
  .hero__shape--1, .hero__shape--2 { width: 240px; height: 240px; filter: blur(40px); }
  .jump-menu { top: 56px; }
  .jump-menu__inner { gap: var(--s-3); font-size: 0.85rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__shape--1, .hero__shape--2 { animation: none; }
}

/* ---------- 16a. PAGE HERO (interior pages) ---------- */
.page-hero {
  position: relative;
  background: var(--blue-primary);
  color: var(--white);
  padding-block: clamp(8rem, 14vw, 11rem) clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 30%, rgba(222,37,28,0.16), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06), transparent 45%);
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--s-4);
  max-width: 22ch;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.breadcrumb a:hover { color: var(--red-accent); }
.breadcrumb__sep { width: 16px; height: 1px; background: rgba(255,255,255,0.4); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 16b. SERVICE DIVISION BLOCKS ---------- */
.division {
  padding-block: var(--section-y);
  position: relative;
  border-top: 1px solid var(--red-accent);
}
.division:first-of-type { border-top: 0; }
.division--alt { background: var(--off-white); }

.division__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.division__intro h2 {
  margin-bottom: var(--s-4);
  max-width: 14ch;
}
.division__intro p {
  color: var(--charcoal);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  max-width: 48ch;
}

/* Service bullet list */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4) var(--s-6);
  margin: 0 0 var(--s-6);
}
.service-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--charcoal);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 16px;
  height: 1px;
  background: var(--red-accent);
}

/* Pricing line */
.division__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px dashed rgba(11,60,132,0.2);
  font-size: 0.95rem;
  color: var(--charcoal);
}
.division__price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-primary);
  letter-spacing: -0.01em;
}

@media (max-width: 820px) {
  .division__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- 16c. ABOUT PAGE ---------- */

/* Our Story — text + abstract visual */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story__text p { margin-bottom: var(--s-5); font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem); color: var(--charcoal); }
.story__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
.story__visual::before,
.story__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.story__visual::before {
  width: 60%; height: 60%;
  background: var(--red-accent);
  top: -10%; right: -15%;
  opacity: 0.6;
}
.story__visual::after {
  width: 50%; height: 50%;
  background: rgba(255,255,255,0.15);
  bottom: -10%; left: -10%;
}
.story__visual svg {
  position: relative;
  z-index: 1;
  width: 60%;
  height: auto;
  margin: 20% auto 0;
  display: block;
  opacity: 0.92;
}
.story__visual::after {
  z-index: 0;
}
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story__visual { max-width: 420px; margin-inline: auto; }
}

/* Values grid */
.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-5);
}
.values__item {
  background: var(--white);
  border: 1px solid rgba(11,60,132,0.08);
  border-radius: var(--radius-md);
  padding: var(--s-6) var(--s-5);
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.values__item:hover {
  transform: translateY(-4px);
  border-color: var(--red-accent);
  box-shadow: var(--shadow-md);
}
.values__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--light-blue);
  color: var(--blue-primary);
  border-radius: 50%;
  margin-bottom: var(--s-4);
}
.values__item h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s-2);
  color: var(--blue-primary);
}
.values__item p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--charcoal);
  line-height: 1.55;
}
@media (max-width: 980px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .values { grid-template-columns: 1fr; } }

/* Team */
.team-group { margin-bottom: var(--s-9); }
.team-group:last-child { margin-bottom: 0; }
.team-group__label {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--red-accent);
  margin-bottom: var(--s-6);
}
.team-group__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(222,37,28,0.25);
}
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-7);
}
.team__card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.team__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}
.team__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.team__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to top, rgba(11,60,132,0.55), transparent);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  pointer-events: none;
}
.team__card:hover .team__photo::after { opacity: 1; }

/* Initials avatar placeholder */
.team__avatar {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  position: relative;
}
.team__avatar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 36%; height: 36%;
  background: var(--red-accent);
  clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
  opacity: 0.95;
}

.team__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--blue-primary); margin: 0; line-height: 1.2; }
.team__role { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-accent); margin: 0; }
.team__bio { font-size: 0.95rem; line-height: 1.55; color: var(--charcoal); margin: 0; }
.team__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--light-blue);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: var(--s-2);
}

@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (max-width: 540px) { .team { grid-template-columns: 1fr; } }

/* Vision pull-quote block */
.vision-block {
  position: relative;
  background: var(--blue-primary);
  color: var(--white);
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.vision-block::before {
  content: "";
  position: absolute;
  inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(222,37,28,0.18), transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.05), transparent 45%);
}
.vision-block__label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-6);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.vision-block__label::before {
  content: "";
  display: block;
  width: 36px; height: 1px;
  background: var(--red-accent);
}
.vision-block__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 24ch;
  margin: 0;
  position: relative;
}
.vision-block__quote::before {
  content: "\201C";
  position: absolute;
  left: -0.5em;
  top: -0.25em;
  font-size: 1.6em;
  color: var(--red-accent);
  opacity: 0.5;
  font-family: serif;
}
.vision-block__author {
  margin-top: var(--s-5);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ---------- 16d. TRAINING PAGE ---------- */

/* Sub-brand mark in hero */
.subbrand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-5);
}
.subbrand__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-accent);
}

/* Programs grid */
.programs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--s-7) var(--s-6);
  border: 1px solid rgba(11,60,132,0.08);
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-accent);
  box-shadow: var(--shadow-md);
}
.program-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--red-accent);
  margin-bottom: var(--s-3);
  letter-spacing: 0.04em;
}
.program-card h3 { margin-bottom: var(--s-3); font-size: 1.25rem; }
.program-card p { font-size: 0.95rem; color: var(--charcoal); margin: 0 0 var(--s-5); }
.program-card__tags {
  display: flex; flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(11,60,132,0.12);
}
.program-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--light-blue);
  padding: 4px 10px;
  border-radius: 999px;
}
@media (max-width: 980px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .programs { grid-template-columns: 1fr; } }

/* Book feature */
.book-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow-md);
}
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 48px rgba(11,60,132,0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s-6);
  color: var(--white);
}
.book-cover::before {
  content: "";
  position: absolute;
  top: 10%; right: -20%;
  width: 70%; height: 70%;
  background: var(--red-accent);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
}
.book-cover__spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--red-accent);
  z-index: 1;
}
.book-cover__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.book-cover__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: var(--s-3) 0;
}
.book-cover__author {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}
.book-feature__details h3 { margin-bottom: var(--s-3); }
.book-feature__details p { color: var(--charcoal); margin-bottom: var(--s-5); }
.book-feature__price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  padding: 6px 12px;
  background: var(--light-blue);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: var(--s-5);
}
.book-feature__price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-primary);
}
@media (max-width: 720px) {
  .book-feature { grid-template-columns: 1fr; gap: var(--s-5); }
  .book-cover { max-width: 280px; margin-inline: auto; }
}

/* Booking type icons (used in modal) */
.session-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.session-type {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--light-gray);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  width: 100%;
}
.session-type:hover { background: var(--light-blue); }
.session-type[aria-pressed="true"] {
  border-color: var(--red-accent);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.session-type__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-primary);
  color: var(--white);
}
.session-type__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-primary);
  display: block;
  margin-bottom: 4px;
}
.session-type__hint {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.4;
}
@media (max-width: 540px) { .session-types { grid-template-columns: 1fr; } }

/* ---------- 16e. BOOKING MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: stretch;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 38, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fade 350ms var(--ease-out);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative;
  margin: auto;
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  animation: modal-rise 450ms var(--ease-out);
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  transition: background var(--t-fast);
}
.modal__close:hover { background: var(--light-gray); }
.modal__progress {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.modal__progress-track {
  flex: 1;
  height: 3px;
  background: var(--light-gray);
  border-radius: 999px;
  overflow: hidden;
}
.modal__progress-fill {
  height: 100%;
  width: 33.333%;
  background: var(--red-accent);
  transition: width var(--t-med) var(--ease-out);
}
.modal__step { display: none; }
.modal__step.is-active { display: block; animation: modal-fade 350ms var(--ease-out); }
.modal__step h2 {
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  margin-bottom: var(--s-3);
}
.modal__step p.lede {
  margin-bottom: var(--s-5);
  font-size: 0.98rem;
}

/* Form fields */
.field { display: block; margin-bottom: var(--s-4); }
.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: var(--s-2);
  letter-spacing: 0.02em;
}
.field__label .req { color: var(--red-accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #e2e6ee;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-user-select: text;
  user-select: text;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(11,60,132,0.12);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--red-accent);
}
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--red-accent); }
.field.is-invalid .field__error { display: block; }

.modal__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid #f0f1f5;
}
.modal__nav .btn { padding: 12px 22px; font-size: 0.9rem; }
.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--blue-primary);
  --btn-bd: rgba(11,60,132,0.2);
}
.btn--secondary:hover {
  --btn-bg: var(--light-blue);
  box-shadow: none;
}
.modal__success {
  text-align: center;
  padding: var(--s-6) var(--s-4);
}
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-5);
  display: grid;
  place-items: center;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
}

/* Two-column field row */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- 16f. CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.contact-info { display: flex; flex-direction: column; gap: var(--s-4); }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid rgba(11,60,132,0.08);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
a.contact-card:hover {
  border-color: var(--red-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--light-blue);
  color: var(--blue-primary);
  border-radius: var(--radius-sm);
}
.contact-card__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 4px;
}
.contact-card__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--blue-primary);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.contact-card__meta {
  display: block;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-top: 2px;
}

.contact-socials-row {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.contact-socials-row a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(11,60,132,0.15);
  border-radius: 50%;
  color: var(--blue-primary);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.contact-socials-row a:hover {
  background: var(--red-accent);
  color: var(--white);
  border-color: var(--red-accent);
}

/* Form panel */
.contact-form {
  background: var(--white);
  border: 1px solid rgba(11,60,132,0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.contact-form__intro {
  margin-bottom: var(--s-5);
}
.contact-form__intro h2 {
  font-size: clamp(1.4rem, 1.5vw + 0.75rem, 1.75rem);
  margin-bottom: var(--s-3);
}
.contact-form__intro p {
  font-size: 0.98rem;
  color: var(--charcoal);
  margin: 0;
}

.contact-form__success {
  display: none;
  text-align: center;
  padding: var(--s-7) var(--s-4);
}
.contact-form__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-4);
  display: grid;
  place-items: center;
  background: var(--blue-primary);
  color: var(--white);
  border-radius: 50%;
}
.contact-form.is-submitted .contact-form__success { display: block; }
.contact-form.is-submitted .contact-form__panel,
.contact-form.is-submitted .contact-form__intro { display: none; }

.contact-form__footer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px dashed rgba(11,60,132,0.15);
  font-size: 0.9rem;
  color: var(--charcoal);
}
.contact-form__footer svg {
  flex-shrink: 0;
  color: var(--red-accent);
}

/* ---------- 16g. NAV DROPDOWN ---------- */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item .nav__chevron {
  width: 12px; height: 12px;
  margin-left: 4px;
  opacity: 0.7;
  transition: transform var(--t-fast) var(--ease-out);
}
.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  margin-top: 8px;
  padding: 12px 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              visibility var(--t-fast);
  z-index: 110;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__dropdown::before {
  /* invisible bridge so cursor can move from trigger to panel */
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 12px;
}
.nav__dropdown a {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  color: var(--blue-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dropdown a:hover {
  background: var(--light-blue);
  color: var(--blue-primary);
}
.nav__dropdown a small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-top: 2px;
  letter-spacing: 0;
}
.nav__dropdown__sep {
  display: block;
  height: 1px;
  margin: 6px 14px;
  background: rgba(11,60,132,0.08);
}

@media (max-width: 720px) {
  .nav__dropdown { display: none !important; }
}

/* ---------- 16h. PRODUCTS PAGE ---------- */
.products-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}
@media (max-width: 980px) { .products-shelf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-shelf { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(11,60,132,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-accent);
  box-shadow: var(--shadow-md);
}

.product-card__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.product-card__visual::before {
  content: "";
  position: absolute;
  top: -20%; right: -20%;
  width: 70%; height: 70%;
  background: var(--red-accent);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  z-index: -1;
}
.product-card__visual::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 60%; height: 60%;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}
.product-card__visual svg { width: 48px; height: 48px; opacity: 0.9; }
.product-card__visual--alt { background: linear-gradient(135deg, var(--blue-deep), #051A3D); }

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red-accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 1;
}
.product-card__badge--free { background: #16A34A; }
.product-card__badge--soon { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.4); color: var(--white); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-5);
}
.product-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: var(--s-2);
}
.product-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-2);
  line-height: 1.25;
}
.product-card__body p {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.5;
  flex: 1;
  margin: 0 0 var(--s-4);
}
.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(11,60,132,0.12);
  flex-wrap: wrap;
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-primary);
  letter-spacing: -0.01em;
}
.product-card__price--free { color: #16A34A; }
.product-card__cta {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* Software card variant — taller visual, "request demo" tone */
.product-card--system .product-card__visual { aspect-ratio: 16 / 9; }
.product-card--system .product-card__visual svg { width: 44px; height: 44px; }

/* ---------- 17. PRINT BLOCKING ---------- */
@media print {
  body { display: none !important; }
  html::before {
    content: "Printing is disabled on this page.";
    display: block;
    text-align: center;
    margin-top: 4rem;
    font-family: sans-serif;
  }
}
