/* ============================================
   TALYND — Global Stylesheet
   Visual system: cambio.ai-inspired editorial light theme
   ============================================ */


:root {
  /* === GRAYSCALE === */
  --black: #040e1f;
  --white: #ffffff;
  --gray-0: #f9fbfd;
  --gray-1: #eef2f6;
  --gray-2: #e7eaef;
  --gray-3: #bfc5cf;
  --gray-4: #8d97a7;
  --gray-5: #6b7688;
  --gray-6: #404c60;

  /* === TEAL === */
  --teal: #00beb1;
  --dark-teal: #00847d;
  --pale-teal: #dff5f5;
  --deep-teal: #0a4949;

  /* === SECONDARY === */
  --orange: #fcebd1;
  --light-forest: #d3e8e3;
  --light-purple: #eee3ff;
  --light-indigo: #dedeff;
  --light-blue: #d7e9f5;
  --light-grey: #d5d5db;

  /* === TYPE === */
  --font-display: "Newsreader", "Tiempos Headline", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* === LAYOUT === */
  --container: 1312px;
  --pad-x: 24px;
  --nav-h: 64px;
  --section-y: 88px;
  --radius-card: 16px;
  --radius-section: 24px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); width: 100%; }

/* === TYPE SCALE === */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02em;
  letter-spacing: -0.02em;
}
h1 em, .h1 em { font-style: italic; font-weight: 300; }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.04em;
  letter-spacing: -0.02em;
  color: var(--black);
}
h2 em, .h2 em { font-style: italic; font-weight: 300; }

