/* ==========================================================================
   KAS Venture Solutions Limited — main stylesheet
   Brand colours, fonts and spacing live in :root. Change them there.
   ========================================================================== */

/* ---------- Fonts (self-hosted: the site works offline, no external requests) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand colours */
  --blue: #0058B9;          /* primary brand blue */
  --blue-bright: #019CF8;   /* top of the brand gradient */
  --blue-deep: #003F86;     /* deep blue for panels */
  --navy: #002B5E;          /* footer */
  --blue-mid: #0B78D0;
  --blue-soft: #EAF4FD;     /* light tinted backgrounds */
  --gold: #D4A537;          /* brand gold (fills, lines, buttons) */
  --gold-light: #FFD873;    /* gold text on blue */
  --gold-text: #8A6614;     /* gold text on white */
  --ink: #1E2A38;           /* body text */
  --muted: #556273;
  --line: #D3E3F3;
  --white: #ffffff;

  --gradient: linear-gradient(160deg, var(--blue-bright) 0%, var(--blue) 72%);
  --gradient-deep: linear-gradient(135deg, #0068C7 0%, var(--blue-deep) 100%);

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 43, 94, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 43, 94, 0.18);
  --container: 1200px;
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 88, 185, 0.12);
}
a, button, input, select, textarea { touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--blue); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.break { overflow-wrap: anywhere; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 20px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #E4B84A; color: var(--navy); box-shadow: 0 8px 20px rgba(212,165,55,.35); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #C4D8EE; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #C4D8EE; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar .icon { color: var(--gold); }
.topbar__right { gap: 22px !important; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,43,94,.10); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .seal { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__name { font-weight: 900; font-size: 1.32rem; letter-spacing: .01em; color: var(--blue); }
.brand__sub { font-weight: 700; font-size: .6rem; letter-spacing: .32em; color: var(--gold-text); margin-top: 6px; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: var(--gold-light); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 10px 14px; border-radius: 8px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--blue-deep); text-decoration: none;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }
.site-nav ul a.active { color: var(--blue); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--blue); color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .8em; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-light); }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head--left { margin-left: 0; text-align: left; margin-bottom: 28px; }
.section-head--left .eyebrow { justify-content: flex-start; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tight { padding-bottom: clamp(48px, 6vw, 72px); }
.section--alt { background: var(--blue-soft); }
.section--blue { background: var(--gradient); }

/* ---------- Hero ---------- */
.hero { background: var(--gradient); color: var(--white); padding: clamp(56px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--gold); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); font-weight: 900; }
.hero h1 span { color: var(--gold-light); }
.hero__lead { font-size: 1.2rem; color: #F0F6FD; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__art img { width: 100%; max-width: 560px; margin-left: auto; }

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 2; }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: translateY(-40px); overflow: hidden;
}
.fact { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact__value { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; color: var(--blue); }
.fact__label { color: var(--muted); font-size: .95rem; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }

.badge-card {
  position: absolute; left: -16px; bottom: -24px; display: flex; gap: 12px; align-items: center;
  background: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.badge-card strong { display: block; font-family: var(--font-head); color: var(--blue); }
.badge-card span:not(.badge-card__icon) { font-size: .9rem; color: var(--muted); }
.badge-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }

/* ---------- Service cards (home) ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 20px 22px;
  text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.service-card__num { position: absolute; top: 18px; right: 18px; font-family: var(--font-head); font-weight: 900; color: #B6CCE4; font-size: 1.05rem; }
.service-card h3 { margin: 6px 0 0; font-size: 1.02rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--gradient); color: var(--white);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.service-card:hover .service-card__icon { background: var(--gold); color: var(--navy); }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--gold-text); }

/* ---------- Vertical service list (services page) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--blue); }
.svc-row a {
  display: grid; grid-template-columns: 52px 56px minmax(0, 1fr) 40px; align-items: center; gap: 18px;
  padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .2s, padding .2s;
}
.svc-row a:hover { background: var(--blue-soft); padding-left: 16px; color: var(--ink); }
.svc-row__num { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: #B07D12; text-align: right; }
.svc-row__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gradient); color: var(--white); display: grid; place-items: center; }
.svc-row__text { display: flex; flex-direction: column; gap: 2px; }
.svc-row__title { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--blue); line-height: 1.3; }
.svc-row__desc { color: var(--muted); font-size: .98rem; }
.svc-row__go { color: var(--blue); justify-self: end; transition: transform .2s; }
.svc-row a:hover .svc-row__go { transform: translateX(4px); }

.service-detail--reverse .split__media { order: 2; }
.title-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--navy); margin-right: 14px; vertical-align: middle; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002B5E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Features, vision & mission ---------- */
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--blue-soft); }
.section--alt .feature { background: var(--white); }
.feature p { color: var(--muted); margin: 0; }
.feature__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--gold); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }

