/* ==========================================================================
   Handicraftm.com Custom Theme - Main Stylesheet
   Zero page-builder bloat | Mobile-first (360px to 4K) | Vanilla CSS tokens
   ========================================================================== */

/* Self-hosted fonts (SIL OFL): no third-party requests, GDPR-friendly */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand: Deep Navy / Premium Teal / Rich Gold */
  --navy: #0B1F3A;
  --navy-950: #06111F;
  --navy-900: #081A31;
  --navy-800: #0E2645;
  --navy-700: #15335A;
  --teal: #008C95;
  --teal-ink: #007A82;          /* AA-safe teal for text and filled buttons on light */
  --teal-ink-hover: #00656C;
  --teal-bright: #38D4DF;       /* teal accents on navy */
  --teal-tint: #E6F4F5;
  --gold: #C9A227;
  --gold-bright: #E5C158;
  --gold-ink: #8A6D12;          /* AA-safe gold text on light */
  --gold-on-dark: #F2E2A6;

  /* Neutrals */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --ink: #0B1F3A;
  --text: #1E293B;
  --muted: #526073;
  --on-dark: #F1F5F9;
  --on-dark-muted: #A7B6CA;
  --on-dark-border: rgba(255, 255, 255, 0.1);

  /* Benchmark series (validated: CVD + contrast on white) */
  --bench-builder: #D9734E;
  --bench-builder-light: #F2C4B2;
  --bench-native: #00929D;
  --bench-native-light: #A6DADE;

  /* Type */
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape, depth, motion */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(11, 31, 58, 0.28);
  --shadow-lg: 0 36px 70px -32px rgba(11, 31, 58, 0.42);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(5rem, 3.5rem + 6vw, 9rem);
  --header-h: 72px;
  --focus: #007A82;

  /* Legacy aliases (inline styles in inner page templates rely on these) */
  --brand-primary: var(--teal-ink);
  --brand-hover: var(--teal-ink-hover);
  --brand-tint: var(--teal-tint);
  --brand-navy: var(--navy);
  --brand-gold: var(--gold);
  --color-primary-navy: var(--navy);
  --color-secondary-teal: var(--teal-ink);
  --color-accent-gold: var(--gold);
  --surface-card: var(--surface);
  --surface-ground: var(--bg);
  --border-subtle: var(--border);
  --text-main: var(--text);
  --text-muted: var(--muted);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Anchor links jump instantly: smooth scrolling through sections that skip
     rendering (content-visibility) lands at the wrong spot. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

html.has-drawer-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--teal-ink); }
p { margin: 0 0 1rem; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

::selection { background: rgba(0, 140, 149, 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-container-narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-padding { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }

.section-head {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .section-lead { margin-inline: auto; }

.section-head--split {
  max-width: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
  .section-head--split > .section-lead { padding-bottom: 0.5rem; }
  .section-head--end > :last-child { justify-self: end; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow--light { color: var(--teal-bright); }

.section-title {
  font-size: clamp(2rem, 1.3rem + 2.7vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
}

.section-lead {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--btn-h);
  padding: 0.55rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}

.btn:active { transform: translateY(0) scale(0.98); }

.btn-sm { --btn-h: 42px; padding-inline: 1.1rem; font-size: 0.88rem; }
.btn-lg { --btn-h: 56px; padding-inline: 1.75rem; font-size: 1rem; }
.btn-xl { --btn-h: 62px; padding-inline: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--teal-ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 26px -10px rgba(0, 140, 149, 0.65);
}

.btn-primary:hover {
  background: var(--teal-ink-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 32px -12px rgba(0, 140, 149, 0.75);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--teal-tint);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn-whatsapp .icon-whatsapp { color: #25D366; }

.btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow,
.text-link:hover .btn-arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--teal-ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.2s ease;
}

.text-link:hover { color: var(--teal-ink-hover); background-size: calc(100% - 24px) 1.5px; }

@media (max-width: 599px) {
  .btn-lg { --btn-h: 54px; }
  .btn-xl { --btn-h: 58px; padding-inline: 1.4rem; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  --focus: var(--teal-bright);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 31, 58, 0.98);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-identity { display: flex; flex-shrink: 0; border-radius: 6px; }
.brand-logo-img { height: 40px; width: auto; }

.nav-menu-desktop { display: none; }

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-bright);
  transform: translateX(-50%) scale(0);
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }

.header-action-group { display: flex; align-items: center; gap: 0.75rem; }
.btn-header { display: none; }

.nav-toggle-mobile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bars { position: relative; display: block; width: 18px; height: 12px; }

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease, top 0.35s var(--ease-out);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.nav-toggle-mobile[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle-mobile[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle-mobile[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 640px) {
  .btn-header { display: inline-flex; }
}

@media (min-width: 1100px) {
  .nav-menu-desktop { display: flex; align-items: center; }
  .nav-toggle-mobile { display: none; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .brand-logo-img { height: 34px; }
}

/* Mobile drawer */
.mobile-drawer {
  --focus: var(--teal-bright);
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(0, 166, 176, 0.22), transparent 70%),
    var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.admin-bar .mobile-drawer { top: calc(var(--header-h) + 46px); }

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-block: 1.5rem 2rem;
}

.mobile-menu-list { list-style: none; margin: 0 0 2rem; padding: 0; }

.mobile-menu-list li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.mobile-drawer.is-open .mobile-menu-list li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 45ms + 80ms);
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--on-dark-border);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.mobile-drawer-actions { display: grid; gap: 0.75rem; margin-top: auto; }

@media (min-width: 1100px) {
  .mobile-drawer { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  --focus: var(--teal-bright);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(4.5rem, 3rem + 6vw, 8rem);
  background: var(--navy);
  color: var(--on-dark);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 212, 223, 0.45), transparent);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg > span { position: absolute; inset: 0; }

.hero-bg-grid {
  background-image: radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 72% 42%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 72% 42%, #000 20%, transparent 75%);
}

.hero-bg-glow {
  background:
    radial-gradient(620px 440px at 74% 42%, rgba(0, 166, 176, 0.26), transparent 70%),
    radial-gradient(520px 380px at 6% 105%, rgba(201, 162, 39, 0.14), transparent 70%),
    radial-gradient(820px 520px at 28% -12%, rgba(30, 74, 130, 0.55), transparent 70%);
}

.hero-bg-grain {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: var(--radius-pill);
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-on-dark);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-badge .icon { color: var(--gold-bright); }

.hero-title {
  max-width: 13.5em;
  margin: 0 0 1.5rem;
  font-size: clamp(2.3rem, 1.4rem + 3.7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-title-hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.06em;
  background: linear-gradient(95deg, #38D4DF 0%, #9BF0F5 55%, #38D4DF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-underline {
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.3em;
  overflow: visible;
}

.hero-underline path {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 1.3s var(--ease-out) 0.9s forwards;
}

.hero-sub {
  max-width: 36rem;
  margin: 0 0 2.25rem;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 599px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1.1rem;
  margin: 0;
  border-top: 1px solid var(--on-dark-border);
}

.hero-stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.2rem;
  padding-top: 1.1rem;
}

.hero-stat:nth-child(even) { padding-left: 1.1rem; border-left: 1px solid var(--on-dark-border); }

.hero-stat dt { font-size: 0.8rem; color: var(--on-dark-muted); }

.hero-stat dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

[data-count] { font-variant-numeric: tabular-nums; }

@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero-stat + .hero-stat { padding-left: 1.1rem; border-left: 1px solid var(--on-dark-border); }
}

/* Hero visual + 3D tilt stage */
.hero-visual { position: relative; perspective: 1200px; }

.hero-stage {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

.hero-engine { display: block; width: 100%; height: auto; overflow: visible; }

.hero-chip {
  position: absolute;
  z-index: 2;
  transform: translateZ(70px);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
}

.hero-chip--a { top: 4%; left: 0; }
.hero-chip--b { top: 63%; right: 0; transform: translateZ(90px); }
.hero-chip--c { bottom: 6%; left: 8%; transform: translateZ(50px); }

.hero-chip-inner {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 0.95em 0.65em 0.65em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 27, 50, 0.92);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.65);
  animation: chipFloat 6s ease-in-out infinite;
}

.hero-chip--b .hero-chip-inner { animation-delay: -2s; }
.hero-chip--c .hero-chip-inner { animation-delay: -4s; }

.hero-chip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92em;
  line-height: 1.2;
  color: #fff;
}

.hero-chip small { display: block; font-size: 0.76em; color: var(--on-dark-muted); white-space: nowrap; }

.hero-chip-icon {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 10px;
  background: rgba(56, 212, 223, 0.14);
  color: var(--teal-bright);
}

.hero-chip-icon--gold { background: rgba(229, 193, 88, 0.14); color: var(--gold-bright); }

.live-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-inline: 0.3em;
  position: relative;
  border-radius: 50%;
  background: #22C55E;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22C55E;
  animation: liveRing 2s ease-out infinite;
}

@media (max-width: 599px) {
  .hero-chip { font-size: 0.78rem; }
}

/* Engine SVG motion (inline SVG, driven from here so reduced-motion can stop it) */
.he-flow { stroke-dasharray: 5 15; }
.he-ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: heRing 3.4s var(--ease-out) infinite; }
.he-led { animation: heBlink 2.4s ease-in-out infinite; }
.he-slot { animation: heSlot 3s ease-in-out infinite; }
.he-core { transform-box: fill-box; animation: heFloat 5s ease-in-out infinite; }
.he-packet { stroke: rgba(56, 212, 223, 0.35); stroke-width: 4px; }

.hero.is-paused .hero-engine *,
.hero.is-paused .hero-chip-inner,
.hero.is-paused .live-dot::after { animation-play-state: paused; }

/* Hero entrance (CSS only; content stays visible without JS) */
.js [data-hero-in] {
  animation: heroIn 1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 110ms + 80ms);
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust-bar {
  padding-block: 1.4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 720px) {
  .trust-bar-inner { grid-template-columns: auto auto; justify-content: start; column-gap: 2.5rem; }
  .trust-bar-inner .marquee { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .trust-bar-inner { grid-template-columns: auto auto minmax(0, 1fr); }
  .trust-bar-inner .marquee { grid-column: auto; }
  .trust-rating,
  .trust-bar-inner .marquee { padding-left: 2.5rem; border-left: 1px solid var(--border); }
}

.trust-seal { display: flex; align-items: center; gap: 0.85rem; }

.trust-seal-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFF8E1, #F4E3AE);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
  color: var(--gold-ink);
}

.trust-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-seal-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--ink);
}

