/* ============================================================
   TRADESAFEPMA — styles.css
   Mobile-first, light + dark, no frameworks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #F6F8FA;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --line: #E1E7EE;
  --line-strong: #C9D3DE;
  --navy: #0A2540;
  --navy-2: #133757;
  --steel: #3D6584;
  --accent: #F26B1F;
  --accent-2: #FF8A45;
  --sea: #1E9E8E;
  --amber: #E89B1C;
  --red: #D14343;
  --ink: #0B1320;
  --ink-2: #2A3340;
  --muted: #5C6675;
  --muted-2: #7A8696;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 1px rgba(10,37,64,.04);
  --shadow-md: 0 6px 16px rgba(10,37,64,.08), 0 2px 4px rgba(10,37,64,.04);
  --shadow-lg: 0 18px 40px rgba(10,37,64,.14), 0 6px 12px rgba(10,37,64,.06);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 64px;
  --topbar-h: 36px;

  --ease: cubic-bezier(.2,.7,.2,1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06121F; --surface: #0F1E30; --surface-2: #1A2B40;
    --line: #1F3147; --line-strong: #2C4364;
    --navy: #5C9BF0; --navy-2: #7AB1F5; --steel: #7AA1C2;
    --accent: #FF8A45; --accent-2: #FFA571;
    --sea: #3FCBB6; --amber: #F4B95A; --red: #F47272;
    --ink: #E6EDF5; --ink-2: #BAC8D6; --muted: #A3AFBE; --muted-2: #7E8EA0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 6px 18px rgba(0,0,0,.45);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
html[data-theme="light"] {
  --bg: #F6F8FA; --surface: #FFFFFF; --surface-2: #F1F4F8;
  --line: #E1E7EE; --line-strong: #C9D3DE;
  --accent: #F26B1F; --accent-2: #FF8A45;
  --sea: #1E9E8E; --amber: #E89B1C; --red: #D14343;
  --ink: #0B1320; --ink-2: #2A3340; --muted: #5C6675; --muted-2: #7A8696;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 1px rgba(10,37,64,.04);
  --shadow-md: 0 6px 16px rgba(10,37,64,.08), 0 2px 4px rgba(10,37,64,.04);
  --shadow-lg: 0 18px 40px rgba(10,37,64,.14), 0 6px 12px rgba(10,37,64,.06);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #06121F; --surface: #0F1E30; --surface-2: #1A2B40;
  --line: #1F3147; --line-strong: #2C4364;
  --accent: #FF8A45; --accent-2: #FFA571;
  --sea: #3FCBB6; --amber: #F4B95A; --red: #F47272;
  --ink: #E6EDF5; --ink-2: #BAC8D6; --muted: #A3AFBE; --muted-2: #7E8EA0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 18px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }
section { padding-block: 72px; }
@media (min-width: 1024px) { section { padding-block: 112px; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 14px;
  font-weight: 700;
  text-wrap: balance;
}
.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 17px;
  text-wrap: pretty;
  max-width: 60ch;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 1000;
}
.skip-link:focus { top: 8px; }

/* ---------- Top operational bar ---------- */
.topbar {
  background: #0A2540;
  color: #DCE7F2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 30;
}
html[data-theme="dark"] .topbar { background: #050E18; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  min-height: var(--topbar-h);
  padding-block: 6px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--accent-2); }
