/* ==========================================================================
   Bakar Lift General Trading Limited
   Main stylesheet
   ========================================================================== */

/* ---------- Fonts (self hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --color-1: #1d4ed8;
  --color-2: #3b82f6;
  --color-3: #60a5fa;
  --color-4: #bfdbfe;
  --color-5: #1e3a8a;

  /* Deeper navy shades of the palette, for dark sections */
  --navy-800: #172f78;
  --navy-900: #0c1844;

  /* Neutrals */
  --ink: #0f1d4a;
  --text: #46536f;
  --muted: #6b7794;
  --line: #e2e8f4;
  --surface: #ffffff;
  --surface-soft: #f3f6fc;
  --surface-tint: #eaf1fe;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 29, 74, .06);
  --shadow: 0 14px 34px -14px rgba(15, 29, 74, .2);
  --shadow-lg: 0 30px 60px -22px rgba(15, 29, 74, .32);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --section-y: clamp(28px, 3.5vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 767px) {
  :root { --header-h: 70px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
@media (max-width: 640px) { body { font-size: 1rem; } }

body.no-scroll { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-1); text-decoration: none; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: .005em;
}

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

::selection { background: var(--color-4); color: var(--color-5); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--color-1); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Sections and headings ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--soft { background: var(--surface-soft); }
.section--tight { padding-block: clamp(24px, 3vw, 36px); }
.section--snug-top { padding-top: clamp(16px, 2vw, 24px); }
.section--snug-bottom { padding-bottom: clamp(16px, 2vw, 24px); }

/* Repeating logo diamonds, used as a faint texture */
.pattern::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Crect x='24' y='24' width='24' height='24' rx='6' transform='rotate(45 36 36)' fill='none' stroke='%2360a5fa' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 72px 72px;
  opacity: .12;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
}

.section-head { max-width: 720px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.section-title { margin-bottom: .35em; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none;
}
.section-head--split > div { max-width: 680px; }
.section-head p:last-child { margin-bottom: 0; }

.section-title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-title span { color: var(--color-1); }

.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text); }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--color-1);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1.2;
  white-space: nowrap; cursor: pointer; overflow: hidden;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.btn:hover { background: var(--color-5); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(29, 78, 216, .65); }
.btn:hover::after { left: 120%; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--color-5); }
.btn--light:hover { background: var(--color-4); color: var(--color-5); }

.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--color-5); }

.btn--outline-dark { background: transparent; border-color: var(--color-1); color: var(--color-1); }
.btn--outline-dark:hover { background: var(--color-1); color: #fff; }

.btn--whatsapp { --btn-bg: #1fa855; }
.btn--whatsapp:hover { background: #178a45; box-shadow: 0 14px 26px -12px rgba(31, 168, 85, .6); }

.btn--sm { padding: 11px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-1);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s, box-shadow .35s, height .35s, color .35s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0 0 -40px; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 16, 48, .55), transparent);
  transition: opacity .35s;
  pointer-events: none;
}
.site-header.is-scrolled {
  --header-h: 72px;
  color: var(--color-5);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px -14px rgba(15, 29, 74, .3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled::before { opacity: 0; }
@media (max-width: 767px) { .site-header.is-scrolled { --header-h: 64px; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand__mark { width: 44px; height: 44px; color: var(--color-3); transition: color .35s, transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1; }
.brand__name { font-size: 1.5rem; letter-spacing: .03em; }
.brand__sub { margin-top: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; opacity: .85; }
.is-scrolled .brand__mark { color: var(--color-2); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: .97rem; font-weight: 600;
  color: inherit;
}
.nav__link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  border-radius: 2px;
  background: var(--color-3);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.is-scrolled .nav__link::after { background: var(--color-1); }
.is-scrolled .nav__link[aria-current="page"] { color: var(--color-1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: inherit;
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.is-scrolled .nav-toggle { border-color: var(--line); background: var(--surface-soft); }

/* Header while the mobile menu is open */
.menu-open .site-header { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand__mark { color: var(--color-3); }
.menu-open .nav-toggle { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .08); }

@media (max-width: 1079px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand { gap: 10px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.28rem; }
  .brand__sub { font-size: .64rem; }
}

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  overflow-y: auto;
  color: rgba(255, 255, 255, .8);
  background:
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, .35), transparent 50%),
    linear-gradient(160deg, var(--color-5), var(--navy-900));
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__links { list-style: none; margin: 0; padding: 0; }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 700;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateX(24px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.mobile-nav__links a .icon { color: var(--color-3); }
.mobile-nav__links a[aria-current="page"] { color: var(--color-3); }
.mobile-nav.is-open .mobile-nav__links a { opacity: 1; transform: none; }
.mobile-nav.is-open li:nth-child(2) a { transition-delay: .05s; }
.mobile-nav.is-open li:nth-child(3) a { transition-delay: .1s; }
.mobile-nav.is-open li:nth-child(4) a { transition-delay: .15s; }
.mobile-nav.is-open li:nth-child(5) a { transition-delay: .2s; }
.mobile-nav.is-open li:nth-child(6) a { transition-delay: .25s; }
.mobile-nav__contact { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
.mobile-nav__contact a { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.mobile-nav__contact .icon { color: var(--color-3); }
.mobile-nav__contact .btn { margin-top: 8px; }
@media (min-width: 1080px) { .mobile-nav { display: none; } }

/* ---------- Home hero with video ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  /* Full screen height with the browser bars hidden, so phones never show a gap below the hero */
  min-height: 100vh; min-height: 100lvh;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -3;
  background: var(--navy-900) url("../video/hero-poster.jpg") 62% 50% / cover no-repeat;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: saturate(1.08) contrast(1.06);
}
.hero__video.is-playing { opacity: 1; }

/* Layered overlay: keeps headline readable over the bright sky in the footage */
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 16, 48, .6) 0%, rgba(8, 16, 48, 0) 24%),
    linear-gradient(90deg, rgba(10, 21, 62, .95) 0%, rgba(24, 48, 122, .86) 36%, rgba(30, 58, 138, .5) 66%, rgba(29, 78, 216, .28) 100%),
    linear-gradient(0deg, rgba(8, 16, 48, .9) 0%, rgba(8, 16, 48, 0) 38%);
}
/* Fine dot screen: softens the low resolution footage on large displays */
.hero__texture {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(6, 12, 38, .5) 1px, transparent 1.4px);
  background-size: 4px 4px;
  opacity: .55;
}

/* Hero fills exactly one screen; the headline scales with both width and height so it always fits */
.hero__inner { padding-top: var(--header-h); padding-bottom: 24px; }
.hero__content { max-width: 780px; }

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, min(1.2rem + 4.6vw, 9.5vh), 5.2rem);
  line-height: .98;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 30px rgba(5, 12, 40, .4);
}
.hero__title .hl {
  background: linear-gradient(90deg, var(--color-3), var(--color-4));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead { max-width: 620px; font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__actions .btn { min-width: 180px; }

/* Staggered entrance */
.js .hero [data-hero] { opacity: 0; animation: riseIn .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 130ms + 250ms); }

/* Desktop: slightly smaller headline */
@media (min-width: 1024px) {
  .hero__title { font-size: clamp(2.2rem, min(1rem + 4vw, 8.5vh), 4.5rem); }
}

@media (max-width: 767px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 21, 62, .82) 0%, rgba(24, 48, 122, .66) 45%, rgba(10, 21, 62, .94) 100%);
  }
  .hero__actions { margin-top: 48px; }
}
/* Short screens, such as phones held sideways */
@media (max-height: 520px) {
  .hero__title { margin-bottom: 12px; }
  .hero__lead { font-size: .98rem; }
  .hero__actions { margin-top: 18px; }
  .hero__actions .btn { padding-block: 12px; }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 5; padding-top: clamp(20px, 3vw, 36px); }
