/* ═══════════════════════════════════════════════════════════════
   NEXER TECHNOLOGY — site.css
   Sitewide design system.

   Light, high-clarity B2B system. Space Grotesk for display,
   Inter for text. The four brand colours are used as SIGNAL
   (accents, tiles, chips) — never as body text, because none of
   them clears 4.5:1 on white. Every coloured text token below is
   a darkened variant that does.
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  /* neutrals */
  --paper:  #FFFFFF;
  --mist:   #F5F8FC;
  --cloud:  #EAF0F7;
  --ink:    #071A2C;
  --ink-2:  #3D5169;   /* body            — 8.0:1 */
  --ink-3:  #62768D;   /* meta / captions — 4.7:1 */
  --line:   #DCE6F0;
  --line-2: #C7D5E5;

  /* brand — graphic use */
  --cyan:  #2AD2F9;
  --pink:  #E13893;
  --teal:  #37AE96;
  --amber: #FFA81E;

  /* brand — safe on white for text */
  --cyan-ink:  #06657F;
  --pink-ink:  #B01C6C;
  --teal-ink:  #1C6A59;
  --amber-ink: #8A5400;

  /* brand — tinted surfaces */
  --cyan-wash:  #E4F8FE;
  --pink-wash:  #FDE9F3;
  --teal-wash:  #E4F5F1;
  --amber-wash: #FFF3DF;

  /* shape */
  --r-lg: 22px;
  --r:    14px;
  --r-sm: 9px;

  /* depth — light, layered, never heavy */
  --sh-1: 0 1px 2px rgba(7,26,44,0.05), 0 2px 8px rgba(7,26,44,0.04);
  --sh-2: 0 2px 4px rgba(7,26,44,0.05), 0 12px 28px -8px rgba(7,26,44,0.12);
  --sh-3: 0 4px 8px rgba(7,26,44,0.06), 0 24px 56px -16px rgba(7,26,44,0.18);

  /* rhythm */
  --gutter:  clamp(1.25rem, 5vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --maxw:    1220px;

  /* type */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --text:    'Inter', system-ui, sans-serif;
}


/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

img, svg, video { max-width: 100%; display: block; }
/* the rule above would otherwise defeat the hidden attribute */
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.4rem; border-radius: 0 0 var(--r-sm) 0;
  font-size: 0.85rem; font-weight: 500; text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan-ink);
  outline-offset: 2px;
  border-radius: 3px;
}

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


/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.shell {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding-inline: var(--gutter);
}
.section        { padding-block: var(--section); }
.section--mist  { background: var(--mist); }
.section--ink   { background: var(--ink); color: rgba(255,255,255,0.78); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.rule { height: 1px; background: var(--line); border: 0; }


/* ─────────────────────────────────────────────
   TYPE SCALE
───────────────────────────────────────────── */
.t-display {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
}
.t-h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
.t-h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.025em; }
.t-h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; }

.t-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.68; color: var(--ink-2); max-width: 58ch;
}
.t-body  { font-size: 1rem;    line-height: 1.75; color: var(--ink-2); max-width: 68ch; }
.t-small { font-size: 0.9rem;  line-height: 1.65; color: var(--ink-2); }
.t-meta  { font-size: 0.82rem; color: var(--ink-3); }

/* accent words inside translated headings (<i> and <em> come from the i18n strings) */
.t-display i, .t-h1 i, .t-h2 i { font-style: italic; color: var(--pink-ink); }
.t-display em, .t-h1 em, .t-h2 em { font-style: normal; color: var(--cyan-ink); }

/* eyebrow: small caps label with the brand X as its glyph */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--text);
  font-size: 0.73rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; width: 13px; height: 13px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  opacity: 0.85;
}

.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.sec-head .t-lead { margin-top: 1rem; }

.sec-head--split {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
}
.sec-head--split > div { max-width: 46ch; }


/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--text); font-size: 0.93rem; font-weight: 500;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, border-color 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* inline arrows carry no intrinsic size — give them one */
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
/* a back-pointing button slides the other way */
.btn--back:hover svg { transform: translateX(-3px); }

