/* Atlas Yedek Parça — shared styles. No external fonts, trackers or CDNs. */
:root {
  --blue: #004a98;
  --blue-dark: #003670;
  --navy: #0b1f3a;
  --ink: #121417;
  --muted: #5c6570;
  --line: #d8dee6;
  --line-strong: #c3ccd6;
  --bg: #f4f6f8;
  --paper: #ffffff;
  --hero-bg: #eef2f6;
  --danger: #8f1d1d;
  --danger-bg: #fdecec;
  --ok: #0f6b3c;
  --ok-bg: #e6f6ee;
  --warn-bg: #fff3b0;
  --warn-ink: #7a5c00;
  --radius: 12px;
  --header-h: 4.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 10px 28px rgba(11, 31, 58, 0.06);
  --shadow-hover: 0 6px 8px rgba(11, 31, 58, 0.06), 0 18px 36px rgba(11, 31, 58, 0.10);
  --focus: 0 0 0 3px rgba(0, 74, 152, 0.35);
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html, body { max-width: 100%; overflow-x: hidden; }

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

a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: none; box-shadow: var(--focus); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; box-shadow: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  box-shadow: none;
}
.logo img {
  height: 3.15rem;
  width: auto;
}
.logo:focus-visible { border-radius: 6px; }

.nav-toggle,
.nav-toggle-label { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--bg); color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  margin-left: 0.25rem;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.35rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
}
.lang a:hover { color: var(--blue); background: var(--bg); }
.lang a[aria-current="page"] {
  color: var(--navy);
  background: var(--bg);
}

@media (max-width: 820px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    background: var(--paper);
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--navy);
    position: relative;
    transition: transform 0.15s ease;
  }
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle-label span::before { top: -5px; }
  .nav-toggle-label span::after { top: 5px; }

  .site-nav {
    display: none;
  }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
  .lang {
    display: flex;
    order: 2;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    width: auto;
  }
  .nav-toggle-label {
    order: 3;
    margin-left: 0.4rem;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 0.6rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--line);
  }
  .site-nav a { padding: 0.7rem 0.8rem; }
  .nav-cta { margin: 0.25rem 0 0; text-align: center; }
  /* Language switch stays in the top bar on small screens (rules above). */
}

/* Page background watermark (homepage, quote and brand pages) */
.page-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.page-watermark img {
  width: min(92vw, 62rem);
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  opacity: 0.08;
  filter: grayscale(1);
  pointer-events: none;
}
.has-watermark,
.home {
  background: #eef1f5;
}
.has-watermark .site-header,
.home .site-header { z-index: 40; }
.has-watermark .site-footer,
.home .site-footer { position: relative; z-index: 5; }
.has-watermark main,
.home main {
  position: relative;
  z-index: 1;
}
/* Keep the gray logo visible through open page areas */
.home .section,
.home .section-alt,
.home .hero-intro,
.has-watermark .page-hero,
.has-watermark .brand-page-head,
.has-watermark .quote-layout {
  background: transparent;
}
.has-watermark .page-hero {
  border-bottom-color: transparent;
}
.has-watermark .page-hero .hero-watermark img {
  opacity: 0;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 0;
  min-height: 0;
  display: block;
  z-index: 1;
}

.hero-slider {
  position: relative;
  height: min(68vh, 34rem);
  min-height: 22rem;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 31, 58, 0.78) 0%, rgba(11, 31, 58, 0.32) 46%, rgba(11, 31, 58, 0.22) 100%);
}

.hero-watermark {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.hero-watermark img {
  width: min(88%, 48rem);
  height: auto;
  opacity: 0.1;
  filter: grayscale(1) brightness(14);
  pointer-events: none;
}

.hero-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0 1.25rem 2.9rem;
  width: min(100% - 0rem, var(--max) + 2.5rem);
  margin: 0 auto;
  pointer-events: none;
}

.hero-tagline {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4.4vw, 2.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0.95rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}
.hero-dot {
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}
.hero-dot.is-active,
.hero-dot[aria-selected="true"] {
  background: #fff;
}
.hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-intro {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 3.4rem;
}
.hero-intro-inner {
  max-width: 46rem;
}
.hero-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 750;
}
.hero-intro .lead {
  margin: 0 0 1.6rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3.75rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2rem, var(--max));
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 750;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 9px;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); color: var(--blue); }
.btn-subtle {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-subtle:hover { border-color: var(--blue); color: var(--blue); }
.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-alt { background: var(--bg); }
.section h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 750;
  color: var(--navy);
}
.section-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  border-color: #b9c7d6;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.2rem;
  color: var(--navy);
}
.card p { margin: 0; color: var(--muted); }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  color: var(--blue);
}
.icon svg { width: 100%; height: 100%; display: block; }

