/* ==========================================================================
   Zonterra — light editorial theme with frosted (liquid) glass
   ========================================================================== */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-2: #4a5466;
  --muted: #7a8496;
  --soft: #9aa3b2;
  --teal: #1f8d9c;
  --teal-2: #2aa7b6;
  --coral: #dd6b50;
  --coral-2: #e8825f;
  --navy: #0a1430;
  --line: rgba(11, 18, 32, 0.08);
  --line-2: rgba(11, 18, 32, 0.14);
  --shadow: 0 24px 60px -28px rgba(11, 18, 32, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(11, 18, 32, 0.3);
  --radius: 22px;
  --radius-lg: 30px;
  --pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-2); }

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

/* ---------- Ambient background (soft colour for the glass to refract) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.ambient .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.22; animation: drift 30s var(--ease) infinite alternate; }
.ambient .b1 { width: 560px; height: 560px; background: var(--teal-2); top: 20%; left: -12%; }
.ambient .b2 { width: 520px; height: 520px; background: var(--coral-2); top: 55%; right: -12%; animation-delay: -10s; }
.ambient .b3 { width: 480px; height: 480px; background: #b9d7f0; bottom: -18%; left: 35%; opacity: 0.3; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ---------- Liquid glass (light) ---------- */
.glass {
  position: relative;
  background: linear-gradient(140deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.58) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 1px rgba(11,18,32,0.045),
    var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  isolation: isolate;
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 20%) var(--my, 0%), rgba(42,167,182,0.10), transparent 55%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255,255,255,0.96); }
}

.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5em 1.1em; border-radius: var(--pill);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
a.pill:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: var(--pill);
  font-weight: 700; font-size: 0.96rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--teal); box-shadow: 0 12px 28px -14px rgba(31,141,156,0.75); }
