:root {
  --navy: #002945;
  --amber: #FDAF17;
  --orange: #F47936;
  --red: #EF403F;
  --teal: #2093B1;

  --text-secondary: #33505F;
  --text-muted: #6B7C89;

  --bg: #F4F5F6;
  --white: #FFFFFF;

  --amber-light: #FEF3DC;
  --orange-light: #FDE6D9;
  --red-light: #FCE0DF;
  --teal-light: #D6EBF1;

  --font-body: "Nunito Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --m: 8px;
  --container: 1200px;
  --edge: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 800; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: var(--teal); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--orange); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

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

.skip-link {
  position: absolute;
  left: 0; top: -50px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: var(--m);
  height: var(--m);
  background: var(--amber);
  flex: none;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(239, 64, 63, 0.55);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-on-navy {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-on-navy:hover { background: var(--white); color: var(--navy); }

.btn .arrow, .job-link .arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.btn:hover .arrow { transform: translateX(4px); }
.hero-ctas .btn:hover .arrow { transform: translateY(3px); }
.job-link:hover .arrow { transform: translateX(4px); }

.ext-link { white-space: nowrap; }

/* ---------- LinkedIn icon ---------- */
.linkedin-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.linkedin-link:hover { color: var(--orange); }
.linkedin-icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-color: #E4E7E9;
  box-shadow: 0 2px 0 0 #E4E7E9;
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.site-logo img { height: 30px; width: auto; transition: opacity 0.15s ease; }
.site-logo { flex: none; display: flex; align-items: center; }
.site-logo:hover img { opacity: 0.8; }

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

/* ---------- Social links ---------- */
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: color 0.15s ease;
}
.social-links a:hover { color: var(--orange); }
.social-icon { width: 20px; height: 20px; }
.social-links--footer a { color: var(--text-muted); }
.social-links--footer a:hover { color: var(--orange); }

.site-nav {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  margin: 0; padding: 6px 4px;
}
.site-nav li { flex: none; }
.site-nav a {
  display: inline-block;
  white-space: nowrap;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.site-nav a.is-active {
  border-color: var(--amber);
}

/* ---------- Mobile menu toggle ---------- */
.menu-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: background-color 0.15s ease, transform 0.2s ease, opacity 0.15s ease;
}
.menu-toggle:hover .menu-toggle-bar { background: var(--orange); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-logo img { height: 24px; }
  .site-header .container { height: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 14px; }
  .social-links { gap: 10px; }
  .social-icon { width: 18px; height: 18px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #E4E7E9;
    box-shadow: 0 12px 20px -16px rgba(0, 41, 69, 0.25);
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 420px; overflow-y: auto; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--edge) 12px; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid #F0F1F2; }
}

/* ---------- Module system (decorative squares) ---------- */
.mod { display: block; }
.mod-navy { background: var(--navy); }
.mod-amber { background: var(--amber); }
.mod-orange { background: var(--orange); }
.mod-red { background: var(--red); }
.mod-teal { background: var(--teal); }
.mod-amber-light { background: var(--amber-light); }
.mod-orange-light { background: var(--orange-light); }
.mod-red-light { background: var(--red-light); }
.mod-teal-light { background: var(--teal-light); }
.mod-shadow { box-shadow: 0 24px 48px -20px rgba(0, 41, 69, 0.4); }
.mod-outline {
  background: transparent;
  border: 2px dashed var(--navy);
  box-sizing: border-box;
}
.mod-outline-amber { border-color: var(--amber); }
.mod-outline-teal { border-color: var(--teal); }
.mod-glow {
  border-radius: 30%;
  filter: blur(36px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--navy);
}
.hero-lead {
  margin-top: 24px;
  max-width: 46ch;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-secondary);
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  justify-self: end;
}
.hero-graphic .mod { position: absolute; will-change: transform; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-graphic { max-width: 340px; justify-self: center; margin-top: 8px; aspect-ratio: 4 / 3; }
}

