/* RAMON — Modern B2B Design System v2 */

:root {
  --bg: #f4f6f9;
  --bg-alt: #e9eef4;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #dde4ed;
  --navy: #0a1628;
  --navy-mid: #122038;
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-glow: rgba(8, 145, 178, 0.25);
  --accent-soft: #ecfeff;
  --blue: #2563eb;
  --success: #059669;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 18, 32, 0.12);
  --header-h: 72px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t), background var(--t), border-color var(--t), transform var(--t), opacity var(--t); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.site-header.is-solid {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1;
}

.logo:hover { color: #fff; opacity: 0.88; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.lang-switch {
  display: flex;
  gap: 2px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.65);
}

.lang-switch a.active,
.lang-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg { width: 26px; height: 26px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  background: var(--navy);
  padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t), opacity var(--t);
}

.nav-mobile.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--navy-mid); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-weight: 600;
}

.btn-ghost:hover { color: var(--accent-hover); transform: none; }

/* ── Hero (homepage) ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(8, 145, 178, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0a1628 0%, #0f2038 50%, #0a1628 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(8, 145, 178, 0.15);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 999px;
  color: #67e8f9;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-visual {
  position: relative;
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* ── Sections ── */
section { padding: 96px 0; }

.section-compact { padding: 64px 0; }
.section-compact-bottom { padding-top: 0; padding-bottom: 96px; }

/* Tighter gap between content and CTA blocks */
section:has(+ section .cta-panel) {
  padding-bottom: 40px;
}

section:has(.cta-panel):not(.section-compact-bottom) {
  padding-top: 40px;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-dark .section-label { color: #67e8f9; }

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-dark .section-header h2 { color: #fff; }

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-dark .section-header p { color: rgba(255, 255, 255, 0.65); }

/* ── Clients strip (homepage) ── */
.clients-strip {
  padding: 24px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.clients-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
}

.clients-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.clients-strip .clients-marquee {
  flex: 1;
  min-width: 0;
}

.clients-marquee--compact .clients-track {
  animation-duration: 32s;
}

.clients-marquee--compact .client-pill {
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .clients-strip .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .clients-strip .clients-marquee { width: 100%; }
}

/* ── Bento grid (categories) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  min-height: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.bento-item:hover::before { transform: scaleX(1); }

.bento-item.featured {
  grid-row: span 2;
  min-height: 100%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: #fff;
}

.bento-item.featured h3 { color: #fff; }
.bento-item.featured p { color: rgba(255, 255, 255, 0.65); }
.bento-item.featured .bento-count { color: #67e8f9; }

.bento-count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.bento-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.bento-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.bento-item.featured .bento-link { color: #67e8f9; }

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), box-shadow var(--t);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  transition: transform var(--t), box-shadow var(--t);
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.process-step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 20px;
    position: relative;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--blue));
    opacity: 0.35;
  }

  .process-step {
    border: none;
    border-radius: 0;
    background: transparent;
    border-top: none;
    padding: 0 0 28px 16px;
    box-shadow: none;
  }

  .process-step:hover {
    transform: none;
    box-shadow: none;
  }

  .process-step:last-child { padding-bottom: 0; }

  .process-step-num {
    display: inline-block;
    font-size: 0.65rem;
    padding: 3px 8px;
    margin-bottom: 8px;
    background: var(--accent-soft);
    border-radius: 4px;
  }
}

/* ── Clients marquee ── */
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.clients-track.reverse { animation-direction: reverse; animation-duration: 45s; }

.clients-marquee:hover .clients-track { animation-play-state: paused; }

.client-pill {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

/* ── CTA panel ── */
.cta-panel {
  padding: 64px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}

.section-dark .cta-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-dark .cta-panel h2 { color: #fff; }

.cta-panel p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

.section-dark .cta-panel p { color: rgba(255, 255, 255, 0.65); }

/* ── Page head (inner pages) ── */
.page-head {
  padding: calc(var(--header-h) + 32px) 0 40px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(8, 145, 178, 0.15), transparent),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.page-head .container { position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, 0.35); }

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-head p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Inner page shell ── */
.page-shell {
  padding: 32px 0 72px;
  background: var(--bg);
}

.page-grid,
.contact-page-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.contact-page-grid {
  grid-template-columns: 1fr 1.15fr;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.content-panel .service-card,
.content-panel .cert-badge {
  background: var(--bg);
  border-color: var(--line);
}

.content-panel .service-card:hover {
  background: var(--surface);
}

.page-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Split layout (legacy alias) ── */
.page-body { padding: 0; }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.prose { max-width: none; }

.prose section {
  padding: 0;
}

.prose section + section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}

.prose p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.prose blockquote {
  padding: 20px 24px;
  margin: 0 0 24px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}

.prose ul {
  margin: 0 0 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose li { margin-bottom: 6px; }

.prose .service-grid {
  margin-top: 8px;
}

.aside-stack {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Unified contact panel ── */
.contact-panel {
  padding: clamp(24px, 3vw, 28px);
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-panel h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 16px;
}

.contact-panel-company {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}

.contact-panel-person {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-panel-person strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.contact-panel-person span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact-panel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-panel-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
}

.contact-panel-list dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 2px;
}

.contact-panel-list dd {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

.contact-panel-list a {
  color: #67e8f9;
}

.contact-panel-list a:hover { color: #fff; }

.contact-panel .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 12px;
}

.contact-panel--full {
  padding: clamp(24px, 4vw, 36px);
}

.contact-panel--full .contact-panel-list div {
  grid-template-columns: 64px 1fr;
}
.category-nav-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.category-nav::-webkit-scrollbar { display: none; }

.category-nav a {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--t);
}

.category-nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.category-nav a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Spacing after page hero on catalog pages */
.page-head + .category-nav-wrap {
  padding-top: 20px;
}

.page-head + .category-nav-wrap + .container .catalog-section:first-child {
  padding-top: 48px;
}

/* ── Catalog sections ── */
.catalog-section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header-h) + 60px);
}

.catalog-section + .catalog-section {
  border-top: 1px solid var(--line);
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.catalog-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.catalog-header p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin-top: 8px;
}

.catalog-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.toc-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.toc-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: all var(--t);
}

.toc-nav a:last-child { border-bottom: none; }

.toc-nav a:hover,
.toc-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  padding-left: 20px;
}