.stats__card {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center;
  padding: clamp(16px, 2vw, 24px) 8px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stats__card::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--color-5), var(--color-1), var(--color-3));
}
.stat { position: relative; flex: 1 1 20%; padding: 6px 12px; text-align: center; }
.stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: var(--line);
}
.stat__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1; color: var(--color-5);
  font-variant-numeric: tabular-nums;
}
.stat__value .suffix { color: var(--color-2); }
.stat__label { margin-top: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

@media (max-width: 1023px) {
  .stat { flex-basis: 33.33%; padding-block: 10px; }
  .stat + .stat::before { display: none; }
}
@media (max-width: 600px) {
  .stat { flex-basis: 50%; }
  .stat:last-child { flex-basis: 100%; }
}

/* ---------- Layout helpers ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
/* Tablets: a lone last card in a two column grid is centred instead of left hanging */
@media (min-width: 641px) and (max-width: 960px) {
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
}
@media (max-width: 640px) { .grid--4, .grid--3 { grid-template-columns: 1fr; } }


/* ---------- Media stack (photo with badge) ---------- */
.media-stack { position: relative; padding: 0 0 36px 36px; }
.media-stack__main {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-stack__main--wide { aspect-ratio: 5 / 4; }
.media-stack__main img.obj-left { object-position: 8% 50%; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-stack:hover .media-stack__main img { transform: scale(1.04); }
.media-stack__deco {
  position: absolute; top: -26px; right: -18px; z-index: -1;
  width: 170px; aspect-ratio: 1;
  border: 18px solid var(--color-4); border-radius: 28%;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}
.media-stack__badge {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--color-1); color: #fff;
  box-shadow: 0 20px 40px -16px rgba(29, 78, 216, .7);
}
.media-stack__badge strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.media-stack__badge > .icon { width: 40px; height: 40px; }
.media-stack__badge span { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
@media (max-width: 960px) {
  .media-stack { max-width: 560px; width: 100%; margin-inline: auto; }
  .media-stack__main { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .media-stack { padding: 0 0 28px 16px; }
  .media-stack__deco { width: 110px; border-width: 12px; right: -6px; }
  .media-stack__badge { padding: 14px 18px; }
  .media-stack__badge strong { font-size: 2.3rem; }
}

/* Photo with no badge: no space reserved for one */
.media-stack--plain { padding: 0; }

/* Home About: the photo is only as tall as the text beside it */
.split--fit { align-items: stretch; }
.split--fit > :not(.media-stack) { align-self: center; }
.media-stack--fit { display: flex; flex-direction: column; padding-bottom: 22px; }
.media-stack--fit .media-stack__main { flex: 1; aspect-ratio: auto; min-height: 240px; }
.media-stack--fit .media-stack__main img { position: absolute; inset: 0; }
.media-stack--fit .media-stack__deco { width: 120px; border-width: 13px; top: -18px; right: -12px; }
.media-stack--fit .media-stack__badge { padding: 12px 18px; }
.media-stack--fit .media-stack__badge strong { font-size: 2.2rem; }
@media (max-width: 960px) {
  .media-stack--fit .media-stack__main { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
}
.media-stack--fit.media-stack--plain { padding: 0; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; margin: 26px 0 32px; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.checklist__icon {
  width: 26px; height: 26px; margin-top: 1px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-tint); color: var(--color-1);
}
.checklist__icon .icon { width: 15px; height: 15px; stroke-width: 3; }

/* ---------- Icon tile (rotated, like the logo) ---------- */
.icon-tile {
  position: relative;
  width: 64px; height: 64px; margin: 6px 0 26px 6px;
  display: grid; place-items: center;
  color: var(--color-1);
  transition: color .35s;
}
.icon-tile::before {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 14px;
  background: var(--surface-tint);
  transform: rotate(45deg);
  transition: background-color .35s, transform .6s var(--ease);
}
.icon-tile .icon { position: relative; width: 28px; height: 28px; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service-card .icon-tile { width: 48px; height: 48px; margin: 2px 0 12px 2px; }
.service-card .icon-tile::before { inset: 5px; border-radius: 10px; }
.service-card .icon-tile .icon { width: 22px; height: 22px; }
.service-card .link-arrow { font-size: .78rem; }
.service-card .link-arrow .icon { width: 15px; height: 15px; }
.service-card::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--color-1), var(--color-3));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-tile { color: #fff; }
.service-card:hover .icon-tile::before { background: var(--color-1); transform: rotate(135deg); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.service-card p { flex: 1; margin-bottom: 12px; font-size: .9rem; line-height: 1.55; }
@media (max-width: 640px) {
  .service-card { padding: 16px 16px 14px; }
  .service-card .icon-tile { width: 42px; height: 42px; margin-bottom: 8px; }
  .service-card .icon-tile .icon { width: 19px; height: 19px; }
  .service-card h3 { font-size: 1.12rem; }
  .service-card p { margin-bottom: 8px; font-size: .86rem; }
}

/* ---------- Home services: photo cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.svc__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-tint); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc__media--right img { object-position: 80% 50%; }
.svc__media--high img { object-position: 50% 40%; }
.svc__body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px; }
.svc__title { margin: 0 0 6px; font-size: 1.22rem; transition: color .3s; }
.svc p { flex: 1; margin: 0 0 12px; font-size: .9rem; line-height: 1.55; }
.svc__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-1);
}
.svc__more .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc:hover .svc__title { color: var(--color-1); }
.svc:hover .svc__more .icon { transform: translateX(4px); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: photo on the left, text on the right, so the four cards stay short */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc { flex-direction: row; }
  .svc__media { flex: 0 0 36%; aspect-ratio: auto; min-height: 124px; }
  .svc__body { padding: 12px 14px; }
  .svc__title { font-size: 1.08rem; }
  .svc p { margin-bottom: 8px; font-size: .84rem; line-height: 1.5; }
  .svc__more { font-size: .72rem; }
}
/* ---------- Why choose us ---------- */
.why-section { background: var(--color-5); color: rgba(255, 255, 255, .8); }
.why-section .section-title { margin-bottom: 6px; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); color: #fff; }
.why-section .lead { margin-bottom: 0; font-size: .98rem; color: rgba(255, 255, 255, .8); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.why__text { align-self: center; }
/* The photo matches the height of the text and list beside it */
.why__photo { position: relative; margin: 0; min-height: 260px; border-radius: var(--radius-sm); overflow: hidden; }
.why__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reasons { margin: 18px 0 0; padding: 0; list-style: none; }
.reasons li {
  display: grid; grid-template-columns: 40px 1fr; align-items: baseline;
  padding: 8px 0;
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: #fff;
}
.reasons__num { font-family: var(--font-display); font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--color-3); }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__photo { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .why-section .lead { font-size: .92rem; }
  .reasons { margin-top: 14px; }
  .reasons li { grid-template-columns: 34px 1fr; padding: 7px 0; font-size: .92rem; }
  .reasons__num { font-size: .82rem; }
}

/* ---------- Project cards ---------- */
.project-card {
  display: flex; flex-direction: column;
  padding: 20px 22px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.project-card:hover { border-color: var(--color-4); box-shadow: var(--shadow); }
.project-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.project-card__qty { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--color-1); }
.project-card__qty small { margin-left: 4px; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--muted); }
.project-card__client { margin: 0 0 4px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.project-card__scope { margin: 0 0 16px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.project-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin: auto 0 0; padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .88rem; color: var(--text);
}
.project-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.project-card__meta .icon { width: 15px; height: 15px; color: var(--color-2); }

/* Projects page: smaller cards, four in a row on wide screens */
.project-grid { gap: 14px; }
.project-grid .project-card { padding: 16px 16px 14px; }
.project-grid .project-card__head { margin-bottom: 10px; }
.project-grid .project-card__qty { font-size: 1.55rem; }
.project-grid .project-card__client { font-size: .95rem; }
.project-grid .project-card__scope { margin-bottom: 12px; font-size: .84rem; }
.project-grid .project-card__meta { gap: 4px 14px; padding-top: 10px; font-size: .82rem; }
.project-grid .project-card__meta .icon { width: 14px; height: 14px; }
@media (min-width: 1101px) { .project-grid { grid-template-columns: repeat(4, 1fr); } }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--done { background: var(--surface-tint); color: var(--color-5); }
.badge--ongoing { border-color: var(--color-4); color: var(--color-1); }
/* Phones: compact project cards */
@media (max-width: 640px) {
  .project-card { padding: 14px 16px 12px; }
  .project-card__head { margin-bottom: 8px; }
  .project-card__qty { font-size: 1.5rem; }
  .project-card__client { margin-bottom: 2px; font-size: .95rem; }
  .project-card__scope { margin-bottom: 10px; font-size: .82rem; }
  .project-card__meta { padding-top: 8px; font-size: .8rem; }
  .project-card__meta .icon { width: 13px; height: 13px; }
  .badge { padding: 3px 8px; font-size: .62rem; }
}


/* ---------- Partners marquee ---------- */
.partners-strip { padding-block: clamp(28px, 3.5vw, 44px); }
.section + .partners-strip { padding-top: 0; }
.partners-strip__title { margin-bottom: 18px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-align: center; text-transform: uppercase; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner-logo {
  flex: 0 0 auto;
  width: 230px; height: 116px;
  display: grid; place-items: center;
  padding: 18px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.partner-logo:hover { border-color: var(--color-4); box-shadow: var(--shadow); }
.partner-logo img { max-width: 100%; max-height: 72px; width: auto; object-fit: contain; }

/* ---------- Button row (404 page and form reply page) ---------- */
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
  .cta__actions, .cta__actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(44px, 6vw, 64px);
  color: rgba(255, 255, 255, .7);
  background: var(--navy-900);
  font-size: .95rem;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute; left: -120px; bottom: -160px; z-index: -1;
  width: 420px; aspect-ratio: 1;
  border: 48px solid rgba(96, 165, 250, .06); border-radius: 28%;
  transform: rotate(45deg);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr .9fr 1.35fr; gap: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 300px; margin: 16px 0 18px; }
.footer-whatsapp {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: #1fa855; color: #fff;
  transition: transform .25s var(--ease), background-color .25s;
}
.footer-whatsapp:hover { background: #178a45; transform: translateY(-2px); }
.footer-whatsapp .icon { width: 22px; height: 22px; }
.footer-title {
  position: relative;
  margin-bottom: 16px; padding-bottom: 10px;
  font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
}
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--color-2); }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; color: rgba(255, 255, 255, .72); transition: color .2s, transform .25s var(--ease); }
.footer-link-btn {
  padding: 0; border: 0; background: none;
  font: inherit; color: rgba(255, 255, 255, .72);
  cursor: pointer;
  transition: color .2s, transform .25s var(--ease);
}
.footer-link-btn:hover { color: #fff; transform: translateX(5px); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--color-1); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a[aria-current="page"] { color: #fff; }
.footer-contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: 10px; line-height: 1.5; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--color-3); }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: #fff; }
.footer-contact strong { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px;
  margin-top: 36px; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom__credit { grid-column: 2; text-align: center; }
.footer-bottom__credit a { font-weight: 700; color: #fff; }
.footer-bottom__credit a:hover { color: var(--color-3); }
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .footer-brand, .footer-col--contact { grid-column: 1 / -1; }
  .footer-col--contact .footer-contact { display: flex; flex-wrap: wrap; gap: 12px 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-col--services { display: none; }
  .footer-col--contact .footer-contact { display: grid; gap: 10px; }
  .footer-bottom { margin-top: 28px; }
}
@media (max-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom__credit { grid-column: auto; }
}

/* ---------- Cookie choice bar ---------- */
.cookie-bar {
  position: fixed; left: 18px; bottom: 18px; z-index: 120;
  width: min(440px, calc(100% - 36px));
  padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: riseIn .45s var(--ease);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { margin: 0 0 12px; font-size: .86rem; line-height: 1.55; color: var(--text); }
.cookie-bar__text a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-bar__actions .btn { padding: 9px 16px; font-size: .78rem; }
.menu-open .cookie-bar { display: none; }
@media (max-width: 560px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px; }
  .cookie-bar__actions .btn { flex: 1 1 0; }
}

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__nav {
  position: sticky; top: 100px;
  padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-soft);
}
.legal__nav h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.legal__nav ol { display: grid; gap: 6px; margin: 0; padding: 0 0 0 18px; font-size: .92rem; }
.legal__nav a { color: var(--text); }
.legal__nav a:hover { color: var(--color-1); }
.legal__other { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.legal__other a { font-weight: 600; }
.legal__updated {
  display: inline-block; margin: 0 0 24px; padding: 6px 14px;
  border-radius: 999px; background: var(--surface-tint);
  font-size: .85rem; font-weight: 600; color: var(--color-5);
}
.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 10px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); scroll-margin-top: 100px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 22px 0 8px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.prose ul { display: grid; gap: 6px; margin: 0 0 1em; padding-left: 20px; }
.prose li::marker { color: var(--color-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.table-wrap { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-soft); font-weight: 700; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
/* Phones: each table row becomes a small labelled block */
@media (max-width: 600px) {
  .table-wrap { overflow: visible; }
  .prose table { min-width: 0; }
  .prose thead { display: none; }
  .prose tr { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 6px 14px; border: 0; }
  .prose td::before { content: attr(data-label); font-weight: 700; color: var(--ink); }
}
.contact-box { margin-top: 12px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface-tint); }
.contact-box p { margin: 0 0 4px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__nav { position: static; }
}

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), opacity .3s, visibility .3s, background-color .3s;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--whatsapp { position: relative; background: #1fa855; }
.fab--whatsapp::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #1fa855;
  animation: ring 2.4s ease-out infinite;
}
.fab--whatsapp .icon { width: 28px; height: 28px; }
.fab--top { width: 46px; height: 46px; background: var(--color-1); opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--color-5); }
.menu-open .float-actions { opacity: 0; visibility: hidden; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 2px) 0 clamp(28px, 3.6vw, 48px);
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
/* Clients keeps the earlier, slightly taller banner */
.page-hero--tall { padding: calc(var(--header-h) + 8px) 0 clamp(36px, 4.5vw, 60px); }
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 16s ease-out both;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, .6) 0%, rgba(8, 12, 22, 0) 32%),
    linear-gradient(90deg, rgba(8, 12, 24, .86) 0%, rgba(8, 12, 24, .6) 45%, rgba(8, 12, 24, .18) 100%);
}
@media (max-width: 767px) {
  .page-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 12, 22, .6) 0%, rgba(8, 12, 22, .35) 40%, rgba(8, 12, 24, .82) 100%);
  }
}
.page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(18px, 3vw, 44px); }
.page-hero__content { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { margin: 0 0 4px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); text-transform: uppercase; color: #fff; }
.page-hero--tall h1 { margin-bottom: 6px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.page-hero h1:last-child { margin-bottom: 0; }

/* First section after the banner starts close to it */
.page-hero + .section,
.page-hero + .stats { padding-top: clamp(20px, 2.6vw, 32px); }
.page-hero p { max-width: 640px; margin: 0; font-size: clamp(.94rem, .92rem + .15vw, 1.02rem); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.page-hero--tall p { font-size: clamp(.98rem, .95rem + .2vw, 1.08rem); line-height: 1.55; }
.js .page-hero [data-hero] { opacity: 0; animation: riseIn .85s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--color-3); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .7; }

/* ---------- About: facts, mission, values, team ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.fact {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-soft);
  transition: border-color .3s, background-color .3s;
}
.fact:hover { border-color: var(--color-4); background: #fff; }
.fact small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact strong { display: block; color: var(--ink); line-height: 1.35; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.mv-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card--mission { background: linear-gradient(145deg, var(--color-5), var(--navy-900)); }
.mv-card--vision { background: linear-gradient(145deg, var(--color-1), var(--color-2)); }
.mv-card::after {
  content: "";
  position: absolute; right: -40px; bottom: -60px; z-index: -1;
  width: 150px; aspect-ratio: 1;
  border: 18px solid rgba(255, 255, 255, .08); border-radius: 28%;
  transform: rotate(45deg);
  transition: transform 1s var(--ease);
}
.mv-card:hover::after { transform: rotate(135deg); }
.mv-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mv-card__icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; }
.mv-card__icon .icon { width: 20px; height: 20px; }
.mv-card h3 { margin: 0; font-size: 1.4rem; text-transform: uppercase; color: #fff; }
.mv-card p { margin: 0; font-size: .95rem; line-height: 1.65; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .mv-card { padding: 16px; }
  .mv-card h3 { font-size: 1.2rem; }
  .mv-card p { font-size: .9rem; }
}

.role { margin: 0 0 6px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-1); }

/* Testimonial quote (kept for the testimonials template on the Clients page) */
.quote {
  position: relative;
  margin: 26px 0 0; padding: 24px 26px 24px 74px;
  border-left: 4px solid var(--color-1); border-radius: var(--radius);
  background: var(--surface-tint);
  font-size: 1.1rem; font-style: italic; font-weight: 500; color: var(--ink);
}
.quote .icon { position: absolute; left: 24px; top: 24px; width: 32px; height: 32px; color: var(--color-2); }
.quote p { margin: 0; }
@media (max-width: 480px) { .quote { padding: 62px 20px 20px; } .quote .icon { left: 20px; top: 20px; } }

/* Our Team: three cards in one row, the CEO card first and highlighted */
.team-row { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(14px, 1.8vw, 22px); align-items: stretch; }
.team-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 20px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__photo {
  width: 112px; height: 112px; margin: 0 auto 14px; padding: 4px; flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--color-1), var(--color-3), var(--color-4), var(--color-1));
  transition: transform .8s var(--ease);
}
.team-card:hover .team-card__photo { transform: rotate(8deg) scale(1.03); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; border: 4px solid #fff; border-radius: 50%; }
.team-card h3 { margin-bottom: 2px; font-size: 1.25rem; }
.team-card .role { margin-bottom: 10px; font-size: .74rem; }
.team-card p { margin: 0; font-size: .9rem; line-height: 1.6; }

/* CEO card: deep blue, white text, with his quote */
.team-card--lead { border-color: transparent; background: var(--color-5); color: rgba(255, 255, 255, .85); }
.team-card--lead:hover { box-shadow: 0 20px 36px -18px rgba(12, 24, 68, .75); }
.team-card--lead .team-card__photo { width: 124px; height: 124px; background: conic-gradient(from 180deg, #fff, var(--color-3), var(--color-4), #fff); }
.team-card--lead .team-card__photo img { border-color: var(--color-5); }
.team-card--lead h3 { color: #fff; }
.team-card--lead .role { color: var(--color-4); }
.team-card__quote {
  position: relative;
  margin: 14px 0 0; padding: 12px 14px 12px 40px;
  border-left: 3px solid var(--color-3); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  text-align: left;
}
.team-card__quote .icon { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--color-3); }
.team-card__quote p { font-size: .86rem; font-style: italic; color: #fff; }

/* Tablets: CEO across the top, the other two side by side */
@media (max-width: 960px) {
  .team-row { grid-template-columns: 1fr 1fr; }
  .team-card--lead { grid-column: 1 / -1; }
}
/* Phones: one card per row */
@media (max-width: 560px) {
  .team-row { grid-template-columns: 1fr; }
  .team-card { padding: 18px 16px 16px; }
  .team-card__photo { width: 96px; height: 96px; }
  .team-card--lead .team-card__photo { width: 108px; height: 108px; }
  .team-card h3 { font-size: 1.15rem; }
  .team-card p { font-size: .86rem; }
}


/* ---------- Services page ---------- */
.service-section { scroll-margin-top: 70px; }
.service-section .section-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.service-section .lead { font-size: 1rem; line-height: 1.65; }
.service-section p { font-size: .95rem; }
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.service-block--reverse .service-block__media { order: -1; }
.service-block__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-block__media:hover img { transform: scale(1.05); }
@media (max-width: 960px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block--reverse .service-block__media { order: 0; }
  .service-block__media { aspect-ratio: 16 / 9; }
}

.grade-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 540px; margin: 16px 0; }
.grade-cards:last-child { margin-bottom: 0; }
.grade {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-5), var(--color-1));
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.grade:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(29, 78, 216, .8); }
.grade::after {
  content: "";
  position: absolute; right: -18px; top: -18px; z-index: -1;
  width: 64px; aspect-ratio: 1;
  border: 9px solid rgba(255, 255, 255, .1); border-radius: 28%;
  transform: rotate(45deg);
}
.grade__label { font-size: .64rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; opacity: .78; }
.grade__name { margin-top: auto; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1; white-space: nowrap; }
@media (max-width: 640px) {
  .grade-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: none; margin: 12px 0; }
  .grade { gap: 4px; padding: 9px 12px; border-radius: var(--radius-sm); }
  .grade__label { font-size: .58rem; }
  .grade__name { font-size: 1.3rem; }
}