h3 { font-family: var(--font-body); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .spark { color: var(--teal); font-size: 13px; }

.lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-5);
}
.muted { color: var(--gray-5); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  cursor: pointer; border: none; white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--black); color: var(--white); padding: 10px 18px; border-radius: 34px; }
.btn--primary:hover { background: #15233d; transform: translateY(-1px); }
.btn--secondary { background: var(--white); color: var(--black); padding: 12px 24px; border-radius: 44px; }
.btn--secondary:hover { background: var(--pale-teal); transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: var(--black); padding: 12px 22px; border-radius: 44px; }
.btn--teal:hover { background: var(--dark-teal); color: var(--white); transform: translateY(-1px); }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--black); padding: 8px 14px; border-radius: 8px; }
.btn--ghost:hover { background: var(--gray-1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--dark-teal);
  transition: gap 0.2s ease;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover { gap: 11px; }
.link-arrow:hover svg { transform: translateX(2px); }

/* === ANNOUNCEMENT BAR === */
.announce {
  background: var(--black); color: var(--white);
  font-size: 13px; line-height: 1; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 48px; text-align: center;
}
.announce a { color: var(--teal); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.announce a svg { width: 13px; height: 13px; }
.announce__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; padding: 4px; line-height: 0; }
.announce__close:hover { color: #fff; }
.announce.hidden { display: none; }

/* === NAVBAR === */
.navbar { position: sticky; top: 0; z-index: 50; transition: padding 0.3s ease; }
.navbar__inner { max-width: var(--container); margin: 0 auto; padding: 14px var(--pad-x) 0; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.navbar__inner > * { pointer-events: auto; }

/* Logo box (dark) */
.navbar__logo { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 8px; background: var(--black); flex-shrink: 0; }
.navbar__logo img { height: 16px; width: auto; display: block; }

/* Nav box (white pill) */
.navbar__nav { display: flex; align-items: center; height: 34px; padding: 0 5px; border-radius: 8px; background: var(--white); gap: 1px; }
.navbar__nav a { display: inline-flex; align-items: center; height: 26px; padding: 0 13px; border-radius: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.005em; color: var(--gray-6); transition: background 0.15s ease, color 0.15s ease; }
.navbar__nav a:hover { background: var(--gray-1); color: var(--black); }

.navbar__spacer { flex: 1; pointer-events: none; }

/* CTA pill (teal, brand) */
.navbar__cta-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 18px; border-radius: 999px; background: var(--teal); color: var(--black); font-size: 12.5px; font-weight: 500; letter-spacing: 0.005em; white-space: nowrap; flex-shrink: 0; transition: background 0.18s ease, color 0.18s ease; }
.navbar__cta-btn:hover { background: var(--dark-teal); color: #fff; }

.navbar__toggle { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--black); border: none; cursor: pointer; color: #fff; flex-shrink: 0; }
.navbar__mobile { display: none; }

/* === HERO === */
.hero { position: relative; z-index: 1; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; margin: calc(-1 * (34px + 14px)) 0 0; border-radius: 0; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .placeholder { width: 100%; height: 100%; min-height: 0; border-radius: 0; border: none; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg .placeholder::after { color: rgba(255,255,255,0.6); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(4,14,31,0.5) 0%, rgba(4,14,31,0.28) 28%, rgba(4,14,31,0.34) 56%, rgba(4,14,31,0.68) 100%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: clamp(120px, 17vh, 190px) var(--pad-x) 128px; text-shadow: 0 1px 24px rgba(4,14,31,0.32); }

/* Cofactr-style two-row grid with shared columns + divider line between */
.hero__topgrid, .hero__row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 36px; }
.hero__topgrid { align-items: end; padding-bottom: 26px; }
.hero__row { align-items: start; padding-top: 26px; position: relative; }
.hero__row::before { content: ''; position: absolute; top: 0; left: -80px; right: -80px; height: 1px; background: rgba(255,255,255,0.72); }

.hero__kicker { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -0.01em; color: var(--white); }
.hero__title { color: var(--white); font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.06; letter-spacing: -0.015em; }
.htg--right { display: block; justify-self: end; text-align: right; align-self: end; transform: translateY(12px); }
.hero__trust-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.66); margin: 0; white-space: nowrap; }

.hero__cell--left { justify-self: start; text-align: left; }
.hero__cell--center { justify-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__cell--right { justify-self: end; text-align: right; }
.hero__tag { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 240px; }
.hero__lead { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 340px; }
.hero__btn { background: var(--white); color: var(--black); padding: 7px 15px; border-radius: 6px; font-size: 12.5px; font-weight: 500; }
.hero__btn:hover { background: var(--pale-teal); transform: translateY(-1px); }
.hero__logos { display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 3vw, 40px); }
.hero__logo { width: auto; opacity: 0.92; }
.hero__trust-label--mobile { display: none; }
.hero__logo--via { height: 38px; }
.hero__logo--yns { height: 25px; }

/* === VIDEO WIDGET (Giga-style — subtle block, auto-playing visual) === */
.video-widget {
  position: absolute; right: 30px; bottom: 30px; z-index: 4;
  display: flex; align-items: center; gap: 14px; max-width: 326px;
  padding: 12px; border-radius: 16px;
  background: rgba(8,16,30,0.06); border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  text-align: left; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.video-widget:hover { background: rgba(8,16,30,0.16); border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.vw__thumb { position: relative; flex: 0 0 auto; width: 124px; height: 88px; border-radius: 9px; overflow: hidden; background: #06121f url('../assets/poster-portfolio.webp') center/cover no-repeat; }
.vw__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vw__info { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.vw__text { font-size: 13.5px; font-weight: 500; line-height: 1.34; color: #fff; max-width: 160px; }
.vw__meta { font-size: 12px; color: rgba(255,255,255,0.62); transition: color 0.18s ease; }
.video-widget:hover .vw__meta { color: #fff; }
@media (prefers-reduced-motion: reduce) { .vw__video { } }

/* === SECTIONS === */
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--gray-0); }
.section-head { max-width: 640px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }

/* === HOW IT WORKS (feature tabs) === */
.how { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.how__intro .eyebrow { margin-bottom: 16px; }
.how__intro h2 { margin-bottom: 14px; }
.how__intro .lead { margin-bottom: 18px; }
.tabs { margin-top: 30px; }
.tab { padding: 18px 0; border-top: 1px solid var(--gray-2); cursor: pointer; transition: opacity 0.25s ease; }
.tab:not(.active) { opacity: 0.55; }
.tab:not(.active):hover { opacity: 0.8; }
.tab.active { border-top: 2px solid var(--black); padding-top: 17px; }
.tab__num { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--dark-teal); margin-bottom: 5px; }
.tab__label { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.tab__body { font-size: 14px; color: var(--gray-5); line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease; }
.tab.active .tab__body { max-height: 120px; opacity: 1; }
.how__panel { position: relative; }
.how__panel .placeholder { aspect-ratio: 4 / 3.2; min-height: 0; border-radius: var(--radius-card); background: var(--gray-1); border-color: var(--gray-3); box-shadow: 0 24px 60px -28px rgba(4,14,31,0.22); }
.how__panel .placeholder::after { color: var(--gray-5); }

/* === STATS === */
.stats { position: relative; overflow: hidden; }
.stats__map { position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(circle, var(--gray-3) 1.1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 75%); }
.stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 52px); line-height: 1em; color: var(--black); letter-spacing: -0.01em; }
.stat__num .suffix { font-size: 0.62em; font-weight: 300; color: var(--dark-teal); }
.stat__label { font-size: 14px; color: var(--gray-5); margin-top: 10px; line-height: 1.45; }

/* === SERVICES (pale teal rounded panel) === */
.panel { border-radius: var(--radius-section); padding: 80px 64px; }
.panel--teal { background: var(--pale-teal); }
.panel--orange { background: var(--orange); }
.panel__head { max-width: 640px; margin-bottom: 48px; }
.panel__head .eyebrow { margin-bottom: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.svc { display: flex; flex-direction: column; gap: 10px; }
.svc__icon { width: 36px; height: 36px; color: var(--dark-teal); margin-bottom: 4px; }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { font-size: 17px; font-weight: 600; color: var(--black); }
.svc p { font-size: 14px; color: var(--gray-6); line-height: 1.55; }

/* === POSITIONING (orange) — problem/solution === */
.posit { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.posit__head h2 { margin-bottom: 16px; }
.ps-list { display: flex; flex-direction: column; gap: 22px; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.ps-item { background: rgba(255,255,255,0.65); border-radius: 12px; padding: 18px 20px; display: flex; gap: 13px; align-items: flex-start; }
.ps-item--sol { background: rgba(255,255,255,0.92); }
.ps-ico { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.ps-ico svg { width: 13px; height: 13px; }
.ps-ico--x { background: rgba(4,14,31,0.08); color: var(--gray-6); }
.ps-ico--c { background: var(--dark-teal); color: #fff; }
.ps-item p { font-size: 14px; line-height: 1.5; color: var(--black); }
.ps-item--prob p { color: var(--gray-6); }

/* === TESTIMONIAL SLIDER === */
.tmnl__viewport { overflow: hidden; border-radius: var(--radius-card); }
.tmnl__track { display: flex; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.tmnl__slide { flex: 0 0 100%; }
.tmnl-card { background: var(--light-blue); border-radius: var(--radius-card); padding: 56px 56px; }
.tmnl-card__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.22; color: var(--black); margin-bottom: 30px; letter-spacing: -0.01em; }
.tmnl-card__author { display: flex; align-items: center; gap: 14px; }
.tmnl-card__author .placeholder { width: 50px; height: 50px; min-height: 0; border-radius: 50%; flex: 0 0 auto; background: rgba(255,255,255,0.6); border-color: var(--gray-3); }
.tmnl-card__author .placeholder::after { font-size: 8px; max-width: 46px; padding: 3px; color: var(--gray-5); }
.tmnl__name { font-size: 16px; font-weight: 500; color: var(--black); }
.tmnl__company { font-size: 14px; color: var(--gray-5); margin-top: 1px; }
.tmnl__nav { display: flex; gap: 10px; margin-top: 26px; justify-content: flex-end; }
.tmnl__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gray-2); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; color: var(--black); }
.tmnl__btn:hover { background: var(--gray-1); border-color: var(--gray-3); }
.tmnl__btn svg { width: 18px; height: 18px; }

/* === PORTFOLIO CARDS === */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard { background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 1px 0 rgba(4,14,31,0.04); transition: transform 0.22s ease, box-shadow 0.22s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(4,14,31,0.1); }
.pcard__media { position: relative; }
.pcard__media .placeholder { aspect-ratio: 16/9; min-height: 0; border-radius: 0; border: none; background: var(--gray-1); }
.pcard__media .placeholder::after { color: var(--gray-5); }
.pcard__tag { position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dark-teal); background: rgba(255,255,255,0.92); padding: 5px 11px; border-radius: 30px; }
.pcard__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--black); letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; padding: 5px 11px; border-radius: 30px; background: var(--gray-1); color: var(--gray-6); }
.pcard__foot { margin-top: auto; padding-top: 4px; }

/* === PRICING === */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.tier { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--radius-card); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.tier--featured { background: var(--black); border-color: var(--black); color: var(--white); }
.tier--featured .tier__desc, .tier--featured .tier__list li { color: rgba(255,255,255,0.78); }
.tier--featured .tier__price { color: var(--teal); }
.tier__flag { align-self: flex-start; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--black); background: var(--teal); padding: 4px 10px; border-radius: 30px; }
.tier__name { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.tier__price { font-size: 14px; font-weight: 600; color: var(--dark-teal); }
.tier__desc { font-size: 14px; color: var(--gray-5); line-height: 1.5; }
.tier__list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.tier__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--gray-6); line-height: 1.45; }
.tier__list svg { width: 15px; height: 15px; color: var(--dark-teal); flex: 0 0 auto; margin-top: 3px; }
.tier--featured .tier__list svg { color: var(--teal); }

/* === CTA (dark teal) === */
.cta-wrap { padding: var(--section-y) 0; }
.cta { background: var(--dark-teal); border-radius: var(--radius-section); padding: 80px 48px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 70%); }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { color: var(--white); margin-bottom: 16px; font-weight: 400; }
.cta h2 em { font-style: normal; font-weight: 400; }
.cta p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 520px; margin: 0 auto 30px; }
.cta .btn { font-size: 15px; font-weight: 500; padding: 12px 26px; }

/* === FOOTER === */
.footer { background: var(--gray-0); padding: 56px 0 0; position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }
.footer__wm { overflow: hidden; height: clamp(122px, 19vw, 384px); margin-top: clamp(18px, 2.6vw, 40px);
  display: flex; align-items: flex-start; justify-content: center; pointer-events: none; user-select: none; }
.footer__wm span { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(150px, 26vw, 520px);
  line-height: 1; letter-spacing: -0.04em; color: var(--gray-3); white-space: nowrap; transform: translateY(0.04em); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; }
.footer__brand .footer__logo { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--black); margin-bottom: 16px; }
.footer__brand .footer__logo img { height: 14px; width: auto; display: block; }
.footer__tagline { font-size: 14px; color: var(--gray-5); max-width: 250px; line-height: 1.6; }
.footer__col h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark-teal); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--gray-5); line-height: 2; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--black); }
.footer__bottom { border-top: 1px solid var(--gray-2); margin-top: 12px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer__legal-wrap { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.footer__legal { font-size: 12px; color: var(--gray-4); }
.footer__legal-links { display: inline-flex; align-items: center; gap: 20px; }
.footer__legal-links a { font-size: 12px; color: var(--gray-4); text-decoration: none; transition: color 0.2s ease; }
.footer__legal-links a:hover { color: var(--black); }
.footer__social { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray-5); transition: color 0.2s ease; }
.footer__social:hover { color: var(--dark-teal); }
.footer__social svg { width: 16px; height: 16px; }

/* === LEGAL PAGES === */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: calc(34px + 14px + 40px) var(--pad-x) 0; }
.legal__eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-teal); margin-bottom: 16px; }
.legal__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: var(--deep-teal); margin-bottom: 14px; }
.legal__updated { font-size: 14px; color: var(--gray-4); margin-bottom: 40px; }
.legal__body { padding-bottom: var(--section-y); }
.legal__body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); color: var(--black); letter-spacing: -0.015em; margin: 44px 0 14px; }
.legal__body h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--black); margin: 26px 0 8px; }
.legal__body p { font-size: 16px; line-height: 1.75; color: var(--gray-6); margin-bottom: 16px; }
.legal__body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.legal__body li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.65; color: var(--gray-6); }
.legal__body li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--dark-teal); }
.legal__body a { color: var(--dark-teal); text-decoration: none; border-bottom: 1px solid currentColor; }
.legal__body strong { color: var(--black); font-weight: 600; }
.legal__intro { font-size: 18px; line-height: 1.7; color: var(--black); margin-bottom: 8px; }
.legal__divider { border: none; border-top: 1px solid var(--gray-2); margin: 0; }
@media (max-width: 760px) {
  .legal-wrap { padding-top: calc(34px + 14px + 24px); }
}