.topbar .sep { opacity: 0.4; }
.live-clock { color: #9FB7CC; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,158,142,0.15);
  color: #65E0CC;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(30,158,142,0.35);
  font-size: 11px;
}
.status-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1E9E8E;
  box-shadow: 0 0 0 0 rgba(30,158,142,0.7);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30,158,142,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(30,158,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,158,142,0); }
}
@media (prefers-reduced-motion: reduce) {
  .status-chip .dot { animation: none; }
}
@media (max-width: 768px) {
  .topbar-right .live-clock { display: none; }
  .topbar { font-size: 11px; }
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
}
.nav-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--nav-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .anchor-mark { width: 28px; height: 28px; color: var(--accent); }
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
@media (max-width: 520px) {
  .brand-logo { height: 30px; }
}
@media (prefers-color-scheme: dark) {
  .brand-logo { filter: brightness(0) invert(1); }
}
html[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1); }
.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand-logo {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: none;
  margin-left: 28px;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 520px) {
  .hide-sm { display: none !important; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 45;
  background: var(--bg);
  padding: 24px 20px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 12px rgba(242,107,31,.25);
}
.btn-primary:hover { background: #DF5C12; box-shadow: 0 8px 22px rgba(242,107,31,.35); }
html[data-theme="dark"] .btn-primary { box-shadow: 0 4px 12px rgba(255,138,69,.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-2); }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-on-dark:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 15.5px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

/* ---------- HERO ---------- */
.hero { padding-top: 40px; padding-bottom: 60px; position: relative; }
@media (min-width: 1024px) { .hero { padding-top: 56px; padding-bottom: 96px; } }
.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
  margin-top: 18px;
}
.hero-copy h1 .accent { color: var(--accent); }
.hero-copy .lede {
  margin-top: 22px;
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}
@media (min-width: 1024px) { .hero-copy .lede { font-size: 19px; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.trust-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0a1828;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
@media (min-width: 1024px) {
  .hero-carousel { aspect-ratio: 4 / 5; min-height: 560px; }
}
.carousel-viewport { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 6s ease-out;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-carousel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,18,31,.85) 100%);
  pointer-events: none;
  z-index: 2;
}

.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(15, 30, 48, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.05); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }

.carousel-meta {
  position: absolute;
  left: 18px; right: 18px;
  bottom: 130px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
  color: #fff;
}
.carousel-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #DCE7F2;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.carousel-dots {
  display: flex; gap: 8px;
}
.carousel-dot {
  width: 28px; height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.carousel-dot.is-active { background: var(--accent); width: 40px; }
.carousel-dot:hover { background: rgba(255,255,255,0.6); }
.carousel-dot.is-active:hover { background: var(--accent); }

.eta-widget {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 4;
  background: rgba(10, 20, 34, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242,107,31,0.4);
  border-radius: 12px;
  padding: 14px 16px;
  color: #E6EDF5;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: var(--shadow-lg);
}
.eta-widget .label {
  display: flex; align-items: center; gap: 8px;
  color: #65E0CC;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 8px;
}
.eta-widget .label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1E9E8E;
  animation: pulse 2.2s var(--ease) infinite;
}
.eta-widget .vessel { font-size: 16px; color: #fff; font-weight: 500; letter-spacing: 0.5px; }
.eta-widget .meta {
  margin-top: 6px;
  display: flex; gap: 14px; flex-wrap: wrap;
  color: #9FB7CC;
  font-size: 11.5px;
}
.eta-widget .meta strong { color: #fff; font-weight: 500; }

/* ---------- Services pro ---------- */
.services-pro { background: var(--bg); }
.services-grid-pro {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid-pro { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid-pro { grid-template-columns: repeat(4, 1fr); } }

.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.svc-card .svc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-card .svc-icon svg { width: 22px; height: 22px; }
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.svc-card .svc-desc { font-size: 14px; color: var(--muted); text-wrap: pretty; }
.svc-card .svc-cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex; gap: 6px; align-items: center;
}
.svc-card .svc-cta svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.svc-card:hover .svc-cta svg { transform: translateX(4px); }

.svc-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in oklab, var(--accent) 8%, var(--surface)) 100%);
}
@media (min-width: 1024px) {
  .svc-featured { grid-column: span 2; }
}
.svc-featured .svc-head {
  display: flex; align-items: flex-start; gap: 14px;
}
.svc-featured .svc-icon { width: 52px; height: 52px; }
.svc-featured .svc-icon svg { width: 26px; height: 26px; }
.svc-featured h3 { font-size: 22px; }
.svc-featured .svc-tagline {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.svc-featured .svc-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.svc-featured .svc-bullets li {
  display: flex; gap: 8px; align-items: flex-start;
}
.svc-featured .svc-bullets li::before {
  content: "▸"; color: var(--accent); flex-shrink: 0;
}
.svc-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.services-band {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 640px) { .services-band { grid-template-columns: repeat(5, 1fr); } }
.services-band > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.services-band > div:last-child { border-right: 0; }
@media (max-width: 640px) {
  .services-band > div:nth-child(2n) { border-right: 0; }
}
.services-band .num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.services-band .lbl {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- Process pro ---------- */
.process-pro {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.process-track { position: relative; padding: 20px 0 40px; }
.process-line {
  position: absolute;
  top: 35px; left: 32px; right: 32px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.process-line .process-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: inset 1.5s var(--ease);
}
.process-track.is-on .process-line .process-fill { inset: 0 0 0 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}
.process-step { text-align: center; padding: 0 6px; }
.step-bubble {
  position: relative;
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.step-bubble svg { width: 28px; height: 28px; }
.step-bubble .step-num {
  position: absolute;
  bottom: -8px; right: -6px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--ink); color: var(--bg);
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.process-track.is-on .step-bubble {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  color: #fff;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: left;
  min-height: 130px;
  box-shadow: var(--shadow-sm);
}
.step-card .step-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-card .step-time svg { width: 12px; height: 12px; }
.step-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 18px; }
  .process-line { top: 0; bottom: 0; left: 34px; right: auto; width: 2px; height: auto; }
  .process-line .process-fill { inset: 100% 0 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
  .process-track.is-on .process-line .process-fill { inset: 0 0 0 0; }
  .process-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    text-align: left;
    align-items: center;
  }
  .step-bubble { margin: 0; }
  .step-card { min-height: 0; }
}

.process-footer {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .process-footer { grid-template-columns: repeat(3, 1fr); } }
.process-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.process-stat .stat-k {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.process-stat .stat-l {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.4px;
}

/* ---------- Portal pro ---------- */
.portal-pro {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.portal-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .portal-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.portal-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.portal-copy .lede {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16.5px;
}
.portal-features {
  display: flex; flex-direction: column; gap: 18px;
  margin: 28px 0;
}
.portal-features li { display: flex; gap: 14px; align-items: flex-start; }
.portal-features .pf-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.portal-features .pf-ico svg { width: 20px; height: 20px; }
.portal-features h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.portal-features p { font-size: 14px; color: var(--muted); }

.portal-dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font-mono);
}
.dash-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.dash-bar .dash-dots { display: inline-flex; gap: 6px; }
.dash-bar .dash-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.dash-bar .dash-dots i:nth-child(1) { background: #FF6058; }
.dash-bar .dash-dots i:nth-child(2) { background: #FFBD2E; }
.dash-bar .dash-dots i:nth-child(3) { background: #28C940; }
.dash-bar .dash-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.dash-inner { padding: 18px; }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.kpi {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.kpi-k {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.kpi-l {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.dash-title { font-size: 12px; color: var(--ink); font-weight: 600; letter-spacing: 0.5px; }
.dash-meta { font-size: 11px; color: var(--muted); }
.dash-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  align-items: center;
}
.dash-row:last-child { border-bottom: 0; }
.dash-row.header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 10px 4px;
}
.dash-row .vname { color: var(--ink); font-weight: 600; }
.dash-row .imo { color: var(--muted); font-size: 11px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.pill.ok { background: color-mix(in oklab, var(--sea) 15%, transparent); color: var(--sea); }
.pill.ok .dot { background: var(--sea); }
.pill.wait { background: color-mix(in oklab, var(--amber) 15%, transparent); color: var(--amber); }
.pill.wait .dot { background: var(--amber); }
.pill.transit { background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); }
.pill.transit .dot { background: var(--accent); }
@media (max-width: 640px) {
  .dash-row { grid-template-columns: 1fr 1fr; gap: 8px; font-size: 11px; }
  .dash-kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi { padding: 10px 12px; }
  .kpi-k { font-size: 18px; }
}

/* ---------- Ports band ---------- */
.ports-band { background: #0A2540; color: #E6EDF5; position: relative; overflow: hidden; }
html[data-theme="dark"] .ports-band { background: #061629; }
.ports-band .container { position: relative; z-index: 2; }
.ports-band h2 { color: #fff; }
.ports-band .eyebrow { color: var(--accent-2); }
.ports-band .eyebrow::before { background: var(--accent-2); }
.ports-band .section-head p { color: #9FB7CC; }
.ports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) { .ports-grid { grid-template-columns: 1.3fr 1fr; } }
.port-map {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  min-height: 360px;
}
.port-map svg { width: 100%; height: auto; }
.port-pin {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(242,107,31,0.18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.port-pin:hover, .port-pin:focus-visible {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(242,107,31,0.25);
}
.port-pin .tooltip {
  position: absolute;
  bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: #0F1E30;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  z-index: 5;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #E6EDF5;
}
.port-pin:hover .tooltip, .port-pin:focus-visible .tooltip { opacity: 1; }
.port-pin .tooltip .name { font-size: 13px; font-weight: 600; color: #fff; }
.port-pin .tooltip .services { font-size: 11px; color: #9FB7CC; margin-top: 4px; font-family: var(--font-mono); letter-spacing: 0.3px; }
.port-pin .tooltip .berths { font-size: 11px; color: var(--accent-2); margin-top: 4px; font-family: var(--font-mono); }

.ports-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.stat .num { font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.stat .lbl { font-size: 12.5px; color: #9FB7CC; margin-top: 4px; font-family: var(--font-mono); letter-spacing: 0.5px; }

/* ---------- RFQ Wizard ---------- */
.rfq-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 1024px) { .rfq-wrap { grid-template-columns: 1.6fr 1fr; gap: 40px; } }
.wizard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
@media (min-width: 768px) { .wizard { padding: 32px; } }
.wizard-steps {
  display: flex; gap: 4px; margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.wizard-steps::-webkit-scrollbar { display: none; }
.wizard-step {
  flex: 1; min-width: 140px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: all .2s var(--ease);
}
.wizard-step.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.wizard-step.done { border-color: var(--sea); }
.wizard-step .step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.65;
}
.wizard-step .step-name { font-size: 13px; font-weight: 600; margin-top: 4px; line-height: 1.2; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { font-size: 12px; color: var(--red); display: none; }
.field.error .err { display: block; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }
.chk {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  background: var(--bg);
  font-size: 13px;
  transition: all .2s var(--ease);
}
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all .2s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.chk input:checked ~ .box { background: var(--accent); border-color: var(--accent); }
.chk input:checked ~ .box::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.chk:hover { border-color: var(--ink-2); }
.chk:has(input:checked) { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, var(--bg)); }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.wizard-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.wizard-success { display: none; text-align: center; padding: 40px 20px; }
.wizard-success.show { display: block; }
.wizard-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--sea) 18%, transparent);
  color: var(--sea);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.wizard-success h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.wizard-success p { color: var(--muted); margin-bottom: 8px; }
.wizard-success .ticket {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--surface-2);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  margin-top: 8px;
  border: 1px dashed var(--line-strong);
}
.rfq-side {
  background: var(--ink);
  color: var(--bg);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .rfq-side { background: linear-gradient(180deg, var(--surface), var(--surface-2)); color: var(--ink); }
.rfq-side h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  color: inherit;
}
.rfq-side ul { display: flex; flex-direction: column; gap: 14px; }
.rfq-side ul li { display: flex; gap: 12px; font-size: 14px; line-height: 1.45; opacity: 0.92; }
.rfq-side ul li::before { content: "→"; color: var(--accent); font-weight: 600; }
.rfq-side .stat-side {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
}
html[data-theme="dark"] .rfq-side .stat-side { border-top-color: var(--line); }

/* ---------- Carriers marquee ---------- */
.carriers-marquee {
  padding-block: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.carriers-marquee .carriers-title {
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  align-items: center;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  height: 48px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
}
.marquee-item img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.6);
  opacity: 0.75;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
html[data-theme="dark"] .marquee-item img { filter: grayscale(1) brightness(2) invert(.85); opacity: 0.8; }
.marquee-item:hover img { filter: none; opacity: 1; }
html[data-theme="dark"] .marquee-item:hover img { filter: brightness(1.05); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Compliance pro ---------- */
.compliance-pro { background: var(--bg); }
.compliance-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 1024px) { .compliance-head { grid-template-columns: 1.6fr 1fr; gap: 56px; } }
.compliance-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 14px;
  font-weight: 700;
  text-wrap: balance;
}
.compliance-head p { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 56ch; }
.compliance-callout {
  background: linear-gradient(135deg, var(--ink), #1A2B40);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  display: flex; align-items: center; gap: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .compliance-callout { background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.compliance-callout .cc-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.compliance-callout .cc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
html[data-theme="dark"] .compliance-callout .cc-label { color: var(--ink); }
.compliance-callout .cc-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9FB7CC;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  line-height: 1.4;
}
html[data-theme="dark"] .compliance-callout .cc-sub { color: var(--muted); }

.compliance-grid-pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .compliance-grid-pro { grid-template-columns: repeat(4, 1fr); } }
.cert-pro {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cert-pro:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.cert-pro .seal {
  width: 36px; height: 36px;
  padding: 6px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--navy) 8%, var(--surface));
  color: var(--navy);
}
html[data-theme="dark"] .cert-pro .seal {
  background: color-mix(in oklab, var(--accent) 14%, var(--surface));
  color: var(--accent);
}
.cert-pro h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.cert-pro .since {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.cert-pro .desc { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Cases ---------- */
.cases-pro { background: var(--surface-2); }
.case-list {
  display: flex; flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) { .case-list { gap: 56px; } }
.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .case-card { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .case-card.reverse { direction: rtl; }
  .case-card.reverse > * { direction: ltr; }
}
.case-card .img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; }
.case-card .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.case-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-wrap: balance;
}
.case-card .case-desc { color: var(--muted); font-size: 15px; margin-bottom: 16px; text-wrap: pretty; }
.case-card .result {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  background: color-mix(in oklab, var(--sea) 12%, transparent);
  color: var(--sea);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in oklab, var(--sea) 25%, transparent);
}

/* ---------- Testimonials pro ---------- */
.testimonials-pro { background: var(--bg); }
.testi-pro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .testi-pro-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-pro {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.testi-pro:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); }
.testi-pro .quote-mark {
  position: absolute;
  top: 14px; right: 22px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
  color: color-mix(in oklab, var(--accent) 18%, transparent);
  pointer-events: none;
}
.testi-pro blockquote {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
  margin-bottom: 22px;
}
.testi-pro .testi-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.testi-pro .author { font-size: 14px; font-weight: 700; color: var(--ink); }
.testi-pro .role { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.2px; }
.testi-pro .testi-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.6);
  opacity: 0.75;
}
html[data-theme="dark"] .testi-pro .testi-logo { filter: grayscale(1) brightness(2) invert(.85); opacity: 0.7; }
.testi-pro .metric {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ---------- FAQ pro ---------- */
.faq-pro { background: var(--surface-2); }
.faq-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 auto 32px;
  max-width: 880px;
}
.faq-cat {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.faq-cat:hover { border-color: var(--ink-2); }
.faq-cat.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
html[data-theme="dark"] .faq-cat.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-list-pro {
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-card[hidden] { display: none; }
.faq-card[open] { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.faq-plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  position: relative;
  flex-shrink: 0;
  transition: background .2s var(--ease);
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  left: 50%; top: 50%;
  transition: transform .25s var(--ease);
}
.faq-plus::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-card[open] .faq-plus { background: var(--accent); }
.faq-card[open] .faq-plus::before { background: #fff; }
.faq-card[open] .faq-plus::after { background: #fff; transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  padding: 0 22px 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .faq-card summary { grid-template-columns: 1fr auto; gap: 12px; padding: 18px; }
  .faq-tag { grid-column: 1; grid-row: 1; }
  .faq-q { grid-column: 1; grid-row: 2; }
  .faq-plus { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* ---------- CTA pro ---------- */
.cta-pro {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: #06121F;
  padding-block: 120px;
}
.cta-pro .cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.55;
}
.cta-pro .cta-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(242,107,31,0.18), transparent 60%),
    linear-gradient(180deg, rgba(6,18,31,0.7) 0%, rgba(6,18,31,0.95) 100%);
  z-index: -2;
}
.cta-pro .cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
}
.cta-pro .cta-content {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}
.cta-pro .cta-eyebrow {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #65E0CC;
  padding: 6px 14px;
  border: 1px solid rgba(101,224,204,0.4);
  border-radius: 999px;
  background: rgba(101,224,204,0.06);
  margin-bottom: 20px;
}
.cta-pro h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta-pro p {
  color: #C9D3DE;
  font-size: 18px;
  max-width: 52ch;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.cta-pro .cta-buttons {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 44px;
}
.cta-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 640px) { .cta-trust { grid-template-columns: repeat(4, 1fr); } }
.cta-trust > div {
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
}
.cta-trust .ct-k {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}
.cta-trust .ct-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: #9FB7CC;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
footer.footer {
  background: #0B1320;
  color: #C9D3DE;
  padding: 64px 0 24px;
  font-size: 14px;
}
@media (prefers-color-scheme: dark) {
  footer.footer { background: #050E18; }
}
html[data-theme="dark"] footer.footer { background: #050E18; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #9FB7CC; }
.footer ul a:hover { color: var(--accent-2); }
.footer .brand { color: #fff; font-size: 21px; margin-bottom: 12px; }
.footer .about-text { color: #9FB7CC; font-size: 13.5px; line-height: 1.55; max-width: 36ch; }
.footer .ops-card {
  margin-top: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.footer .ops-card .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  color: #65E0CC; text-transform: uppercase;
}
.footer .ops-card .phone {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: #fff;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7A8696;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.footer-bottom ul { display: flex; gap: 16px; flex-wrap: wrap; }
.payments { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.payments span {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #9FB7CC;
}

/* ---------- WhatsApp sticky FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  text-decoration: none;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.08) translateY(-1px);
  background: #1FBA58;
  box-shadow: 0 14px 36px rgba(37,211,102,0.55), 0 4px 10px rgba(0,0,0,0.2);
}
.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}
.whatsapp-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: 1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.7); opacity: 0;   }
  100% { transform: scale(1.7); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab-pulse { animation: none; }
}
@media (max-width: 520px) {
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */
.text-mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

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

/* ============================================================
   PROBLEM SIGNALS — ¿Te suena familiar?
   ============================================================ */
.problem-pro {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
  overflow: hidden;
}
.problem-pro::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--accent) 60%, transparent), transparent);
}
.problem-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.problem-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 22px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.problem-card::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  background: var(--accent);
  border-radius: 3px;
  opacity: .85;
}
.problem-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--accent) 3%, var(--surface));
}
.problem-quote-mark {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: .6;
  color: var(--accent);
  opacity: .9;
  font-weight: 700;
  display: block;
  height: 32px;
  margin-top: 4px;
  letter-spacing: -.04em;
  user-select: none;
}
.problem-quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -.005em;
  max-width: 42ch;
}
.problem-meta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.problem-meta .problem-ic { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.problem-sep { color: var(--accent); margin: 0 2px; font-weight: 600; }
.problem-punchline {
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: center;
}
.problem-punchline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent);
  flex-shrink: 0;
}
@media (min-width: 700px) { .problem-punchline { margin-top: 64px; } }
html[data-theme="dark"] .problem-pro {
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--surface-2) 70%, var(--bg)) 100%);
}
html[data-theme="dark"] .problem-card { background: color-mix(in oklab, var(--surface) 92%, var(--bg)); }
html[data-theme="dark"] .problem-card:hover { background: color-mix(in oklab, var(--accent) 5%, var(--surface)); }

