/* ==========================================================================
   VIKS Properties — site styles
   ========================================================================== */

:root {
  --red: #C20E1A;
  --red-deep: #9F0B14;
  --red-tint: #FBECED;
  --charcoal: #202124;
  --black: #111111;
  --white: #FCFCFA;
  --pure-white: #FFFFFF;
  --grey: #F3F4F5;
  --border: #E2E3E5;
  --gold: #C99B42;
  --text: #202124;
  --muted: #5B5F66;
  --whatsapp: #1FA855;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --section-y: 96px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* elements flying in from the side must never make the page scroll sideways.
   `clip` (unlike `hidden`) keeps the sticky service menu working. */
main { overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--charcoal); }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--charcoal); color: #E9EAEC; }
.section--red { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.section--red::before {
  /* geometric accent, echoing the company profile */
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px;
  border-radius: 0 0 0 200px; background: var(--red-deep); opacity: .55; pointer-events: none;
}
.section--red > .container { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--states { color: var(--charcoal); letter-spacing: .08em; }
.eyebrow--states::before { background: var(--red); }
.eyebrow--states span { color: var(--red); }

.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading.on-dark h2 { color: #fff; }
.section-heading.on-dark .eyebrow { color: #fff; }
.section-heading.on-dark p { color: rgba(255, 255, 255, .82); }
.section--dark .section-heading.on-dark .eyebrow { color: #FF6B73; }
.section-heading.eyebrow-gold .eyebrow { color: var(--gold); }

.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head-row .section-heading { margin-bottom: 0; }

.prose p + p { margin-top: 16px; }
.prose p { color: #3C4046; }
.lead-on-dark { font-size: 1.0625rem; color: rgba(255, 255, 255, .9); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 600 .975rem/1.2 var(--font); text-decoration: none; text-align: center;
  border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--icon-end .icon { order: 2; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .925rem; }
.site-header__cta { padding: 8px 22px; letter-spacing: .06em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--secondary:hover { border-color: var(--red); color: var(--red); }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--white); color: var(--red-deep); }
.btn--on-red { background: #fff; color: var(--red); }
.btn--on-red:hover { background: var(--grey); color: var(--red-deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #178A45; }
.btn--whatsapp-outline { background: transparent; color: #178A45; border-color: var(--whatsapp); }
.btn--whatsapp-outline:hover { background: var(--whatsapp); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--red); text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--red-deep); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 250, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 46px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a {
  display: block; padding: 8px 12px; position: relative;
  font-size: .95rem; font-weight: 500; color: var(--charcoal); text-decoration: none;
  border-radius: 6px; transition: color .2s;
}
.site-nav__list a:hover { color: var(--red); }
.site-nav__list a[aria-current="page"] { color: var(--red); font-weight: 600; }
.site-nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--red); border-radius: 2px;
}
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--charcoal); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--border); background: var(--white);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu__list a {
  display: block; padding: 14px 4px; font-size: 1.0625rem; font-weight: 600;
  color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu__list a[aria-current="page"] { color: var(--red); }
.mobile-menu__actions { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 88px; background: linear-gradient(180deg, var(--grey) 0%, var(--white) 100%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero__lead { margin-top: 20px; font-size: 1.125rem; color: var(--muted); max-width: 540px; }
.hero__reg {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 32px;
  font-size: .9rem; color: var(--muted);
}
.hero__reg .icon { color: var(--red); }
.hero__reg strong { color: var(--charcoal); }

.hero__media, .page-hero__media { position: relative; }
.hero__media img, .page-hero__media img {
  position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); object-fit: cover;
}
.hero__media img { aspect-ratio: 5 / 5.4; object-position: center 20%; }
.shape-block {
  position: absolute; z-index: 0; right: -28px; bottom: -28px; width: 62%; height: 70%;
  background: var(--red); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
}
.dot-pattern {
  position: absolute; z-index: 0; left: -28px; top: -28px; width: 140px; height: 140px;
  background-image: radial-gradient(var(--charcoal) 1.6px, transparent 1.7px);
  background-size: 14px 14px; opacity: .22;
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 56px 0 80px; background: var(--grey); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.page-hero__lead { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 520px; }
.page-hero__media img { aspect-ratio: 4 / 3; }
.page-hero__media .shape-block { width: 45%; height: 60%; right: -24px; bottom: -24px; }

/* ---------- Intro + stats ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intro .section-heading { margin-bottom: 0; }
.intro__text p { font-size: 1.0625rem; color: #3C4046; margin-bottom: 20px; }

.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--pure-white); overflow: hidden;
}
.stat-card { padding: 32px 28px; border-left: 1px solid var(--border); }
.stat-card:first-child { border-left: 0; }
.stat-card__value { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--red); line-height: 1.1; }
.stat-card__label { margin-top: 8px; color: var(--muted); font-weight: 500; }

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }

.icon-tile { display: inline-flex; color: var(--red); }
.icon-tile .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.icon-tile--lg { margin-bottom: 18px; }
.icon-tile--lg .icon { width: 44px; height: 44px; }

.service-card, .value-card, .compliance-card, .expertise-card, .partner-card, .office-card {
  background: var(--pure-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card h3 { margin-top: 8px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .text-link { margin-top: 8px; }
.service-card:hover, .expertise-card:hover, .partner-card:hover { border-color: #D4D6D9; box-shadow: var(--shadow); translate: 0 -3px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--media-left .split__media { order: -1; }
.split__content .section-heading { margin-bottom: 24px; }
.split__media { overflow: hidden; border-radius: var(--radius-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scale: 1.12; } /* scaled so parallax never shows an edge */
.section--red .split__media { box-shadow: 0 20px 40px rgba(0, 0, 0, .18); }

/* ---------- Check lists ---------- */
.check-list { display: grid; gap: 22px; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 1px;
}
.check-item__icon .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.check-item h3 { font-size: 1rem; line-height: 1.35; }
.check-item p { margin-top: 4px; font-size: .925rem; color: var(--muted); }

.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 24px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.tick-list .icon { color: var(--red); width: 20px; height: 20px; margin-top: 3px; stroke-width: 2.4; }

/* ---------- Developers ---------- */
.developer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.developer-tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 112px; padding: 20px; background: var(--pure-white);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--charcoal); line-height: 1.3;
  position: relative;
}
.developer-tile::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; }
.developer-note { text-align: center; margin-top: 24px; color: var(--muted); font-weight: 500; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 64px; border-radius: var(--radius-lg); color: #fff;
}
.cta-panel--red { background: var(--red); }
.cta-panel--dark { background: var(--charcoal); }
.cta-panel__shape {
  position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px;
  border-radius: 200px 0 0 0; background: rgba(0, 0, 0, .14); pointer-events: none;
}
.cta-panel--dark .cta-panel__shape { background: var(--red); opacity: .9; right: -200px; bottom: -220px; }
.cta-panel__content, .cta-panel .btn-row { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
.cta-panel p { margin-top: 12px; font-size: 1.0625rem; color: rgba(255, 255, 255, .88); max-width: 620px; }
.cta-panel .btn-row { margin-top: 0; justify-content: flex-end; }

/* ---------- About ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  padding: 44px; border-radius: var(--radius-lg); background: var(--pure-white); border: 1px solid var(--border);
}
.vm-card--red { background: var(--red); border-color: var(--red); color: #fff; }
.vm-card--red .eyebrow { color: #fff; }
.vm-card__text { font-size: 1.25rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }

.value-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); }

.strength { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.strength__intro .section-heading { margin-bottom: 20px; }
.strength__intro p { color: rgba(255, 255, 255, .78); font-size: 1.0625rem; }
.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.strength-item {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  font-weight: 600; color: #fff;
}
.strength-item .icon { color: #FF6B73; stroke-width: 2.4; }

.compliance-card h3 { margin-top: 18px; }
.compliance-card__value { margin: 6px 0 10px; font-size: 1.375rem; font-weight: 800; color: var(--red); letter-spacing: -0.01em; }
.compliance-card p:last-child { color: var(--muted); font-size: .95rem; }

.awards-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.award-list { display: grid; gap: 14px; }
.award {
  display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px;
  background: var(--pure-white); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius);
}
.award__year {
  flex: none; font-weight: 800; font-size: 1.125rem; color: var(--gold); letter-spacing: -0.01em; min-width: 48px;
}
.award h3 { font-size: 1.0625rem; }
.award ul { margin-top: 8px; display: grid; gap: 4px; }
.award li { display: flex; gap: 8px; align-items: center; color: #3C4046; font-size: .95rem; }
.award li .icon { width: 16px; height: 16px; color: var(--gold); }
.awards-layout__media { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
.awards-layout__media img { border-radius: var(--radius-lg); object-fit: cover; }
.awards-layout__tall { width: 100%; max-width: 308px; height: auto; } /* full photo, no cropping */
.awards-layout__wide { width: 100%; max-width: 308px; aspect-ratio: 526 / 197; }

.focus-list { display: grid; gap: 18px; }
.focus-item { display: flex; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.focus-item:last-child { border-bottom: 0; padding-bottom: 0; }
.focus-item__num { font-weight: 800; color: var(--red); font-size: 1.125rem; min-width: 32px; }
.focus-item p { margin-top: 4px; color: var(--muted); }

/* ---------- Services page ---------- */
.page-hero--services { padding-bottom: 104px; }
/* sticks under the header while scrolling through the services */
.service-jump { position: sticky; top: calc(var(--header-h) + 10px); z-index: 40; margin-top: -48px; }
.service-jump__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  background: var(--pure-white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.service-jump__grid li + li { border-left: 1px solid var(--border); }
.service-jump__grid a {
  display: flex; align-items: center; gap: 12px;
  height: 100%; padding: 20px 16px; text-align: left; text-decoration: none;
  font-size: .925rem; font-weight: 600; line-height: 1.3; color: var(--charcoal);
  position: relative; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.service-jump__grid a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease);
}
.service-jump__grid a:hover, .service-jump__grid a.is-active { background: var(--red-tint); color: var(--red); }
.service-jump__grid a:hover::after, .service-jump__grid a.is-active::after { transform: scaleX(1); }
.service-jump__grid .icon-tile { flex: none; }
.service-jump__grid .icon-tile .icon { width: 30px; height: 30px; }
.service-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.service-section h2 { margin-bottom: 16px; }
.service-section__intro { color: var(--muted); font-size: 1.0625rem; max-width: 560px; }

/* ---------- Project marketing ---------- */
.expertise-card h3 { margin-bottom: 8px; }
.expertise-card p { color: var(--muted); }
.partner-grid { margin-top: 56px; }
.partner-card { padding: 24px; }
.partner-card h3 { margin: 16px 0 6px; font-size: 1.0625rem; line-height: 1.3; }
.partner-card p { color: var(--muted); font-size: .925rem; }
.opportunities { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.opportunities .section-heading { margin-bottom: 0; }
.opportunity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opportunity-list li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  font-weight: 600;
}
.opportunity-list .icon { stroke-width: 2.4; }

/* ---------- Contact ---------- */
.quick-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-details {
  padding: 36px; border-radius: var(--radius-lg); background: var(--charcoal); color: #E9EAEC;
}
.contact-details h2 { color: #fff; font-size: 1.375rem; margin-bottom: 24px; }
.contact-details dl { margin: 0; display: grid; gap: 18px; }
.contact-details dt {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A9ADB3;
}
.contact-details dt .icon { width: 16px; height: 16px; color: #FF6B73; }
.contact-details dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.contact-details a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.contact-details a:hover { text-decoration-color: #fff; }
.contact-details__sub { color: #fff; font-size: 1rem; margin: 32px 0 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.social-list { display: grid; gap: 10px; }
.social-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.social-list__network { min-width: 84px; color: #A9ADB3; font-size: .925rem; }

.form-card { padding: 40px; border-radius: var(--radius-lg); background: var(--pure-white); border: 1px solid var(--border); }
.form-card h2 { font-size: 1.625rem; }
.form-card__intro { margin: 8px 0 28px; color: var(--muted); }
.enquiry-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 50px;
  font: 400 1rem/1.4 var(--font); color: var(--text);
  background: var(--pure-white); border: 1px solid #CDD0D4; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23202124' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(194, 14, 26, .14);
}
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field__error { font-size: .85rem; color: var(--red); }
.form-status {
  padding: 18px 20px; border-radius: var(--radius); background: var(--grey); border: 1px solid var(--border);
}
.form-status p { color: #3C4046; }
.form-status--success { background: #EDF7F0; border-color: #BFE3CB; }
.form-status--success strong { color: #146C35; }
.form-status strong { display: block; color: var(--charcoal); margin-bottom: 4px; }
.form-status .btn-row { margin-top: 14px; }

.office-card { display: flex; flex-direction: column; }
.office-card__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.office-card h3 { margin: 10px 0 12px; font-size: 1rem; }
.office-card address { color: #3C4046; flex: 1; }
.office-card__reg { margin: 16px 0 14px; font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.office-card .text-link .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #C5C8CD; padding: 72px 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 40px; }
.site-footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__reg { margin-top: 18px; font-size: .875rem; color: #A9ADB3; }
.site-footer__reg strong { color: #fff; font-size: 1rem; }
.site-footer__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__title--spaced { margin-top: 28px; }
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list--inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: #C5C8CD; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: #9599A0;
}

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .2s var(--ease), background-color .2s;
}
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: translateY(-2px); background: #178A45; }

/* ---------- Motion ----------
   .reveal elements fade + fly in when they enter the viewport and fade out again
   when they leave (main.js toggles .is-visible / data-out). Offsets per context
   are set with --rx / --ry / --rs. Parallax uses the separate `translate`
   property (fed by --py from main.js) so it never fights the reveal transform. */
.js .reveal {
  --rx: 0px; --ry: 36px; --rs: 1; --dir: 1;
  opacity: 0;
  transform: translate3d(var(--rx), calc(var(--ry) * var(--dir)), 0) scale(var(--rs));
  transition: opacity .7s var(--ease), transform .9s var(--ease), translate .25s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
  transition-delay: 0s;
}
.js .reveal[data-out="above"] { --dir: -1; }
.js .reveal.is-visible { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }

/* fly in from the side */
.js .split__media.reveal { --rx: 72px; --ry: 0px; --rs: .96; }
.js .split--media-left .split__media.reveal { --rx: -72px; }
.js .vm-card--red.reveal, .js .contact-details.reveal, .js .award.reveal { --rx: -60px; --ry: 0px; }
.js .vm-card:not(.vm-card--red).reveal, .js .form-card.reveal, .js .awards-layout__media.reveal { --rx: 60px; --ry: 0px; }
.js .check-item.reveal, .js .tick-list .reveal, .js .strength-item.reveal,
.js .opportunity-list .reveal, .js .focus-item.reveal { --rx: -32px; --ry: 0px; }
/* zoom in */
.js .stat-card.reveal, .js .developer-tile.reveal { --ry: 20px; --rs: .88; }
.js .cta-panel.reveal { --ry: 40px; --rs: .94; }

/* parallax layers */
.hero__media img, .page-hero__media img, .shape-block, .dot-pattern,
.split__media img, .cta-panel__shape, .section--red::before { translate: 0 var(--py, 0px); }

/* opening animation for the top section of every page */
@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(60px) scale(.97); } to { opacity: 1; transform: none; } }
.js .hero__content > *, .js .page-hero__content > * { animation: rise-in .9s var(--ease) backwards; }
.js .hero__content > :nth-child(2), .js .page-hero__content > :nth-child(2) { animation-delay: .1s; }
.js .hero__content > :nth-child(3), .js .page-hero__content > :nth-child(3) { animation-delay: .2s; }
.js .hero__content > :nth-child(4), .js .page-hero__content > :nth-child(4) { animation-delay: .3s; }
.js .hero__content > :nth-child(5), .js .page-hero__content > :nth-child(5) { animation-delay: .4s; }
.js .hero__media, .js .page-hero__media { animation: slide-in 1.1s var(--ease) .15s backwards; }
.hero__content, .page-hero__content { opacity: var(--hero-fade, 1); translate: 0 var(--hero-shift, 0px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__content > *, .js .page-hero__content > *, .js .hero__media, .js .page-hero__media { animation: none; }
  .btn, .service-card, .expertise-card, .partner-card, .whatsapp-float { transition: none; }
  .btn:hover, .service-card:hover, .expertise-card:hover, .partner-card:hover { transform: none; translate: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-header__inner { gap: 16px; }
  .site-nav__list a { padding: 8px 9px; font-size: .9rem; }
  /* 5 items in rows of 3: centre the last row instead of leaving a gap */
  .card-grid--5, .developer-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .card-grid--5 > *, .developer-grid > * { flex: 0 1 calc((100% - 48px) / 3); }
  .developer-grid > * { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 1024px) {
  :root { --section-y: 80px; }
  .service-jump__grid { display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
  .service-jump__grid::-webkit-scrollbar { display: none; }
  .service-jump__grid li { flex: none; }
  .service-jump__grid a { padding: 14px 16px; white-space: nowrap; }
  .service-jump__grid .icon-tile .icon { width: 24px; height: 24px; }
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__grid, .page-hero__grid { gap: 48px; }
  .split { gap: 48px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(3) { border-left: 0; }
  .stat-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .strength, .opportunities { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 48px; }
  .cta-panel .btn-row { justify-content: flex-start; }
  .awards-layout { grid-template-columns: 1fr; gap: 40px; }
  .awards-layout__media { grid-template-columns: auto auto; align-items: end; justify-content: start; }
  .awards-layout__tall { max-width: 260px; }
  .awards-layout__wide { max-width: 420px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --section-y: 64px; --header-h: 68px; }
  .site-header__logo img { height: 40px; }
  .hero { padding: 40px 0 64px; }
  .hero__grid, .page-hero__grid, .split, .intro, .vm-grid { grid-template-columns: 1fr; }
  .hero__grid { gap: 48px; }
  .hero h1 { max-width: 18ch; }
  .hero__media img { aspect-ratio: 16 / 11; } /* full width, landscape on tablets */
  .page-hero { padding: 40px 0 64px; }
  .page-hero__grid { gap: 40px; }
  .page-hero__media img { aspect-ratio: 16 / 10; }
  .split--media-left .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .intro { gap: 20px; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .awards-layout__media { grid-template-columns: 1fr 1.6fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .page-hero--services { padding-bottom: 88px; }
  .service-jump { margin-top: -40px; }
  .service-jump { top: calc(var(--header-h) + 8px); }
  .service-jump__grid { border-radius: var(--radius); }
  .service-jump__grid a { gap: 8px; padding: 12px 14px; font-size: .875rem; }
  .service-jump__grid .icon-tile .icon { width: 22px; height: 22px; }
  body { font-size: .975rem; }
  .section-heading { margin-bottom: 32px; }
  .section-head-row { margin-bottom: 32px; }
  .btn-row .btn, .quick-contact .btn { flex: 1 1 100%; }
  .hero__media img { aspect-ratio: 4 / 3.4; }
  .page-hero__media img, .split__media img { aspect-ratio: 4 / 3; }
  .hero__lead, .page-hero__lead { font-size: 1.0625rem; }
  .shape-block { right: -12px; bottom: -12px; }
  .page-hero__media .shape-block { right: -12px; bottom: -12px; }
  .dot-pattern { left: -10px; top: -14px; width: 100px; height: 100px; }
  .stat-grid { margin-top: 40px; }
  .stat-card { padding: 22px 18px; }
  .card-grid--3, .card-grid--4, .card-grid--5 { grid-template-columns: 1fr; }
  .card-grid { gap: 16px; }
  .developer-grid { gap: 12px; }
  .developer-grid > * { flex-basis: calc((100% - 12px) / 2); }
  .card-grid--5 > * { flex-basis: 100%; }
  .developer-tile { min-height: 96px; font-size: .975rem; padding: 16px 12px; }
  .check-list--2, .tick-list, .strength-grid, .opportunity-list, .form-row { grid-template-columns: 1fr; }
  .cta-panel { padding: 36px 24px; }
  .vm-card { padding: 30px 24px; }
  .vm-card__text { font-size: 1.125rem; }
  .award { flex-direction: column; gap: 6px; padding: 20px; }
  .awards-layout__media { grid-template-columns: 1fr; justify-items: center; }
  .awards-layout__wide { max-width: 308px; } /* same width as the photo above */
  .contact-details, .form-card { padding: 28px 20px; }
  .site-footer { padding-top: 56px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { margin-top: 40px; padding-bottom: 88px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 359px) {
  .developer-grid > * { flex-basis: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { border-left: 0 !important; border-top: 1px solid var(--border); }
  .stat-card:first-child { border-top: 0; }
}