/* ---------- Section basics ---------- */
section { position: relative; }
.section-pad { padding-top: clamp(48px, 6.5vw, 88px); padding-bottom: clamp(48px, 6.5vw, 88px); }
.section-head { max-width: 720px; }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
}
.section-head h2:first-child { margin-top: 0; }
.section-head .lead {
  margin-top: 18px;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ---------- About AdNext ---------- */
.about { background: var(--bg); }
.about-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.about-text {
  max-width: 68ch;
  font-size: 17px;
  color: var(--text-secondary);
}
.about-text p + p { margin-top: 18px; }

/* ---------- Avatar system ---------- */
.avatar {
  position: relative;
  isolation: isolate;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.avatar::after {
  content: "";
  position: absolute;
  border: 2px dashed var(--amber);
  z-index: -1;
  pointer-events: none;
}
.avatar .avatar-icon {
  width: 44%;
  height: 44%;
  color: var(--text-muted);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.avatar .avatar-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--teal);
}
.leader-avatar {
  width: 128px;
  height: 128px;
  margin-bottom: 6px;
}
.leader-avatar .avatar-badge { width: 24px; height: 24px; }
.leader-avatar::after { left: -8px; top: -8px; right: 8px; bottom: 8px; }
.leader-card:nth-child(3n+1) .leader-avatar::after { border-color: var(--amber); }
.leader-card:nth-child(3n+2) .leader-avatar::after { border-color: var(--orange); }
.leader-card:nth-child(3n+3) .leader-avatar::after { border-color: var(--red); }

.ceo-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.ceo-avatar .avatar-badge { width: 32px; height: 32px; }

.ceo-block {
  position: relative;
  margin-top: 40px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  border: 2px solid var(--navy);
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.ceo-block::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  width: 18px;
  height: 18px;
  background: var(--amber);
}
.ceo-avatar::after { left: -10px; top: -10px; right: 10px; bottom: 10px; }
.ceo-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ceo-name-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ceo-block .ceo-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
}
.ceo-block .ceo-role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.ceo-bio {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
}

@media (max-width: 640px) {
  .ceo-block { grid-template-columns: 1fr; }
  .ceo-avatar { max-width: 220px; margin: 0 auto; }
  .ceo-info { text-align: center; align-items: center; }
  .ceo-bio { max-width: none; }
}

/* ---------- Leaders ---------- */
.leaders { background: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: clamp(40px, 6vw, 56px);
  margin-bottom: clamp(40px, 6vw, 56px);
  border-bottom: 1px solid #E4E7E9;
}
.stat-mark {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 20px;
  height: 20px;
  gap: 2px;
  margin-bottom: 16px;
}
.stat-mark span:nth-child(1) { background: var(--amber); }
.stat-mark span:nth-child(2) { background: var(--orange); }
.stat-mark span:nth-child(3) { background: var(--red); }
.stat-mark span:nth-child(4) { background: var(--teal); }
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-text {
  font-weight: 800;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
}

.leaders-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E4E7E9;
  border: 1px solid #E4E7E9;
}
.leader-card {
  background: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 4px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -22px rgba(0, 41, 69, 0.35);
}
.leader-heading {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.leader-card:nth-child(3n+1) .avatar-badge { background: var(--amber); }
.leader-card:nth-child(3n+2) .avatar-badge { background: var(--orange); }
.leader-card:nth-child(3n+3) .avatar-badge { background: var(--red); }
.leader-card:nth-child(3n+1) { border-top-color: var(--amber); }
.leader-card:nth-child(3n+2) { border-top-color: var(--orange); }
.leader-card:nth-child(3n+3) { border-top-color: var(--red); }
.leader-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}
.leader-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.leaders-filler {
  display: none;
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.leaders-filler .mod { position: absolute; }

@media (max-width: 860px) {
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-filler { display: block; }
}
@media (max-width: 480px) {
  .leaders-grid { grid-template-columns: 1fr; }
  .leaders-filler { display: none; }
}

/* ---------- Companies ---------- */
.companies { background: var(--bg); }
.companies-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--navy);
}
.company-card {
  background: var(--white);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-top: 4px solid var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -22px rgba(0, 41, 69, 0.35);
}
.company-card[data-company="mastermind"] { border-top-color: var(--orange); }
.company-card[data-company="wedare"] { border-top-color: var(--amber); }
.company-card[data-company="media-team"] { border-top-color: var(--teal); }
.company-card[data-company="anton-ritz"] { border-top-color: var(--red); }
.company-logo-wrap {
  height: 56px;
  display: flex;
  align-items: center;
}
.company-logo-wrap img { max-height: 100%; width: auto; }
.company-card[data-company="mastermind"] .company-logo-wrap img { max-width: 220px; }
.company-card[data-company="wedare"] .company-logo-wrap img { max-width: 170px; }
.company-card[data-company="media-team"] .company-logo-wrap img { max-height: 100%; max-width: 220px; }
.company-card[data-company="anton-ritz"] .company-logo-wrap img { max-width: 200px; }

