/* =========================================================
   Medstream Services and Consultancy Co. Ltd — Stylesheet
   Brand colours (do not change):
   Navy #102D4B · Teal #168C83 · Gold #E99D20
   White #FFFFFF · Light Grey #F3F6F7 · Dark Text #202A35
   ========================================================= */

:root {
  --navy: #102D4B;
  --navy-700: #16395C;
  --navy-600: #1C4670;
  --navy-rgb: 16, 45, 75;
  --teal: #168C83;
  --teal-dark: #0F6961;
  --teal-rgb: 22, 140, 131;
  --gold: #E99D20;
  --gold-dark: #C9800F;
  --gold-rgb: 233, 157, 32;
  --white: #FFFFFF;
  --light-grey: #F3F6F7;
  --grey-200: #E7ECEE;
  --dark-text: #202A35;
  --muted: #5C6B78;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container-w: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(16, 45, 75, 0.06);
  --shadow-md: 0 14px 34px rgba(16, 45, 75, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 45, 75, 0.18);
  --header-h: 84px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.22;
  font-weight: 600;
}

h1 { font-weight: 700; }

p { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 80px); }

.bg-light { background: var(--light-grey); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}
.bg-navy .eyebrow { color: var(--gold); }

h2.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(233, 157, 32, 0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(233, 157, 32, 0.4);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(16,45,75,0.25);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Icon sprite sizing ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 45, 75, 0.0);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,45,75,0.55), rgba(16,45,75,0));
  opacity: 1;
  transition: opacity .4s var(--ease);
  z-index: -1;
}
.site-header.is-scrolled {
  background: rgba(16, 45, 75, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  height: 72px;
}
.site-header.is-scrolled::before { opacity: 0; }

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn-primary { padding: 12px 24px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-drawer { display: none; }
.nav-scrim { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(16,45,75,0.97) 0%, rgba(16,45,75,0.93) 32%, rgba(16,45,75,0.55) 62%, rgba(16,45,75,0.35) 100%),
    linear-gradient(to top, rgba(10,28,47,0.9), transparent 45%);
}
.hero-accent {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero-accent--gold {
  width: 340px; height: 340px;
  right: 6%; top: 14%;
  background: radial-gradient(circle, rgba(233,157,32,0.28), transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
  animation: floatBlob 9s ease-in-out infinite;
}
.hero-accent--teal {
  width: 420px; height: 420px;
  right: -8%; bottom: -10%;
  background: radial-gradient(circle, rgba(22,140,131,0.3), transparent 70%);
  border-radius: 50%;
  animation: floatBlob 12s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-22px, 20px) scale(1.08); }
}
.hero-shape {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 0;
  width: min(46%, 560px);
  opacity: 0.9;
}

.hero-inner {
  max-width: 700px;
  padding-block: 64px 90px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulseDot 2.6s ease-in-out infinite;
}
.hero-badge .dot svg { width: 14px; height: 14px; stroke-width: 2.4; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 157, 32, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(233, 157, 32, 0); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lede {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-sectors span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-sectors span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 18px; height: 18px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Pills / tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--light-grey);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--grey-200);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.tag:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.tag svg { width: 15px; height: 15px; color: var(--teal); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img { aspect-ratio: 4/4.1; object-fit: cover; }
.about-media .frame-accent {
  position: absolute;
  width: 68%;
  height: 68%;
  border: 10px solid rgba(var(--teal-rgb), 0.18);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-media .frame-accent--tl { top: -22px; left: -22px; }
.about-media .badge-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.about-media .badge-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-media .badge-card strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 0.92rem;
}
.about-media .badge-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-body p + p { margin-top: 16px; }
.about-body .tag-row { margin: 28px 0 32px; }
.about-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.about-actions .mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.about-actions .mini-link:hover { color: var(--teal); gap: 12px; }

.signature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--grey-200);
}
.signature-row .initials {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.signature-row strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 0.95rem;
}
.signature-row span {
  font-size: 0.8rem;
  color: var(--muted);
}
.contact-side .signature-row {
  border-top-color: rgba(255,255,255,0.18);
  margin-top: auto;
  padding-top: 26px;
}
.contact-side .signature-row .initials {
  background: var(--gold);
  color: var(--navy);
}
.contact-side .signature-row strong { color: var(--white); }
.contact-side .signature-row span { color: rgba(255,255,255,0.65); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .thumb {
  position: relative;
  aspect-ratio: 16/10.6;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,45,75,0.55), transparent 55%);
}
.service-card .ico-badge {
  position: absolute;
  left: 20px; bottom: -26px;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(22,140,131,0.35);
  z-index: 2;
  transition: transform .4s var(--ease);
}
.service-card:hover .ico-badge { transform: scale(1.1) rotate(-6deg); }
.service-card .ico-badge svg { width: 26px; height: 26px; }
.service-card .num {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.service-card .body {
  padding: 40px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}
.service-card p { font-size: 0.93rem; margin-bottom: 14px; }
.service-card .more-text {
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.service-card .more-text > div { overflow: hidden; }
.service-card.is-open .more-text {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-bottom: 14px;
}
.service-card .toggle-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--teal);
  align-self: flex-start;
}
.service-card .toggle-more svg {
  width: 15px; height: 15px;
  transition: transform .35s var(--ease);
}
.service-card.is-open .toggle-more svg { transform: rotate(180deg); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-200);
  align-items: flex-start;
}
.why-row:first-child { padding-top: 0; }
.why-row .num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--grey-200);
  line-height: 1;
  transition: color .4s var(--ease);
}
.why-row:hover .num { color: var(--gold); }
.why-row .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(var(--teal-rgb), 0.1);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.why-row:hover .ico { background: var(--teal); color: var(--white); }
.why-row h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-row p { font-size: 0.95rem; max-width: 620px; }

