/* =========================================================
   ATN — Alpine Technology Network
   Light, minimal theme · Playfair Display + Inter
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --navy: #14284b;
  --blue: #0b6bb5;
  --blue-dark: #08558f;
  --blue-soft: #e8f1fa;
  --amber: #f5b53f;
  --text: #14284b;
  --muted: #5b6b82;
  --border: #e4e9f0;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -18px rgba(20, 40, 75, 0.22);
  --shadow-sm: 0 6px 18px -10px rgba(20, 40, 75, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h1 em, h2 em { font-style: italic; color: var(--blue); }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--amber); border-radius: 2px; }

.heading { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.heading--center { text-align: center; margin-left: auto; margin-right: auto; }
.heading--center .eyebrow { justify-content: center; }
.heading p { font-size: 1.08rem; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.heading-row .heading { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.96rem; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 107, 181, 0.7); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--border); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; }
.brand span { font-weight: 600; font-size: 0.98rem; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px; font-size: 0.94rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { list-style: none; margin: 0 0 32px; padding: 0; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) { transition-delay: 0.08s; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: 0.13s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: 0.18s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: 0.23s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu a.m-link {
  display: block; font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.8rem); color: var(--navy);
  padding: 6px 0;
}
.mobile-menu a.m-link[aria-current="page"] { color: var(--blue); font-style: italic; }
.mobile-menu .m-contact { color: var(--muted); font-size: 0.95rem; }
.mobile-menu .m-contact a { color: var(--navy); font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(140px, 18vw, 200px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(11, 107, 181, 0.08), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(245, 181, 63, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-mountains {
  position: absolute; right: -2%; bottom: -2%; width: min(600px, 46vw); opacity: 0.85; pointer-events: none;
}
@media (max-width: 900px) {
  .hero-mountains { width: 90vw; right: -20vw; bottom: -6%; opacity: 0.25; }
}
.hero-mountains path {
  fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 2600; stroke-dashoffset: 2600;
  animation: draw 3.2s var(--ease) 0.3s forwards;
}
.hero-mountains path.m2 { stroke: var(--amber); animation-delay: 0.9s; opacity: 0.9; }
.hero-mountains path.m3 { stroke: var(--border); stroke-width: 1.2; animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Full-screen sections (home page) */
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.screen > .container, .screen > .trust-inner { width: 100%; }
@media (min-width: 901px) {
  .section.screen { padding: 52px 0; }
  .section.screen .heading, .section.screen .heading-row { margin-bottom: 40px; }
}
.hero.screen { padding-top: calc(76px + clamp(24px, 4vw, 48px)); padding-bottom: clamp(32px, 5vw, 64px); }

/* Full-photo hero with centered text panel (no dark overlay on the photo) */
.hero--full { display: flex; align-items: center; }
.hero--full::before { display: none; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% center;
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* soft brand-navy shade only where the text sits, so white type stays readable */
.hero--full::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(66% 62% at 50% 52%, rgba(20, 40, 75, 0.74), rgba(20, 40, 75, 0.12) 80%),
    linear-gradient(180deg, rgba(20, 40, 75, 0.4) 0%, rgba(20, 40, 75, 0) 24%);
}
@media (max-width: 900px) {
  .hero--full::after {
    background: linear-gradient(180deg, rgba(20, 40, 75, 0.35) 0%, rgba(20, 40, 75, 0.55) 32%, rgba(20, 40, 75, 0.55) 60%, rgba(20, 40, 75, 0.05) 100%);
  }
}
.hero-panel h1 em { text-shadow: 0 2px 18px rgba(10, 22, 45, 0.7); }

/* Phones: a landscape photo stretched over a tall screen gets zoomed ~2x and blurry.
   Instead the photo fills the top of the hero edge to edge at near-natural size (stays sharp),
   fades into brand navy, and the white text sits on the navy below. */
@media (max-width: 640px) {
  /* text sits in the navy area just under the photo (photo height = min(60svh, 112vw)) */
  .hero.hero--full.screen {
    min-height: 100vh; min-height: 100svh; justify-content: center;
    padding-top: calc(min(60svh, 140vw) - 64px); padding-bottom: 72px;
    background: var(--navy);
  }
  /* cap the height by width so tall phones don't over-zoom the photo; its lower edge fades into the navy */
  .hero--full .hero-bg {
    inset: 0 0 auto 0; height: min(60%, 140vw); object-position: var(--hero-focus-m, 50% center);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  }
  .hero--full::after { background: linear-gradient(180deg, rgba(20, 40, 75, 0.45) 0%, rgba(20, 40, 75, 0) 16%); }
  .hero--full .hero-panel h1 { font-size: 2.1rem; margin-bottom: 12px; }
  .hero--full .hero-lead { font-size: 0.95rem; margin-bottom: 22px; }
  .hero--full .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero--full .hero-actions .btn { flex: 1 1 0; padding: 13px 12px; font-size: 0.9rem; }
}

/* Why choose ATN: show the whole photo so people on both sides stay in frame */
.split.split--why { grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 4vw, 56px); }
.split--why .split-media img { aspect-ratio: auto; height: auto; }
.split--why .split-media .badge { left: auto; right: 16px; top: 16px; bottom: auto; }
@media (max-width: 900px) { .split.split--why { grid-template-columns: 1fr; } }