.company-desc {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 46ch;
}
.company-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.manager {
  display: flex;
  align-items: center;
  gap: 14px;
}
.manager-avatar { width: 88px; height: 88px; }
.manager-avatar .avatar-badge { width: 18px; height: 18px; }
.manager-avatar::after { left: -6px; top: -6px; right: 6px; bottom: 6px; }
.company-card[data-company="mastermind"] .manager-avatar::after { border-color: var(--orange); }
.company-card[data-company="wedare"] .manager-avatar::after { border-color: var(--amber); }
.company-card[data-company="media-team"] .manager-avatar::after { border-color: var(--teal); }
.company-card[data-company="anton-ritz"] .manager-avatar::after { border-color: var(--red); }
.manager-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.manager-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.manager-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.company-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

@media (max-width: 720px) {
  .companies-grid { grid-template-columns: 1fr; }
}

/* ---------- Careers ---------- */
.jobs-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid #E4E7E9;
}
.job-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: 12px 20px;
  padding: 24px 4px 24px 16px;
  border-bottom: 1px solid #E4E7E9;
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.job-row:hover {
  border-left-color: var(--orange);
  background: var(--bg);
}
.job-position {
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.job-company {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.job-link {
  font-weight: 600;
  white-space: nowrap;
  justify-self: end;
}

@media (max-width: 620px) {
  .job-row { grid-template-columns: 1fr; gap: 6px; }
  .job-link { justify-self: start; margin-top: 4px; }
}

/* ---------- Final CTA & Contact ---------- */
.final-cta {
  background: var(--navy);
  color: var(--white);
}
.final-cta .eyebrow { color: var(--amber); }
.final-cta h2 { color: var(--white); }
.final-cta .lead {
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  font-size: 18px;
  max-width: 60ch;
  margin-top: 18px;
}
.final-cta-actions {
  margin-top: 20px;
}
.final-links {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.final-links li { position: relative; }
.final-links li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--amber);
}
.final-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px 22px 20px;
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.final-links li:nth-child(4n) a { border-right: none; }
.final-links a:hover {
  color: var(--amber);
  background: rgba(255,255,255,0.04);
}
.final-links .arrow { font-weight: 400; display: inline-block; transition: transform 0.15s ease; }
.final-links a:hover .arrow { transform: translateX(4px); }

.contact-form-block {
  margin-top: 64px;
  padding-top: 48px;
  max-width: 640px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.contact-form-block h3 {
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--white);
}
.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form[hidden] { display: none; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid transparent;
  padding: 14px 16px;
  width: 100%;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--teal); }
.contact-form .btn { align-self: flex-start; }

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 62ch;
}
.form-consent a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.form-consent a:hover { color: var(--amber); }

.form-error {
  margin: -4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding: 28px;
  max-width: 640px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--amber);
}
.form-success.is-visible { display: flex; }
.form-success-icon { width: 32px; height: 32px; flex: none; color: var(--amber); }
.form-success-title {
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
}
.form-success-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 860px) {
  .final-links { grid-template-columns: repeat(2, 1fr); }
  .final-links li:nth-child(2n) a { border-right: none; }
}
@media (max-width: 480px) {
  .final-links { grid-template-columns: 1fr; }
  .final-links li a { border-right: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  padding: 48px var(--edge) 40px;
  border-top: 1px solid #E4E7E9;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-company { color: var(--navy); font-weight: 500; }
.footer-hours-label { color: var(--navy); font-weight: 600; }
.footer-registry { text-align: right; }
.footer-legal { margin-top: 6px; }
.footer-legal a { color: var(--text-muted); text-decoration: underline; }
.footer-legal a:hover { color: var(--orange); }

@media (max-width: 620px) {
  .footer-inner { flex-direction: column; }
  .footer-registry { text-align: left; }
}

/* ---------- Polityka prywatności ---------- */
.back-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.back-link:hover { color: var(--orange); }

.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--edge) clamp(64px, 9vw, 120px);
}
.policy > h1 {
  font-size: clamp(32px, 5vw, 48px);
}
.policy .updated {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.policy .intro {
  margin-top: 28px;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-secondary);
}
.policy section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #E4E7E9;
}
.policy section:first-of-type {
  margin-top: 48px;
}
.policy h2 {
  font-size: clamp(22px, 3vw, 26px);
}
.policy h3 {
  margin-top: 32px;
  font-size: 18px;
}
.policy p, .policy ul {
  margin-top: 16px;
  color: var(--text-secondary);
}
.policy h2 + p, .policy h2 + ul, .policy h3 + p, .policy h3 + ul {
  margin-top: 16px;
}
.policy ul {
  padding-left: 0;
  list-style: none;
}
.policy ul ul {
  margin-top: 10px;
}
.policy li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
}
.policy li:first-child { margin-top: 0; }
.policy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--teal);
}
.policy li strong { color: var(--navy); font-weight: 700; }
.policy .contact-email { font-weight: 600; }
