/* ==========================================================================
   DigiMarts Digital Solutions & Services — site styles
   Blue brand taken from the company profile and brochure:
   navy #001830, brand blue #002888, bright blue #1F4FE0, violet #2828A0.
   ========================================================================== */

:root {
  --navy-900: #001226;
  --navy: #001830;          /* brochure dark pages */
  --navy-700: #0A2A55;
  --royal: #002888;         /* logo tile blue */
  --blue: #1F4FE0;          /* cube highlight: buttons, links */
  --blue-deep: #1638B0;
  --violet: #2828A0;        /* profile gradient edge */
  --sky: #E8F0F8;           /* brochure light panels */
  --sky-2: #D8E5F5;
  --ice: #F5F8FC;           /* page background */
  --surface: #FFFFFF;

  --ink: #0B1A33;
  --ink-soft: #3A4A63;
  --muted: #5A6A82;
  --line: #D9E3F0;
  --line-strong: #B6C6DE;

  --on-dark: #C9D6EE;
  --on-dark-strong: #FFFFFF;
  --accent-on-dark: #9DB7FF;

  --wa: #1F4FE0;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1200px;
  --gutter: 24px;
  --section: clamp(44px, 7vw, 88px);

  --shadow: 0 1px 2px rgba(0, 24, 48, .06), 0 8px 24px rgba(0, 24, 48, .08);
  --shadow-lift: 0 2px 6px rgba(0, 24, 48, .08), 0 22px 44px rgba(0, 40, 136, .16);
  --grad: linear-gradient(135deg, var(--navy) 0%, var(--royal) 58%, var(--violet) 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ice); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--accent-on-dark); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sky { background: var(--sky); }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy); color: var(--on-dark-strong); }