.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vm-card { padding: 40px 36px; border-radius: var(--radius-lg); background: var(--gradient-deep); color: #E3EEFA; box-shadow: var(--shadow-lg); }
.vm-card h2 { color: var(--gold-light); font-size: 1.6rem; }
.vm-card p { margin: 0; font-size: 1.08rem; }
.vm-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,216,115,.15); color: var(--gold-light); margin-bottom: 16px; }
.vm-card--gold { background: var(--gold); color: var(--navy); }
.vm-card--gold h2 { color: var(--navy); }
.vm-card--gold .vm-card__icon { background: rgba(0,43,94,.12); color: var(--navy); }

.info-card { background: var(--gradient-deep); color: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.info-card h3 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 20px; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dl div { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 12px; }
.info-card dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.info-card dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; }

/* ---------- Team ---------- */
.team-grid { max-width: 860px; margin: 0 auto; }
.team-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.team-card__top { display: flex; align-items: center; gap: 20px; padding: 28px; background: var(--gradient-deep); }
.team-card__top h3 { color: var(--white); margin: 0; font-size: 1.25rem; }
.team-card__role { color: var(--gold-light); font-weight: 700; margin: 4px 0 0; }
.avatar {
  flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; border: 4px solid rgba(255,255,255,.25);
}

/* ---------- Registration ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.reg-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.reg-table th, .reg-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.reg-table tr:last-child th, .reg-table tr:last-child td { border-bottom: 0; }
.reg-table th { width: 36%; background: #F3F8FD; color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }

.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px auto 0; max-width: 900px; }
.cert { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cert a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.cert img { width: 100%; transition: transform .3s; }
.cert a:hover img { transform: scale(1.02); }
.cert figcaption { text-align: center; line-height: 1.4; }
.cert figcaption strong { display: block; font-family: var(--font-head); color: var(--blue); }
.cert figcaption span { font-size: .92rem; color: var(--muted); }

.mini-certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: end; }
.mini-certs img { border-radius: 10px; box-shadow: var(--shadow-lg); border: 6px solid var(--white); }
.mini-certs img:first-child { transform: rotate(-3deg); }
.mini-certs img:last-child { transform: rotate(3deg) translateY(-18px); }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--blue-deep); cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-grid:empty { display: none; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project-card img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.project-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.project-card__meta { font-size: .85rem; color: var(--gold-text); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.project-card h3 { margin: 0; }
.project-card p { margin: 0; color: var(--muted); }

.empty-state {
  display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: var(--radius-lg);
  background: var(--blue-soft); border: 2px dashed #A9C9EA;
}
.empty-state[hidden] { display: none; }
.empty-state__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--gradient); color: var(--white); display: grid; place-items: center; }
.empty-state h3 { margin-bottom: .3em; }
.empty-state p { color: var(--muted); max-width: 640px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cap-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cap-card[hidden] { display: none; }
.cap-card__media { position: relative; }
.cap-card__media img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.cap-card__tag {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: var(--white); color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: .78rem; box-shadow: var(--shadow);
}
.cap-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cap-card__body ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); flex: 1; }
.cap-card__body li::marker { color: var(--gold); }
.cap-card__body a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue); text-decoration: none; min-height: 44px; }
.cap-card__body a:hover { color: var(--gold-text); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); padding: 56px 0; border-top: 6px solid var(--gold); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: .25em; color: var(--white); }
.cta-band p { margin: 0; color: #E3EEFA; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--gradient); color: var(--white); padding: clamp(48px, 6vw, 84px) 0; border-bottom: 6px solid var(--gold); overflow: hidden; }
.page-hero__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); font-weight: 900; }
.page-hero__lead { font-size: 1.2rem; color: #F0F6FD; max-width: 640px; margin: 0; }
.page-hero__seal { flex: none; opacity: .95; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
.breadcrumb { display: flex; gap: 10px; font-size: .9rem; color: #DCEBFA; margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ---------- Contact ---------- */
.contact-card {
  display: block; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: var(--white); margin-bottom: 14px; }