.trust-rating { display: flex; align-items: center; gap: 0.85rem; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars--lg { color: var(--gold-bright); }

.trust-rating-text { font-size: 0.85rem; line-height: 1.35; color: var(--muted); }
.trust-rating-text strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--ink); }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-list { display: flex; margin: 0; padding: 0; list-style: none; }

.marquee-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.marquee-list li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 2rem;
  background: var(--teal);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Ambient spotlight cards (pointer-tracked via --mouse-x / --mouse-y)
   -------------------------------------------------------------------------- */
.glow-card {
  --glow: rgba(0, 140, 149, 0.09);
  --glow-edge: rgba(0, 140, 149, 0.55);
  position: relative;
  isolation: isolate;
}

.glow-card::before,
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glow-card::before {
  z-index: -1;
  background: radial-gradient(440px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow), transparent 62%);
}

.glow-card::after {
  z-index: 3;
  padding: 1px;
  background: radial-gradient(320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow-edge), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

@media (hover: hover) {
  .glow-card:hover::before,
  .glow-card:hover::after { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */
.founder-section { background: var(--surface); }

.founder-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .founder-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.portrait-card {
  --glow: rgba(56, 212, 223, 0.16);
  --glow-edge: rgba(56, 212, 223, 0.7);
  position: relative;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 80% at 50% 0%, #1B4A7A 0%, var(--navy) 55%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}

.portrait-rings {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 166, 176, 0.42), transparent 42%),
    repeating-radial-gradient(circle at 50% 40%, transparent 0 46px, rgba(56, 212, 223, 0.11) 46px 47px);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0 50%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0 50%, transparent 78%);
}

.portrait-img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 118%;
  max-width: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: transform 1.2s var(--ease-out);
}

@media (hover: hover) {
  .portrait-card:hover .portrait-img { transform: translateX(-50%) scale(1.035); }
}

.portrait-pseb {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(229, 193, 88, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(8, 26, 49, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-on-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portrait-pseb .icon { color: var(--gold-bright); }

.portrait-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(8, 26, 49, 0.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--on-dark-muted);
}

.portrait-caption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
}

.founder-lead {
  max-width: 40rem;
  margin: 1.5rem 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.scrub-text .w { opacity: 0.2; transition: opacity 0.45s ease; }
.scrub-text .w.is-lit { opacity: 1; }

.founder-bio {
  max-width: 40rem;
  margin: 0 0 2rem;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--muted);
}

.founder-points {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .founder-points { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.founder-point {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.founder-point::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--teal);
}

.point-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
}

.founder-point h3 { margin: 0.4rem 0 0.35rem; font-size: 1.15rem; }
.founder-point p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.founder-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 599px) {
  .founder-actions { flex-direction: column; }
  .founder-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Services bento (gapless: grid-auto-flow dense + verified spans)
   2 cols: [1 span 2] [2][3] [4][5] [6 span 2]
   3 cols: [1 span 2][2] [3][4 span 2] [5 span 2][6]
   -------------------------------------------------------------------------- */
.services-section { background: var(--bg); }

.services-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .services-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-bento:not(.services-bento--even) > :nth-child(1),
  .services-bento:not(.services-bento--even) > :nth-child(6) { grid-column: span 2; }
}