.section--dark p, .section--dark li { color: var(--on-dark); }
.section--grad { background: var(--grad); color: #fff; }
.section--grad p { color: var(--on-dark); }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--ink-soft); max-width: 660px; }
.section--dark .lead, .section--grad .lead, .page-intro--dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Labels ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.section--dark .eyebrow, .section--grad .eyebrow, .page-intro--dark .eyebrow, .hero .eyebrow, .panel--dark .eyebrow { color: var(--accent-on-dark); }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  background: var(--sky-2); color: var(--royal); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; box-shadow: var(--shadow-lift); }
.btn--outline { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn--outline:hover { background: var(--royal); color: #fff; }
.btn--light { background: #fff; color: var(--royal); }
.btn--light:hover { background: var(--sky); color: var(--royal); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--royal); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--blue-deep); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top strip ---------- */
.topstrip { background: var(--navy-900); color: var(--on-dark); font-size: 14px; }
.topstrip .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topstrip a { color: #fff; font-weight: 700; text-decoration: none; }
.topstrip a:hover { text-decoration: underline; color: #fff; }
.topstrip__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav__list a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 10px 0; border-bottom: 2px solid transparent; display: inline-block; white-space: nowrap;
}
.nav__list a:hover { border-bottom-color: var(--line-strong); color: var(--ink); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--royal); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--royal); cursor: pointer; align-items: center; justify-content: center;
}
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero::after {
  /* brochure-style swoosh */
  content: ""; position: absolute; right: -18%; top: -40%; width: 70%; height: 180%;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; padding: clamp(56px, 8vw, 96px) 0; }
.hero__copy .lead { color: var(--on-dark); }
.hero__tag { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .04em; color: var(--accent-on-dark); text-transform: uppercase; }
.hero__img { align-self: end; justify-self: center; max-height: 500px; width: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.approach { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 4px 0 0; padding: 0; }
.approach li { font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 24px; }
  .hero__img { max-height: 280px; }
}

/* ---------- Page intro ---------- */
.page-intro { padding: clamp(48px, 8vw, 84px) 0 44px; }
.page-intro .container { display: flex; flex-direction: column; gap: 18px; }
.page-intro h1 { max-width: 900px; font-size: clamp(34px, 5vw, 54px); }
.page-intro--dark { background: var(--grad); color: #fff; padding-bottom: clamp(48px, 8vw, 84px); position: relative; overflow: hidden; }
.page-intro--dark::after { content: ""; position: absolute; right: -12%; top: -60%; width: 55%; height: 200%; border-radius: 50%; border: 48px solid rgba(255,255,255,.06); pointer-events: none; }
.page-intro--dark .container { position: relative; z-index: 1; }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section-head p { max-width: 460px; color: var(--ink-soft); font-size: 18px; }
.section--dark .section-head p { color: var(--on-dark); }
.link-arrow { font-weight: 700; font-size: 17px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card p { color: var(--ink-soft); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card--dark { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.card--dark p { color: var(--on-dark); }
.card h3 { font-size: 20px; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--royal); flex-shrink: 0; }
.card--dark .icon-badge { background: rgba(255,255,255,.1); color: #fff; }

/* Service pillar */
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.pillar__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.pillar__num { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: .1em; }
.pillar__body > p { color: var(--ink-soft); }
.tick-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { flex-shrink: 0; margin-top: 4px; color: var(--blue); }
.section--dark .tick-list svg, .card--dark .tick-list svg { color: var(--accent-on-dark); }
.tick-list--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }

/* ---------- Photos ---------- */
.photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1 / 1; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-stack .photo:first-child { grid-column: span 2; }
.caption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.gallery a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky-2); scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .gallery { grid-auto-columns: 180px; gap: 10px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.stat__over { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--accent-on-dark); text-transform: uppercase; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: #fff; }
.stat__label { color: var(--on-dark); font-size: 16px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline li { position: relative; padding-left: 60px; }
.timeline__dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 999px; background: var(--royal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.timeline li:last-child .timeline__dot { background: var(--blue); }
.timeline h3 { font-size: 18px; margin-bottom: 4px; }
.timeline p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-family: var(--font-display); font-weight: 800; color: var(--royal); }

/* ---------- People ---------- */
.people { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.person { display: flex; flex-direction: column; gap: 6px; }
.person .photo { aspect-ratio: 4 / 5; margin-bottom: 8px; }
.person .photo img { object-position: center 20%; }
.person strong { font-family: var(--font-display); font-size: 17px; }
.person span { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) {
  .people { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 140px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; gap: 12px; }
  .person { scroll-snap-align: start; }
  .person strong { font-size: 15px; }
  .person span { font-size: 13px; }
}

/* ---------- Quote ---------- */
.quote { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow); }
.quote .photo { aspect-ratio: 4 / 5; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; color: var(--ink); }
.quote blockquote p + p { margin-top: 14px; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--font-body); font-size: 16px; color: var(--muted); }
.quote cite strong { color: var(--royal); }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; gap: 18px; } .quote .photo { max-width: 110px; } }

/* ---------- Programmes / plans ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.plan__name { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--royal); }
.plan__period { font-size: 15px; color: var(--muted); }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; flex-grow: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.plan__list .is-off { color: var(--muted); }
.plan__list .is-off svg { color: var(--muted); }
.plan--featured { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-lift); }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__period { color: var(--on-dark); }
.plan--featured .plan__list svg { color: var(--accent-on-dark); }
.plan--featured p { color: var(--on-dark); }
.badge { align-self: flex-start; background: #fff; color: var(--royal); font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.plan-teaser { padding: 26px; gap: 10px; }
.plan-teaser .plan__price { font-size: 34px; }
.plan-teaser p { color: var(--ink-soft); font-size: 16px; }
.plan--featured.plan-teaser p { color: var(--on-dark); }

/* ---------- Panels ---------- */
.panel { border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.panel--dark { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.panel--dark p { color: var(--on-dark); }
.panel--light { background: var(--sky); color: var(--ink); }
.panel__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.panel__side { flex: 1 1 340px; min-width: 0; position: relative; }
.panel h2 { font-size: clamp(28px, 3.4vw, 40px); }
.mini-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mini-plan { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mini-plan strong { font-size: 17px; }
.mini-plan .price { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff; line-height: 1.1; }
.mini-plan span:last-child { font-size: 15px; color: var(--on-dark); line-height: 1.5; }
@media (max-width: 520px) { .mini-plans { grid-template-columns: 1fr; } }

/* ---------- Features list (Business Connect) ---------- */
.chips-static { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips-static li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--royal); font-size: 15px; }
.section--dark .chips-static li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { list-style: none; width: 56px; height: 56px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 4px; overflow: hidden; flex-shrink: 0; }
.partners img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.partners--strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.partners--strip::-webkit-scrollbar { display: none; }
.trusted { padding: 28px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trusted .container { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.trusted__label { font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trusted .partners { flex: 1 1 400px; min-width: 0; }
.trusted a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.partners { margin: 0; padding: 0; }

/* ---------- Placeholders ---------- */
.ph { background: var(--sky-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 20px; color: var(--royal); }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 9; }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700;
  cursor: pointer; background: var(--surface); color: var(--ink); border: 2px solid var(--line);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }

/* ---------- Store ---------- */
.search { display: flex; flex-wrap: wrap; gap: 12px; max-width: 680px; margin-top: 8px; }
.search input { flex: 1 1 300px; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-size: 17px; color: var(--ink); background: #fff; }
.products { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product .ph { border-radius: 0; aspect-ratio: 1 / 1; }
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.product__name { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.product__vendor { font-size: 15px; color: var(--muted); }
.product__price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--royal); }
.product .btn { margin-top: auto; min-height: 46px; font-size: 16px; }
@media (max-width: 560px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product__body { padding: 14px; gap: 6px; }
  .product__name { font-size: 16px; }
  .product__price { font-size: 19px; }
  .product .btn { min-height: 44px; font-size: 15px; padding: 0 12px; }
  .verified { font-size: 12px; padding: 3px 8px; }
}
.verified { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--royal); background: var(--sky); padding: 4px 10px; border-radius: 999px; }
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.result-bar h2 { font-size: clamp(24px, 3vw, 32px); }
.empty { display: none; padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-strong); }
.empty.is-visible { display: block; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-soft); font-size: 16px; }
.step-big { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--blue); }

/* ---------- Lists ---------- */
.rule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rule-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.rule-list li:last-child { border-bottom: 0; }
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 420px; }
.certs figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.certs img { border-radius: 10px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.certs figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.channel { display: flex; align-items: center; gap: 16px; border-radius: 18px; padding: 18px 22px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.channel svg { color: var(--royal); flex-shrink: 0; }
.channel--primary { background: var(--wa); border-color: var(--wa); color: #fff; }
.channel--primary svg { color: #fff; }
.channel--primary:hover { color: #fff; }
.channel strong { display: block; font-size: 17px; }
.channel span { font-size: 16px; opacity: .88; word-break: break-word; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font: inherit; font-size: 16px; background: var(--ice); color: var(--ink); }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--muted); }
.map-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 220px; height: auto; }
.site-footer h3 { font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-tag { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 17px; line-height: 1.4; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #1B3A63; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 24, 48, .35); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .topstrip .container > span:first-child, .topstrip a[href^="mailto"] { display: none; }
  .topstrip .container { justify-content: center; }
}

/* ---------- Compact photos & mobile ---------- */
.photo--wide { aspect-ratio: 16 / 10; max-height: 340px; }
.photo--tall { aspect-ratio: 1 / 1; max-height: 260px; }
.split .photo--wide { max-height: 320px; }
.photo-stack .photo--wide { max-height: 220px; }
.photo-stack .photo--square { aspect-ratio: 4 / 3; max-height: 150px; }
.pillar__img { aspect-ratio: 16 / 9; max-height: 200px; }
.pillar--row .pillar__img { max-height: none; min-height: 200px; aspect-ratio: auto; }
.person .photo { aspect-ratio: 1 / 1; }
.swipe-hint { display: none; font-size: 13px; color: var(--muted); margin-top: 4px; }
.section--dark .swipe-hint { color: var(--on-dark); }

/* small 2×2 photo grids (executive, bootcamps) */
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini-grid .photo { aspect-ratio: 1 / 1; max-height: 200px; border-radius: 16px; }
.mini-grid .caption { font-size: 13px; line-height: 1.4; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  .page-intro h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 16px; }
  .card { padding: 22px; }
  .page-intro { padding: 36px 0 28px; }
  .page-intro--dark { padding-bottom: 40px; }
  .hero__copy { gap: 16px; padding-top: 36px; }
  .btn { min-height: 48px; padding: 0 20px; font-size: 16px; }
  .split { gap: 22px; }
  .split .photo--wide, .photo--wide { max-height: 200px; }
  .photo-stack .photo--wide { max-height: 170px; }
  .photo-stack .photo--square { max-height: 110px; }
  .pillar__img, .pillar--row .pillar__img { max-height: 150px; min-height: 0; aspect-ratio: 16 / 9; }
  .pillar__body { padding: 20px !important; }
  .swipe-hint { display: block; }

  /* stats: 2 per row, smaller */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px; }
  .stat__num { font-size: 32px; }
  .stat__label { font-size: 14px; }

  /* plans & programme cards swipe sideways instead of stacking */
  .plans { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; gap: 12px; }
  .plans > * { scroll-snap-align: start; }
  .plan { padding: 22px; }
  .plan__price { font-size: 32px; }

  /* executive / bootcamp photo grids swipe */
  .mini-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .mini-grid > * { scroll-snap-align: start; }
  .mini-grid .photo { max-height: 150px; }

  .certs { max-width: 300px; }
  .quote blockquote { font-size: 17px; }
  .trusted { padding: 18px 0; }
  .partners li { width: 46px; height: 46px; border-radius: 10px; }
  .timeline li { padding-left: 52px; }
  .timeline__dot { width: 34px; height: 34px; font-size: 13px; }
  .timeline::before { left: 16px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .value { padding: 14px; font-size: 15px; }
  .value .icon-badge { width: 40px; height: 40px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

/* Card rows that swipe sideways on phones */
@media (max-width: 640px) {
  .swipe-m { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; gap: 12px; }
  .swipe-m > * { scroll-snap-align: start; }
}

/* ==========================================================================
   Compact look: small header logo, blue instead of green, photos as small circles
   ========================================================================== */
:root { --wa: #1F4FE0; }
.btn--wa:hover, .channel--primary:hover { background: var(--blue-deep); }

.brand img { height: 34px; }
@media (max-width: 640px) { .brand img { height: 30px; } .site-header .container { min-height: 64px; } }

/* CEO hero: still the biggest picture, but reduced */
.hero__img { max-height: 380px; }
@media (max-width: 900px) { .hero__img { max-height: 220px; } }

/* Every other photo becomes a small circle */
.photo, .gallery a, .pillar__img, .mini-grid .photo, .photo-stack .photo, .quote .photo, .person .photo {
  width: 120px; height: 120px; max-width: 120px; max-height: 120px; min-height: 0;
  aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(0, 24, 48, .14);
}
.photo img, .gallery img, .pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.split .photo, .split .photo--wide, .split .photo--tall, .photo--wide, .photo--tall { width: 160px; height: 160px; max-width: 160px; max-height: 160px; justify-self: center; }
.split { align-items: center; }

/* Photo stack (home Academy) → a row of three circles */
.photo-stack { display: flex; gap: 14px; justify-content: center; align-items: center; }
.photo-stack .photo, .photo-stack .photo--wide, .photo-stack .photo--square { width: 110px; height: 110px; max-width: 110px; max-height: 110px; }

/* Galleries → a row of small circles that scrolls */
.gallery { grid-auto-columns: 110px; gap: 14px; padding: 6px 4px 12px; }
.gallery a { width: 110px; height: 110px; }

/* Service cards: small circle at the top instead of a banner */
.pillar__img { margin: 24px 24px 0; width: 84px; height: 84px; max-width: 84px; max-height: 84px; background: var(--navy); }
.pillar--row { display: flex !important; flex-direction: row; align-items: flex-start; }
.pillar--row .pillar__img { margin: 32px 0 0 32px; width: 96px; height: 96px; max-width: 96px; max-height: 96px; min-height: 0; }

/* Team → small circles with names centred */
.people { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.person { align-items: center; text-align: center; }
.person .photo { margin-bottom: 10px; }

/* Executive / bootcamp photos */
.mini-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.mini-grid figure { width: 140px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-grid .photo { width: 110px; height: 110px; max-width: 110px; max-height: 110px; }

/* CEO quote */
.quote { grid-template-columns: 96px 1fr; gap: 24px; }
.quote .photo { width: 96px; height: 96px; max-width: 96px; max-height: 96px; }

/* Certificates: small thumbnails (kept rectangular so they stay readable) */
.certs { max-width: 260px; gap: 10px; }
.certs figure { padding: 8px; }
.certs figcaption { font-size: 12px; margin-top: 6px; }

/* Trusted by: one small row */
.trusted { padding: 14px 0; }
.trusted .container { flex-wrap: nowrap; gap: 14px; }
.trusted__label { font-size: 11px; }
.trusted .partners { flex: 1 1 auto; }
.trusted .partners li { width: 36px; height: 36px; border-radius: 50%; padding: 2px; }
.trusted .partners img { border-radius: 50%; }
.trusted a { font-size: 13px; }
.partners li { width: 44px; height: 44px; border-radius: 50%; padding: 3px; }
.partners img { border-radius: 50%; }

@media (max-width: 640px) {
  .photo, .gallery a, .mini-grid .photo, .photo-stack .photo, .person .photo,
  .split .photo, .split .photo--wide, .split .photo--tall, .photo--wide, .photo--tall,
  .photo-stack .photo--wide, .photo-stack .photo--square { width: 88px; height: 88px; max-width: 88px; max-height: 88px; }
  .gallery { grid-auto-columns: 88px; gap: 10px; }
  .gallery a { width: 88px; height: 88px; }
  .pillar__img, .pillar--row .pillar__img { margin: 18px 18px 0; width: 64px; height: 64px; max-width: 64px; max-height: 64px; }
  .pillar--row { flex-direction: column; }
  .people { grid-auto-columns: 110px; }
  .person strong { font-size: 14px; }
  .mini-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; justify-content: start; }
  .mini-grid figure { width: 112px; }
  .quote { grid-template-columns: 64px 1fr; gap: 14px; }
  .quote .photo { width: 64px; height: 64px; max-width: 64px; max-height: 64px; }
  .trusted__label { display: none; }
  .trusted .partners li { width: 30px; height: 30px; }
  .partners li { width: 36px; height: 36px; }
}

/* Linked partner logo (mmiri28) */
.partners li:has(.partner-link) { background: #fff; border-color: var(--blue); }
.partner-link { display: block; width: 100%; height: 100%; border-radius: 50%; }
.partner-link img { object-fit: contain; border-radius: 0; padding: 1px; }
.partner-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