.enquiry-form { background: var(--white); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #FBFDFF; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(212,165,55,.28); }
.field.has-error input, .field.has-error textarea { border-color: #B42318; }
.field__error { color: #B42318; font-size: .88rem; margin: 6px 0 0; }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--blue); }

.office-card { background: var(--gradient-deep); color: #E3EEFA; border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.office-card h3 { color: var(--gold-light); display: flex; align-items: center; gap: 10px; }
.office-card p:last-child { margin-bottom: 0; }
.map-card {
  display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white);
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s;
}
.map-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.map-card__art svg { display: block; width: 100%; height: auto; }
.map-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.map-card__body strong { font-family: var(--font-head); color: var(--blue); font-size: 1.1rem; }
.map-card__body > span:not(.btn) { color: var(--muted); }
.map-card__body .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C4D8EE; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.5fr; gap: 40px; padding-bottom: 56px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__reg { font-size: .9rem; color: #A9C4E3; }
.footer__title { color: var(--white); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer a { color: #C4D8EE; text-decoration: none; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; min-height: 44px; }
.footer__contact .icon { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .9rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.whatsapp-float, .back-to-top {
  position: fixed; right: 20px; z-index: 90; display: grid; place-items: center; border-radius: 50%;
  box-shadow: var(--shadow-lg); transition: transform .2s, opacity .3s, visibility .3s;
}
.whatsapp-float { bottom: 20px; width: 58px; height: 58px; background: var(--gold); color: var(--navy); }
.whatsapp-float:hover { transform: scale(1.08); color: var(--navy); }
.back-to-top { bottom: 90px; width: 46px; height: 46px; background: var(--blue); color: var(--white); opacity: 0; visibility: hidden; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { color: var(--gold-light); }

.notfound { text-align: center; min-height: 50vh; }
.notfound .seal { margin: 0 auto 20px; }
.notfound .hero__actions, .notfound .eyebrow { justify-content: center; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .contact-card, .cap-card, .svc-row a { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid, .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--white); padding: 16px 20px 24px; border-bottom: 4px solid var(--gold); box-shadow: 0 20px 30px rgba(0,43,94,.12);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a::after { display: none; }
  .site-nav ul a.active { color: var(--gold-text); }
  .site-nav .btn { width: 100%; }

  .hero__grid, .split, .vm-grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 360px; margin: 0 auto; }
  .service-detail--reverse .split__media { order: 0; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .badge-card { left: 12px; }
  .page-hero__seal { display: none; }
  .mini-certs { max-width: 460px; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .grid--4, .grid--2, .form-row, .check-list, .cert-grid, .project-grid, .cap-grid, .footer__grid { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card { padding: 20px 16px 18px; }
  .service-card p { display: none; }
  .brand .seal { width: 44px; height: 44px; }
  .brand__name { font-size: 1.12rem; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .enquiry-form, .info-card, .office-card { padding: 24px 20px; }
  .vm-card { padding: 32px 24px; }
  .team-card__top { flex-direction: column; text-align: center; }
  .title-icon { display: grid; margin: 0 0 12px; }
  .svc-row a { grid-template-columns: 34px 44px minmax(0, 1fr); gap: 12px; padding: 14px 4px; }
  .svc-row__icon { width: 44px; height: 44px; }
  .svc-row__num { font-size: 1.15rem; }
  .svc-row__go { display: none; }
  .empty-state { flex-direction: column; padding: 24px 20px; }

  /* Android / small phones: stacked table rows, full-width actions, shorter images */
  .reg-table { min-width: 0; }
  .reg-table tr { display: block; border-bottom: 1px solid var(--line); }
  .reg-table tr:last-child { border-bottom: 0; }
  .reg-table th, .reg-table td { display: block; width: 100%; border-bottom: 0; }
  .reg-table th { padding: 14px 18px 4px; background: none; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
  .reg-table td { padding: 0 18px 14px; font-weight: 600; }
  .enquiry-form .btn, .empty-state .btn { width: 100%; }
  .service-detail .split__media img, .split__media img { aspect-ratio: 16 / 9; object-fit: cover; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .badge-card { position: static; margin-top: -28px; margin-left: 12px; margin-right: 12px; }
}