.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: #0D2B46; box-shadow: var(--sh-2); }

.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: var(--sh-1); }

.btn--onink { background: #fff; color: var(--ink); }
.btn--onink:hover { background: var(--cyan-wash); }

.btn--sm { padding: 0.66rem 1.2rem; font-size: 0.86rem; }

/* text link with a sliding arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }


/* ─────────────────────────────────────────────
   ACCENT SYSTEM
   One brand colour per card, applied through variables.
───────────────────────────────────────────── */
.a-cyan  { --a: var(--cyan);  --a-ink: var(--cyan-ink);  --a-wash: var(--cyan-wash); }
.a-pink  { --a: var(--pink);  --a-ink: var(--pink-ink);  --a-wash: var(--pink-wash); }
.a-teal  { --a: var(--teal);  --a-ink: var(--teal-ink);  --a-wash: var(--teal-wash); }
.a-amber { --a: var(--amber); --a-ink: var(--amber-ink); --a-wash: var(--amber-wash); }


/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--sh-1); }

.nav__bar {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.9rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: flex; align-items: center; gap: 0.35rem;
  list-style: none; margin-left: auto;
}
.nav__links a {
  display: block; padding: 0.5rem 0.9rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 450; color: var(--ink-2);
  text-decoration: none; transition: background 0.18s, color 0.18s;
}
.nav__links a:hover { background: var(--mist); color: var(--ink); }
.nav__links a[aria-current] { color: var(--ink); font-weight: 550; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

/* language switcher */
.lang {
  display: flex; align-items: center;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px;
}
.lang button {
  display: inline-flex; align-items: center; gap: 0.32rem;
  border: none; background: none; cursor: pointer;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-3); padding: 0.32rem 0.62rem; border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.lang button:hover { color: var(--ink); }
/* .active is the class i18n.js sets — keep the name in sync with it */
.lang button.active { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.lang img { width: 15px; height: 11px; object-fit: cover; border-radius: 2px; }

/* mobile */
.nav__burger {
  display: none; width: 42px; height: 42px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.nav__burger span {
  position: relative; display: block; width: 17px; height: 1.5px;
  background: var(--ink); transition: background 0.2s;
}
.nav__burger span::before, .nav__burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--ink); transition: transform 0.25s ease;
}
.nav__burger span::before { top: -5.5px; }
.nav__burger span::after  { top:  5.5px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.nav__drawer {
  display: none; border-top: 1px solid var(--line);
  background: var(--paper); padding: 0.6rem var(--gutter) 1.4rem;
}
.nav__drawer.is-open { display: block; }
.nav__drawer ul { list-style: none; }
.nav__drawer a {
  display: block; padding: 0.95rem 0; font-size: 1.05rem;
  font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__drawer .btn { width: 100%; margin-top: 1.1rem; }


/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(42% 55% at 82% 18%, rgba(42,210,249,0.13) 0%, transparent 70%),
    radial-gradient(38% 48% at 96% 72%, rgba(225,56,147,0.10) 0%, transparent 72%),
    var(--paper);
}

.hero__grid {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,0.92fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero h1 { margin-bottom: 1.4rem; }
.hero .t-lead { margin-bottom: 2.2rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* brand-mark composition */
/* The mark itself never moves. All the life comes from light:
   a halo that breathes behind it, and a highlight that sweeps across it. */
.hero__art {
  --mark-w: min(74%, 330px);
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1 / 0.92;
}
/* mark and highlight share one grid cell so they stay perfectly aligned */
.hero__art > * { grid-area: 1 / 1; }

.hero__art::before {
  content: ''; position: absolute; inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cyan-wash), var(--pink-wash), var(--amber-wash), var(--teal-wash), var(--cyan-wash));
  filter: blur(34px);
  animation: haloBreathe 7s ease-in-out infinite;
}
@keyframes haloBreathe {
  0%, 100% { opacity: 0.62; }
  50%      { opacity: 1; }
}

.hero__art img {
  position: relative;
  width: var(--mark-w); height: auto;
  filter: drop-shadow(0 20px 36px rgba(7,26,44,0.15))
          drop-shadow(0 0 26px rgba(42,210,249,0.30));
}

/* Light blooming out of the centre, masked to the mark's own silhouette so it
   travels down the four arms instead of spilling into a rectangle. */
.hero__shine {
  position: relative; pointer-events: none; overflow: hidden;
  width: var(--mark-w);
  aspect-ratio: 270 / 212;          /* the brand-x.svg viewBox */
  -webkit-mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
}
.hero__shine::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 118%; aspect-ratio: 1; border-radius: 50%;
  /* a ring rather than a filled disc: the light reads as travelling out
     along the arms, and the colours behind it come straight back */
  background: radial-gradient(circle,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0)    20%,
    rgba(255,255,255,0.66) 42%,
    rgba(255,255,255,0.10) 60%,
    rgba(255,255,255,0)    72%);
  transform: translate(-50%, -50%) scale(0.06);
  animation: shineBloom 6.5s ease-out infinite;
}
/* expands out of the centre, then waits out the rest of the cycle unseen */
@keyframes shineBloom {
  0%        { transform: translate(-50%, -50%) scale(0.06); opacity: 0; }
  7%        { opacity: 1; }
  54%, 100% { transform: translate(-50%, -50%) scale(2.9);  opacity: 0; }
}