/* Why us */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .reasons { grid-template-columns: 1fr; }
}
.reason {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.reason .icon {
  display: flex;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 0.9rem;
  color: var(--blue);
}
.reason h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.reason p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.reason:hover {
  border-color: #b9c7d6;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  counter-reset: step;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: 0.2rem 0 0.2rem 0;
}
.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.step h3::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Contact band */
.contact-band {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 760px) {
  .contact-band { grid-template-columns: 1fr; }
}
.email-link {
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--blue);
  word-break: break-all;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d7dee7;
  padding: 2.4rem 0 1.8rem;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.legal-name {
  color: #fff;
  font-weight: 650;
  margin: 0 0 0.25rem;
}
.footer-meta { margin: 0; color: #b7c1cd; }
.disclaimer {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa7b5;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 52rem;
}
.footer-lang { font-weight: 650; letter-spacing: 0.04em; }
.footer-lang a { text-decoration: none; margin-left: 0.4rem; opacity: 0.85; }
.footer-lang a[aria-current="page"] { opacity: 1; text-decoration: underline; }

.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin: 0 0 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-contacts h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-person {
  margin: 0 0 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}
.footer-person:last-child { margin-bottom: 0; }
.footer-person .person-name {
  color: #fff;
  font-weight: 650;
}
.footer-person a { text-decoration: none; }
.footer-person a:hover { text-decoration: underline; }
.contact-phone {
  display: block;
  margin-top: 0.1rem;
  color: #c5ced8;
}
.contact-phone[hidden] { display: none !important; }
.contact-phone a { color: #fff; }
@media (max-width: 640px) {
  .footer-contacts { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* Quote page */
.page-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero-watermark img { width: min(80%, 32rem); opacity: 0.05; }
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}
.page-hero .lead { margin-bottom: 0; }

.quote-layout {
  display: grid;
  gap: 2.25rem;
  padding: 2.4rem 0 4rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--navy);
}
.panel .hint {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 700px) {
  .method-grid { grid-template-columns: 1fr; }
}
.method {
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 1rem;
  background: var(--bg);
}
.method h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}
.method p { margin: 0 0 0.8rem; font-size: 0.92rem; color: var(--muted); }

.file-drop {
  position: relative;
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop-ui {
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}
.file-drop.is-dragover .file-drop-ui {
  border-color: var(--blue);
  background: #f3f7fc;
}
.file-name { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--navy); font-weight: 600; }

.paste-area {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
}
.paste-area:focus { border-color: var(--blue); box-shadow: var(--focus); outline: none; }

.table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table.preview {
  width: 100%;
  border-collapse: collapse;
  min-width: 32rem;
  font-size: 0.95rem;
}
.preview th {
  text-align: left;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
}
.preview td {
  border-top: 1px solid var(--line);
  padding: 0.3rem 0.4rem;
  vertical-align: middle;
  background: var(--paper);
}
.preview input,
.preview textarea {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.35rem 0.4rem;
  color: var(--ink);
  border-radius: 6px;
}
.preview input:focus,
.preview textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: var(--focus);
}
.preview .qty { width: 6.5rem; }
.preview .row-actions { width: 3rem; text-align: center; }
.preview .btn-icon {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
}
.preview .btn-icon:hover { color: var(--danger); background: var(--danger-bg); }
.preview tr.is-example td { background: var(--warn-bg); }
.example-banner {
  display: none;
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 0 0 0.7rem;
}
.example-banner.is-visible { display: block; }

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus);
}
.field textarea { min-height: 6rem; resize: vertical; }
.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  margin: 0.4rem 0 0.2rem;
}
.consent input { margin-top: 0.25rem; accent-color: var(--blue); }

/* Honeypot: visually hidden, not display:none (some bots skip that). */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.1rem;
}

.status {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.status.is-visible { display: block; }
.status.is-error { background: var(--danger-bg); color: var(--danger); }
.status.is-ok { background: var(--ok-bg); color: var(--ok); }

#turnstile-slot { margin: 0.8rem 0 0; min-height: 0; }

.note-inline {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.8rem 0 0;
}

/* Utilities */
.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;
}

/* ---- Header search, products dropdown, brand strip ---- */
.header-bar { background: var(--paper); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.15rem;
  flex: 0 1 auto;
}
.header-brands {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.header-brands .strip-brand { padding: 0.1rem 0.15rem; }
.header-brands .brand-name { display: none; }
.header-brands .brand-logo {
  height: 2.4rem;
  min-width: 0;
}
.header-brands .brand-logo img {
  height: 2.4rem;
  max-width: 9.5rem;
}
.header-brands .brand-placeholder {
  background: transparent;
  border: 0;
  min-width: 0;
  padding: 0 0.15rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 0.4rem;
}
.site-search input {
  width: 11.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px 0 0 8px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--ink);
}
.site-search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus);
  background: #fff;
}
.site-search button {
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: var(--navy);
  color: #fff;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}
.site-search button:hover { background: var(--blue); }
.search-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  min-width: 16rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 50;
  overflow: hidden;
}
.search-results a,
.search-empty {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.9rem;
}
.search-results a:hover { background: var(--bg); }
.search-results small { color: var(--muted); font-size: 0.75rem; }
.search-empty { color: var(--muted); }