@media (min-width: 1080px) {
  .services-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-bento > .svc-card { grid-column: auto; }
  .services-bento > .svc-card--wide { grid-column: span 2; }
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .svc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 140, 149, 0.35);
    box-shadow: var(--shadow-md);
  }
  .svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.06); }
}

.svc-main { display: flex; flex-direction: column; flex: 1; }

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 140, 149, 0.18);
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: transform 0.6s var(--ease-out);
}

.svc-card--gold .svc-icon {
  border-color: rgba(201, 162, 39, 0.3);
  background: #FBF5E3;
  color: var(--gold-ink);
}

.svc-tag {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.svc-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.svc-subtitle { margin: 0 0 1rem; font-size: 0.95rem; font-weight: 600; color: var(--teal-ink); }
.svc-desc { margin: 0; font-size: 0.96rem; line-height: 1.7; color: var(--muted); }

.svc-aside { display: flex; flex-direction: column; gap: 1.25rem; }

.svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-pills li {
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.svc-foot {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}

.svc-foot span { font-weight: 700; color: var(--teal-ink); }

/* Wide cards: text + pills on the left, vignette + outcome on the right */
@media (min-width: 1080px) {
  .svc-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
    gap: 0 3rem;
  }
  .svc-card--wide .svc-main,
  .svc-card--wide .svc-aside { display: contents; }
  .svc-card--wide .svc-top { grid-column: 1 / -1; }
  .svc-card--wide .svc-title { grid-column: 1; grid-row: 2; }
  .svc-card--wide .svc-subtitle { grid-column: 1; grid-row: 3; }
  .svc-card--wide .svc-desc { grid-column: 1; grid-row: 4; }
  .svc-card--wide .svc-pills { grid-column: 1; grid-row: 5; align-self: end; margin-top: 1.5rem; }
  .svc-card--wide .svc-visual { grid-column: 2; grid-row: 2 / 5; align-self: start; margin: 0; }
  .svc-card--wide .svc-foot { grid-column: 2; grid-row: 5; align-self: end; margin-top: 1.5rem; }
}

.svc-card--wide .svc-visual {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.svc-card--dark .svc-visual {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.svc-card--dark {
  --focus: var(--teal-bright);
  --glow: rgba(56, 212, 223, 0.12);
  --glow-edge: rgba(56, 212, 223, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(420px 280px at 100% 0%, rgba(0, 166, 176, 0.22), transparent 70%),
    linear-gradient(160deg, #12345C 0%, var(--navy) 55%, var(--navy-900) 100%);
  color: var(--on-dark);
}

.svc-card--dark .svc-title { color: #fff; }
.svc-card--dark .svc-subtitle { color: var(--teal-bright); }
.svc-card--dark .svc-desc { color: var(--on-dark-muted); }
.svc-card--dark .svc-tag { border-color: rgba(255, 255, 255, 0.14); color: var(--on-dark-muted); }
.svc-card--dark .svc-icon { border-color: rgba(56, 212, 223, 0.25); background: rgba(56, 212, 223, 0.1); color: var(--teal-bright); }
.svc-card--dark .svc-pills li { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: #E2E8F0; }
.svc-card--dark .svc-foot { border-color: rgba(255, 255, 255, 0.1); color: #E2E8F0; }
.svc-card--dark .svc-foot span { color: var(--teal-bright); }

@media (hover: hover) {
  .svc-card--dark:hover { border-color: rgba(56, 212, 223, 0.35); box-shadow: var(--shadow-lg); }
}

/* Service vignettes (illustrative UI inside the wide cards) */
.svc-visual { margin-bottom: 0.25rem; }

.svc-gauge { display: flex; align-items: center; gap: 1.25rem; }

.gauge-ring { position: relative; flex-shrink: 0; width: 104px; height: 104px; }
.gauge-ring svg { width: 100%; height: 100%; }

.gauge-track,
.gauge-fill { fill: none; stroke-width: 8; }

.gauge-track { stroke: rgba(255, 255, 255, 0.1); }

.gauge-fill {
  stroke: var(--teal-bright);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 1;
  transform: rotate(-90deg);
  transform-origin: center;
  transform-box: fill-box;
  filter: drop-shadow(0 0 6px rgba(56, 212, 223, 0.5));
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.3s;
}

.js .svc-card:not(.is-visible) .gauge-fill { stroke-dashoffset: 100; }

.gauge-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.gauge-text { font-size: 0.86rem; line-height: 1.5; color: var(--on-dark-muted); }
.gauge-text strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: #fff; }

.svc-funnel { display: grid; justify-items: center; gap: 6px; }

.svc-funnel span {
  width: var(--fw);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--teal-tint);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--teal-ink-hover);
  transform-origin: center;
  transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
  transition-delay: calc(var(--i) * 110ms + 250ms);
}

.svc-funnel span:nth-child(2) { background: #BFE4E7; color: var(--ink); }
.svc-funnel span:nth-child(3) { background: var(--teal-ink); color: #fff; }
.svc-funnel span:nth-child(4) { background: var(--gold-bright); color: var(--ink); }

.js .svc-card:not(.is-visible) .svc-funnel span { opacity: 0; transform: scaleX(0.6); }

.svc-notify { display: grid; gap: 0.6rem; }

.notify {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
  transition-delay: calc(var(--i) * 160ms + 250ms);
}

.notify + .notify { margin-left: 1.25rem; }

.js .svc-card:not(.is-visible) .notify { opacity: 0; transform: translateX(24px); }

.notify-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(56, 212, 223, 0.16);
  color: var(--teal-bright);
}

.notify-icon--ok { background: rgba(34, 197, 94, 0.16); color: #4ADE80; }

.notify-text { flex: 1; min-width: 0; line-height: 1.35; }
.notify-text strong { display: block; font-size: 0.85rem; color: #fff; }
.notify-text small { display: block; font-size: 0.74rem; color: var(--on-dark-muted); }
.notify-time { align-self: flex-start; font-size: 0.7rem; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Industries explorer (tabs on desktop, accordion on mobile, same markup)
   -------------------------------------------------------------------------- */
.industries-section { background: var(--surface); }

.ind-explorer { display: grid; gap: 0.65rem; }

.ind-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 72px;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease;
}

.ind-tab:hover { border-color: var(--border-strong); background: var(--bg); }

.ind-tab.is-active {
  --focus: var(--teal-bright);
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 32px -20px rgba(11, 31, 58, 0.7);
}

.ind-tab-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ind-tab.is-active .ind-tab-icon { background: rgba(56, 212, 223, 0.14); color: var(--teal-bright); }

.ind-tab-text { flex: 1; min-width: 0; }

.ind-tab-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.ind-tab-badge { display: block; margin-top: 0.15rem; font-size: 0.76rem; color: var(--muted); }
.ind-tab.is-active .ind-tab-badge { color: var(--on-dark-muted); }

.ind-tab-chevron { opacity: 0.5; transition: transform 0.4s var(--ease-out), opacity 0.3s ease; }
.ind-tab.is-active .ind-tab-chevron { opacity: 1; transform: rotate(90deg); }

.ind-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.js .ind-panel:not(.is-active) { display: none; }
.js .ind-panel.is-active { animation: panelIn 0.6s var(--ease-out); }

.ind-panel-art {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  z-index: -1;
  width: clamp(200px, 26vw, 320px);
  height: clamp(200px, 26vw, 320px);
  color: rgba(0, 140, 149, 0.09);
  pointer-events: none;
}

.ind-panel-art svg { width: 100%; height: 100%; }

.ind-badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--teal-tint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.ind-name {
  position: relative;
  max-width: 20ch;
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  letter-spacing: -0.03em;
}

.ind-desc {
  position: relative;
  max-width: 46rem;
  margin: 0 0 1.75rem;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 0.85rem 2rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .check-list { grid-template-columns: 1fr 1fr; }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  padding: 4px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

@media (min-width: 960px) {
  .js .ind-explorer {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
  }
  .js .ind-tab { grid-column: 1; }
  .js .ind-panel { grid-column: 2; grid-row: 1 / span 6; align-self: stretch; }
  .js .ind-tab-chevron { transform: none; }
  .js .ind-tab.is-active .ind-tab-chevron { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   Process (dark chapter with scroll-scrubbed track)
   -------------------------------------------------------------------------- */
.process-section {
  --focus: var(--teal-bright);
  overflow: clip;
  background: var(--navy);
  color: var(--on-dark);
}

.process-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(0, 166, 176, 0.2), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.process-section .section-title { color: #fff; }
.process-section .section-lead { color: var(--on-dark-muted); }

.process-steps {
  --node: 56px;
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .process-step { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}

.process-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-dark-muted);
  transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.6s ease;
}

.process-step.is-reached .process-node {
  border-color: var(--teal-bright);
  background: var(--teal-ink);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(56, 212, 223, 0.12), 0 0 32px rgba(56, 212, 223, 0.45);
}

.process-track { display: none; }

.js .process-track {
  position: absolute;
  top: var(--ty, 28px);
  left: var(--tx, 27px);
  display: block;
  width: var(--tw, 2px);
  height: var(--th, 0);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.process-track-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(var(--track-dir, 180deg), var(--teal-bright), var(--teal));
  box-shadow: 0 0 14px rgba(56, 212, 223, 0.6);
  transform-origin: var(--track-origin, top);
  transform: scale(var(--sx, 1), var(--sy, 0));
}

.process-card {
  --glow: rgba(56, 212, 223, 0.1);
  --glow-edge: rgba(56, 212, 223, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.6s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .process-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.055); }
}

.process-title { margin: 0 0 0.75rem; font-size: 1.2rem; line-height: 1.3; color: #fff; }

.process-desc {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--on-dark-muted);
}

.process-deliverable {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(56, 212, 223, 0.18);
  border-radius: var(--radius-md);
  background: rgba(56, 212, 223, 0.06);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #E2E8F0;
}

.process-deliverable span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

/* --------------------------------------------------------------------------
   Engineering benchmark (paired bars; each row is its own scale)
   -------------------------------------------------------------------------- */
.bench-section { background: var(--surface); }

.bench-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(1.25rem, 0.8rem + 2.5vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.bench-legend {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .bench-legend { grid-template-columns: 1fr 1fr; }
}

.bench-series { display: flex; align-items: flex-start; gap: 0.8rem; }
.bench-series strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--ink); }
.bench-series small { display: block; font-size: 0.85rem; color: var(--muted); }

.bench-swatch {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.3rem;
  border-radius: 4px;
}

.bench-series--builder .bench-swatch { background: var(--bench-builder); }
.bench-series--native .bench-swatch { background: var(--bench-native); }

.bench-row {
  display: grid;
  gap: 0.9rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.bench-row:last-child { border-bottom: 0; padding-bottom: 0.25rem; }

@media (min-width: 720px) {
  .bench-row { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; align-items: center; }
}

.bench-label strong { display: block; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--ink); }
.bench-label small { font-size: 0.8rem; color: var(--muted); }

.bench-bars { display: grid; gap: 8px; }

.bench-bar {
  --c: var(--bench-native);
  --c-light: var(--bench-native-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bench-bar--builder { --c: var(--bench-builder); --c-light: var(--bench-builder-light); }

.bench-track {
  flex: none;
  width: calc((100% - 8.5rem) * var(--w-num, 1));
  min-width: 6px;
}

.bench-fill {
  display: block;
  height: 18px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, var(--c) 0 var(--solid, 100%), var(--c-light) var(--solid, 100%) 100%);
  transform-origin: left center;
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--bd, 0) * 90ms + 250ms);
}

.js .bench-card:not(.is-visible) .bench-fill { transform: scaleX(0); }

.bench-value { font-size: 0.86rem; color: var(--muted); white-space: nowrap; }
.bench-value strong { font-family: var(--font-heading); font-size: 1rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.portfolio-section { background: var(--bg); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.filter-btn:hover { border-color: var(--ink); color: var(--ink); }

.filter-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.portfolio-grid { display: grid; gap: 1.5rem; }

@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 140, 149, 0.35);
    box-shadow: var(--shadow-lg);
  }
  .project-card:hover .project-media img { transform: scale(1.06); }
}

.project-card.is-hidden { display: none; }
.project-card.is-entering { animation: cardIn 0.6s var(--ease-out) both; }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #F1F5F9;
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 300px;
  margin-inline: auto;
  padding: 0.3rem 0.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-url .icon { color: #16A34A; }

.project-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E2E8F0;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 74%;
  transition: transform 1.1s var(--ease-out);
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.75rem;
}

.project-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.project-sub {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.75rem;
  color: var(--muted);
}

.project-title { margin: 0 0 0.6rem; font-size: 1.35rem; letter-spacing: -0.02em; }

.project-summary {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.project-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.project-metrics > div { display: flex; flex-direction: column-reverse; gap: 0.15rem; }
.project-metrics > div + div { padding-left: 1.1rem; border-left: 1px solid var(--border); }

.project-metrics dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.project-metrics dt { font-size: 0.78rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Reviews (rating card + 5 reviews = 6 cells, gapless at 1/2/3 columns)
   -------------------------------------------------------------------------- */
.reviews-section { background: var(--surface); }

.reviews-grid { display: grid; gap: 1.25rem; }

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rating-card {
  --focus: var(--teal-bright);
  --glow: rgba(56, 212, 223, 0.12);
  --glow-edge: rgba(56, 212, 223, 0.6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(0, 166, 176, 0.32), transparent 70%),
    var(--navy);
  color: var(--on-dark);
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 3rem + 2vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.rating-score small { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--on-dark-muted); }

.rating-meta { margin: 0 0 auto; font-size: 0.92rem; color: var(--on-dark-muted); }
.rating-meta strong { display: block; font-size: 1rem; color: #fff; }
.rating-card .btn { margin-top: 1rem; }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .review-card:hover { transform: translateY(-4px); border-color: rgba(0, 140, 149, 0.3); box-shadow: var(--shadow-md); }
}

.review-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.review-source {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-body { flex: 1; margin: 0; }
.review-body p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--ink); }

.owner-reply {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.owner-reply strong { display: block; margin-bottom: 0.2rem; font-size: 0.78rem; color: var(--ink); }

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  line-height: 1.3;
}

.reviewer-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.reviewer strong { display: block; font-family: var(--font-heading); font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.reviewer small { font-size: 0.8rem; color: var(--muted); }

/* Phones: portfolio + reviews become swipeable snap rows (next card peeks in) */
@media (max-width: 767px) {
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 380px);
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .portfolio-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar { display: none; }

  .portfolio-grid > *,
  .reviews-grid > * { scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta-section { background: var(--bg); }

.cta-card {
  --focus: var(--teal-bright);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.75rem, 2rem + 4vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  border-radius: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--navy);
  box-shadow: 0 40px 80px -30px rgba(11, 31, 58, 0.55);
  color: var(--on-dark);
  text-align: center;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.cta-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 380px at 88% 0%, rgba(0, 166, 176, 0.34), transparent 70%),
    radial-gradient(520px 340px at 0% 100%, rgba(201, 162, 39, 0.2), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.11) 1px, transparent 1.4px) 0 0 / 24px 24px;
}

.cta-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  padding: 0.45rem 1.25rem 0.45rem 0.45rem;
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.cta-seal-avatar {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid var(--gold-bright);
  border-radius: 50%;
  background: linear-gradient(160deg, #1B4A7A, var(--navy));
}

.cta-seal-img {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 260%;
  max-width: none;
  transform: translateX(-50%);
}

.cta-seal-role {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.cta-seal-text strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: #fff; }

.cta-seal-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}

.cta-seal-sub .icon { color: var(--gold-bright); }

.cta-title {
  max-width: 18ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.cta-sub {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--on-dark-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 599px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

.cta-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #E2E8F0;
}

.cta-checks li { display: inline-flex; align-items: center; gap: 0.5rem; }
.cta-checks .icon { color: var(--teal-bright); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  --focus: var(--teal-bright);
  position: relative;
  overflow: clip;
  padding-top: clamp(4rem, 3rem + 4vw, 6rem);
  background: var(--navy-900);
  color: var(--on-dark-muted);
}

.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Desktop: brand block as a full-width top row, then one column per menu group
   (Services, Industries, Products, Company, Direct inquiries). */
@media (min-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 2.5rem 2rem; }

  .footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-brand .footer-logo-link { grid-column: 1; grid-row: 1; justify-self: start; }
  .footer-brand .footer-desc { grid-column: 1; grid-row: 2 / span 2; max-width: 34rem; margin: 0; }
  .footer-brand .footer-regions { grid-column: 2; grid-row: 2; max-width: none; }
  .footer-brand .pseb-badge { grid-column: 2; grid-row: 3; justify-self: start; }
  .footer-brand .footer-social { grid-column: 1; grid-row: 4; }
}

.footer-logo-link { display: inline-block; margin-bottom: 1.25rem; border-radius: 6px; }
.footer-logo { height: 40px; width: auto; }

.footer-desc { max-width: 24rem; margin: 0 0 1.5rem; font-size: 0.92rem; line-height: 1.75; }

.pseb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius-md);
  background: #FBF5E3;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-ink);
}

.site-footer .pseb-badge {
  border-color: rgba(229, 193, 88, 0.35);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-on-dark);
}

.site-footer .pseb-badge .icon { color: var(--gold-bright); }

.footer-social { display: flex; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--on-dark-muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover { border-color: var(--teal-bright); background: rgba(56, 212, 223, 0.1); color: #fff; }

.footer-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
}

.footer-links a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact a,
.footer-contact span { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-contact .icon { color: var(--teal-bright); }

.footer-cta { margin-top: 1.5rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--on-dark-muted); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

.footer-cookie-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--on-dark-muted);
  cursor: pointer;
}

.footer-cookie-btn:hover { color: #fff; }

/* Cookie consent banner (shown by theme.js until a choice is stored) */
.consent-banner {
  --focus: var(--teal-ink);
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 95;
  width: min(400px, calc(100vw - 1.5rem));
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(11, 31, 58, 0.45);
  color: var(--text);
  animation: consentIn 0.45s var(--ease-out);
}

.consent-banner[hidden] { display: none; }
.consent-title { margin: 0 0 0.35rem; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--ink); }
.consent-text { margin: 0 0 0.9rem; font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.consent-text a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 0.5rem; }
.consent-actions .btn { --btn-h: 44px; flex: 1; justify-content: center; }

/* Keep the floating WhatsApp button clear of the banner on small screens */
@media (max-width: 599px) {
  .consent-open .floating-whatsapp { opacity: 0; pointer-events: none; }
}

@keyframes consentIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.footer-wordmark {
  margin: 0;
  padding-bottom: 5.5rem;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(56, 212, 223, 0.14), rgba(56, 212, 223, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  user-select: none;
  pointer-events: none;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 58, 0.96);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease, visibility 0s linear 0s, box-shadow 0.3s ease;
}

.floating-whatsapp:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.55); }

.floating-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}

.js .floating-whatsapp:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease, visibility 0s linear 0.45s;
}

@media (max-width: 639px) {
  .floating-whatsapp { padding: 0.35rem; }
  .floating-whatsapp-label { display: none; }
  .floating-whatsapp-icon { width: 48px; height: 48px; }
}

/* --------------------------------------------------------------------------
   Scroll reveal (only gated when JS is running)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Inner page compatibility (about, contact, portfolio, legal templates)
   -------------------------------------------------------------------------- */
.lead { max-width: 46rem; font-size: 1.15rem; line-height: 1.7; color: var(--muted); }

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(0, 140, 149, 0.25);
  border-radius: var(--radius-pill);
  background: var(--teal-tint);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-ink);
}