.btn-primary:hover { transform: translateY(-2px); background: var(--coral); box-shadow: 0 14px 30px -14px rgba(221,107,80,0.8); }
.btn-glass {
  color: var(--ink);
  background: rgba(255,255,255,0.7);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { transform: translateY(-2px); background: #fff; border-color: var(--coral); color: var(--coral); }
.btn-coral { color: #fff; background: var(--coral); box-shadow: 0 12px 28px -12px rgba(221,107,80,0.7); }
.btn-coral:hover { transform: translateY(-2px); background: #cf5d43; }
.btn-block { width: 100%; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--coral)); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.grad-text {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-2) 35%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soft-text { color: #8b94a4; font-weight: 500; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); transition: top 0.4s var(--ease); }
.nav-bar {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: var(--pill);
  overflow: visible;
}
.site-header:not(.scrolled) .nav-bar.glass { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header:not(.scrolled) .nav-bar.glass::before { opacity: 0; }
.site-header.scrolled { top: 10px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 0.5em 0.95em; border-radius: var(--pill);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a[aria-current="page"] { color: #fff; background: var(--teal); }
.nav-links a:hover, .nav-links a[aria-current="page"]:hover { color: #fff; background: var(--coral); }
.nav-cta { padding: 0.72em 1.3em; font-size: 0.88rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.8); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 84px; left: 16px; right: 16px; z-index: 49;
  padding: 18px; border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  background: rgba(255,255,255,0.94);
}
.nav-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.mobile-menu a[aria-current="page"] { background: var(--teal); color: #fff; }
.mobile-menu a:hover { background: var(--coral); color: #fff; }
.mobile-menu .btn { display: flex; justify-content: center; }

/* ---------- Home hero: 3D swirl ---------- */
.hero {
  position: relative; min-height: max(100svh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0 36px; overflow: hidden;
  background: radial-gradient(1200px 700px at 50% 45%, #ffffff 0%, var(--bg) 70%);
}
.swirl-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.swirl-wrap canvas, .swirl-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.swirl-wrap canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.swirl-wrap canvas.ready { opacity: 1; }
.swirl-wrap canvas.ready + img, .swirl-wrap img.hide { opacity: 0; }
.swirl-wrap img { transition: opacity 0.6s; }
.swirl-wrap::after { /* fade into the page at the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-center { position: relative; z-index: 2; text-align: center; }
.hero-center::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(980px, 110%); height: 140%;
  transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245,246,248,0.9), rgba(245,246,248,0.55) 60%, transparent);
}
.hero-center .eyebrow { justify-content: center; }
.hero h1 { margin: 0 auto 0.4em; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.06; }
.hero h1 .soft-text { display: block; }
.hero h1 strong { font-weight: 700; display: block; }
.hero .lead { max-width: 620px; margin: 0 auto 1.6em; color: var(--ink-2); font-size: 1.08rem; }
.hero .cta-row { justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-bottom {
  position: relative; z-index: 2; margin-top: clamp(24px, 4vh, 48px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-tagline { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink); }
.hero-tagline i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(221,107,80,0.18); }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(150px, 175px)); gap: 16px 26px; padding: 18px 22px; border-radius: 24px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.stat span { display: block; font-size: 0.8rem; line-height: 1.4; color: var(--ink-2); margin-top: 4px; }
.stat-thumb { display: block; }
.stat-thumb .th { position: relative; height: 56px; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.stat-thumb .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.stat-thumb:hover .th img { transform: scale(1.08); }
.stat-thumb .th::after { content: ""; position: absolute; inset: 0; background: rgba(11,18,32,0.25); }
.stat-thumb .th svg { position: absolute; z-index: 1; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: #fff; }
.stat-thumb span { font-weight: 600; color: var(--ink); }

/* region strip (logo-strip style) */
.region-strip { text-align: center; }
.region-strip small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.region-strip .regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(24px, 4vw, 56px); }
.region-strip .regions span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); color: #8a93a3; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.region-strip .regions svg { width: 20px; height: 20px; color: var(--teal); opacity: 0.8; }

/* scope cards */
.scope-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.scope-card { padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 150px; transition: transform 0.35s var(--ease); }
.scope-card:hover { transform: translateY(-4px); }
.scope-card .n { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.scope-card strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.scope-card .go { margin-top: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; transition: background 0.25s; }
.scope-card:hover .go { background: var(--coral); }
.scope-card .go svg { width: 16px; height: 16px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 160px 0 80px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .wrap > * { max-width: min(640px, 54%); }
.page-hero .hero-media {
  position: absolute; z-index: 0; top: 120px; bottom: 40px;
  right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  width: min(42%, 520px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cards ---------- */
.card { padding: 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(31,141,156,0.14), rgba(31,141,156,0.04));
  border: 1px solid rgba(31,141,156,0.22);
  color: var(--teal);
}
.ico svg { width: 23px; height: 23px; }
.ico.coral { background: linear-gradient(135deg, rgba(221,107,80,0.16), rgba(221,107,80,0.04)); border-color: rgba(221,107,80,0.28); color: var(--coral); }

.pillar { padding: 32px; display: flex; flex-direction: column; }
.pillar .tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pillar ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pillar li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.pillar li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--coral); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 0.96rem; }
.ticks li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--teal); }
.ticks.cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* ---------- Extended team flow ---------- */
.flow-wrap { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 35px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--coral), transparent);
  background-size: 200% 100%; animation: flowline 6s linear infinite; opacity: 0.6;
}
@keyframes flowline { from { background-position: 200% 0; } to { background-position: 0 0; } }
.flow li { position: relative; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.flow .node {
  width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 22px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink); position: relative; z-index: 1;
  transition: transform 0.4s var(--ease), color 0.3s, border-color 0.3s;
}
.flow li:hover .node { transform: translateY(-4px); color: var(--teal); border-color: rgba(31,141,156,0.4); }
.flow .node svg { width: 26px; height: 26px; }
.flow-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.flow-foot blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; color: var(--ink); }
.flow-foot blockquote span { color: var(--teal); }

.quote-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.quote-band .glass { padding: 24px; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.quote-band .glass small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }

/* ---------- Photo band ---------- */
.photo-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,18,32,0.35) 0%, transparent 55%); }
.photo-band .glass { position: relative; z-index: 1; margin: 24px; padding: 30px; max-width: 540px; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .float-card { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.media-frame .float-card strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.media-frame .float-card span { font-size: 0.85rem; color: var(--ink-2); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 14px -10px rgba(11,18,32,0.3);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.chip svg { width: 18px; height: 18px; color: var(--teal); }
.chip:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Models ---------- */
.model { padding: 30px; display: flex; flex-direction: column; min-height: 100%; }
.model .num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.model .scale { display: flex; gap: 4px; }
.model .scale i { width: 14px; height: 6px; border-radius: 3px; background: rgba(11,18,32,0.1); }
.model .scale i.on { background: linear-gradient(90deg, var(--teal), var(--coral)); }
.model h3 { font-size: 1.3rem; }
.model p { font-size: 0.95rem; }
.model .best { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.model .best b { color: var(--ink); font-weight: 600; }
.model.featured { background: var(--ink); border-color: var(--ink); }
.model.featured h3, .model.featured .best b { color: #fff; }
.model.featured p, .model.featured .best, .model.featured .num, .model.featured .ticks li { color: #b8c1d1; }
.model.featured .best { border-color: rgba(255,255,255,0.12); }
.model.featured .scale i { background: rgba(255,255,255,0.15); }
.model.featured .scale i.on { background: linear-gradient(90deg, var(--teal-2), var(--coral-2)); }
.model.featured .ticks li svg { color: var(--teal-2); }
.model.featured::before { background: radial-gradient(400px circle at 100% 0%, rgba(221,107,80,0.3), transparent 60%); }

/* ---------- Why ---------- */
.why { padding: 24px; }
.why .ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.why .ico svg { width: 20px; height: 20px; }
.why h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why p { font-size: 0.88rem; line-height: 1.55; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ind { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; font-weight: 600; font-size: 0.94rem; }
.ind svg { flex: none; width: 22px; height: 22px; color: var(--coral); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { padding: 26px 22px; }
.step .no {
  font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Trust ---------- */
.trust-card { padding: clamp(28px, 4vw, 48px); }
.trust-card .badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.trust-card .badge .flag { width: 28px; height: 18px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(11,18,32,0.1); }
.honest { margin-top: 22px; font-size: 0.86rem; color: var(--muted); display: flex; gap: 10px; }
.honest svg { flex: none; width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }

/* ---------- CTA (dark) ---------- */
.cta-block {
  padding: clamp(40px, 6vw, 84px); text-align: center; border-radius: 36px;
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.cta-block::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(42,167,182,0.38), transparent 70%),
    radial-gradient(600px 320px at 90% 100%, rgba(232,130,95,0.38), transparent 70%);
}
.cta-block h2 { color: #fff; max-width: 780px; margin-left: auto; margin-right: auto; }
.cta-block p { color: #b8c1d1; max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-block .eyebrow { justify-content: center; color: var(--teal-2); }
.cta-block .cta-row { justify-content: center; }
.cta-block .grad-text { background: linear-gradient(100deg, #7fd3dc, var(--coral-2)); -webkit-background-clip: text; background-clip: text; }
.cta-block .btn-primary { background: var(--teal); color: #fff; }
.cta-block .btn-primary:hover { background: var(--coral); }
.cta-block .btn-glass { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-block .btn-glass:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

/* ---------- Service detail ---------- */
.svc { padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); scroll-margin-top: 110px; }
.svc + .svc { margin-top: 20px; }
.svc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.compare thead th { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.compare thead th:last-child { color: var(--teal); }
.compare td:last-child { color: var(--ink); font-weight: 600; }
.compare td:first-child { color: var(--muted); font-weight: 600; width: 24%; }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--teal); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; margin: 0; }

/* ---------- Values ---------- */
.value { padding: 28px; }
.value .k { font-family: var(--font-display); font-size: 0.8rem; color: var(--coral); font-weight: 600; letter-spacing: 0.12em; margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 24px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--coral); }
.input {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.9); border: 1px solid var(--line-2);
  color: var(--ink); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input::placeholder { color: #a2aab7; }
.input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,141,156,0.12); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a5466' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.input { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span {
  display: inline-block; padding: 9px 14px; border-radius: var(--pill); font-size: 0.85rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink-2);
  transition: all 0.2s;
}
.checks input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.checks label:hover span { border-color: var(--coral); color: var(--coral); }
.checks label:hover input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; }
.checks input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 0.92rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(31,141,156,0.1); border: 1px solid rgba(31,141,156,0.35); color: #0f5761; }
.form-status.err { background: rgba(221,107,80,0.1); border: 1px solid rgba(221,107,80,0.35); color: #8c3420; }
.hp { position: absolute; left: -9999px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; transition: background 0.25s; }
.contact-list a:hover { background: rgba(11,18,32,0.04); }
.contact-list .ico { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.contact-list .ico svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.contact-list strong { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25); }

/* ---------- Footer (dark navy) ---------- */
.site-footer { position: relative; padding: 80px 0 30px; margin-top: 40px; background: var(--navy); color: #c9d1de; }
.site-footer p { color: #9aa6ba; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.site-footer h4 { font-size: 0.76rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8ba0; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.site-footer ul a { color: #c9d1de; transition: color 0.2s; }
.site-footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background 0.25s, transform 0.25s var(--ease); }
.socials a:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; padding-right: 170px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.84rem; color: #7f8ba0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: var(--pill);
  background: #1fb85a; color: #fff; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 14px 34px -12px rgba(31,184,90,0.7);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Grids with ten items ---------- */
.svc-grid { grid-template-columns: repeat(5, 1fr); }
.svc-grid .card { padding: 24px; }
.svc-grid .card h3 { font-size: 1.04rem; }

/* ---------- Load + reveal animations ---------- */
.rise { animation: rise 1s var(--ease) both; }
.rise.d1 { animation-delay: 0.1s; } .rise.d2 { animation-delay: 0.2s; } .rise.d3 { animation-delay: 0.3s; } .rise.d4 { animation-delay: 0.45s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .g-5 { grid-template-columns: repeat(3, 1fr); }
  .svc-grid, .g-5.why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(5, 1fr); row-gap: 28px; }
  .flow::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .split, .contact-grid, .svc { grid-template-columns: 1fr; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .quote-band { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; align-items: center; }
  .page-hero { padding-top: 110px; }
  .page-hero .wrap > * { max-width: none; }
  .page-hero .hero-media { position: relative; top: auto; bottom: auto; right: auto; width: auto; height: 220px; margin: 0 var(--gutter) 32px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .g-2, .g-3, .g-4, .g-5, .svc-grid, .g-5.why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow .node { width: 58px; height: 58px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .ticks.cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-right: 0; padding-bottom: 64px; }
  .hero { min-height: 0; padding-top: 110px; }
  .hero-stats { grid-template-columns: 1fr 1fr; width: 100%; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .brand img { height: 28px; }
  .cta-row .btn { width: 100%; }
  .photo-band .glass { margin: 14px; padding: 22px; }
}

/* ---------- Custom cursor (desktop, fine pointers only) ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease),
    background 0.3s, border-color 0.3s;
  will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--teal); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(31,141,156,0.55);
  background: rgba(31,141,156,0.05);
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
}
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
/* over links, buttons and cards: ring grows and turns logo orange */
.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(221,107,80,0.75); background: rgba(221,107,80,0.1); }
.cursor-hover .cursor-dot { background: var(--coral); }
.cursor-down .cursor-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
/* over text fields: hide the custom cursor so the text caret is clear */
.cursor-text .cursor-dot, .cursor-text .cursor-ring { opacity: 0; }
/* on dark sections the ring needs more contrast */
.cursor-dark .cursor-ring { border-color: rgba(127,211,220,0.8); }
.cursor-dark .cursor-dot { background: #7fd3dc; }