/* LPG: deep blue panel, text on the left and the two services on the right */
.lpg-feature {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(18px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(96, 165, 250, .22), transparent 55%),
    linear-gradient(135deg, var(--color-5) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
/* Faint logo diamonds behind the text */
.lpg-feature::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect x='22' y='22' width='20' height='20' rx='5' transform='rotate(45 32 32)' fill='none' stroke='%2360a5fa' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  opacity: .1;
}
.lpg-feature .section-title { margin-bottom: 6px; color: #fff; }
.lpg-feature .lead { margin: 0; font-size: 1.08rem; color: rgba(255, 255, 255, .85); }
.lpg-feature__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 460px; justify-self: end; margin: 0; padding: 0; list-style: none; }
.lpg-feature__list li {
  display: flex; align-items: center;
  min-height: 80px; padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .2); border-left: 3px solid var(--color-3); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  font-family: var(--font-body); font-size: 1.14rem; font-weight: 700; line-height: 1.2; color: #fff;
}
.lpg-feature__list small { display: block; margin-bottom: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-4); }

/* Tablets and phones: text on top, the two services below */
@media (max-width: 760px) {
  .lpg-feature { grid-template-columns: 1fr; gap: 16px; }
  .lpg-feature__list { max-width: none; justify-self: stretch; }
}
@media (max-width: 560px) {
  .lpg-feature { padding: 22px 18px; }
  .lpg-feature .lead { font-size: 1rem; }
  .lpg-feature__list { gap: 10px; }
  .lpg-feature__list li { min-height: 68px; padding: 14px 16px; font-size: 1.04rem; }
  .lpg-feature__list small { font-size: .66rem; }
}