/* Why choose ATN on one screen */
.section.screen.screen-fit .heading.why-heading { margin-bottom: clamp(20px, 4vh, 36px); }
.why-features { gap: clamp(14px, 2.8vh, 28px); }
.screen-fit.why-screen > .container.split { display: grid; align-content: center; gap: clamp(24px, 4vw, 56px); }
.why-screen .heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0; }
.why-screen .feature .icon { width: 44px; height: 44px; }
.why-screen .feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.why-screen .feature p { font-size: 0.93rem; line-height: 1.55; }
@media (max-height: 700px) and (min-width: 901px) {
  .why-screen .feature p { display: none; }
}
@media (max-width: 900px) {
  .screen-fit.why-screen > .container.split { gap: 22px; align-content: center; }
  .why-screen .split-media { max-width: 560px; }
}
@media (max-width: 640px) {
  .why-features { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .why-screen .feature { flex-direction: column; gap: 10px; }
  .why-screen .feature .icon { width: 38px; height: 38px; }
  .why-screen .feature .icon svg { width: 20px; height: 20px; }
  .why-screen .feature h3 { font-size: 1rem; }
  .why-screen .feature p { font-size: 0.84rem; }
  .section.screen.screen-fit .heading.why-heading { margin-bottom: 18px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .why-screen .feature p { display: none; }
}
.hero--full .container { position: relative; z-index: 1; }
.hero-panel { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-panel h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin-bottom: 18px; color: #fff;
  text-shadow: 0 2px 6px rgba(10, 22, 45, 0.35), 0 4px 30px rgba(10, 22, 45, 0.6);
}
.hero-panel h1 em { color: var(--amber); }
.hero-panel .hero-lead {
  margin: 0 auto 34px; color: rgba(255, 255, 255, 0.92); font-weight: 500; letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(10, 22, 45, 0.5), 0 2px 16px rgba(10, 22, 45, 0.6);
}
.hero-panel .hero-actions { justify-content: center; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* Transparent header over the photo; turns white on scroll (handled by .is-scrolled) */
body:has(.hero--full) .site-header:not(.is-scrolled) .brand span,
body:has(.hero--full) .site-header:not(.is-scrolled) .brand small,
body:has(.hero--full) .site-header:not(.is-scrolled) .nav-links a { color: #fff; }
body:has(.hero--full) .site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
body:has(.hero--full) .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.5); }
body:has(.hero--full) .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
body:has(.hero--full).menu-open .site-header .brand span,
body:has(.hero--full).menu-open .site-header .brand small { color: var(--navy); }
body:has(.hero--full).menu-open .site-header .brand img { filter: none; }
body:has(.hero--full).menu-open .site-header .nav-toggle { background: #fff; border-color: var(--border); }
body:has(.hero--full).menu-open .site-header .nav-toggle span { background: var(--navy); }

/* Split hero with photo */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero--split h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero-badge {
  position: absolute; z-index: 2; left: 20px; bottom: 20px; right: 20px; width: max-content; max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); font-size: 0.86rem; font-weight: 600; color: var(--navy);
}

/* Trust section: heading + logos + stats on one screen */
/* Exactly one screen: leave room for the fixed header, center the rest */
.section.screen.trust {
  height: 100vh; height: 100svh; min-height: 560px;
  padding: calc(76px + 2vh) 0 4vh;
}
.trust-inner { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); height: 100%; }
.section.screen.trust .heading { max-width: 900px; margin-bottom: 0; }
.trust .heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.trust .heading p { margin: 0; }
.trust .marquee-wrap { padding: clamp(20px, 3.5vh, 36px) 0; }
.trust .stat { padding: clamp(18px, 3.5vh, 32px) 28px; }
.trust .stat-value { font-size: clamp(2rem, 4.2vh + 1vw, 3rem); }
@media (max-height: 700px) {
  .trust .heading p { display: none; }
}

/* Generic "exactly one screen" section (below the fixed header) */
.section.screen.screen-fit {
  height: 100vh; height: 100svh; min-height: 560px;
  padding: calc(76px + 2vh) 0 3vh;
}
.screen-fit > .container { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 40px); }
.section.screen.screen-fit .heading,
.section.screen.screen-fit .heading-row { margin-bottom: 0; }