/* ============================================================
   SERVICES — 3-card layout, premium variant, complement strip
   ============================================================ */
.services-grid-3 { grid-template-columns: 1fr !important; }
@media (min-width: 700px) { .services-grid-3 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .services-grid-3 { grid-template-columns: repeat(3, 1fr) !important; } }
.services-grid-3 .svc-featured { grid-column: auto !important; }

.svc-card .svc-tagline {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  font-weight: 500;
  margin: -8px 0 0;
}
.svc-card h3 + .svc-tagline { margin-top: 0; }
.svc-bullets-min {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 4px 0 8px;
}
.svc-bullets-min li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: flex-start;
}
.svc-bullets-min li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.svc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  margin-top: 4px;
  flex-wrap: wrap;
}
.svc-price-from {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.svc-price-amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.svc-price-unit {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.svc-premium {
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in oklab, var(--ink) 4%, var(--surface)) 100%);
}
.svc-premium:hover { border-color: var(--ink); }
.svc-badge-premium {
  background: var(--ink);
  color: var(--bg);
}
html[data-theme="dark"] .svc-premium {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in oklab, var(--accent) 8%, var(--surface)) 100%);
}

.services-complement {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.services-complement .sc-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--accent);
}
.services-complement h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.services-complement .sc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.services-complement p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Hero ETA widget — repurposed for pandemic stat card */
.eta-widget .meta strong { color: var(--accent-2); }