.grid-cards { display: grid; gap: 1.5rem; }

@media (min-width: 720px) {
  .grid-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .grid-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card,
.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.card { padding: 1.75rem; }

@media (hover: hover) {
  .card:hover,
  .portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}

.card-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.card-title { margin: 0.25rem 0 0.5rem; font-size: 1.25rem; }
.card-desc { font-size: 0.95rem; color: var(--muted); }

.portfolio-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg), var(--teal-tint));
}

.portfolio-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.meta-pill {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.75rem;
  color: var(--muted);
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 4px rgba(0, 140, 149, 0.15);
}

textarea.form-control { min-height: 140px; resize: vertical; }

.page-content > * + * { margin-top: 1rem; }
.page-content a { color: var(--teal-ink); }

/* ==========================================================================
   MULTI-PAGE SYSTEM: navigation, inner heroes, detail pages, blog, contact
   ========================================================================== */

/* Desktop navigation with dropdowns */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { position: relative; display: flex; align-items: center; }

.nav-sub-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--on-dark-muted);
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), color 0.2s ease;
}

.nav-item:hover .nav-sub-toggle,
.nav-item.is-open .nav-sub-toggle { color: #fff; transform: rotate(180deg); }

.nav-dropdown {
  --focus: var(--teal-ink);
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 10;
  width: min(640px, 86vw);
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(11, 31, 58, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dd-link {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dd-link:hover,
.dd-link[aria-current] { background: var(--bg); }

.dd-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dd-link:hover .dd-icon { background: var(--teal-ink); color: #fff; }

.dd-text strong { display: block; font-family: var(--font-heading); font-size: 0.92rem; font-weight: 600; line-height: 1.3; }

.dd-text small {
  display: -webkit-box;
  margin-top: 0.15rem;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dd-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dd-all:hover { background: var(--navy-700); color: #fff; }
.dd-all:hover .btn-arrow { transform: translateX(4px); }

/* Mobile drawer sub-menus */
.mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--on-dark-border);
}

.mobile-row .mobile-nav-link { flex: 1; border-bottom: 0; }
.mobile-nav-link.is-active { color: var(--teal-bright); }

.mobile-sub-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--on-dark-border);
  border-radius: 12px;
  background: none;
  color: #fff;
  cursor: pointer;
}

.mobile-sub-toggle .icon { transition: transform 0.35s var(--ease-out); }
.mobile-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mobile-sub {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0.5rem 0 1rem;
  list-style: none;
}

.mobile-sub a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.25rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
}

.mobile-sub a .icon { color: var(--teal-bright); }

/* Inner page hero */
.page-hero {
  --focus: var(--teal-bright);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
  background: var(--navy);
  color: var(--on-dark);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 212, 223, 0.45), transparent);
}