/* What we do: centered heading + professional service cards (one screen) */
.wd-screen .heading { max-width: 900px; }
.wd-screen .heading h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 0; }
.wd-screen .heading p { margin: 10px auto 0; max-width: 600px; }
.wd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vh, 20px); }
.wd-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(18px, 2.8vh, 26px) clamp(20px, 1.8vw, 26px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20, 40, 75, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.8s var(--ease);
}
.wd-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.wd-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(20, 40, 75, 0.35); border-color: rgba(11, 107, 181, 0.28); }
.wd-card:hover::before { transform: scaleX(1); }
.wd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(12px, 2.2vh, 20px); }
.wd-card .icon { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.wd-card .icon svg { width: 22px; height: 22px; }
.wd-card:hover .icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.wd-num { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1; color: #e3e8ef; transition: color 0.4s; }
.wd-card:hover .wd-num { color: var(--amber); }
.wd-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.28rem); margin: 0 0 6px; }
.wd-card p { font-size: 0.92rem; line-height: 1.55; margin: 0 0 clamp(10px, 1.8vh, 16px); }
.wd-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--blue); }
.wd-more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.wd-card:hover .wd-more svg { transform: translateX(4px); }
.wd-foot { display: flex; justify-content: center; }
@media (max-height: 800px) and (min-width: 641px) {
  .wd-screen .heading p { display: none; }
  .wd-card .icon { width: 40px; height: 40px; }
  .wd-num { font-size: 1.3rem; }
}
@media (max-height: 999px) and (min-width: 901px) {
  .wd-foot { display: none; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .wd-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-screen .heading p, .wd-more { display: none; }
  .wd-card { padding: 18px 20px; }
  .wd-card p { margin: 0; }
}
@media (max-width: 640px) {
  .section.screen.screen-fit { height: auto; min-height: 100svh; }
  .wd-screen .heading p { display: none; }
  .wd-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wd-card { padding: 16px 14px; }
  .wd-card p, .wd-more { display: none; }
  .wd-top { margin-bottom: 12px; }
  .wd-card .icon { width: 38px; height: 38px; border-radius: 11px; }
  .wd-card .icon svg { width: 19px; height: 19px; }
  .wd-num { font-size: 1.15rem; }
  .wd-card h3 { font-size: 1rem; margin: 0; }
  .wd-foot .btn { width: 100%; }
}
/* Selected work: bento layout (1 large + 2 compact), fills one screen */
.work-screen .heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 0; }
.work-screen .heading { max-width: 900px; }
.work-screen .heading p { margin: 10px auto 0; max-width: 620px; }
.work-foot { display: flex; justify-content: center; }
.work-badge {
  position: absolute; z-index: 1; left: 16px; top: 16px; padding: 7px 13px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  box-shadow: 0 8px 20px -10px rgba(20, 40, 75, 0.6);
}
.work-badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--amber); vertical-align: middle; }
@media (max-height: 800px) and (min-width: 641px) {
  .work-screen .heading p { display: none; }
}
@media (max-height: 700px) and (min-width: 641px) {
  .work-foot { display: none; }
}
.work-screen .container > .work-grid { flex: 1 1 auto; min-height: 0; max-height: 640px; }
.work-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: clamp(14px, 2.2vh, 24px);
}
.work-card {
  position: relative; display: flex; flex-direction: column; min-height: 0; padding: 0; width: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.8s var(--ease);
}
.work-card--lg { grid-row: span 2; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 107, 181, 0.35); }
.work-media { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(14px, 2.4vh, 22px) clamp(18px, 2vw, 26px); }
.work-card--lg .work-body { padding: clamp(18px, 3vh, 28px) clamp(20px, 2.4vw, 32px); }
.work-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.work-meta { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.work-title { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.25; }
.work-card--lg .work-title { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.work-summary { color: var(--muted); font-size: 0.94rem; line-height: 1.55; margin-top: 4px; max-width: 520px; }
.work-loc { color: var(--muted); font-size: 0.86rem; }
.work-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--navy); background: #fff;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.work-arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform 0.35s var(--ease); }
.work-card:hover .work-arrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.work-card:hover .work-arrow svg { transform: rotate(0deg); }
@media (max-height: 760px) and (min-width: 641px) {
  .work-summary { display: none; }
}
.work-card:not(.work-card--lg) .work-body { gap: 12px; padding: clamp(12px, 2vh, 18px) clamp(14px, 1.4vw, 20px); }
.work-card:not(.work-card--lg) .work-title { font-size: clamp(1rem, 1.25vw, 1.15rem); }
.work-card:not(.work-card--lg) .work-arrow { width: 36px; height: 36px; }
.work-card:not(.work-card--lg) .work-arrow svg { width: 16px; height: 16px; }
@media (max-width: 900px) and (min-width: 641px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr 1fr; }
  .work-card--lg { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  /* swipeable row on phones so the section stays one screen */
  .work-screen .container > .work-grid { max-height: none; }
  .work-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none;
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-card { flex: 0 0 84%; scroll-snap-align: center; height: min(48svh, 420px); }
  .work-screen .heading p { display: none; }
  .work-foot .btn { width: 100%; }
  .work-card:hover { transform: none; }
  .work-summary { display: none; }
}

@media (max-width: 640px) and (max-height: 700px) {
  .wd-foot { display: none; }
  .wd-card { padding: 12px; }
  .work-card { height: 48svh; }
  .work-screen .heading h2 { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  .section.screen.trust { height: auto; min-height: 100svh; }
  .trust .stat { padding: 20px 18px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(0.45em); animation: wordUp 0.9s var(--ease) forwards; }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 0.85rem; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.pill b { white-space: nowrap; flex: none; background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 0.78rem; }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #22c55e; opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }

/* Page hero (inner pages) */

/* ---------- Logo marquee ---------- */
.marquee-wrap { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.marquee-label { text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 40px; width: auto; max-width: 170px; object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.marquee-track img:hover { transform: scale(1.06); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 36px 28px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.stat-value span { color: var(--blue); }
.stat-label { font-size: 0.92rem; color: var(--muted); }

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

.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 107, 181, 0.35); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; margin-bottom: 20px; }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 24px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.icon svg { width: 24px; height: 24px; }
.card:hover .icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }

.service-card .num { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 0.95rem; color: var(--border); font-weight: 600; transition: color 0.4s; }
.service-card:hover .num { color: var(--amber); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; background: var(--border); }
.process-line { position: absolute; top: 27px; left: 8%; height: 1px; width: 0; background: var(--blue); transition: width 1.6s var(--ease) 0.2s; }
.process.is-visible .process-line { width: 84%; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot {
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); color: var(--blue);
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem; position: relative; z-index: 1;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.step:hover .step-dot { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.08); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Projects ---------- */
.project-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0; width: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 107, 181, 0.35); }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.project-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.project-body p { font-size: 0.94rem; margin-bottom: 18px; }
.project-body .link-arrow { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); border: 1px solid var(--border); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer;
  font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--navy); border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.project-card.is-hidden { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 40, 75, 0.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.4s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform 0.3s var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.modal-content { padding: clamp(24px, 4vw, 48px); }
.modal-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0; }
.case-grid h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.96rem; }
.check-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

