/* =========================================================
   Fincella — site stylesheet
   Brand: primary #0C4F84, accent #14E045, sky #338ED5
   ========================================================= */

:root {
  --navy-950: #041d33;
  --navy-900: #062a49;
  --navy-800: #083a63;
  --blue-700: #0c4f84;
  --blue-500: #338ed5;
  --blue-100: #dcebf8;
  --blue-50: #eff6fc;
  --green-500: #14e045;
  --green-600: #0fbf3a;
  --green-700: #0a8a2a;
  --green-50: #eafdf0;

  --ink: #0f1b2a;
  --body: #3b4a5c;
  --muted: #66768a;
  --line: #e2e9f1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 42, 73, .06), 0 2px 8px rgba(6, 42, 73, .05);
  --shadow: 0 10px 30px -10px rgba(6, 42, 73, .18), 0 2px 6px rgba(6, 42, 73, .05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 42, 73, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green-500); color: var(--navy-950); }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); }
.on-dark .eyebrow { color: var(--green-500); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

.hl { color: var(--blue-500); }
.on-dark .hl { color: var(--green-500); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-500); --btn-fg: var(--navy-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .98rem/1 var(--font); letter-spacing: .005em; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(20, 224, 69, .6); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--blue { --btn-bg: var(--blue-700); --btn-fg: #fff; }
.btn--blue:hover { box-shadow: 0 12px 24px -10px rgba(12, 79, 132, .6); background: var(--navy-800); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-700); box-shadow: none; }
.on-dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .28); }
.on-dark .btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-700); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .75); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255, 255, 255, .8); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact .icon { width: 15px; height: 15px; color: var(--green-500); }
.brand-switch { display: flex; gap: 4px; padding: 3px; background: rgba(255, 255, 255, .07); border-radius: 999px; }
.brand-switch a { padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.brand-switch a[aria-current="true"] { background: #fff; color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(6, 42, 73, .25); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--blue-50); color: var(--blue-700); }
.nav__link[aria-current="page"] { color: var(--blue-700); }
.nav__link[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.nav__link .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(560px, 90vw);
  translate: -50% 8px; opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3;
}
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }
.dropdown a .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex: none; }
.dropdown a:hover .ico { background: var(--blue-700); color: #fff; }
.dropdown a .ico .icon { width: 18px; height: 18px; }

.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(4, 29, 51, .55); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: #fff; padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer__top img { height: 38px; width: auto; }
.drawer__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.drawer nav a, .drawer summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.drawer summary .chev { width: 18px; height: 18px; transition: transform .25s; }
.drawer details a { padding: 10px 4px 10px 16px; font-weight: 500; font-size: .95rem; border-bottom: 0; color: var(--body); }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer details summary { border-bottom: 0; }
.drawer details[open] { padding-bottom: 8px; }
.drawer .btn { margin-top: 24px; width: 100%; }
.drawer__switch { margin-top: auto; padding-top: 24px; font-size: .9rem; color: var(--muted); }
.drawer__switch a { font-weight: 700; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(51, 142, 213, .45), transparent 60%),
              radial-gradient(700px 500px at 0% 110%, rgba(20, 224, 69, .16), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, .82);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero h1, .hero h2 { color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; margin-bottom: 32px; }
.hero__kicker { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--green-500); margin-bottom: 20px; }
.hero__media { position: relative; }
.hero__media img { position: relative; z-index: 1; width: 100%; }
.hero__media::before {
  content: ""; position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 142, 213, .55), rgba(20, 224, 69, .15) 55%, transparent 70%);
  filter: blur(10px);
}
.hero__badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .9rem; line-height: 1.25;
}
.hero__badge small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.hero__badge .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.hero__badge--a { left: -4%; bottom: 14%; }
.hero__badge--b { right: 0; top: 10%; }

.hero__media--mark { max-width: 340px; justify-self: center; }
.hero__media--mark img { opacity: .95; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) { .hero__media--mark { display: none; } }

/* Page hero (inner pages) */
.page-hero .hero__grid { padding-block: clamp(48px, 7vw, 88px); }
.page-hero--simple .hero__grid { grid-template-columns: minmax(0, 820px); text-align: left; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 2 / 1.15; object-fit: cover; }
.page-hero .hero__media::before { inset: -10%; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 20px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--green-500); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__card {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: clamp(24px, 3vw, 36px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--blue-700); line-height: 1; letter-spacing: -.03em; }
.stat__num span { color: var(--green-600); }
.stat__label { margin-top: 10px; color: var(--muted); font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--body);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .97rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: rgba(255, 255, 255, .95); color: var(--blue-700);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px;
}

/* Feature (icon) cards */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: #fff;
  box-shadow: 0 10px 20px -8px rgba(12, 79, 132, .55);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.feature--why .feature__big { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue-700); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 4px; }
.feature--why p { color: var(--body); font-weight: 600; font-size: 1.02rem; }