.page-hero--compact { padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }

.page-hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }

@media (min-width: 1024px) {
  .page-hero--split .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

.page-hero-copy { max-width: 46rem; }

.page-hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}

.page-hero-lead {
  max-width: 40rem;
  margin: 0 0 2rem;
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.page-hero .hero-ctas { margin-bottom: 2rem; }
.page-hero--compact .page-hero-lead { margin-bottom: 0; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: #E2E8F0;
}

.hero-chips .icon { color: var(--teal-bright); }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: rgba(255, 255, 255, 0.3); }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* Orbit illustration (CSS 3D) */
.orbit {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 1000px;
}

.orbit-glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 176, 0.45), transparent 65%);
  filter: blur(18px);
}

.orbit-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(64deg) rotateZ(-20deg);
}

.orbit-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(rgba(148, 163, 184, 0.2) 1px, transparent 1.4px) 0 0 / 20px 20px;
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
  mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(56, 212, 223, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringSpin var(--dur, 18s) linear infinite;
}

.orbit-ring--1 { --dur: 14s; width: 46%; height: 46%; }
.orbit-ring--2 { --dur: 22s; width: 70%; height: 70%; border-style: dashed; border-color: rgba(56, 212, 223, 0.25); animation-direction: reverse; }
.orbit-ring--3 { --dur: 32s; width: 94%; height: 94%; border-color: rgba(229, 193, 88, 0.3); }