/* ---------- Why / features ---------- */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon { margin: 0; flex: none; }
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .badge {
  position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 0.9rem; color: var(--navy); font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonials { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.t-viewport { position: relative; min-height: 290px; }
.t-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.t-slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.t-quote-mark { font-family: var(--serif); font-size: 5rem; line-height: 0.6; color: var(--amber); height: 40px; }
.t-quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--navy); margin: 0 0 32px; font-weight: 500; }
.t-person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: 0.95rem; }
.t-name { font-weight: 600; color: var(--navy); font-size: 0.96rem; }
.t-org { font-size: 0.86rem; color: var(--muted); }
.t-sample { display: inline-block; margin-left: 6px; font-size: 0.66rem; letter-spacing: 0.1em; padding: 2px 7px; border-radius: 999px; background: #fff5e0; color: #9a6a00; vertical-align: middle; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.t-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; transition: all 0.3s var(--ease); }
.t-arrow:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.t-arrow svg { width: 18px; height: 18px; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: width 0.4s var(--ease), background 0.4s; }
.t-dot.is-active { width: 28px; background: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; max-width: 620px; }
.cta-band h2 em { color: var(--amber); }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 520px; }
.cta-band .cta-mountains { position: absolute; right: -40px; bottom: -30px; width: 420px; opacity: 0.18; pointer-events: none; }
.cta-mountains path { fill: none; stroke: #fff; stroke-width: 2; }
.cta-mountains path.m2 { stroke: var(--amber); }
.cta-band > * { position: relative; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; color: var(--navy);
}
.faq-q .plus { position: relative; width: 22px; height: 22px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--blue); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 24px; margin: 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- About ---------- */
.mv-card { padding: 40px; }
.mv-card .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 14px; display: block; }
.mv-card blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--navy); }

.person { text-align: center; }
.person-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--bg-alt); margin-bottom: 16px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person h3 { font-size: 1.15rem; margin-bottom: 2px; }
.person p { font-size: 0.88rem; margin: 0; }

.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.client-grid div { background: #fff; display: grid; place-items: center; padding: 28px 20px; min-height: 110px; }
.client-grid img { max-height: 46px; max-width: 140px; object-fit: contain; transition: transform 0.4s var(--ease); }
.client-grid div:hover img { transform: scale(1.06); }

.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-strip img:first-child { aspect-ratio: auto; grid-row: span 2; }

/* ---------- Contact ---------- */

.form-card { padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-alt);
  font-size: 0.96rem; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 107, 181, 0.12); }
.field.has-error input, .field.has-error textarea { border-color: #d64545; }
.field .error { font-size: 0.8rem; color: #d64545; display: none; }
.field.has-error .error { display: block; }
.counter { font-size: 0.78rem; color: var(--muted); align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer;
  font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: all 0.25s var(--ease);
}
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-foot small { color: var(--muted); }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: block; animation: wordUp 0.7s var(--ease); }
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.success-icon svg { width: 34px; height: 34px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.8s var(--ease) 0.2s forwards; }
.hours-line { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Services page: one screen per section ---------- */
.svc-screen .heading h2, .process-screen .heading h2, .faq-side h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 0; }
.svc-screen .heading p { margin: 10px auto 0; max-width: 620px; }
.svc-screen .svc-tabs { flex: 1 1 auto; min-height: 0; max-height: 560px; }
.svc-tabs { display: flex; flex-direction: column; gap: clamp(14px, 2.6vh, 26px); }
/* centered segmented tab bar */
.svc-list {
  align-self: center; max-width: 100%; display: flex; gap: 2px; padding: 5px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm);
  overflow-x: auto; scrollbar-width: none;
}
.svc-list::-webkit-scrollbar { display: none; }
.svc-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 14px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 0.87rem; color: var(--muted); white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-num { font-family: var(--serif); font-size: 0.82rem; color: #9aa7b8; transition: color 0.35s; }
.svc-tab:hover { color: var(--navy); background: var(--bg-alt); }
.svc-tab.is-active { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(20, 40, 75, 0.7); }
.svc-tab.is-active .svc-num { color: var(--amber); }
@media (max-width: 1100px) {
  .svc-tab { padding: 9px 12px; gap: 0; }
  .svc-num { display: none; }
}

.svc-panels { flex: 1 1 auto; min-height: 0; }
.svc-panel {
  height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 40px); align-items: center;
  padding: clamp(22px, 3.6vh, 38px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -36px rgba(20, 40, 75, 0.35);
}
.svc-panel[hidden] { display: none; }
.svc-panel.is-active { animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svc-text h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.svc-text > p { margin-bottom: clamp(14px, 2.6vh, 22px); }
.svc-points { list-style: none; margin: 0 0 clamp(16px, 3vh, 26px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vh, 12px) 16px; }
.svc-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.92rem; font-weight: 500; color: var(--navy); line-height: 1.4; }
.svc-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6bb5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.svc-media { position: relative; margin: 0; height: 100%; min-height: 200px; max-height: 400px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s var(--ease); }
.svc-panel:hover .svc-media img { transform: scale(1.03); }
.svc-media figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px; background: #fff;
  font-size: 0.76rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}