/* ============================================================
   PRICING — Paquetes mensuales + tarifas por operación
   ============================================================ */
.pricing-pro {
  padding-block: 72px;
  background: var(--bg);
  color: var(--ink);
  position: relative;
}
@media (min-width: 1024px) { .pricing-pro { padding-block: 112px; } }

.pricing-pro .section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 48px; }
.pricing-sub { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

.pricing-grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
  }
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tier-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow-md);
}
.tier-featured {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), var(--shadow-lg);
}
@media (min-width: 1024px) {
  .tier-featured { transform: translateY(-14px); }
  .tier-featured:hover { transform: translateY(-18px); }
}
.tier-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 50%, transparent);
  white-space: nowrap;
}
.tier-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.tier-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.tier-for {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
  min-height: 2.8em;
}
.tier-price { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); color: var(--ink); }
.tier-currency { font-size: 1.5rem; font-weight: 600; color: var(--ink-2); transform: translateY(-12px); }
.tier-amount { font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tier-period { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.tier-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.tier-features li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.tier-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.tier-divider {
  grid-template-columns: 1fr !important;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px dashed var(--line);
}
.tier-foot {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 24px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: var(--radius);
  line-height: 1.5;
}
.tier-foot-price { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.tier-cta { width: 100%; justify-content: center; margin-top: auto; cursor: pointer; }
.tier-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tier-cta:hover svg { transform: translateX(3px); }

.pricing-adhoc {
  margin-top: 72px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) { .pricing-adhoc { padding: 44px 48px; margin-top: 96px; } }
.pricing-adhoc-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.pricing-adhoc-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}
.pricing-adhoc-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--ink);
}
@media (min-width: 1024px) { .pricing-adhoc-head h3 { font-size: 1.75rem; } }
.pricing-adhoc-head p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.pricing-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.pricing-table thead { background: var(--surface-2); }
.pricing-table th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.45;
}
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table tbody tr { transition: background-color .2s var(--ease); }
.pricing-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.pricing-table-price {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td {
    display: block; width: 100%;
  }
  .pricing-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .pricing-table tbody tr:last-child { border-bottom: 0; }
  .pricing-table td { padding: 4px 0; border-bottom: 0; }
  .pricing-table td:first-child { color: var(--ink); font-weight: 500; }
  .pricing-table-price { text-align: left; font-size: 1.0625rem; }
}
.pricing-table-note { margin-top: 18px; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
.pricing-table-note strong { color: var(--ink-2); font-weight: 600; }

html[data-theme="dark"] .tier-featured {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent),
    0 24px 60px -20px color-mix(in srgb, var(--accent) 25%, transparent),
    var(--shadow-lg);
}
html[data-theme="dark"] .tier-foot { background: color-mix(in srgb, var(--accent) 10%, transparent); }
html[data-theme="dark"] .pricing-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