.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 12px var(--teal-bright), 0 0 24px rgba(56, 212, 223, 0.6);
}

.orbit-dot--b { top: auto; bottom: -5px; }
.orbit-dot--gold { background: var(--gold-bright); box-shadow: 0 0 12px var(--gold-bright), 0 0 24px rgba(229, 193, 88, 0.5); }

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -62%);
  animation: coreFloat 6s ease-in-out infinite;
}

.orbit-core::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -46%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(rgba(0, 0, 0, 0.5), transparent 70%);
}

.orbit-core-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(56, 212, 223, 0.45);
  border-radius: 26%;
  background: linear-gradient(145deg, #1E4A7A, var(--navy) 70%);
  box-shadow: 0 0 0 8px rgba(56, 212, 223, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 50px rgba(0, 166, 176, 0.35);
  color: var(--teal-bright);
  transform: rotate(45deg);
}

.orbit-core-inner .icon { width: 46%; height: 46%; transform: rotate(-45deg); }

.orbit-chip { position: absolute; z-index: 2; max-width: 62%; font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.85rem); }
.orbit-chip--1 { top: 8%; left: 0; }
.orbit-chip--2 { top: 64%; right: 0; }
.orbit-chip--3 { bottom: 8%; left: 6%; }

.orbit-chip-inner {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.85em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 27, 50, 0.92);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.65);
  font-weight: 600;
  color: #fff;
  animation: chipFloat 6s ease-in-out infinite;
}

.orbit-chip--2 .orbit-chip-inner { animation-delay: -2s; }
.orbit-chip--3 .orbit-chip-inner { animation-delay: -4s; }
.orbit-chip-inner .icon { flex-shrink: 0; color: var(--teal-bright); }

@media (max-width: 1023px) {
  .orbit { max-width: 380px; }
}

/* Optional Spline / Rive scene layer */
.scene { position: relative; }

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.scene-fallback { transition: opacity 0.6s ease; }
.scene.is-scene-ready .scene-canvas { opacity: 1; }
.scene.is-scene-ready .scene-fallback { opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }

/* Service cards link through to their pages */
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.svc-link:focus-visible { outline: none; }
.svc-card:has(.svc-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

.svc-more {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--teal-ink);
}

.svc-card--dark .svc-more { color: var(--teal-bright); }
.svc-card:hover .svc-more .btn-arrow { transform: translateX(4px); }

@media (min-width: 1080px) {
  .services-bento--even > .svc-card { grid-column: auto; }
}

/* Detail pages: prose + sticky consult card */
.detail-section { background: var(--surface); }
.detail-section--plain { background: var(--bg); }

.detail-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }

@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.prose { max-width: 46rem; font-size: 1.06rem; line-height: 1.8; color: var(--text); }
.prose--center { margin-inline: auto; }
.prose--page { max-width: 48rem; margin-inline: auto; }
.prose--article { max-width: 44rem; }

.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.2em; }

.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.025em; }
.prose h3 { margin-top: 1.75em; font-size: 1.3rem; }
.prose h2 + *,
.prose h3 + * { margin-top: 0.6em; }

.prose a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--teal); }

.prose blockquote {
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 3px solid var(--teal);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ink);
}