.process-screen .heading p { margin: 10px auto 0; }
.process-screen .process { margin-top: clamp(8px, 2vh, 24px); gap: 16px; }
.step-get { display: none; }
@media (min-width: 901px) {
  /* steps as tall cards so the section fills the screen with presence */
  .process-screen .process { margin-top: clamp(24px, 5vh, 48px); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
  .process-screen .process::before, .process-screen .process-line { display: none; }
  .process-screen .step {
    display: flex; flex-direction: column; align-items: flex-start; text-align: left;
    min-height: clamp(200px, 36vh, 320px); padding: clamp(20px, 3.4vh, 30px) clamp(18px, 1.6vw, 24px);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  }
  .process-screen .step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11, 107, 181, 0.35); }
  .process-screen .step-dot { width: 52px; height: 52px; margin: 0; font-size: 1.2rem; background: var(--blue-soft); border-color: transparent; }
  .process-screen .step:hover .step-dot { background: var(--blue); color: #fff; }
  .process-screen .step h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); margin: clamp(18px, 3vh, 28px) 0 8px; }
  .process-screen .step p { font-size: 0.93rem; line-height: 1.55; margin: 0 0 16px; }
  .process-screen .step-get {
    display: block; margin-top: auto; padding-top: 14px; width: 100%; border-top: 1px solid var(--border);
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #b07a12;
  }
}