.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-visual {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  padding: 44px 38px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.why-visual .mark {
  width: 56px; margin-bottom: 26px;
}
.why-visual h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.why-visual p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-bottom: 26px; }
.why-visual .quote {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1.05rem;
  color: var(--white);
}

/* ---------- Approach ---------- */
.approach-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.approach-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--grey-200) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.approach-step {
  position: relative;
  z-index: 1;
  text-align: left;
}
.approach-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 22px;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.approach-step:hover .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}
.approach-step .step-num svg { width: 24px; height: 24px; }
.approach-step h3 { font-size: 1rem; margin-bottom: 8px; }
.approach-step p { font-size: 0.88rem; }

/* ---------- Mission / Vision / Values ---------- */
.mvv-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.mvv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.mvv-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(233,157,32,0.4);
}
.mvv-card .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .4s var(--ease);
}
.mvv-card:hover .ico { transform: scale(1.1) rotate(6deg); }
.mvv-card .ico svg { width: 28px; height: 28px; }
.mvv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.mvv-card p { font-size: 0.93rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(22,140,131,0.18), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.value-card .vnum {
  position: absolute;
  right: 16px; top: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.6rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
}
.value-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(233,157,32,0.16);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.value-card:hover .ico { transform: scale(1.1) rotate(-6deg); background: var(--gold); color: var(--navy); }
.value-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.value-card p {
  font-size: 0.87rem;
  position: relative; z-index: 1;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-side {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
}
.contact-side .bg-photo {
  position: absolute; inset: 0;
  z-index: 0;
}
.contact-side .bg-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.contact-side .bg-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(16,45,75,0.96), rgba(16,45,75,0.86));
}
.contact-side > * { position: relative; z-index: 1; }
.contact-side h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.contact-side .lede { color: rgba(255,255,255,0.82); margin-bottom: 0; font-size: 1rem; }

.contact-methods { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-method .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method .label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.contact-method a, .contact-method span.value { font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; }
.contact-method a:hover { color: var(--gold); }

.contact-form-panel {
  background: var(--white);
  padding: clamp(32px, 5vw, 56px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  background: var(--light-grey);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.field .error-msg { display: none; color: #c0392b; font-size: 0.78rem; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 0.86rem; font-weight: 600; }
.form-status[data-state="success"] { color: var(--teal-dark); }
.form-status[data-state="error"] { color: #c0392b; }
.privacy-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(22,140,131,0.18), transparent 45%),
              radial-gradient(circle at 90% 100%, rgba(233,157,32,0.12), transparent 40%);
  pointer-events: none;
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-block: 72px 48px;
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; margin-bottom: 20px; }
.footer-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(233,157,32,0.12);
  border: 1px solid rgba(233,157,32,0.3);
  padding: 7px 14px;
  border-radius: 999px;
}
.footer-flag svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); }
.footer-socials svg { width: 17px; height: 17px; }

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); }

/* ---------- Scroll margin for anchors ---------- */
section[id] { scroll-margin-top: var(--header-h); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; }
  .why-visual { position: static; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-track { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .approach-track::before { display: none; }
  .mvv-top { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-side { padding-bottom: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .nav-drawer {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--navy);
    z-index: 510;
    padding: 110px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-drawer { display: flex; }
  .nav-drawer.is-open { transform: translateX(0); }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 495;
    background: rgba(8, 20, 34, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
  }
  .nav-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-drawer a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    padding: 16px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-drawer .btn-primary { margin-top: 24px; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .approach-track { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 32px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero-inner { padding-block: 40px 70px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .why-row { grid-template-columns: 1fr; }
  .why-row .num { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .approach-track { grid-template-columns: 1fr; }
  .about-media .badge-card { position: static; margin-top: -40px; margin-inline: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