/* ─────────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────────── */
.trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--sh-1); overflow: hidden;
}
.trust__cell { padding: 1.5rem 1.7rem; border-right: 1px solid var(--line); }
.trust__cell:last-child { border-right: none; }
.trust__k {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.45rem;
}
.trust__v {
  font-family: var(--display); font-size: 1.02rem;
  font-weight: 500; color: var(--ink); line-height: 1.4;
}


/* ─────────────────────────────────────────────
   CARDS
───────────────────────────────────────────── */
.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.8rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
/* accent hairline that draws in on hover */
.card::after {
  content: ''; position: absolute; inset: 0 auto auto 0;
  height: 3px; width: 100%; background: var(--a, var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card:hover::after { transform: scaleX(1); }

.card__tile {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--a-wash, var(--cyan-wash));
  color: var(--a-ink, var(--cyan-ink));   /* icons inherit this via currentColor */
}
.card__tile svg { width: 24px; height: 24px; }
.card__tile img { width: 22px; height: 22px; object-fit: contain; }
.card__tile span {
  width: 17px; height: 17px; display: block;
  background: var(--a, var(--cyan));
  -webkit-mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
}

.card__kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--a-ink, var(--cyan-ink));
  margin-bottom: 0.5rem;
}
.card h3 { font-size: 1.22rem; margin-bottom: 0.55rem; }
.card p  { font-size: 0.94rem; line-height: 1.62; color: var(--ink-2); flex: 1; }
.card__foot {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.3rem; font-size: 0.86rem; font-weight: 500; color: var(--ink);
}
.card__foot svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card:hover .card__foot svg { transform: translateX(4px); }

.card__num {
  position: absolute; top: 1.1rem; right: 1.3rem;
  font-family: var(--display); font-size: 1rem; font-weight: 500;
  color: var(--line-2); letter-spacing: 0.02em;
}

/* CTA variant that closes a grid */
.card--cta {
  justify-content: center;
  background: var(--ink); border-color: var(--ink);
}
.card--cta h3 { color: #fff; font-size: 1.35rem; }
.card--cta h3 i { font-style: italic; color: var(--cyan); }
.card--cta p  { color: rgba(255,255,255,0.72); flex: 0; margin-bottom: 1.3rem; }
.card--cta .card__foot { color: var(--cyan); }
.card--cta::after { display: none; }

/* product card — larger, with a tinted header block */
.card--product { padding: 0; }
.card--product .prod__head {
  padding: 1.7rem 1.7rem 1.4rem;
  background: var(--a-wash, var(--cyan-wash));
  border-bottom: 1px solid var(--line);
}
.card--product .prod__body { padding: 1.5rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.prod__platform {
  display: inline-flex; align-items: center; gap: 0.42rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--a-ink, var(--cyan-ink));
  margin-bottom: 0.8rem;
}
.prod__platform::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--a, var(--cyan));
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.chip {
  font-size: 0.76rem; font-weight: 500; color: var(--ink-2);
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.3rem 0.75rem;
}
.chip--accent { background: var(--a-wash); border-color: transparent; color: var(--a-ink); }