.screen-fit > .container.faq-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.faq-side p { margin: 12px 0 clamp(18px, 3.5vh, 30px); }
.faq-cta { position: relative; overflow: hidden; padding: clamp(22px, 3.5vh, 32px); border-radius: var(--radius-lg); background: var(--navy); }
.faq-cta h3 { color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-bottom: 6px; }
.faq-cta p { color: rgba(255, 255, 255, 0.72); margin: 0 0 18px; font-size: 0.95rem; }
.faq-cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.faq-wa { color: #fff; font-weight: 600; font-size: 0.92rem; border-bottom: 1.5px solid var(--amber); padding-bottom: 2px; }
.faq-wa:hover { color: var(--amber); }
.faq-screen .faq { max-width: none; margin: 0; }
.faq-screen .faq-q { padding: clamp(14px, 2.6vh, 22px) 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.faq-screen .faq-a p { padding-bottom: clamp(14px, 2.4vh, 22px); }

@media (max-height: 760px) and (min-width: 901px) {
  .svc-text > p, .faq-side > p, .process-screen .heading p, .svc-screen .heading p { display: none; }
}
@media (max-width: 900px) {
  .svc-list { align-self: stretch; }
  .svc-panel { grid-template-columns: 1fr 0.8fr; }
  .screen-fit > .container.faq-layout { grid-template-columns: 1fr; gap: 24px; align-content: center; }
}
@media (max-width: 640px) {
  .svc-panel { grid-template-columns: 1fr; padding: 22px 20px; }
  .svc-screen .heading p { display: none; }
  .svc-media { display: none; }
  .svc-points li { font-size: 0.86rem; }
  .faq-side > p { display: none; }
  .faq-cta { margin-top: 16px; padding: 18px 20px; }
  .process-screen .heading p { display: none; }
  .process-screen .step { padding-bottom: 18px; }
  .process-screen .step p { font-size: 0.86rem; }
  .faq-cta p { display: none; }
  .faq-cta h3 { margin-bottom: 12px; font-size: 1.1rem; }
  .faq-screen .faq-q { padding: 14px 0; font-size: 1rem; }
  .screen-fit > .container.faq-layout { gap: 14px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .svc-text > p, .process-screen .heading p { display: none; }
  .process-screen .step { padding-bottom: 12px; }
  .process-screen .step p { display: none; }
  .process-screen .step-dot { width: 44px; height: 44px; }
  .process-screen .step::before { left: 22px; top: 44px; }
  .process-screen .step { grid-template-columns: 44px 1fr; }
  .process-screen .step h3 { margin-top: 6px; }
  .faq-cta { display: none; }
  .hero--full .container { gap: 18px; }
  .hero--full .hero-lead { margin-bottom: 20px; }
}

/* ---------- Home: testimonials + CTA on one screen ---------- */
.t-screen .heading h2, .hw-screen .heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 0; }
.hw-screen .heading p { margin: 10px auto 0; }
.t-screen .t-viewport { min-height: 0; }
.t-screen .t-quote { font-size: clamp(1.15rem, 1.6vw + 0.5vh, 1.8rem); margin-bottom: clamp(16px, 3vh, 32px); }
.t-screen .t-controls { margin-top: clamp(16px, 3vh, 36px); }
.cta-screen .cta-band { min-height: clamp(260px, 46vh, 420px); }

/* Short laptop viewports (browser UI eats height) */
@media (max-height: 700px) and (min-width: 641px) {
  .wd-more { display: none; }
  .wd-card { padding: 14px 20px; }
  .wd-card p { margin: 0; }
  .wd-top { margin-bottom: 10px; }
  .hw-screen .heading p { display: none; }
  .t-screen .t-quote-mark { height: 26px; font-size: 3.6rem; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .wd-card p { font-size: 0.86rem; }
}

/* Phones */
@media (max-width: 640px) {
  .process-screen .step { grid-template-columns: 40px 1fr; padding-bottom: 14px; }
  .process-screen .step-dot { width: 40px; height: 40px; font-size: 1rem; }
  .process-screen .step::before { left: 20px; top: 40px; }
  .process-screen .step h3 { margin-top: 8px; font-size: 1.05rem; }
  .hw-screen .heading p { display: none; }
  .t-screen .t-quote { font-size: 1.12rem; }
  .t-screen .t-quote-mark { height: 26px; font-size: 3.4rem; }
  .cta-screen .cta-band { min-height: 0; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .process-screen .step p { display: none; }
  .process-screen .step { padding-bottom: 10px; }
}
/* Very short phones (e.g. 360×560 with browser bars) */
@media (max-width: 640px) and (max-height: 600px) {
  .section.screen.screen-fit, .section.screen.trust { padding: calc(76px + 8px) 0 10px; }
  .screen-fit > .container { gap: 14px; }
  .screen-fit .heading h2, .trust .heading h2 { font-size: 1.45rem; }
  .trust-inner { gap: 14px; }
  .trust .marquee-wrap { padding: 12px 0; }
  .trust .stat { padding: 12px 14px; }
  .trust .stat-value { font-size: 1.6rem; margin-bottom: 4px; }
  .wd-card { padding: 10px 12px; }
  .wd-card .icon { width: 30px; height: 30px; }
  .wd-top { margin-bottom: 8px; }
  .work-card { height: 42svh; }
  .work-foot { display: none; }
  .why-screen .split-media img { max-height: 22svh; object-fit: cover; }
  .why-screen .feature .icon { width: 32px; height: 32px; }
  .why-screen .feature h3 { font-size: 0.92rem; }
  .why-features { gap: 10px 12px; }
  .process-screen .step-dot { width: 34px; height: 34px; }
  .process-screen .step { grid-template-columns: 34px 1fr; padding-bottom: 6px; }
  .process-screen .step::before { left: 17px; top: 34px; }
  .t-screen .t-quote { font-size: 1rem; margin-bottom: 14px; }
  .faq-screen .faq-q { padding: 11px 0; font-size: 0.95rem; }
}

/* ---------- About: Who we are (centered, one screen) ---------- */
.about-screen .heading { max-width: 860px; }
.about-screen .heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0; }
.about-screen .heading p { margin: 12px auto 0; max-width: 720px; font-size: 1.02rem; }
.about-screen .container > .about-gallery { flex: 1 1 auto; min-height: 0; max-height: 380px; }
.about-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.about-gallery figure {
  position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--bg-alt);
}
.about-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.about-gallery figure:hover img { transform: scale(1.04); }
.about-gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 0.76rem; font-weight: 600; box-shadow: var(--shadow-sm);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.about-fact {
  display: flex; align-items: center; gap: 14px; padding: clamp(12px, 2vh, 18px) 18px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.about-fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(11, 107, 181, 0.3); }
.about-fact .icon { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.about-fact .icon svg { width: 20px; height: 20px; }
.about-fact:hover .icon { background: var(--blue); color: #fff; }
.about-fact b { display: block; color: var(--navy); font-size: 0.95rem; line-height: 1.3; }
.about-fact span:not(.icon) { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
@media (max-height: 760px) and (min-width: 641px) {
  .about-screen .heading p { display: none; }
}
@media (max-width: 1024px) and (min-width: 641px) {
  .about-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-screen .heading p { font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .about-screen .container > .about-gallery { flex: none; max-height: none; }
  .about-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 18svh 11svh; gap: 8px; }
  .about-screen .heading h2 { font-size: 1.6rem; }
  .about-gallery figure:first-child { grid-column: span 2; }
  .about-gallery figcaption { font-size: 0.7rem; padding: 5px 10px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .about-fact { padding: 10px 12px; gap: 10px; }
  .about-fact .icon { width: 34px; height: 34px; border-radius: 10px; }
  .about-fact .icon svg { width: 17px; height: 17px; }
  .about-fact b { font-size: 0.86rem; }
  .about-fact span:not(.icon) { font-size: 0.74rem; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .about-screen .heading p { display: none; }
  .about-gallery { grid-template-rows: 17svh 10svh; }
  .about-fact { padding: 7px 10px; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .about-fact span:not(.icon) { display: none; }
  .about-gallery { grid-template-rows: 16svh 10svh; }
}

/* ---------- About: Mission & vision (one screen) ---------- */
.mv-screen .heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 0; }
.mv-screen .heading p { margin: 10px auto 0; }
.mv2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.mv2 {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(24px, 4.2vh, 44px) clamp(24px, 3vw, 44px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 50px -36px rgba(20, 40, 75, 0.35);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mv2:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(20, 40, 75, 0.45); }
.mv2--vision { background: var(--navy); border-color: var(--navy); }
.mv2--vision::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 181, 63, 0.18), rgba(245, 181, 63, 0) 70%); pointer-events: none;
}
.mv2-top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(16px, 3vh, 28px); }
.mv2-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.mv2-icon svg { width: 24px; height: 24px; }
.mv2--vision .mv2-icon { background: rgba(255, 255, 255, 0.1); color: var(--amber); }
.mv2-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.mv2--vision .mv2-label { color: var(--amber); }
.mv2-num { margin-left: auto; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; color: #e3e8ef; }
.mv2--vision .mv2-num { color: rgba(255, 255, 255, 0.14); }
.mv2 blockquote {
  margin: 0 0 clamp(16px, 3vh, 26px); font-family: var(--serif); font-weight: 500; line-height: 1.4;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem); color: var(--navy);
}
.mv2--vision blockquote { color: #fff; }
.mv2-points { list-style: none; margin: auto 0 0; padding: clamp(14px, 2.4vh, 22px) 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.mv2--vision .mv2-points { border-color: rgba(255, 255, 255, 0.14); }
.mv2-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; line-height: 1.5; color: var(--muted); }
.mv2--vision .mv2-points li { color: rgba(255, 255, 255, 0.78); }
.mv2-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6bb5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.mv2--vision .mv2-points li::before {
  background: rgba(245, 181, 63, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b53f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-height: 700px) and (min-width: 641px) {
  .mv-screen .heading p { display: none; }
}
@media (max-width: 640px) {
  .mv-screen .heading p { display: none; }
  .mv2-grid { grid-template-columns: 1fr; gap: 12px; }
  .mv2 { padding: 18px 18px; }
  .mv2-top { margin-bottom: 10px; }
  .mv2-icon { width: 36px; height: 36px; border-radius: 10px; }
  .mv2-icon svg { width: 18px; height: 18px; }
  .mv2-num { font-size: 1.4rem; }
  .mv2 blockquote { font-size: 1.05rem; margin-bottom: 10px; }
  .mv2-points { padding-top: 10px; gap: 6px; }
  .mv2-points li { font-size: 0.82rem; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .mv2-points { display: none; }
}

/* About: team of five */
.team-grid { grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.team-grid .person p { font-size: 0.84rem; line-height: 1.4; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  /* odd last member sits centred instead of alone on the left */
  .team-grid .person:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}

/* ---------- Contact page (one screen per section) ---------- */
.form-screen .heading h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0; }
.form-screen .container > .contact-grid { flex: 1 1 auto; min-height: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(280px, 340px); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(18px, 3vh, 30px) clamp(20px, 2.4vw, 32px); box-shadow: 0 24px 50px -36px rgba(20, 40, 75, 0.35);
}
.form-screen .form-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.8vh, 16px) 14px; }
.form-screen .field { gap: 6px; }
.form-screen .field label, .form-screen .field .label { font-size: 0.8rem; }
.form-screen .field input, .form-screen .field select { padding: clamp(9px, 1.4vh, 12px) 14px; }
.form-screen .field textarea { min-height: 0; height: clamp(64px, 12vh, 120px); padding: 10px 14px; }
.form-screen .counter { margin-top: -2px; }
.chips-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-field legend { margin-bottom: 6px; }
.form-screen .chip span { padding: 7px 13px; font-size: 0.84rem; }
.form-screen .form-foot { margin-top: clamp(12px, 2vh, 20px); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-screen .form-success { padding: 24px 10px; }

.quick-contact {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 3vh, 28px) 22px;
  border-radius: var(--radius-lg); background: var(--navy); color: rgba(255, 255, 255, 0.75);
}
.quick-contact h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.quick-contact > p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0 0 6px; }
.qc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.qc:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(245, 181, 63, 0.55); transform: translateX(3px); }
.qc-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.qc-icon--wa { background: #25d366; }
.qc-icon svg { width: 19px; height: 19px; }
.qc b { display: block; color: #fff; font-size: 0.92rem; }
.qc span:not(.qc-icon) span, .qc > span:last-child > span { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); overflow-wrap: anywhere; }
.qc-status { margin-top: auto; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 0.9rem; padding-top: 6px; }

.map-screen .container > .map-frame { flex: 1 1 auto; min-height: 0; }
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-alt); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office-card {
  position: absolute; left: clamp(16px, 2.4vw, 32px); top: 50%; transform: translateY(-50%);
  width: min(380px, calc(100% - 32px)); padding: clamp(20px, 3.4vh, 32px) 28px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -24px rgba(20, 40, 75, 0.45);
}
.office-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.office-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.office-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); font-size: 0.92rem; line-height: 1.5; }
.office-list a { color: var(--navy); font-weight: 600; }
.office-list a:hover { color: var(--blue); }
.oi { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.oi svg { width: 17px; height: 17px; }

@media (max-height: 700px) and (min-width: 641px) {
  .form-screen .heading { display: none; }
  .quick-contact > p { display: none; }
}
@media (max-width: 1100px) {
  .form-screen .form-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .quick-contact { display: none; }
}
@media (max-width: 640px) {
  .form-screen .heading h2 { font-size: 1.55rem; }
  .form-card { padding: 16px 14px; }
  .form-screen .form-grid { gap: 8px; }
  /* labels stay for screen readers; placeholders show on small screens */
  .form-screen .field > label, .chips-field legend {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .form-screen .field input, .form-screen .field select { padding: 10px 12px; font-size: 0.92rem; }
  .form-screen .chip span { padding: 6px 11px; font-size: 0.8rem; }
  .form-screen .chips { gap: 6px; }
  .form-screen .field textarea { height: 15svh; }
  .form-screen .counter { display: none; }
  .form-screen .form-foot { margin-top: 12px; }
  .form-screen .form-foot small { display: none; }
  .form-actions { width: 100%; flex-wrap: nowrap; }
  .form-actions .btn { flex: 1 1 0; padding: 12px 10px; font-size: 0.86rem; }
  .map-screen .container > .map-frame { display: flex; flex-direction: column; }
  .office-card { position: static; transform: none; width: auto; border-radius: 0; box-shadow: none; padding: 18px 18px 14px; }
  .office-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
  .office-list { gap: 8px; margin-bottom: 14px; }
  .office-list li { font-size: 0.86rem; }
  .map-frame iframe { position: relative; inset: auto; flex: 1 1 auto; min-height: 160px; height: auto; }
  .map-screen .container > .map-frame { flex: none; height: calc(100svh - 76px - 5vh - 2px); }
  /* contact page already offers WhatsApp everywhere; the float would cover the form buttons */
  body[data-page="contact"] .wa-float { display: none; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .form-screen .heading { display: none; }
  .form-screen .field textarea { height: 12svh; }
}
@media (max-width: 380px) {
  .form-screen .heading h2 { font-size: 1.4rem; }
  .form-screen .chip span { padding: 5px 9px; font-size: 0.76rem; }
  .form-screen .field textarea { height: 11svh; }
  .form-screen .field input, .form-screen .field select { padding: 9px 10px; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .map-frame iframe { min-height: 110px; }
  .office-card { padding: 14px 16px 10px; }
  .office-card .eyebrow { margin-bottom: 6px; }
}

/* ---------- Footer (navy, boxed) ---------- */
.site-footer {
  position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, 0.72);
  padding: clamp(56px, 7vw, 88px) 0 28px;
}
.footer-mountains { position: absolute; right: -60px; top: -20px; width: 520px; opacity: 0.08; pointer-events: none; }
.footer-mountains path { fill: none; stroke: #fff; stroke-width: 2; }
.footer-mountains path.m2 { stroke: var(--amber); }
.site-footer .container { position: relative; }

.f-contacts { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr; gap: 16px; margin-bottom: 16px; }
.f-contact {
  display: flex; align-items: center; gap: 16px; padding: 22px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.f-contact:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(245, 181, 63, 0.55); transform: translateY(-3px); }
.f-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.f-icon svg { width: 20px; height: 20px; }
.f-contact-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.f-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.f-value { color: #fff; font-weight: 600; font-size: clamp(0.88rem, 1vw, 0.98rem); overflow-wrap: break-word; }
.f-go { flex: none; color: rgba(255, 255, 255, 0.45); transition: color 0.3s, transform 0.3s var(--ease); }
.f-go svg { width: 18px; height: 18px; }
.f-contact:hover .f-go { color: var(--amber); transform: translateX(3px); }

.f-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 16px; }
.f-box {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
}
.f-box h4 {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.f-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.f-box ul a { position: relative; color: rgba(255, 255, 255, 0.75); font-size: 0.94rem; transition: color 0.25s, padding 0.3s var(--ease); }
.f-box ul a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: var(--amber); transition: width 0.3s var(--ease); }
.f-box ul a:hover { color: #fff; padding-left: 16px; }
.f-box ul a:hover::before { width: 10px; }
.f-box p { color: rgba(255, 255, 255, 0.7); font-size: 0.94rem; }
.f-brand .brand span, .f-brand .brand small { color: #fff; }
.f-brand .brand small { color: rgba(255, 255, 255, 0.6); }
.f-brand .brand img { filter: brightness(0) invert(1); }
.f-brand p { margin: 18px 0 22px; max-width: 340px; }
.f-brand-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.f-status { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 0.9rem; }
.f-address p { margin-bottom: 16px; }
.f-address .link-arrow { color: var(--amber); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.55);
}
.f-top {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500;
  padding: 8px 8px 8px 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; transition: border-color 0.3s;
}
.f-top span { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; transition: background 0.3s; }
.f-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.f-top:hover { border-color: var(--amber); }
.f-top:hover span { background: var(--amber); color: var(--navy); }

@media (max-width: 1024px) {
  .f-main { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
}
@media (max-width: 900px) {
  .f-contacts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .f-main { grid-template-columns: 1fr 1fr; gap: 12px; }
  .f-brand, .f-address { grid-column: span 2; }
  .f-box { padding: 22px 20px; }
  .f-contact { padding: 18px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before, .process-line { display: none; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; text-align: left; padding: 0 0 28px; position: relative; }
  .step::before { content: ""; position: absolute; left: 27px; top: 54px; bottom: 0; width: 1px; background: var(--border); }
  .step:last-child::before { display: none; }
  .step-dot { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .split, 
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid.people { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 26px; }
  .stat { padding: 26px 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero h1 .word { opacity: 1; transform: none; }
  .hero-mountains path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
}
