:root {
  --navy-950: #051422;
  --navy-900: #071b2f;
  --navy-800: #0c2942;
  --navy-700: #153a55;
  --ink: #0a2033;
  --slate: #506675;
  --slate-light: #78909d;
  --teal: #20ad9f;
  --teal-bright: #2bc4b5;
  --teal-pale: #e7f6f3;
  --gold: #c99d54;
  --paper: #ffffff;
  --mist: #f3f7f7;
  --line: #dce6e7;
  --error: #a93636;
  --shadow: 0 24px 70px rgba(5, 24, 39, 0.1);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-height: 82px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--navy-950);
  background: #8de2d9;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 132px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 11px 16px;
  color: var(--navy-950);
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  font-weight: 600;
}

h2 {
  max-width: 770px;
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #a9c3cc;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: var(--teal-bright);
}

.eyebrow-dark {
  color: var(--slate);
}

.lead {
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: var(--teal-bright);
  box-shadow: 0 12px 32px rgba(43, 196, 181, 0.2);
}

.button-primary:hover {
  background: #54d2c6;
  box-shadow: 0 16px 36px rgba(43, 196, 181, 0.28);
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--navy-950);
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(1, 20, 29, 0.14);
}

.button-light:hover {
  background: var(--teal-pale);
}

.button-small {
  min-height: 43px;
  padding: 0 18px;
  font-size: 0.78rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(5, 20, 34, 0.94);
  box-shadow: 0 10px 34px rgba(0, 11, 20, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: var(--teal-bright);
  stroke-linecap: round;
  stroke-width: 2.8;
}

.brand-mark circle {
  fill: var(--navy-900);
  stroke: var(--teal-bright);
  stroke-width: 2.5;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.91rem;
  letter-spacing: 0.09em;
}

.brand-text small {
  margin-top: 5px;
  color: #91a8b4;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 25px);
}

.primary-nav > a:not(.button) {
  position: relative;
  color: #c5d3d9;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a.is-active {
  color: var(--paper);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button-nav {
  color: var(--navy-950);
  background: var(--teal-bright);
}

.language-note {
  color: #78909d;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: help;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 850px;
  padding: 190px 0 0;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 33%, rgba(28, 118, 120, 0.24), transparent 27%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, #09273a 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to right, transparent, black 42%, black 80%, transparent);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(410px, 0.88fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 82px;
  animation: heroReveal 800ms both ease-out;
}

.hero-lead {
  max-width: 730px;
  margin-bottom: 36px;
  color: #c2d1d7;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: #8fa7b2;
  font-size: 0.78rem;
}

.hero-note svg {
  width: 18px;
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 2;
}

.hero-visual {
  position: relative;
  width: 680px;
  margin-left: -50px;
  animation: heroVisualReveal 1000ms 120ms both ease-out;
}

.hero-visual::after {
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(18, 97, 105, 0.2), transparent 65%);
  filter: blur(20px);
}

.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #bdd0d6;
  background: rgba(7, 27, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(0, 10, 18, 0.2);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.visual-label span {
  width: 6px;
  height: 6px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(43, 196, 181, 0.12);
}

.visual-label-a { top: 19%; left: 4%; }
.visual-label-b { top: 43%; right: 2%; }
.visual-label-c { bottom: 15%; left: 16%; }

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 74px;
  color: #8ba3ae;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-footer i {
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualReveal {
  from { opacity: 0; transform: translateX(30px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Shared section patterns */
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-intro h2,
.section-intro p {
  margin-bottom: 0;
}

.section-intro > p {
  color: var(--slate);
}

/* About */
.about {
  position: relative;
  background: var(--paper);
}

.about::before {
  position: absolute;
  top: 132px;
  left: 0;
  width: calc((100vw - var(--container)) / 2 - 45px);
  height: 1px;
  content: "";
  background: var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 120px;
}

.about-copy {
  color: var(--slate);
}

.about-copy p:not(.lead) {
  margin-bottom: 22px;
}

.principle {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle p {
  margin: 0 !important;
}

.principle-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--teal);
  background: var(--teal-pale);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Services */
.services {
  background: var(--mist);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(10, 38, 54, 0.05);
}

.service-card {
  position: relative;
  min-height: 320px;
  padding: 38px 34px 34px;
  overflow: hidden;
  background: var(--paper);
  transition: transform 220ms ease, background 220ms ease;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover {
  z-index: 2;
  background: #fcfefe;
  transform: translateY(-3px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 38px;
  color: var(--teal);
  background: var(--teal-pale);
  border-radius: 50%;
}

.service-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-index {
  position: absolute;
  top: 35px;
  right: 32px;
  color: #a7b8bf;
  font-family: var(--font-display);
  font-size: 0.68rem;
}

.service-card h3 {
  max-width: 290px;
  margin-bottom: 17px;
}

.service-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.91rem;
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-900);
}

.process::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.13;
  background-image: linear-gradient(110deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, transparent 50%);
  background-size: 120px 120px;
}

.process-glow {
  position: absolute;
  top: 20%;
  right: -280px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(43, 196, 181, 0.12), transparent 65%);
}

.process .container {
  position: relative;
}

.section-intro-light > p {
  color: #9db0b9;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  margin: 82px 0 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 24px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43, 196, 181, 0.6) 12%, rgba(43, 196, 181, 0.25) 88%, transparent);
}

.process-step {
  position: relative;
  padding: 0 22px;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin-bottom: 34px;
  color: var(--navy-950);
  background: var(--teal-bright);
  border: 7px solid var(--navy-900);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(43, 196, 181, 0.4);
}

.process-step h3 {
  min-height: 54px;
  margin-bottom: 15px;
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: #98adb7;
  font-size: 0.82rem;
  line-height: 1.7;
}

.process-disclaimer {
  max-width: 910px;
  margin: 72px 0 0;
  padding: 22px 26px;
  color: #a9bcc4;
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid var(--gold);
  font-size: 0.8rem;
}

.process-disclaimer strong {
  color: #dce6e9;
}

/* Audiences */
.audiences {
  background: var(--paper);
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 110px;
  align-items: start;
}

.audience-copy {
  position: sticky;
  top: 120px;
}

.audience-copy .lead {
  max-width: 550px;
  color: var(--slate);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
}

.text-link span {
  color: var(--teal);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.audience-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.audience-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  transition: padding 180ms ease, color 180ms ease, background 180ms ease;
}

.audience-list li:hover {
  padding-left: 10px;
  color: var(--teal);
  background: linear-gradient(90deg, var(--teal-pale), transparent 80%);
}

.audience-list span {
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
}

/* Benefits */
.benefits {
  background: var(--mist);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  position: relative;
  min-height: 245px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.benefit-card:hover {
  border-color: #b3cfcd;
  box-shadow: 0 18px 40px rgba(10, 38, 54, 0.07);
  transform: translateY(-4px);
}

.benefit-card > span {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.benefit-card h3 {
  margin-bottom: 13px;
}

.benefit-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.89rem;
}

/* CTA */
.cta-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--teal);
}

.cta-band::after {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 480px;
  height: 480px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to right, black, transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 90px;
  align-items: center;
}

.cta-inner h2 {
  max-width: 820px;
  margin-bottom: 19px;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
}

.cta-inner p:not(.eyebrow) {
  max-width: 730px;
  margin: 0;
  color: #e7fffc;
}

.cta-inner .eyebrow {
  color: #dcfffb;
}

.cta-inner .eyebrow > span {
  background: var(--paper);
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(550px, 1fr);
  gap: 100px;
  align-items: start;
}

.contact-copy {
  padding-top: 18px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--slate);
}

.contact-email-block {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-email-block span {
  color: var(--slate-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-email-block a {
  width: fit-content;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.17rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-email-block a:hover {
  color: var(--teal);
}

.contact-expectation {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  margin-top: 30px;
}

.contact-expectation svg {
  width: 30px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-expectation p {
  margin: 0;
  color: var(--slate);
  font-size: 0.82rem;
}

.form-panel {
  padding: 44px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.field label > span:not(.optional),
.checkbox-field label > span {
  color: var(--error);
}

.optional {
  margin-left: 5px;
  color: var(--slate-light);
  font-size: 0.65rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbd8da;
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 14px;
}

.field select {
  padding-right: 42px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field textarea {
  min-height: 140px;
  max-height: 340px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9db9bc;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32, 173, 159, 0.13);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fffafa;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--slate-light);
  font-size: 0.64rem;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--error);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 5px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--teal);
}

.checkbox-field input[aria-invalid="true"] {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

.checkbox-field label {
  color: var(--slate);
  font-size: 0.73rem;
  line-height: 1.65;
}

.checkbox-field a {
  color: var(--ink);
  border-bottom: 1px solid var(--teal);
  font-weight: 700;
}

.checkbox-error {
  margin-left: 30px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.form-footer p {
  margin: 0;
  color: var(--slate-light);
  font-size: 0.65rem;
}

.form-footer p span {
  color: var(--error);
}

.submit-button {
  min-width: 200px;
  border: 0;
}

.submit-button svg {
  width: 18px;
  margin-left: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.submit-button.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-status:not(:empty) {
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--error);
  background: #fff3f3;
  border-left: 3px solid var(--error);
  font-size: 0.76rem;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.site-footer {
  color: #9fb1ba;
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.9fr;
  gap: 80px;
  padding-top: 78px;
  padding-bottom: 64px;
}

.brand-footer {
  color: var(--paper);
}

.footer-brand > p {
  max-width: 390px;
  margin: 24px 0 0;
  font-size: 0.82rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--teal-bright);
}

.footer-email {
  color: #d8e3e7;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--teal-bright);
}

/* Interior pages */
.subpage-header {
  background: var(--navy-950);
}

.page-hero {
  padding: 180px 0 90px;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 20%, rgba(43, 196, 181, 0.14), transparent 25%),
    var(--navy-900);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #b4c6cd;
  font-size: 1.05rem;
}

.legal-content {
  padding: 90px 0 120px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 90px;
  justify-content: center;
}

.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 23px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--slate);
  font-size: 0.74rem;
}

.legal-nav a:hover {
  color: var(--teal);
}

.legal-article h2 {
  margin-top: 58px;
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  color: var(--slate);
}

.legal-article a {
  color: var(--ink);
  border-bottom: 1px solid var(--teal);
  font-weight: 600;
}

.legal-notice {
  margin-bottom: 45px;
  padding: 22px 25px;
  color: var(--slate);
  background: #fffaf0;
  border-left: 3px solid var(--gold);
  font-size: 0.84rem;
}

.success-page {
  display: grid;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 35%, rgba(43, 196, 181, 0.2), transparent 28%),
    var(--navy-950);
}

.success-main {
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
}

.success-card {
  width: min(100%, 720px);
  padding: clamp(35px, 7vw, 70px);
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 30px;
  color: var(--navy-950);
  background: var(--teal-bright);
  border-radius: 50%;
}

.success-icon svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.success-card h1 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.success-card p {
  margin-bottom: 35px;
  color: #b9cbd2;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.services-grid .reveal:nth-child(2),
.benefits-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.services-grid .reveal:nth-child(3),
.benefits-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(5),
.benefits-grid .reveal:nth-child(5) { transition-delay: 60ms; }
.services-grid .reveal:nth-child(6),
.benefits-grid .reveal:nth-child(6) { transition-delay: 120ms; }

@media (max-width: 1120px) {
  :root { --header-height: 74px; }

  .primary-nav {
    gap: 15px;
  }

  .primary-nav > a:not(.button) {
    font-size: 0.7rem;
  }

  .primary-nav a[href="#vyhody"] {
    display: none;
  }

  .hero {
    min-height: 800px;
    padding-top: 165px;
  }

  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-visual {
    width: 610px;
    margin-left: -90px;
  }

  .about-layout,
  .audience-layout {
    gap: 70px;
  }

  .process-step {
    padding: 0 13px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.65fr) minmax(500px, 1fr);
    gap: 55px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 100px 0;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(86vw, 390px);
    padding: 105px 34px 35px;
    color: var(--paper);
    background: var(--navy-950);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    transition: transform 250ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav > a:not(.button) {
    display: block !important;
    padding: 10px 0;
    color: #d0dce0;
    font-family: var(--font-display);
    font-size: 1.1rem;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .primary-nav .button-nav {
    margin-top: 16px;
  }

  .language-note {
    margin-top: auto;
  }

  body.menu-open::after {
    position: fixed;
    inset: 0;
    z-index: 90;
    content: "";
    background: rgba(0, 12, 22, 0.66);
    backdrop-filter: blur(3px);
  }

  .hero {
    padding-top: 150px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 15px;
  }

  .hero-visual {
    width: min(100%, 690px);
    margin: -65px auto -10px;
  }

  .about-layout,
  .audience-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about::before {
    display: none;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .process-list::before {
    top: 15px;
    bottom: 30px;
    left: 24px;
    width: 1px;
    height: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 18px;
    padding: 0 0 35px;
  }

  .step-number {
    margin-bottom: 0;
  }

  .process-step h3 {
    min-height: auto;
  }

  .process-disclaimer {
    margin-top: 25px;
  }

  .audience-copy {
    position: static;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-inner .button {
    width: fit-content;
  }

  .contact-layout {
    max-width: 760px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-column:last-child {
    grid-column: 2;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .brand-text strong {
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

  .hero-copy {
    padding-bottom: 35px;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-visual {
    width: 570px;
    max-width: none;
    margin: -55px 0 -30px -125px;
  }

  .visual-label-a { left: 18%; }
  .visual-label-b { right: 8%; }
  .visual-label-c { left: 26%; }

  .hero-footer {
    gap: 10px;
    overflow-x: auto;
    font-size: 0.58rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 42px;
  }

  .about-layout {
    gap: 25px;
  }

  .principle {
    grid-template-columns: 54px 1fr;
    gap: 15px;
  }

  .principle-number {
    width: 50px;
    height: 50px;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
    padding: 30px 27px;
  }

  .service-icon {
    margin-bottom: 28px;
  }

  .process-step {
    grid-template-columns: 55px 1fr;
    gap: 13px;
  }

  .process-list::before {
    left: 24px;
  }

  .audience-layout {
    gap: 45px;
  }

  .audience-list li {
    grid-template-columns: 42px 1fr;
    min-height: 72px;
    font-size: 0.96rem;
  }

  .cta-band {
    padding: 78px 0;
  }

  .cta-inner .button {
    width: 100%;
  }

  .contact-layout {
    gap: 45px;
  }

  .form-panel {
    margin-inline: -8px;
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 60px;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px 0;
  }

  .page-hero {
    padding: 145px 0 70px;
  }

  .legal-content {
    padding: 65px 0 80px;
  }

  .legal-article ul {
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