.prose img { border-radius: 16px; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 0.6em; font-size: 0.85rem; text-align: center; color: var(--muted); }

.prose code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.prose pre {
  overflow: auto;
  padding: 1.25rem;
  border-radius: 14px;
  background: var(--navy);
  font-size: 0.9rem;
  color: #E2E8F0;
}

.prose pre code { padding: 0; border: 0; background: none; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th,
.prose td { padding: 0.7em 0.6em; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { color: var(--ink); }
.prose hr { height: 1px; margin-block: 2.5em; border: 0; background: var(--border); }

.prose-lead {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.prose-updated {
  margin-top: 3rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.consult-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.consult-head { display: flex; align-items: center; gap: 0.8rem; line-height: 1.35; }
.consult-head strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--ink); }
.consult-head small { font-size: 0.8rem; color: var(--muted); }
.consult-card .cta-seal-avatar { width: 52px; height: 52px; }
.consult-note { margin: 0; font-size: 0.92rem; color: var(--muted); }

.consult-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.consult-facts li { font-size: 0.92rem; font-weight: 500; color: var(--ink); }

.consult-facts span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-label,
.price-sub { margin: 0; font-weight: 700; }
.price-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price-sub { font-size: 0.85rem; color: var(--ink); }

.price-value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.check-list--single { grid-template-columns: 1fr !important; margin: 0; }
.btn-whatsapp-solid .icon { color: #fff; }

/* Included / features / rules cards */
.included-section,
.rules-section { background: var(--bg); }

.included-grid { display: grid; gap: 1.25rem; }

@media (min-width: 720px) {
  .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .included-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.included-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .included-card:hover { transform: translateY(-4px); border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-md); }
}

.included-num {
  display: block;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
}

.included-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.included-card p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }

.rule-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

/* Chip links */
.chips-section { background: var(--surface); }

.chip-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease-out);
}

.chip-links a:hover { border-color: var(--teal-ink); color: var(--teal-ink); transform: translateY(-2px); }
.chip-links .icon { color: var(--teal-ink); }

.chip-links--dark a { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); color: #fff; }
.chip-links--dark a:hover { border-color: var(--teal-bright); color: #fff; }

/* FAQ */
.faq-section { background: var(--bg); }
.faq-section + .cta-section { padding-top: 0; }

.faq-grid { display: grid; gap: 2.5rem; }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
}

.faq-cta { margin-top: 1.5rem; }
.faq-list { display: grid; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] { border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: transform 0.35s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon { background: var(--teal-ink); color: #fff; transform: rotate(45deg); }
.faq-answer { padding: 0 1.35rem 1.25rem; }
.faq-item[open] .faq-answer { animation: panelIn 0.45s var(--ease-out); }
.faq-answer p { margin: 0; line-height: 1.75; color: var(--muted); }

/* Link cards (industries, related services) */
.related-section { background: var(--surface); }

.link-grid { display: grid; gap: 1.25rem; }

@media (min-width: 720px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .link-card:hover { transform: translateY(-4px); border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-md); }
  .link-card:hover .link-card-icon { background: var(--teal-ink); color: #fff; }
  .link-card:hover .btn-arrow { transform: translateX(4px); }
}

.link-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-card-kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.link-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.link-card-text { flex: 1; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }

.link-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-ink);
}

/* Problem vs solution */
.versus-section { background: var(--surface); }

.versus-grid { display: grid; gap: 1.25rem; }

@media (min-width: 900px) {
  .versus-grid { grid-template-columns: 1fr 1fr; }
}

.versus-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.versus-card h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; font-size: 1.2rem; }
.versus-card ul { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.versus-card li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.55; }

.versus-card li .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  padding: 4px;
  border-radius: 50%;
}

.versus-card--problem { border-color: #F6D5C7; background: #FFF7F3; }
.versus-card--problem h3 .icon { color: #B4441F; }
.versus-card--problem li .icon { background: #FDE3D8; color: #B4441F; }

.versus-card--solution {
  --focus: var(--teal-bright);
  --glow: rgba(56, 212, 223, 0.12);
  --glow-edge: rgba(56, 212, 223, 0.6);
  border-color: transparent;
  background: radial-gradient(420px 280px at 100% 0%, rgba(0, 166, 176, 0.25), transparent 70%), var(--navy);
  color: #E2E8F0;
}

.versus-card--solution h3 { color: #fff; }
.versus-card--solution h3 .icon { color: var(--teal-bright); }
.versus-card--solution li .icon { background: rgba(56, 212, 223, 0.15); color: var(--teal-bright); }

/* Products */
.products-section { background: var(--bg); }
.products-teaser { background: var(--surface); }

.product-grid { display: grid; gap: 1.25rem; }

@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Three columns only once there are three or more products; two stay side by side. */
@media (min-width: 1080px) {
  .product-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .product-card:hover { transform: translateY(-6px); border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-lg); }
  .product-card:hover .product-media img { transform: scale(1.06); }
  .product-card:hover .product-art .icon { transform: scale(1.1) rotate(-4deg); }
  .product-card:hover .btn-arrow { transform: translateX(4px); }
}

.product-card.is-hidden { display: none; }
.product-card.is-entering { animation: cardIn 0.6s var(--ease-out) both; }

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, #12345C, var(--navy) 60%, var(--navy-900));
}

.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }

.product-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 166, 176, 0.35), transparent 60%),
    radial-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1.4px) 0 0 / 22px 22px;
  color: var(--teal-bright);
}

.product-art .icon { transition: transform 0.8s var(--ease-out); }

.product-status {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }

.product-type {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.product-title { margin: 0 0 0.5rem; font-size: 1.25rem; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.product-summary { flex: 1; margin: 0 0 1.25rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--ink); }

.product-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-ink);
  white-space: nowrap;
}

.product-hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #F1F5F9;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

/* Blog listing */
.blog-section,
.posts-teaser { background: var(--bg); }

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.cat-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.cat-chips a:hover { color: var(--ink); border-color: var(--ink); }
.cat-chips a.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 360px);
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within { border-color: var(--teal-ink); box-shadow: 0 0 0 4px rgba(0, 140, 149, 0.15); }

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  color: var(--ink);
}

.search-submit {
  min-height: 40px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--navy);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.post-grid { display: grid; gap: 1.25rem; }

@media (min-width: 720px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .post-card:hover { transform: translateY(-5px); border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-lg); }
  .post-card:hover .post-media img { transform: scale(1.05); }
}

.post-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, var(--teal-tint), #fff);
}

.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }

.post-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(rgba(0, 140, 149, 0.14) 1px, transparent 1.4px) 0 0 / 20px 20px;
  color: rgba(0, 122, 130, 0.5);
}

.post-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.post-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); }
.post-title { margin: 0 0 0.6rem; font-size: 1.25rem; line-height: 1.3; }
.post-title a { color: inherit; text-decoration: none; }
.post-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.post-excerpt { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }

.post-card.featured { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .post-card.featured { flex-direction: row; }
  .post-card.featured .post-media { flex: 0 0 56%; min-height: 340px; aspect-ratio: auto; }
  .post-card.featured .post-body { justify-content: center; padding: 2.5rem; }
  .post-card.featured .post-title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
}

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

.page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

a.page-numbers:hover { border-color: var(--teal-ink); color: var(--teal-ink); }
.page-numbers.current { border-color: var(--navy); background: var(--navy); color: #fff; }

.empty-state {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.empty-state h2,
.empty-state h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.empty-state p { margin: 0 0 1.5rem; color: var(--muted); }

/* Single article */
.article-hero {
  --focus: var(--teal-bright);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(4rem, 3rem + 4vw, 6.5rem);
  background: var(--navy);
  color: var(--on-dark);
}

.article-hero-inner > * { max-width: 52rem; }

.article-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
}

.article-dek { max-width: 42rem; margin: 0 0 1.75rem; font-size: 1.15rem; line-height: 1.6; color: var(--on-dark-muted); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.article-meta > * { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-author { gap: 0.6rem !important; font-weight: 600; color: #fff; }
.article-author .cta-seal-avatar { width: 36px; height: 36px; border-width: 1.5px; }

.article-cover { position: relative; z-index: 1; margin-top: clamp(-3.5rem, -3vw, -2rem); margin-bottom: 0; }
.article-cover img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

.article-body { background: var(--surface); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }

.article-layout { display: grid; gap: 3rem; }

@media (min-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; justify-content: space-between; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem !important; }

.article-tags a {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

/* Contact */
.contact-section { background: var(--bg); }

.contact-grid { display: grid; gap: 2rem; }

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .contact-channels { position: sticky; top: calc(var(--header-h) + 24px); }
}

.contact-channels { display: grid; gap: 0.85rem; }

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
}

@media (hover: hover) {
  .channel-card:hover { transform: translateY(-3px); border-color: rgba(0, 140, 149, 0.35); box-shadow: var(--shadow-md); }
  .channel-card:hover .btn-arrow { transform: translateX(4px); }
}

.channel-card > .btn-arrow { flex-shrink: 0; color: var(--teal-ink); }

.channel-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.channel-icon--wa { background: #DCFCE7; color: #15803D; }

.channel-text { flex: 1; min-width: 0; }
.channel-text strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
.channel-text small { display: block; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }

.channel-card--primary {
  --focus: var(--teal-bright);
  --glow: rgba(56, 212, 223, 0.12);
  --glow-edge: rgba(56, 212, 223, 0.6);
  border-color: var(--navy);
  background: radial-gradient(360px 200px at 100% 0%, rgba(0, 166, 176, 0.3), transparent 70%), var(--navy);
}

.channel-card--primary .channel-text strong { color: #fff; }
.channel-card--primary .channel-text small { color: var(--on-dark-muted); }
.channel-card--primary .channel-icon { background: rgba(56, 212, 223, 0.15); color: var(--teal-bright); }
.channel-card--primary > .btn-arrow { color: var(--teal-bright); }

.channel-meta {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
}

.channel-meta p { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; font-size: 0.9rem; color: var(--muted); }
.channel-meta .icon { margin-top: 0.2rem; color: var(--teal-ink); }

.contact-form-wrap {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.contact-form-title { margin: 0 0 0.35rem; font-size: 1.5rem; }
.contact-form-note { margin: 0 0 1.5rem; font-size: 0.88rem; color: var(--muted); }

.form-row { display: grid; gap: 0 1.25rem; }

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label span[aria-hidden="true"],
.form-check label span[aria-hidden="true"],
.contact-form-note span[aria-hidden="true"] { color: #B91C1C; }

.field-help { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--muted); }

.field-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #B91C1C;
}

.form-control[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }

select.form-control {
  padding-right: 2.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23526073' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
}

.form-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #FECACA;
  border-radius: 12px;
  background: #FEF2F2;
  font-size: 0.9rem;
  font-weight: 600;
  color: #991B1B;
}

.form-check { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; align-items: start; }
.form-check input[type="checkbox"] { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--teal-ink); }
.form-check label { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.form-check .field-error { grid-column: 2; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: 1.5rem 0.5rem; text-align: center; }

.form-success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  animation: popIn 0.6s var(--ease-out);
}

.form-success h2 { margin: 0 0 0.6rem; font-size: 1.6rem; }
.form-success p { max-width: 30rem; margin: 0 auto 1.75rem; color: var(--muted); }
.form-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* About: verification band */
.verify-section { background: var(--surface); }

.verify-card {
  --focus: var(--teal-bright);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: radial-gradient(500px 300px at 100% 0%, rgba(201, 162, 39, 0.22), transparent 70%), var(--navy);
  color: var(--on-dark);
}

@media (min-width: 768px) {
  .verify-card { grid-template-columns: auto 1fr; gap: 2.5rem; }
}

.verify-seal {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFF8E1, #F4E3AE);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.15), 0 0 40px rgba(229, 193, 88, 0.35);
  color: var(--gold-ink);
}

.verify-card .eyebrow { margin-bottom: 0.75rem; }
.verify-card h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: #fff; }
.verify-card p:last-child { max-width: 46rem; margin: 0; line-height: 1.7; color: var(--on-dark-muted); }

/* 404 */
.page-hero--404 { display: grid; place-items: center; min-height: calc(100vh - var(--header-h)); text-align: center; }
.notfound { max-width: 44rem; }

.notfound-code {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 4rem + 10vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #38D4DF, rgba(56, 212, 223, 0.1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound .page-hero-lead { margin-inline: auto; }
.notfound .chip-links { margin-bottom: 2rem; }
.notfound .hero-ctas { justify-content: center; }

/* Footer additions */
.footer-regions {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 24rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-regions .icon { margin-top: 0.2rem; color: var(--teal-bright); }

.reviews-section { border-top: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   Rendering performance: sections after the first one skip style, layout and
   paint until they approach the viewport. "auto" remembers each section's
   real height once rendered, so the scrollbar stays stable.
   -------------------------------------------------------------------------- */
main > section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes liveRing {
  0% { opacity: 0.6; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(2.6); }
}

@keyframes heRing {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes heBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes heSlot {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes heFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes marquee { to { transform: translateX(-50%); } }

@keyframes ringSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes coreFloat {
  0%, 100% { transform: translate(-50%, -62%); }
  50% { transform: translate(-50%, -70%); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion: every section renders in its final, readable state
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal],
  .js [data-hero-in] { opacity: 1; transform: none; }

  .hero-underline path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; row-gap: 0.5rem; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scrub-text .w { opacity: 1; }
  .js .bench-card:not(.is-visible) .bench-fill { transform: none; }
  .hero-stage { transform: none; }
}