/* ─────────────────────────────────────────────
   VALUES / FEATURE LIST
───────────────────────────────────────────── */
.vlist { display: grid; gap: 1rem; }
.vitem {
  display: grid; grid-template-columns: 42px 1fr; gap: 1.1rem;
  align-items: start; padding: 1.4rem 1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.vitem__mark {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--a-wash, var(--cyan-wash));
  color: var(--a-ink, var(--cyan-ink));
}
.vitem__mark svg { width: 22px; height: 22px; }
.vitem__mark span {
  width: 15px; height: 15px; display: block; background: var(--a, var(--cyan));
  -webkit-mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
}
.vitem h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.vitem p  { font-size: 0.92rem; line-height: 1.6; }


/* ─────────────────────────────────────────────
   QUOTE BAND
───────────────────────────────────────────── */
.quote { text-align: center; }
.quote__text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.35; letter-spacing: -0.025em;
  color: #fff; max-width: 26ch; margin-inline: auto;
}
.quote__text em { font-style: normal; color: var(--cyan); }
.quote__src {
  margin-top: 1.5rem; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}


/* ─────────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact__aside .t-lead { margin-top: 1rem; }
.contact__points { list-style: none; margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact__points li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.94rem; color: var(--ink-2);
}
.contact__points li::before {
  content: ''; flex-shrink: 0; margin-top: 0.34rem;
  width: 13px; height: 13px; background: var(--cyan);
  -webkit-mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
  mask: url('/assets/images/brand-x.svg') center / contain no-repeat;
}

.form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--sh-2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field--full { grid-column: 1 / -1; }
.field > span {
  display: block; font-size: 0.8rem; font-weight: 550;
  color: var(--ink); margin-bottom: 0.38rem;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--text); font-size: 0.96rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 0.78rem 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-ink);
  box-shadow: 0 0 0 3px rgba(6,101,127,0.12);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--pink-ink); }
.field-error { display: block; font-size: 0.8rem; color: var(--pink-ink); margin-top: 0.34rem; }

/* sized to its label, not to the form — a full-width bar reads as a banner */
.form__submit { margin-top: 0.4rem; }
.form__submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-msg { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); font-size: 0.92rem; }
.form-msg.success { background: var(--teal-wash); color: var(--teal-ink); }
.form-msg.error   { background: var(--pink-wash); color: var(--pink-ink); }


/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,0.68); }
.footer__top {
  display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer__brand img { height: 30px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.92rem; line-height: 1.7; max-width: 34ch; color: rgba(255,255,255,0.62); }

.footer h4 {
  font-family: var(--text); color: #fff;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer a {
  font-size: 0.92rem; color: rgba(255,255,255,0.68);
  text-decoration: none; transition: color 0.18s;
}
.footer a:hover { color: #fff; }

.footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bar p { font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer__top-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; color: rgba(255,255,255,0.8);
  padding: 0.5rem 1.1rem; font-size: 0.84rem; cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.footer__top-btn:hover { border-color: #fff; color: #fff; }


/* ─────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────── */
/* scoped to .js so content is never hidden when scripts do not run */
.js [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}


/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art  { order: -1; aspect-ratio: auto; padding-block: 1rem 1.5rem; }
  .hero__art { --mark-w: min(46%, 190px); }
  .hero__art::before { inset: 18% 26%; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  /* the drawer already carries the CTA — keeping it here overflows the bar */
  .nav__cta { display: none; }
  .nav__actions { margin-left: auto; }
  .trust__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .trust__cell:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .lang button span { display: none; }
  .lang button { padding: 0.36rem 0.5rem; }
}