/* Supply chain process */
.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 480px; margin-inline: auto; }
.process::before {
  content: "";
  position: absolute; top: 22px; left: 17%; right: 17%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-3) 0 10px, transparent 10px 18px);
  background-size: 18px 2px;
  animation: dash 1s linear infinite;
}
.step { position: relative; text-align: center; }
.step__icon {
  position: relative; z-index: 1;
  width: 44px; height: 44px; margin: 0 auto 8px;
  display: grid; place-items: center;
  color: var(--color-1);
}
.step__icon::before {
  content: "";
  position: absolute; inset: 6px;
  border: 2px solid var(--color-4); border-radius: 9px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: var(--shadow);
  transition: background-color .35s, border-color .35s, transform .6s var(--ease);
}
.step:hover .step__icon { color: #fff; }
.step:hover .step__icon::before { background: var(--color-1); border-color: var(--color-1); transform: rotate(135deg); }
.step__icon .icon { position: relative; width: 17px; height: 17px; transition: color .35s; }
.step__num {
  position: absolute; top: -3px; right: -3px; z-index: 2;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-5); color: #fff;
  font-size: .6rem; font-weight: 700;
}
.step h3 { font-size: .95rem; }
.step p { max-width: 320px; margin: 0 auto; font-size: .98rem; }
/* Supply chain section: compact heading and spacing */
#supply-chain { padding-block: clamp(14px, 1.8vw, 24px) clamp(20px, 2.4vw, 32px); }
/* Less space between the LPG panel and Supply Chain Management */
#lpg { padding-bottom: clamp(14px, 1.8vw, 22px); }
#supply-chain .section-head { margin-bottom: 14px; }
#supply-chain .section-title { margin-bottom: 4px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
#supply-chain .lead { margin: 0; font-size: .9rem; }
@media (max-width: 480px) {
  .process { gap: 6px; }
  .step__icon { width: 38px; height: 38px; margin-bottom: 6px; }
  .step__icon .icon { width: 15px; height: 15px; }
  .process::before { top: 19px; }
  .step h3 { font-size: .85rem; }
  #supply-chain .lead { font-size: .84rem; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface-tint);
}
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 10, 20, .78), rgba(6, 10, 20, 0) 50%);
  opacity: .6;
  transition: opacity .4s;
}
.gallery__caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 700; color: #fff;
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}
.gallery__caption .icon { width: 20px; height: 20px; opacity: 0; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__caption { transform: none; }
.gallery__item:hover .gallery__caption .icon { opacity: 1; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(2) { grid-column: auto; grid-row: auto; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 70px 16px;
  background: rgba(6, 12, 38, .94);
  opacity: 0;
  transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { width: 100%; max-width: 1200px; margin: 0; text-align: center; }
.lightbox__img { width: auto; max-width: 100%; max-height: 76vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__caption { margin-top: 16px; font-weight: 600; color: #fff; }
.lightbox__btn {
  position: absolute;
  width: 50px; height: 50px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  cursor: pointer;
  transition: background-color .25s;
}
.lightbox__btn:hover { background: var(--color-1); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Projects map ---------- */
.map-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.map-legend button {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff;
  font: inherit; text-align: left; color: var(--ink);
  cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.map-legend button:hover, .map-legend button.is-active { border-color: var(--color-2); background: var(--surface-tint); transform: translateX(4px); }
.map-legend__dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; background: var(--color-1); box-shadow: 0 0 0 3px var(--color-4); }
.map-legend__dot--office { border-radius: 3px; transform: rotate(45deg); background: var(--color-5); }
.map-legend strong { display: block; font-size: .96rem; line-height: 1.2; }
.map-legend small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }

.map-panel {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.ghana-map { position: relative; width: 100%; max-width: 300px; margin-inline: auto; }
.ghana-map__label { font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: 10px; fill: var(--color-2); opacity: .22; }
.ghana-map svg { width: 100%; height: auto; overflow: visible; }
.ghana-map__land { fill: url(#landFill); stroke: var(--color-3); stroke-width: 2.5; stroke-linejoin: round; }
.pin { cursor: pointer; outline: none; }
.pin__dot { fill: var(--color-1); stroke: #fff; stroke-width: 3; transition: transform .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.pin--office .pin__dot { fill: var(--color-5); }
.pin__pulse { fill: none; stroke: var(--color-2); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; }
.pin:hover .pin__dot, .pin:focus-visible .pin__dot, .pin.is-active .pin__dot { transform: scale(1.5); fill: var(--color-2); }
.pin:focus-visible .pin__dot { stroke: var(--color-3); }
.map-tip {
  position: absolute; z-index: 3;
  min-width: 190px; max-width: 250px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--navy-900); color: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg);
  font-size: .85rem; line-height: 1.4;
  transform: translate(-50%, calc(-100% - 18px));
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
  pointer-events: none;
}
.map-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--navy-900); transform: translateX(-50%) rotate(45deg); }
.map-tip.is-visible { opacity: 1; visibility: visible; }
.map-tip strong { display: block; margin-bottom: 2px; font-size: .95rem; color: #fff; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } .map-panel { max-width: 380px; margin-inline: auto; width: 100%; } .ghana-map { max-width: 260px; } }
@media (max-width: 480px) { .map-legend { grid-template-columns: 1fr; } }

/* Projects page: compact Project Locations section and map */
.map-section .map-layout { grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); }
.map-section .section-title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.map-section .map-legend { gap: 8px; margin-top: 14px; }
.map-section .map-legend button { gap: 10px; padding: 8px 12px; border-radius: 10px; }
.map-section .map-legend__dot { width: 10px; height: 10px; }
.map-section .map-legend strong { font-size: .88rem; }
.map-section .map-legend small { font-size: .74rem; }
.map-section .map-panel { justify-self: center; width: 100%; max-width: 280px; padding: 12px; border-radius: var(--radius); }
.map-section .ghana-map { max-width: 230px; }
@media (max-width: 960px) {
  .map-section .map-layout { grid-template-columns: 1fr; }
  .map-section .map-panel { max-width: 290px; }
  .map-section .ghana-map { max-width: 210px; }
}
/* Phones: keep two places per row so the list stays short */
@media (max-width: 480px) {
  .map-section .map-legend { grid-template-columns: 1fr 1fr; gap: 6px; }
  .map-section .map-legend button { padding: 7px 9px; gap: 8px; }
  .map-section .map-legend strong { font-size: .8rem; }
  .map-section .map-legend small { font-size: .68rem; }
  .map-section .map-panel { max-width: 250px; }
  .map-section .ghana-map { max-width: 180px; }
}

/* ---------- Clients and partners ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.client-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--color-4); }
.client-card__mono {
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-1), var(--color-3));
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff;
  transition: transform .5s var(--ease);
}
.client-card:hover .client-card__mono { transform: rotate(-8deg) scale(1.06); }
.client-card h3 { margin: 0 0 3px; font-family: var(--font-body); font-size: 1.04rem; font-weight: 700; line-height: 1.3; }
.client-card span { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.client-card span .icon { width: 14px; height: 14px; color: var(--color-2); }


.panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-5), var(--navy-900));
  color: rgba(255, 255, 255, .82);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.panel::after {
  content: "";
  position: absolute; right: -60px; bottom: -80px; z-index: -1;
  width: 220px; aspect-ratio: 1;
  border: 26px solid rgba(96, 165, 250, .1); border-radius: 28%;
  transform: rotate(45deg);
}
.panel h3 { font-size: 1.8rem; text-transform: uppercase; color: #fff; }
.panel .checklist { margin-bottom: 0; }
.panel .checklist li { color: #fff; }
.panel .checklist__icon { background: rgba(96, 165, 250, .2); color: var(--color-3); }

/* Clients page: compact Client Centric Approach section */
.approach .split { gap: clamp(20px, 3.5vw, 48px); }
.approach .section-title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.approach .lead { font-size: 1rem; }
.approach p { font-size: .92rem; }
.approach .panel { padding: clamp(18px, 2.6vw, 28px); border-radius: var(--radius); }
.approach .panel::after { width: 150px; border-width: 18px; right: -40px; bottom: -56px; }
.approach .panel h3 { margin-bottom: 4px; font-size: 1.3rem; }
.approach .checklist { gap: 8px; margin-top: 12px; }
.approach .checklist li { font-size: .92rem; gap: 10px; }
.approach .checklist__icon { width: 22px; height: 22px; }
.approach .checklist__icon .icon { width: 12px; height: 12px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.contact-card:hover .icon-tile { color: #fff; }
.contact-card:hover .icon-tile::before { background: var(--color-1); transform: rotate(135deg); }
.contact-card .icon-tile { width: 36px; height: 36px; margin: 0 0 6px; }
.contact-card .icon-tile::before { inset: 4px; border-radius: 8px; }
.contact-card .icon-tile .icon { width: 17px; height: 17px; }
.contact-card h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-card a:not(.btn) { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a[href^="mailto"] { overflow-wrap: normal; }
.contact-card a:not(.btn):hover { color: var(--color-1); }
.contact-card p { margin: 0 0 1px; font-size: .82rem; line-height: 1.45; }
.contact-card .btn { margin-top: 6px; padding: 6px 12px; font-size: .68rem; gap: 6px; }
.contact-card .btn .icon { width: 13px; height: 13px; }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
/* Phones: two small cards per row */
@media (max-width: 560px) {
  .contact-cards { gap: 8px; }
  .contact-card { padding: 10px 10px 9px; border-radius: var(--radius-sm); }
  .contact-card .icon-tile { width: 30px; height: 30px; margin-bottom: 4px; }
  .contact-card .icon-tile::before { inset: 3px; border-radius: 7px; }
  .contact-card .icon-tile .icon { width: 14px; height: 14px; }
  .contact-card h3 { font-size: .92rem; }
  .contact-card p { font-size: .76rem; }
  .contact-card .btn { padding: 5px 9px; font-size: .62rem; gap: 5px; }
  .contact-card .btn .icon { width: 12px; height: 12px; }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 30px); align-items: start; }
@media (max-width: 1000px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.form-card h2 { margin-bottom: 2px; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.8rem); text-transform: uppercase; }
.form-card > p { margin-bottom: 12px; font-size: .86rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: .82rem; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: 6px; }
.req { color: var(--color-1); }
.optional { font-weight: 500; color: var(--muted); }
.input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface-soft);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #9aa4bb; }
.input:hover { border-color: var(--color-4); }
.input:focus { outline: none; border-color: var(--color-2); background: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, .16); }
textarea.input { min-height: 84px; resize: vertical; }
.field__error { display: none; margin: 0; font-size: .85rem; font-weight: 600; color: #b42318; }
.field.has-error .input { border-color: #e5484d; background: #fff6f6; }
.field.has-error .field__error { display: block; }
.field.has-error .chip span { border-color: #f1a7a9; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface-soft);
  font-size: .82rem; font-weight: 600; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s;
  pointer-events: none;
}
.chip:hover span { border-color: var(--color-3); }
.chip input:checked + span { background: var(--color-1); border-color: var(--color-1); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--color-3); outline-offset: 2px; }
.field--grade { animation: cardIn .4s var(--ease); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.form-footer p { margin: 0; font-size: .82rem; color: var(--muted); }
.form-footer .btn { padding: 10px 20px; font-size: .84rem; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }

.form-status { display: none; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 600; line-height: 1.5; }
.form-status .icon { margin-top: 1px; }
.form-status.is-success { display: flex; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.form-status.is-error { display: flex; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-footer .btn { width: 100%; } }

.info-panel { position: sticky; top: 96px; padding: clamp(16px, 2.2vw, 24px); border-radius: var(--radius); }
.info-panel h3 { margin-bottom: 8px; font-size: 1.35rem; }
.office { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.office:first-of-type { border-top: 0; padding-top: 0; }
.office .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--color-3); }
.office strong { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-4); }
.office p { margin: 2px 0 0; font-size: .9rem; line-height: 1.5; color: #fff; font-weight: 500; }
.info-panel .btn { padding: 10px 16px; font-size: .82rem; }
.office a { color: #fff; }
.office a:hover { color: var(--color-3); }
.info-panel .btn { margin-top: 10px; }
@media (max-width: 1000px) { .info-panel { position: static; } }

.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin-inline: auto; }
.map-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .4s; }
.map-card:hover { box-shadow: var(--shadow-lg); }
.map-card__frame { height: 160px; background: var(--surface-tint); }
.map-card__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Shown until the visitor allows Google Maps */
.map-consent {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 20px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(59, 130, 246, .05) 0 12px, transparent 12px 24px),
    var(--surface-tint);
}
.map-consent .icon { width: 26px; height: 26px; color: var(--color-1); }
.map-consent p { max-width: 300px; margin: 0; font-size: .86rem; line-height: 1.5; color: var(--text); }
.map-card__info { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.map-card__info .icon-tile { margin: 0; flex-shrink: 0; transform: scale(.7); }
.map-card__info h3 { margin: 0 0 1px; font-size: 1.02rem; }
.map-card__info p { margin: 0; font-size: .85rem; line-height: 1.4; }
.map-card__info .link-arrow { font-size: .74rem; }
/* The "Show map" placeholder fits the smaller frame */
.map-card__frame .map-consent { gap: 5px; padding: 10px 14px; }
.map-card__frame .map-consent .icon { width: 20px; height: 20px; }
.map-card__frame .map-consent p { font-size: .76rem; line-height: 1.4; }
.map-card__frame .map-consent .btn { padding: 7px 14px; font-size: .72rem; }
@media (max-width: 860px) { .maps { gap: 14px; } .map-card__frame { height: 150px; } }
@media (max-width: 600px) { .maps { grid-template-columns: 1fr; } }

/* ---------- Title only cards ---------- */
.step h3:last-child { margin-bottom: 0; }
.header-cta[aria-current="page"] { background: var(--color-5); }

/* ---------- 404 ---------- */
.not-found { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--color-5), var(--navy-900)); position: relative; overflow: hidden; isolation: isolate; }
.not-found h1 { font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; margin: 0; color: #fff; }
.not-found h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.not-found p { max-width: 520px; margin: 0 auto 28px; color: rgba(255, 255, 255, .82); }
.not-found .cta__actions { justify-content: center; }

/* ---------- Scroll reveal ----------
   Uses the separate translate and scale properties so the hover
   transforms on cards keep working after an element is revealed. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 34px;
  transition-property: opacity, translate, scale, transform, box-shadow, border-color, background-color, color;
  transition-duration: .85s, .85s, .85s, .4s, .4s, .4s, .3s, .3s;
  transition-timing-function: var(--ease);
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), var(--delay, 0ms), 0s, 0s, 0s, 0s, 0s;
}
.js [data-reveal="left"] { translate: -44px 0; }
.js [data-reveal="right"] { translate: 44px 0; }
.js [data-reveal="zoom"] { translate: none; scale: .94; }
.js [data-reveal].is-visible { opacity: 1; translate: none; scale: none; }

/* Animation timing set in the page markup (kept out of style attributes for the security policy) */
[data-delay="60"] { --delay: 60ms; }
[data-delay="100"] { --delay: 100ms; }
[data-delay="120"] { --delay: 120ms; }
[data-delay="150"] { --delay: 150ms; }
[data-delay="200"] { --delay: 200ms; }
[data-delay="300"] { --delay: 300ms; }
[data-i="1"] { --i: 1; }
[data-i="2"] { --i: 2; }
[data-i="3"] { --i: 3; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; display: none; }

/* ---------- Keyframes ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 50% { transform: rotate(45deg) translate(-8px, -8px); } }
@keyframes marquee { to { transform: translateX(calc(-25% - 7px)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dash { to { background-position: 22px 0; } }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; scale: none; }
  .js .hero [data-hero], .js .page-hero [data-hero] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}