/* === PLACEHOLDER === */
.placeholder { position: relative; background: var(--gray-1); border: 2px dashed var(--gray-3); border-radius: var(--radius-card); min-height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.placeholder::before { content: ""; position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(rgba(4,14,31,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(4,14,31,0.035) 1px, transparent 1px); background-size: 22px 22px; }
.placeholder::after { content: attr(data-label); position: relative; color: var(--gray-5); font-size: 12.5px; font-style: italic; font-family: var(--font-body); text-align: center; padding: 16px; max-width: 300px; line-height: 1.5; }

/* === FADE-IN-UP === */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.fade-in-up.visible { opacity: 1; transform: none; }
.fade-in-up[data-delay="1"] { transition-delay: 0.08s; }
.fade-in-up[data-delay="2"] { transition-delay: 0.16s; }
.fade-in-up[data-delay="3"] { transition-delay: 0.24s; }
html.reveal-fallback .fade-in-up { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1; transform: none; transition: none; }
  .rotator__word, .hero__trust .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* === PAGE HEADER (inner pages — dark band under boxed nav) === */
.pagehead { position: relative; margin-top: calc(-1 * (34px + 14px)); padding: calc(34px + 14px + 72px) 0 84px; overflow: hidden;
  background: linear-gradient(142deg, #06121f 0%, #0a302e 58%, #0c403a 100%); color: #fff; }
.pagehead::after { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.55;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 25%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 25%, #000, transparent 78%); }
.pagehead__inner { position: relative; z-index: 1; max-width: 820px; }
.pagehead .eyebrow { color: var(--teal); margin-bottom: 18px; }
.pagehead .eyebrow::before { background: var(--teal); }
.pagehead h1 { color: #fff; font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; }
.pagehead h1 em { font-style: italic; }
.pagehead__lead { color: rgba(255,255,255,0.82); font-size: 18px; line-height: 1.65; margin-top: 20px; max-width: 640px; }

/* === SERVICE BLOCKS (diensten page) === */
.svc-list { display: flex; flex-direction: column; }
.svc-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--gray-2); align-items: start; }
.svc-block:first-child { border-top: none; padding-top: 8px; }
.svc-block__head { display: flex; flex-direction: column; gap: 18px; }
.svc-block__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--pale-teal); color: var(--dark-teal); display: grid; place-items: center; }
.svc-block__icon svg { width: 24px; height: 24px; }
.svc-block__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; color: var(--black); letter-spacing: -0.01em; }
.svc-block__clients { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-block__clients .chip { background: var(--white); border: 1px solid var(--gray-2); color: var(--gray-6); font-weight: 500; }
.svc-block__body { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.svc-block__desc { font-size: 17px; line-height: 1.6; color: var(--gray-6); }
.svc-block__case { background: var(--gray-0); border: 1px solid var(--gray-1); border-radius: 14px; padding: 22px 24px; }
.svc-block__case-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dark-teal); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 7px; }
.svc-block__case-label::before { content: ""; width: 16px; height: 1px; background: var(--dark-teal); }
.svc-block__case p { font-size: 15px; line-height: 1.6; color: var(--gray-6); }

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  :root { --section-y: 64px; }
  .how { grid-template-columns: 1fr; gap: 24px; }
  .panel { padding: 56px 40px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
  .posit { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  /* Hero: tighten the 3-col grid on tablet */
  .hero__topgrid, .hero__row { gap: 24px; }
  .hero__kicker { font-size: clamp(20px, 2.6vw, 26px); }
  .hero__title { font-size: clamp(28px, 4vw, 40px); }
  .hero__logo--via { height: 32px; }
  .hero__logo--yns { height: 21px; }
}
@media (max-width: 760px) {
  :root { --pad-x: 18px; }
  .navbar__nav { display: none; }
  .navbar__toggle { display: inline-flex; }
  .navbar.open .navbar__mobile { display: flex; position: absolute; top: calc(34px + 14px + 8px); left: var(--pad-x); right: var(--pad-x); flex-direction: column; gap: 2px; background: var(--white); border-radius: 10px; padding: 8px; box-shadow: 0 14px 34px rgba(4,14,31,0.16); }
  .navbar__mobile a { padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--gray-6); border-radius: 8px; }
  .navbar__mobile a:hover { background: var(--gray-1); color: var(--black); }
  .hero__content { padding-top: 118px; }
  .hero { margin: calc(-1 * (34px + 14px)) 0 0; border-radius: 0; min-height: auto; }
  .hero__inner { padding: 108px var(--pad-x) 64px; gap: 0; }
  .hero__topgrid, .hero__row { grid-template-columns: 1fr; justify-items: start; text-align: left; gap: 18px; }
  .hero__topgrid { align-items: start; padding-bottom: 24px; }
  .hero__row { gap: 24px; padding-top: 24px; }
  .hero__row::before { left: 4px; right: 4px; }
  .hero__kicker { font-size: 19px; }
  .hero__kicker br { display: none; }
  .hero__title { font-size: clamp(32px, 8.6vw, 46px); }
  .hero__cell--left, .hero__cell--right, .htg--right { justify-self: start; text-align: left; transform: none; }
  .hero__cell--center { align-items: flex-start; }
  .hero__tag, .hero__lead { max-width: none; }
  .hero__trust-label { text-align: left; }
  .htg--right { display: none; }
  .hero__trust-label--mobile { display: block; margin: 0 0 14px; }
  .hero__logos { justify-content: flex-start; }
  .video-widget { right: 14px; bottom: 56px; flex-direction: column; align-items: center; gap: 6px; padding: 7px; border-radius: 10px; max-width: none; background: rgba(8,16,30,0.18); border-color: rgba(255,255,255,0.14); }
  .vw__thumb { width: 86px; height: 62px; border-radius: 6px; }
  .vw__text { display: none; }
  .vw__meta { font-size: 11px; text-align: center; }
  .panel { padding: 44px 22px; border-radius: 18px; }
  .svc-grid { grid-template-columns: 1fr; gap: 30px; }
  .ps-row { grid-template-columns: 1fr; gap: 14px; }
  .cards-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .how { gap: 16px; }
  .how__panel { aspect-ratio: 4 / 3; }
  .tmnl-card { padding: 36px 26px; }
  .cta { padding: 56px 26px; }
  .svc-block { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .pagehead { padding: calc(34px + 14px + 48px) 0 56px; }
}