.on-dark .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.on-dark .feature h3 { color: #fff; }
.on-dark .feature p { color: rgba(255, 255, 255, .7); }
.on-dark .feature .feature__big { color: var(--green-500); }
.on-dark .feature__icon { background: linear-gradient(135deg, var(--green-500), #7cf29a); color: var(--navy-950); box-shadow: none; }

.dark-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(800px 400px at 100% 0%, rgba(51, 142, 213, .35), transparent 60%), var(--navy-900);
  color: rgba(255, 255, 255, .8);
}
.dark-band h2 { color: #fff; }
.dark-band .section-head p { color: rgba(255, 255, 255, .7); }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }
.split__media::after {
  content: ""; position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 60%; height: 60%;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green-500), var(--blue-500)); opacity: .9;
}
.split__media { isolation: isolate; }
.prose p { font-size: 1.07rem; }
.prose p:first-of-type { font-size: 1.22rem; color: var(--ink); font-weight: 600; line-height: 1.5; }
.prose strong { color: var(--blue-700); }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-weight: 600; color: var(--ink); line-height: 1.35;
  transition: border-color .25s, box-shadow .25s;
}
.checklist li:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.checklist .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green-50); color: var(--green-700); }
.checklist .tick .icon { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- Gateway (home) ---------- */
.gateway { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.gate {
  position: relative; isolation: isolate; overflow: hidden; min-height: 460px;
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: flex-end; color: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow);
}
.gate img.gate__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 29, 51, .15) 0%, rgba(4, 29, 51, .7) 45%, rgba(4, 29, 51, .95) 100%); }
.gate:hover img.gate__bg { transform: scale(1.05); }
.gate:hover { color: rgba(255, 255, 255, .85); }
.gate__logo { align-self: flex-start; margin-bottom: auto; background: #fff; border-radius: 14px; padding: 10px 14px; }
.gate__logo + h2 { margin-top: 32px; }
.gate__logo img { height: 40px; width: auto; }
.gate h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.gate p { font-size: 1.05rem; max-width: 440px; }
.gate ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.gate li { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(4px); }
.gate .btn { align-self: flex-start; }

/* Company contact blocks (home) */
.company {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
.company img { height: 44px; width: auto; margin-bottom: 20px; }
.company h3 { font-size: 1.3rem; }

/* ---------- Contact info list ---------- */
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.info-list .ico .icon { width: 20px; height: 20px; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list span, .info-list a { color: var(--body); overflow-wrap: anywhere; }
.info-list a:hover { color: var(--blue-500); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--blue-700); transition: all .25s;
}
.socials a:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: #d23b3b; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(51, 142, 213, .15); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-weight: 600; font-size: .95rem; margin: 0; }
.form-status.is-ok { color: var(--green-700); }
.form-status.is-err { color: #c62f2f; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.side-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.side-card h3 { margin-bottom: 20px; }
.map { margin-top: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--blue-50); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Vision / mission ---------- */
.vm { display: grid; gap: 18px; }
.vm__item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.vm__item .feature__icon { flex: none; margin-bottom: 0; }
.vm__item h3 { margin-bottom: 6px; }
.vm__item p { margin: 0; }

/* ---------- Team ---------- */
.member { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 0 0 6px var(--blue-50);
}
.member:nth-child(2n) .avatar { background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 0 0 6px var(--green-50); }
.member h3 { margin-bottom: 4px; font-size: 1.1rem; }
.member p { margin: 0; color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Offer tiles */
.tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; isolation: isolate; display: flex; align-items: flex-end; padding: 20px; box-shadow: var(--shadow-sm); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(4, 29, 51, .9)); }
.tile:hover img { transform: scale(1.06); }
.tile h3 { color: #fff; margin: 0; font-size: 1.08rem; }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(120deg, var(--blue-700), var(--navy-900));
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: rgba(255, 255, 255, .8);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 224, 69, .45), transparent 65%);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; left: -60px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .05);
}
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { margin: 0; font-size: 1.08rem; max-width: 560px; }

/* ---------- Course detail ---------- */
.course-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.course-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .86rem; font-weight: 600; }
.course-meta .icon { width: 16px; height: 16px; color: var(--green-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer ul li + li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: var(--green-500); }
.site-footer .info-list .ico { background: rgba(255, 255, 255, .06); color: var(--green-500); width: 38px; height: 38px; border-radius: 10px; }
.site-footer .info-list .ico .icon { width: 17px; height: 17px; }
.site-footer .info-list li + li { margin-top: 0; }
.site-footer .info-list span, .site-footer .info-list a { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.site-footer .socials a { border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .socials a:hover { background: var(--green-500); border-color: var(--green-500); color: var(--navy-950); }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-companies { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--blue-700), var(--green-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.static .reveal, .static .reveal * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid, .gateway, .footer-companies { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .grid--3, .checklist { grid-template-columns: repeat(2, 1fr); }
  .gate { min-height: 400px; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo img { height: 36px; }
  .topbar__contact a:not(:first-child) { display: none; }
  .grid--2, .grid--3, .grid--4, .checklist, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .stats__card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stats { margin-top: -40px; }
  .hero__badge { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .split__media::after { right: -10px; bottom: -10px; }
  .cta .btn { width: 100%; }
}
@media (max-width: 420px) {
  .topbar__contact { display: none; }
  .topbar .container { justify-content: center; }
}