@media (max-width: 1023px) {
  .tier-featured { order: -1; }
  .tier-for { min-height: 0; }
}
@media (max-width: 520px) {
  .tier-card { padding: 28px 22px; }
  .tier-amount { font-size: 2.75rem; }
  .pricing-adhoc { padding: 28px 22px; }
}

/* ============================================================
   FOUNDER — Sobre Agustín
   ============================================================ */
.founder-pro {
  background: var(--surface-2);
  padding-block: 72px;
  position: relative;
  overflow: hidden;
}
.founder-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 8% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    radial-gradient(700px 320px at 100% 100%, color-mix(in oklab, var(--navy) 9%, transparent), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.founder-pro > .container { position: relative; z-index: 1; }
.founder-pro .section-head { max-width: 880px; margin-bottom: 48px; }
.founder-pro .section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.6rem);
  color: var(--ink);
  margin: 10px 0 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.founder-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(
    155deg,
    color-mix(in oklab, var(--accent) 60%, transparent) 0%,
    color-mix(in oklab, var(--accent) 10%, transparent) 35%,
    color-mix(in oklab, var(--navy) 35%, transparent) 100%
  );
  box-shadow: var(--shadow-lg);
}
.founder-portrait-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 2px);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.founder-portrait-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.35;
  z-index: 0;
}
.founder-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 12rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: color-mix(in oklab, var(--ink) 22%, transparent);
  user-select: none;
  text-shadow: 0 1px 0 color-mix(in oklab, var(--surface) 50%, transparent);
}
.founder-portrait-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 75%, transparent);
  backdrop-filter: blur(6px);
}
.founder-body { display: grid; gap: 28px; }
.founder-bio p {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 62ch;
}
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio strong { color: var(--ink); font-weight: 600; }
.founder-chips {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.founder-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.founder-chip:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: var(--shadow-md);
}
.founder-chip-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.founder-chip-plus { color: var(--accent); margin-left: 2px; font-weight: 700; }
.founder-chip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.founder-quote {
  position: relative;
  margin: 8px 0 0;
  padding: 28px 28px 24px 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in oklab, var(--surface) 92%, var(--accent)) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.founder-quote-glyph {
  position: absolute;
  left: 14px;
  top: -4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
  user-select: none;
}
.founder-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.2vw + 0.85rem, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.founder-quote figcaption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.founder-quote-rule { display: inline-block; width: 28px; height: 1px; background: var(--accent); }
.founder-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.founder-cta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) {
  .founder-pro { padding-block: 112px; }
  .founder-pro .section-head { margin-bottom: 64px; }
  .founder-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: stretch;
  }
  .founder-portrait { position: sticky; top: 96px; }
  .founder-chips { grid-template-columns: repeat(4, 1fr); }
  .founder-body { gap: 32px; }
}
html[data-theme="dark"] .founder-pro::before {
  background:
    radial-gradient(900px 360px at 8% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(700px 320px at 100% 100%, color-mix(in oklab, var(--navy) 30%, transparent), transparent 65%);
}
html[data-theme="dark"] .founder-monogram { color: color-mix(in oklab, var(--ink) 26%, transparent); }
html[data-theme="dark"] .founder-quote {
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in oklab, var(--surface) 80%, var(--accent)) 100%);
}