.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 0.25rem; }
.has-sub > a::after { content: "▾"; font-size: 0.7em; opacity: 0.7; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  z-index: 45;
}
.submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}
.submenu a:hover { background: var(--bg); color: var(--blue); }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { display: block; }

@media (max-width: 820px) {
  .header-tools {
    order: 4;
    width: 100%;
    margin: 0 0 0.75rem;
    gap: 0.6rem;
  }
  .site-search {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
  }
  .site-search input { flex: 1; width: auto; min-width: 0; }
  .header-tools { min-width: 0; }
  .header-brands .brand-logo img { max-width: 7.2rem; height: 2rem; }
  .site-nav { order: 6; }
  .has-sub > a::after { display: none; }
  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.8rem;
    min-width: 0;
  }
}

.brand-strip {
  border-top: 1px solid var(--line);
  background: #f6f8fb;
  padding: 0.5rem 0 0.55rem;
}
.brand-strip-inner,
.footer-brands-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}
.brand-strip-inner {
  justify-content: space-between;
  gap: 0.3rem 0.4rem;
}
.brand-strip .strip-brand {
  flex: 1 1 5.2rem;
  justify-content: center;
  max-width: 8.25rem;
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
}
.brand-strip .brand-name { display: none; }
.brand-strip .brand-logo {
  height: 2.1rem;
  min-width: 0;
  width: 100%;
}
.brand-strip .brand-logo img {
  height: 2.1rem;
  max-height: 2.1rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.brand-strip .brand-placeholder {
  height: 2.1rem;
  min-width: 0;
  width: 100%;
  padding: 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.brand-strip .strip-brand:hover { background: #fff; }
@media (max-width: 760px) {
  .brand-strip-inner { justify-content: center; }
  .brand-strip .strip-brand { flex: 0 1 5.6rem; }
}
.strip-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--navy);
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
}
.strip-brand:hover,
.footer-brand:hover { background: var(--bg); }
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  min-width: 5.5rem;
}
.brand-logo img {
  height: 2rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
}
.brand-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  height: 2rem;
  padding: 0 0.7rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #1a1a1a;
  font-family: var(--font);
}
.strip-brand .brand-name,
.footer-brand .brand-name { font-size: 0.82rem; font-weight: 600; color: var(--muted); }

.footer-brands {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
}
.footer-brands .brand-name { color: #c5ced8; }
.footer-brands .brand-placeholder { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.footer-brand .brand-logo {
  background: #fff;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  height: 2.15rem;
  min-width: 0;
}
.footer-brand .brand-logo img {
  height: 1.7rem;
  max-width: 6.8rem;
}
.footer-brand:hover { background: rgba(255,255,255,0.06); }

/* Brand cards */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1.1rem;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1rem 1.15rem;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow);
  text-align: center;
}
.brand-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.brand-card:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.brand-card-logo,
.brand-card .brand-logo {
  height: 4rem;
  min-width: 8rem;
}
.brand-card-logo img,
.brand-card .brand-logo img {
  height: 3.5rem;
  max-width: 9rem;
}
.brand-card .brand-placeholder {
  height: 3.5rem;
  min-width: 8rem;
  font-size: 1.05rem;
}
.brand-card-name { font-weight: 700; font-size: 1.05rem; }
.brand-card-cta { font-size: 0.85rem; color: var(--blue); font-weight: 600; }

/* Photos */
.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.media-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.media-row .photo-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  max-height: 22rem;
}
@media (max-width: 760px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row .photo-frame { min-height: 12rem; }
}

.card.card-visual { padding: 0; overflow: hidden; }
.card-visual .card-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}
.card-visual .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-visual .card-body { padding: 1.2rem 1.3rem 1.3rem; }
.card-visual h3 { margin-top: 0; }

.group-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
}
.group-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.group-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2rem;
}
.group-hero h1 { margin: 0 0 0.5rem; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.group-hero .lead { color: #e6ecf2; margin: 0; }

.brand-page-head {
  padding: 2.2rem 0 0.4rem;
}
.brand-page-head .eyebrow { margin-bottom: 0.4rem; }
.brand-lock {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--navy);
}
.form-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .form-selects { grid-template-columns: 1fr; }
}

.media-row .steps { grid-template-columns: 1fr; }

.card-visual .icon { display: none; }

/* About us — workplace photograph is portrait; show the full building */
.about-media {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}
.about-media .photo-frame {
  background: var(--hero-bg);
}
.about-media .photo-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}
.about-media .section-intro {
  margin-bottom: 0;
  font-size: 1.0625rem;
  max-width: 36rem;
}
@media (max-width: 760px) {
  .about-media { grid-template-columns: 1fr; }
  .about-media .photo-frame img { max-height: 32rem; margin-inline: auto; }
}

@media (max-width: 640px) {
  .hero-slider { height: 20.5rem; min-height: 18.5rem; }
  .hero-tagline { max-width: 14ch; }
  .hero-slide figcaption { padding-bottom: 2.6rem; }
  .hero-intro { padding: 2.4rem 0 2.6rem; }
  .page-watermark img { width: min(96vw, 34rem); }
}