/* ── Service cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.service-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card .feature-icon { margin-bottom: 16px; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Cert badges ── */
.prose section > h2 {
  margin-top: 32px;
}

.prose section > :first-child {
  margin-top: 0;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: 1;
  min-width: 220px;
}

.cert-badge svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.cert-badge strong {
  display: block;
  font-size: 0.925rem;
  color: var(--ink);
}

.cert-badge span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Client grid ── */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.client-tile {
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.client-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

/* ── Clients testimonial page ── */
.clients-testimonial {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.clients-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(8, 145, 178, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(37, 99, 235, 0.1), transparent);
  pointer-events: none;
}

.clients-testimonial .container { position: relative; }

.breadcrumb--light { color: rgba(255, 255, 255, 0.45); margin-bottom: 40px; }
.breadcrumb--light a { color: rgba(255, 255, 255, 0.65); }
.breadcrumb--light a:hover { color: #fff; }

.clients-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.clients-testimonial-main .section-label { color: #67e8f9; }

.clients-quote {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 36px;
  padding: 0;
  border: none;
  background: none;
}

.clients-quote::before {
  content: '“';
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 800;
}

.clients-story p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 20px;
}

.clients-story p:last-child { margin-bottom: 0; }

.clients-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clients-highlight {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.clients-highlight strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.clients-highlight span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.clients-rotator-section {
  padding: 72px 0 56px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: none;
  text-align: center;
}

.clients-rotator-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.clients-rotator {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.clients-rotator-name {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.clients-rotator-name.is-changing {
  opacity: 0;
  transform: translateY(16px);
}

.clients-rotator-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.clients-rotator-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}

.clients-rotator-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .clients-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .clients-highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .clients-highlight { flex: 1; min-width: 140px; }
}

@media (max-width: 640px) {
  .clients-testimonial { padding-bottom: 56px; }
  .clients-highlights { flex-direction: column; }
  .clients-rotator-section { padding: 56px 0 40px; }
  .site-footer--cta { padding-top: 32px; }
  .footer-cta { padding-bottom: 40px; margin-bottom: 40px; }
}

/* ── Contact page ── */
.contact-form-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-img.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), #dde4ed);
}

.product-card-img.no-image img {
  width: 60%;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
}

.product-card-body { padding: 18px 20px 20px; }

.product-card-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Product detail ── */
.product-page { padding: calc(var(--header-h) + 32px) 0 96px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.product-detail-img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-img.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), #dde4ed);
}

.product-detail-img.no-image img {
  width: 50%;
  object-fit: contain;
  opacity: 0.5;
}

.product-detail-info .product-card-cat { margin-bottom: 12px; }

.product-detail-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-detail-info > p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-products {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.related-products h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--ink);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.site-footer--cta {
  padding-top: 48px;
}

.footer-cta {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-cta .cta-panel {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(37, 99, 235, 0.12));
  border-color: rgba(103, 232, 249, 0.22);
}

.site-footer .footer-cta .cta-panel h2 {
  color: #fff;
}

.site-footer .footer-cta .cta-panel p {
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
}

.footer-col a:hover { color: #67e8f9; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 0.875rem; flex: 1; min-width: 240px; color: var(--muted); }
.cookie-banner a { color: var(--accent); font-weight: 600; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .clients-track { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-item.featured { grid-row: span 1; }
  .feature-grid,
  .service-grid { grid-template-columns: 1fr 1fr; }
  .page-grid,
  .split-layout,
  .contact-page-grid,
  .product-detail-grid { grid-template-columns: 1fr; }
  .page-aside,
  .aside-stack { position: static; }
  .page-grid,
  .contact-page-grid { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-desktop, .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-bottom: 64px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .bento-grid,
  .feature-grid,
  .service-grid { grid-template-columns: 1fr; }
  .catalog-header { flex-direction: column; align-items: flex-start; }
  .page-head { padding-bottom: 32px; }
  .page-shell { padding-top: 24px; padding-bottom: 56px; }
  .page-grid,
  .contact-page-grid { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 24px; }
  .content-panel { padding: 24px; }
  .contact-panel { padding: 20px; }
  .cta-panel { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cert-badge { min-width: 100%; }
}