/* ============================================================
   CONTACT — agenda una consulta
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact-grid > * { min-width: 0; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

.contact-copy { color: #fff; }
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-top: 14px;
  text-wrap: balance;
}
.contact-copy p {
  color: #C9D3DE;
  font-size: 17px;
  margin-top: 16px;
  max-width: 52ch;
  text-wrap: pretty;
}
.contact-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.contact-list li svg {
  width: 22px; height: 22px;
  color: var(--accent-2);
  flex-shrink: 0;
}
.contact-list .contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #9FB7CC;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-list a, .contact-list .contact-val {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--accent-2); }

/* contact-time inline notice in left column */
.contact-time {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: #DCE7F2;
  font-size: 14.5px;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}
.contact-time svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; }
.contact-time strong { color: #fff; font-weight: 600; }

/* direct contact action cards (no form) */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-action {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  color: #fff;
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  backdrop-filter: blur(6px);
}
.contact-action:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.contact-action-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  color: #fff;
  padding: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  box-sizing: content-box;
}
.contact-action-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-action-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}
.contact-action-value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.4px;
  color: #9FB7CC;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-action-arrow {
  width: 18px; height: 18px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.contact-action:hover .contact-action-arrow {
  transform: translateX(4px);
  color: #fff;
}

/* WhatsApp = primary CTA: brand-green tinted, prominent */
.contact-action-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1DAE52 100%);
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,0.5);
}
.contact-action-whatsapp:hover {
  background: linear-gradient(135deg, #2BE574 0%, #25C95F 100%);
  border-color: transparent;
}
.contact-action-whatsapp .contact-action-icon {
  background: rgba(255,255,255,0.18);
}
.contact-action-whatsapp .contact-action-value { color: rgba(255,255,255,0.85); }
.contact-action-whatsapp .contact-action-arrow { color: rgba(255,255,255,0.7); }

@media (max-width: 640px) {
  .contact-action { padding: 16px 18px; gap: 14px; }
  .contact-action-icon { width: 26px; height: 26px; padding: 7px; }
  .contact-action-label { font-size: 15px; }
  .contact-action-value { font-size: 12.5px; }
}

/* CTA-pro section override for contact layout */
.cta-pro { padding-block: 96px; }
@media (min-width: 1024px) { .cta-pro { padding-block: 120px; } }
.cta-pro .cta-eyebrow { margin-bottom: 14px; }
