/* Shared styles for o-nas / kontakt / pro-developery (aligned with novostavby) */

.about-page .about-values,
.about-page .about-origin,
.about-page .about-timeline,
.about-page .about-help,
.about-page .about-partners,
.about-page .about-cta,
.contact-page .contact-content,
.contact-page .inner-page-width {
  /* legacy blocks unused after rewrite */
}

.about-hero--about,
.about-hero--contact {
  height: auto;
  min-height: 420px;
  overflow: hidden;
}

.about-hero--about .about-hero-image,
.about-hero--about::after,
.about-hero--contact .about-hero-image,
.about-hero--contact::after {
  border-radius: 0 0 20px 20px;
}

.about-hero--about .about-hero-inner,
.about-hero--contact .about-hero-inner {
  min-height: 420px;
  padding-bottom: 48px;
}

.about-hero--about .about-hero-copy,
.about-hero--contact .about-hero-copy {
  max-width: 58%;
  padding-top: 12px;
}

.about-page .section-heading,
.contact-page .section-heading,
.developers-page .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.about-page .section-eyebrow,
.contact-page .section-eyebrow,
.developers-page .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page .section-eyebrow::before,
.contact-page .section-eyebrow::before,
.developers-page .section-eyebrow::before {
  width: 2px;
  height: 14px;
  background: var(--brand-accent);
  content: "";
}

.about-page .section-heading h2,
.contact-page .section-heading h2,
.developers-page .section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-page .section-heading > a,
.contact-page .section-heading > a,
.developers-page .section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.about-page .section-heading > a svg,
.contact-page .section-heading > a svg,
.developers-page .section-heading > a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.about-page .page-section,
.contact-page .page-section,
.developers-page .page-section {
  margin-top: var(--section-space);
}

/* About: values - editorial manifesto + aside metrics */
.about-values-shell {
  display: grid;
  gap: 36px;
}

.about-values-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-values-intro .section-eyebrow {
  display: inline-block;
  margin-bottom: 0;
}

.about-values-intro .section-eyebrow::before {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--brand-accent);
  content: "";
}

.about-values-intro h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.about-values-lead {
  margin: 12px auto 0;
  max-width: 52rem;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.about-values-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 28px 40px;
  align-items: stretch;
}

.about-values-manifesto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(12, 31, 68, 0.12);
}

.about-values-manifesto li {
  display: grid;
  justify-items: center;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(12, 31, 68, 0.12);
  text-align: center;
}

.about-values-manifesto li:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid rgba(12, 31, 68, 0.12);
}

.about-values-manifesto li:nth-child(even) {
  padding-left: 24px;
}

.about-values-manifesto h3 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-values-manifesto h3::before {
  display: block;
  position: static;
  width: 34px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--brand-accent);
  border-radius: 0;
  content: "";
}

.about-values-manifesto p {
  margin: 0 auto;
  max-width: 32ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.about-values-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 36px 30px;
  background:
    radial-gradient(120% 90% at 0% 0%, #2a3560 0%, transparent 52%),
    linear-gradient(165deg, #1d2542 0%, #141c36 40%, #0c1325 100%);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(6, 12, 28, 0.28);
}

.about-values-aside dl {
  display: grid;
  gap: 22px;
  margin: 0;
}

.about-values-aside dl > div {
  padding-top: 20px;
  border-top: 0;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 1px;
}

.about-values-aside dl > div:first-child {
  padding-top: 0;
  background-image: none;
}

.about-values-aside dt {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-values-aside dd {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .about-values-body {
    grid-template-columns: 1fr;
  }

  .about-values-aside {
    order: -1;
  }

  .about-values-aside dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .about-values-aside dl > div {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .about-values-manifesto {
    grid-template-columns: 1fr;
  }

  .about-values-manifesto li,
  .about-values-manifesto li:nth-child(odd),
  .about-values-manifesto li:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .about-values-aside dl {
    grid-template-columns: 1fr;
  }
}

.page-info-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(6, 26, 63, 0.05);
}

.page-info-card > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.07);
  border-radius: 50%;
}

.page-info-card > i svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.page-info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-info-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.page-kpi-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  height: 100%;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.05);
}

.page-kpi-grid article svg {
  width: 24px;
  height: 24px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.page-kpi-grid strong {
  color: var(--brand-accent);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.page-kpi-grid b {
  font-size: 14px;
  font-weight: 750;
}

.page-kpi-grid small {
  color: var(--text-secondary);
  font-size: 12px;
}

/* About: origin story */
.about-story-shell {
  display: grid;
  gap: 48px;
}

.about-story-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(220px, 0.85fr) auto;
  gap: 28px 100px;
  align-items: start;
  min-height: clamp(480px, 52vw, 620px);
  isolation: isolate;
}

.about-story-bg {
  position: absolute;
  z-index: 0;
  inset: -4% 0 -8% 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.about-story-bg img {
  display: block;
  width: min(100%, 950px);
  height: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
}

.about-story-intro,
.about-story-panel,
.about-story-stats {
  position: relative;
  z-index: 1;
}

.about-story-intro {
  min-width: 0;
  padding-top: 8px;
  max-width: 420px;
}

.about-story-intro .section-eyebrow {
  margin-bottom: 10px;
}

.about-story-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.about-story-intro h2 em {
  color: var(--brand-accent);
  font-style: normal;
}

.about-story-lead {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.about-story-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  margin: 8px 0 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(6, 26, 63, 0.06);
}

.about-story-quote-mark {
  color: var(--brand-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 0.85;
  transform: translateY(2px);
}

.about-story-quote-body {
  min-width: 0;
}

.about-story-quote-main {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.about-story-quote-sub {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.about-story-panel {
  display: grid;
  gap: 14px;
  width: min(260px, 100%);
  margin-top: auto;
  margin-bottom: 8%;
  margin-left: auto;
  padding: 20px 18px;
  color: #fff;
  background: rgba(8, 34, 79, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(6, 26, 63, 0.28);
  align-self: end;
  justify-self: end;
}

.about-story-panel > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.about-story-panel svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.about-story-panel strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-story-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.4;
}

.about-story-stats {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  align-self: center;
}

.about-story-stats li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(12, 31, 68, 0.12);
}

.about-story-stats li:first-child {
  padding-top: 0;
}

.about-story-stats li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-story-stats svg {
  width: 28px;
  height: 28px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.about-story-stats strong {
  display: block;
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.about-story-stats span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.3;
}

.about-story-beats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 36px;
  margin: -48px 0 0;
  padding: 0;
  list-style: none;
}

.about-story-beats::before {
  position: absolute;
  top: 23px;
  left: calc((100% - 108px) / 8);
  right: calc((100% - 108px) / 8);
  height: 1px;
  background: var(--brand-accent);
  content: "";
}

.about-story-beats li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.about-story-beats li:not(:last-child)::after {
  position: absolute;
  top: 20px;
  right: -22px;
  z-index: 2;
  width: 8px;
  height: 8px;
  background: var(--brand-accent);
  border-radius: 50%;
  content: "";
}

.about-story-step {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-accent);
  background: #fff;
  border: 1.5px solid var(--brand-accent);
  border-radius: 50%;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-story-beats svg {
  width: 46px;
  height: 46px;
  margin-top: 4px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-story-beats strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.about-story-beats p {
  margin: 0;
  max-width: 30ch;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.about-story-cta {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(280px, 1.2fr) minmax(200px, 0.85fr);
  gap: 0;
  align-items: center;
  margin-top: 28px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.about-story-cta-lead {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 28px 28px 28px 30px;
  border-right: 1px solid rgba(12, 31, 68, 0.1);
}

.about-story-cta-heart {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--brand-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-story-cta-heart svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}

.about-story-cta-copy {
  min-width: 0;
}

.about-story-cta-title {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.about-story-cta-sub {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.about-story-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 28px 24px;
  list-style: none;
  border-right: 1px solid rgba(12, 31, 68, 0.1);
}

.about-story-cta-points li {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.about-story-cta-points svg {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.about-story-cta-points strong {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

.about-story-cta-points span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.about-story-cta-action {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: center;
  padding: 28px 26px;
  text-align: center;
}

.about-story-cta-script {
  margin: 0;
  max-width: 25ch;
  color: var(--brand-accent);
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.about-story-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.about-story-cta-btn:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.about-story-cta-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

@media (max-width: 1100px) {
  .about-story-cta {
    grid-template-columns: 1fr;
  }

  .about-story-cta-lead,
  .about-story-cta-points {
    border-right: 0;
    border-bottom: 1px solid rgba(12, 31, 68, 0.1);
  }

  .about-story-cta-action {
    justify-items: start;
    text-align: left;
  }

  .about-story-cta-script {
    max-width: 28ch;
  }

  .about-story-cta-points {
    justify-content: start;
  }
}

@media (max-width: 991px) {
  .about-story-top {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-story-bg {
    position: relative;
    inset: auto;
    order: 2;
    min-height: 320px;
    margin: 8px 0 0;
  }

  .about-story-bg img {
    width: 100%;
    max-height: 420px;
  }

  .about-story-intro {
    max-width: none;
    order: 1;
  }

  .about-story-panel {
    order: 3;
    width: 100%;
    max-width: 320px;
    margin: -48px auto 0;
    justify-self: center;
  }

  .about-story-stats {
    order: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 24px;
    padding-top: 8px;
  }

  .about-story-stats li {
    padding: 0;
    border-bottom: 0;
  }

  .about-story-beats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    margin-top: 8px;
  }

  .about-story-beats::before,
  .about-story-beats li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .about-story-stats {
    grid-template-columns: 1fr;
  }

  .about-story-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -28px;
  }

  .about-story-beats {
    grid-template-columns: 1fr;
  }

  .about-story-cta-points {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .about-story-cta-points li {
    justify-items: start;
    text-align: left;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
  }

  .about-story-cta-points svg {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}

/* About: timeline infographic */
.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.about-timeline::before {
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, rgba(194, 13, 24, 0.15), rgba(194, 13, 24, 0.55), rgba(194, 13, 24, 0.15));
  content: "";
}

.about-timeline-item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.about-timeline-node {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--brand-accent);
  background: #fff;
  border: 2px solid rgba(194, 13, 24, 0.18);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(6, 26, 63, 0.08);
}

.about-timeline-node svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.about-timeline-card {
  width: 100%;
  min-height: 148px;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(6, 26, 63, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-timeline-item:hover .about-timeline-card {
  border-color: rgba(194, 13, 24, 0.22);
  box-shadow: 0 14px 30px rgba(6, 26, 63, 0.1);
  transform: translateY(-3px);
}

.about-timeline-card b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 8px;
  padding: 0 10px;
  color: #fff;
  background: var(--brand-accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.about-timeline-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-primary);
  font-size: 15px;
  font-weight: 800;
}

.about-timeline-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.about-timeline-item--now .about-timeline-node {
  color: #fff;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  box-shadow: 0 12px 28px rgba(194, 13, 24, 0.28);
}

.about-timeline-item--now .about-timeline-card {
  border-color: rgba(194, 13, 24, 0.2);
  background:
    linear-gradient(180deg, rgba(194, 13, 24, 0.04), transparent 42%),
    #fff;
}

@media (max-width: 991px) {
  .about-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .about-timeline::before {
    display: none;
  }
}

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

  .about-timeline-item {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    justify-items: stretch;
    gap: 14px;
    text-align: left;
    padding: 0 0 18px;
  }

  .about-timeline-item:not(:last-child)::before {
    position: absolute;
    top: 48px;
    left: 23px;
    width: 2px;
    bottom: 0;
    background: rgba(194, 13, 24, 0.18);
    content: "";
  }

  .about-timeline-node {
    width: 48px;
    height: 48px;
  }

  .about-timeline-card {
    min-height: 0;
  }
}

/* About: help cards */
.about-help-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: stretch;
  height: 100%;
  padding: 14px 14px 14px 8px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(6, 26, 63, 0.05);
}

.about-help-copy {
  padding: 18px 12px 18px 18px;
}

.about-help-copy h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.about-help-copy h3 svg {
  width: 22px;
  height: 22px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.about-help-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.about-help-copy li {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.about-help-copy li::before {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: rgba(194, 13, 24, 0.1);
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c20d18' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.2 3.2 7.8-7.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  content: "";
}

.about-help-copy li + li {
  margin-top: 10px;
}

.about-help-media {
  position: relative;
  align-self: stretch;
  min-height: 250px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(6, 26, 63, 0.14);
}

.about-help-media img,
.about-help-card > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease;
}

.about-help-card:hover .about-help-media img {
  transform: scale(1.04);
}

/* About: partners */
.page-partner-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  height: 100%;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.05);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.page-partner-card:hover {
  box-shadow: 0 14px 32px rgba(6, 26, 63, 0.1);
  transform: translateY(-2px);
}

.page-partner-card img {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 40px;
  object-fit: contain;
}

/* Contact: connect + form */
.contact-connect {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 0 24px;
  align-items: stretch;
}

.contact-connect-aside,
.contact-connect-form {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 30px;
  background:
    linear-gradient(180deg, rgba(8, 34, 79, 0.03), transparent 40%),
    var(--surface-muted);
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
}

.contact-connect-intro {
  margin-bottom: 8px;
}

.contact-connect-intro .section-eyebrow {
  margin-bottom: 8px;
}

.contact-connect-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-connect-intro p {
  margin: 0;
  max-width: 38ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.contact-connect-list {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.contact-connect-list > li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.contact-connect-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  color: inherit;
  text-decoration: none;
  transition: color 140ms ease;
}

.contact-connect-item:hover {
  color: var(--brand-accent);
}

.contact-connect-item:hover strong {
  color: var(--brand-accent);
}

.contact-connect-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.08);
  border-radius: var(--btn-radius);
}

.contact-connect-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contact-connect-item small {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-connect-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: color 140ms ease;
}

.contact-connect-item em {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-style: normal;
  font-size: 13px;
}

.contact-connect-links {
  display: grid;
  gap: 0;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.contact-connect-links a {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  color: inherit;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.contact-connect-links a strong {
  font-size: 15px;
  font-weight: 800;
}

.contact-connect-links a span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.contact-connect-links a em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--brand-accent);
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
}

.contact-connect-links a svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.contact-connect-links a:hover em {
  gap: 9px;
}

.contact-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
  margin-top: 22px;
}

.contact-connect-form label:not(.contact-consent),
.contact-connect-form .contact-form-field {
  display: grid;
  gap: 8px;
  width: 100%;
}

.contact-connect-message {
  grid-column: 1 / -1;
}

.contact-connect-form label > span,
.contact-connect-form .contact-form-field > span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-connect-form input,
.contact-connect-form select,
.contact-connect-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.12);
  border-radius: var(--btn-radius);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.contact-connect-form input:focus,
.contact-connect-form textarea:focus {
  outline: none;
  border-color: rgba(18, 53, 102, 0.35);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
}

.contact-connect-form .contact-form-dropdown {
  z-index: 5;
  width: 100%;
}

.contact-connect-form .contact-form-dropdown.is-open {
  z-index: 30;
}

.contact-connect-form .filter-dropdown-trigger {
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.12);
  border-radius: var(--btn-radius);
  font-size: 15px;
}

.contact-connect-form .filter-dropdown-trigger:hover {
  background: #fff;
  border-color: rgba(12, 31, 68, 0.22);
}

.contact-connect-form .contact-form-dropdown.is-open .filter-dropdown-trigger,
.contact-connect-form .filter-dropdown-trigger:focus-visible {
  background: #fff;
  border-color: rgba(18, 53, 102, 0.35);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
}

.contact-connect-form .contact-form-dropdown.is-invalid .filter-dropdown-trigger {
  border-color: rgba(194, 13, 24, 0.45);
  box-shadow: 0 0 0 3px rgba(194, 13, 24, 0.1);
}

.contact-connect-form .contact-form-dropdown .quick-dropdown-menu {
  right: 0;
  width: 100%;
  min-width: 0;
}

.contact-connect-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-consent {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: 360px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.contact-consent input {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--brand-accent);
  flex: 0 0 auto;
}

.contact-consent a {
  color: var(--brand-accent);
  font-weight: 700;
  text-decoration: none;
}

.contact-consent a:hover {
  text-decoration: underline;
}

.contact-connect-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  background: var(--brand-primary);
  border: 0;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-connect-form button[type="submit"]:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.contact-connect-form button[type="submit"] svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

@media (max-width: 991px) {
  .contact-connect {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .contact-connect-grid {
    grid-template-columns: 1fr;
  }

  .contact-connect-aside,
  .contact-connect-form {
    padding: 22px 18px;
  }

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

  .contact-connect-form button[type="submit"] {
    width: 100%;
    justify-content: center;
  }
}

/* Contact: team directory - 3 columns */
.contact-team-intro {
  max-width: 42rem;
  margin-bottom: 28px;
}

.contact-team-intro .section-eyebrow {
  margin-bottom: 8px;
}

.contact-team-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-team-intro p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.contact-team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-team-list > li {
  margin: 0;
  min-width: 0;
}

.contact-team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-team-card:hover {
  border-color: rgba(12, 31, 68, 0.16);
  box-shadow: 0 16px 36px rgba(6, 26, 63, 0.08);
  transform: translateY(-3px);
}

.contact-team-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  max-height: 340px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8eef5 0%, #d7e0eb 100%);
}

.contact-team-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(6, 26, 63, 0.22));
  pointer-events: none;
}

.contact-team-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 320ms ease;
}

.contact-team-card:hover .contact-team-media img {
  transform: scale(1.03);
}

.contact-team-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.contact-team-dept {
  display: block;
  margin: 0 0 8px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-team-body h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-team-role {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 650;
}

.contact-team-desc {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.contact-team-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin-top: auto;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.contact-team-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
  transition: color 140ms ease;
}

.contact-team-actions a:last-child {
  justify-content: flex-end;
}

.contact-team-actions a:hover {
  color: var(--brand-accent);
}

.contact-team-actions a svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.contact-team-write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-team-write:hover {
  color: #fff;
  background: var(--navy-800, #123566);
  transform: translateY(-1px);
}

.contact-team-write svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

@media (max-width: 991px) {
  .contact-team-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-team-card {
    display: grid;
    grid-template-columns: minmax(140px, 42%) minmax(0, 1fr);
  }

  .contact-team-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .contact-team-media::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .contact-team-card {
    grid-template-columns: 1fr;
  }

  .contact-team-media {
    aspect-ratio: 4 / 5;
    max-height: 320px;
  }
}

/* Contact: office */
/* Contact: office + real map */
.contact-office-map-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(12, 31, 68, 0.08);
  box-shadow: 0 18px 48px rgba(6, 26, 63, 0.12);
  background: #dfe7f1;
}

.contact-office-map-panel::before,
.contact-office-map-panel::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
}

.contact-office-map-panel::before {
  background:
    radial-gradient(ellipse 48% 58% at 64% 46%, rgba(194, 13, 24, 0.14), transparent 68%),
    radial-gradient(ellipse 70% 80% at 50% 50%, transparent 45%, rgba(6, 26, 63, 0.18) 100%);
}

.contact-office-map-panel::after {
  background: linear-gradient(90deg, transparent 58%, rgba(247, 249, 252, 0.42) 82%, rgba(247, 249, 252, 0.78) 100%);
}

.contact-office-leaflet {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #edf1f7 0%, #e4ebf4 48%, #f3f6fa 100%);
}

.contact-office-leaflet .leaflet-control-zoom {
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(6, 26, 63, 0.14) !important;
}

.contact-office-leaflet .leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  color: var(--brand-primary) !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(12, 31, 68, 0.08) !important;
  font-size: 18px !important;
}

.contact-office-leaflet .leaflet-control-zoom a:hover {
  color: var(--brand-accent) !important;
  background: #f7f9fc !important;
}

.contact-office-leaflet .leaflet-control-attribution {
  margin: 0 10px 8px 0 !important;
  padding: 4px 8px !important;
  color: rgba(12, 31, 68, 0.55) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  box-shadow: 0 4px 12px rgba(6, 26, 63, 0.08);
}

.contact-office-leaflet .leaflet-control-attribution a {
  color: var(--brand-primary) !important;
}

.frs-map-pin {
  background: transparent !important;
  border: 0 !important;
}

.frs-map-pin__pulse {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border: 2px solid rgba(194, 13, 24, 0.5);
  border-radius: 50%;
  animation: frs-map-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.frs-map-pin__pulse--delay {
  animation-delay: 1.1s;
}

@keyframes frs-map-pulse {
  0% {
    transform: scale(0.45);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.frs-map-pin__dot {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  background: linear-gradient(160deg, #e1232d 0%, var(--brand-accent) 55%, #9d0a12 100%);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow:
    0 14px 32px rgba(194, 13, 24, 0.45),
    0 0 0 10px rgba(194, 13, 24, 0.12);
  transform: rotate(-45deg);
}

.frs-map-pin__dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
}

.contact-office-leaflet .frs-map-popup-wrap .leaflet-popup-content-wrapper {
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(6, 26, 63, 0.2);
  backdrop-filter: blur(8px);
}

.contact-office-leaflet .frs-map-popup-wrap .leaflet-popup-content {
  margin: 14px 16px;
}

.contact-office-leaflet .frs-map-popup-wrap .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.96);
}

.frs-map-popup {
  display: grid;
  gap: 4px;
  min-width: 140px;
}

.frs-map-popup strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.frs-map-popup span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.contact-office-map-facts {
  position: absolute;
  z-index: 1100;
  right: 24px;
  bottom: 24px;
  top: auto;
  display: grid;
  grid-auto-flow: row;
  gap: 10px;
  width: min(200px, calc(100% - 48px));
}

.contact-office-map-facts > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 13px 14px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(26, 39, 72, 0.94) 0%, rgba(8, 18, 40, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(6, 16, 36, 0.3);
  backdrop-filter: blur(10px);
}

.contact-office-map-facts svg {
  width: 20px;
  height: 20px;
  color: #ff8f96;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-office-map-facts strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-office-map-facts span {
  color: rgba(226, 232, 240, 0.75);
  font-size: 12px;
}

.contact-office-overlay {
  position: relative;
  z-index: 1100;
  width: min(380px, calc(100% - 48px));
  margin: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(6, 26, 63, 0.16);
  backdrop-filter: blur(8px);
}

.contact-office-overlay .section-eyebrow {
  margin-bottom: 8px;
}

.contact-office-overlay h2 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-office-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-office-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.contact-office-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.contact-office-icon--pin {
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.1);
}

.contact-office-icon--muted {
  color: var(--text-secondary);
  background: rgba(12, 31, 68, 0.06);
  border-radius: var(--btn-radius);
}

.contact-office-address {
  margin: 0 0 16px;
}

.contact-office-address strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.contact-office-address em {
  display: block;
  color: var(--text-secondary);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
}

.contact-office-transit {
  margin: 0 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.contact-office-transit p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.contact-office-actions {
  display: grid;
  gap: 12px;
}

.contact-office-primary {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-office-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.contact-office-primary span {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.contact-office-primary svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-office-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.contact-office-route svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contact-office-route-chevron {
  width: 14px !important;
  height: 14px !important;
}

.contact-office-route:hover {
  gap: 10px;
}

@media (max-width: 720px) {
  .contact-office-map-panel {
    display: flex;
    flex-direction: column;
  }

  .contact-office-leaflet {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    height: 280px;
    flex: 0 0 auto;
  }

  .contact-office-map-panel::after {
    background: linear-gradient(180deg, transparent 62%, rgba(247, 249, 252, 0.55) 100%);
  }

  .contact-office-overlay {
    width: auto;
    margin: 16px;
    box-shadow: 0 10px 24px rgba(6, 26, 63, 0.1);
  }

  .contact-office-map-facts {
    right: 12px;
    bottom: auto;
    top: 12px;
    width: min(180px, calc(100% - 24px));
  }
}

/* Contact: FAQ - header full width, then col-4 + col-8 */
.contact-faq-header {
  margin-bottom: 28px;
}

.contact-faq-header .section-eyebrow {
  margin-bottom: 8px;
}

.contact-faq-header h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-faq-header p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.contact-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 28px 36px;
  align-items: start;
}

.contact-faq-nav {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-faq-topics {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contact-faq-topics li {
  margin: 0;
}

.contact-faq-topics button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.contact-faq-topics button > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  background: rgba(12, 31, 68, 0.05);
  border-radius: 8px;
}

.contact-faq-topics button > i svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.contact-faq-topics button > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-faq-topics button strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.contact-faq-topics button small {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.contact-faq-topic-chevron {
  width: 14px;
  height: 14px;
  color: var(--gray-500);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  opacity: 0.7;
}

.contact-faq-topics button:hover {
  background: rgba(12, 31, 68, 0.03);
}

.contact-faq-topics button.is-active {
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.06);
  border-color: rgba(194, 13, 24, 0.08);
  border-left-color: var(--brand-accent);
}

.contact-faq-topics button.is-active > i {
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.1);
}

.contact-faq-topics button.is-active strong {
  color: var(--brand-accent);
}

.contact-faq-topics button.is-active .contact-faq-topic-chevron {
  color: var(--brand-accent);
  opacity: 1;
}

.contact-faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.contact-faq-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.contact-faq-list {
  display: grid;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(6, 26, 63, 0.05);
  transition: opacity 180ms ease, transform 220ms ease;
}

.contact-faq-list.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.contact-faq-list.is-ready {
  animation: contact-faq-in 280ms ease;
}

@keyframes contact-faq-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-faq-item {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 160ms ease;
}

.contact-faq-item:not([hidden]) {
  border-bottom: 1px solid rgba(12, 31, 68, 0.08);
}

.contact-faq-item.is-hidden,
.contact-faq-item[hidden] {
  display: none;
}

.contact-faq-list > .contact-faq-item:nth-last-child(1 of :not([hidden])) {
  border-bottom: 0;
}

.contact-faq-item[open] {
  background: rgba(194, 13, 24, 0.04);
}

.contact-faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 18px 48px 18px 22px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  list-style: none;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-item summary span {
  color: var(--brand-accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.contact-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transform: translateY(-50%);
  content: "";
}

.contact-faq-item[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat;
}

.contact-faq-answer {
  padding: 0 48px 18px 70px;
}

.contact-faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.contact-faq-answer a {
  color: var(--brand-accent);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 991px) {
  .contact-faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .contact-faq-item summary {
    grid-template-columns: 28px minmax(0, 1fr);
    padding-right: 48px;
    font-size: 15px;
  }

  .contact-faq-answer {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 991px) {
  .about-hero--about .about-hero-copy,
  .about-hero--contact .about-hero-copy {
    max-width: 100%;
  }

  .about-help-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .about-help-copy {
    padding: 12px 8px 4px;
  }

  .about-help-media {
    min-height: 210px;
  }

  .about-help-media img,
  .about-help-card > img {
    min-height: 210px;
  }
}

@media (max-width: 720px) {
  .about-hero--about .about-hero-inner,
  .about-hero--contact .about-hero-inner {
    min-height: 0;
    padding-bottom: 28px;
  }

  .about-page .section-heading,
  .contact-page .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page .section-heading h2,
  .contact-page .section-heading h2 {
    font-size: 24px;
  }
}

/* Legal pages: podmínky / soukromí / cookies */
.about-hero--legal {
  height: auto;
  min-height: 360px;
  overflow: hidden;
}

.about-hero--legal .about-hero-image,
.about-hero--legal::after {
  border-radius: 0 0 20px 20px;
}

.about-hero--legal .about-hero-inner {
  min-height: 360px;
  padding-bottom: 40px;
}

.about-hero--legal .about-hero-copy {
  max-width: 56%;
  padding-top: 12px;
}

.legal-page .legal-shell {
  margin-top: 0;
  padding-top: 36px;
  padding-bottom: 12px;
}

.legal-page .legal-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.legal-page .legal-intro .section-eyebrow {
  display: inline-block;
  margin-bottom: 0;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page .legal-intro .section-eyebrow::before {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--brand-accent);
  content: "";
}

.legal-page .legal-intro h2 {
  margin: 10px 0 0;
  color: var(--text-primary);
  font-size: clamp(28px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-page .legal-intro > p {
  margin: 12px auto 0;
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.legal-page .legal-updated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  color: var(--text-primary);
  font-size: 13px;
}

.legal-page .legal-intro .legal-updated {
  margin: 16px auto 0;
}

.legal-page .legal-updated svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.legal-page .legal-layout {
  --bs-gutter-y: 24px;
  margin-top: 0;
}

.legal-page .legal-side,
.legal-page .legal-article,
.legal-page .privacy-nav,
.legal-page .privacy-cookie {
  height: auto;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.04);
}

.legal-page .legal-side {
  padding: 22px 18px;
}

.legal-page .legal-side h2,
.legal-page .privacy-nav h2 {
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
}

.legal-page .legal-side ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-page .legal-side li a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-page .legal-side li b,
.legal-page .terms-article h2 b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.legal-page .legal-action-panel {
  margin-top: 16px;
  padding: 16px;
  background: var(--gray-50, #f2f5f8);
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 16px;
}

.legal-page .legal-download {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 12px;
}

.legal-page .legal-download > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-page .legal-download strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.legal-page .legal-download p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.legal-page .legal-download a {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  margin-top: 2px;
  color: var(--brand-accent);
  background: #fff;
  border: 1px solid var(--brand-accent);
  border-radius: var(--btn-radius, 10px);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-page .legal-download a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-page .legal-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding-top: 14px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(12, 31, 68, 0.1);
  font-size: 13px;
  line-height: 1.45;
}

.legal-page .legal-consent svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--brand-accent);
  stroke-width: 1.8;
}

.legal-page .legal-article {
  padding: 8px 28px 20px;
}

.legal-page .legal-article section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(12, 31, 68, 0.08);
  scroll-margin-top: 96px;
}

.legal-page .legal-article section:last-child {
  border-bottom: 0;
}

.privacy-page .legal-article,
.terms-page .legal-article,
.cookies-page .legal-article {
  counter-reset: legal-section;
}

.legal-page .privacy-article h2,
.privacy-page .legal-article h2,
.terms-page .legal-article h2,
.cookies-page .legal-article h2 {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-page .privacy-article h2::before,
.privacy-page .legal-article h2::before,
.terms-page .legal-article h2::before,
.cookies-page .legal-article h2::before {
  counter-increment: legal-section;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 0;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 50%;
  background-image: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  content: counter(legal-section);
}

.legal-page .legal-article p,
.legal-page .legal-article li {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.legal-page .legal-article ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.legal-page .legal-article li + li {
  margin-top: 6px;
}

.privacy-page .legal-article ul,
.terms-page .legal-article ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-page .legal-article li,
.terms-page .legal-article li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.privacy-page .legal-article li::before,
.terms-page .legal-article li::before {
  width: 18px;
  height: 18px;
  margin-top: 0;
  align-self: center;
  background: rgba(194, 13, 24, 0.1);
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c20d18' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.2 3.2 7.8-7.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  content: "";
}

.privacy-page .legal-article li + li,
.terms-page .legal-article li + li {
  margin-top: 10px;
}

.legal-page .legal-article a {
  color: var(--brand-accent);
  font-weight: 650;
}

.legal-page .privacy-nav {
  overflow: hidden;
  padding: 8px 0;
  counter-reset: privacy-nav;
}

.legal-page .privacy-nav h2 {
  padding: 14px 18px 8px;
}

.legal-page .privacy-nav a {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  min-height: 48px;
  padding: 12px 18px;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.legal-page .privacy-nav a::before {
  counter-increment: privacy-nav;
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  color: #fff;
  background: var(--brand-primary);
  border-radius: 50%;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  content: counter(privacy-nav);
  transition: color 160ms ease, background-color 160ms ease;
}

.legal-page .privacy-nav a.active,
.legal-page .privacy-nav a:hover {
  color: #fff;
  background: var(--brand-primary);
  font-weight: 700;
}

.legal-page .privacy-nav a.active::before,
.legal-page .privacy-nav a:hover::before {
  color: var(--brand-primary);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.legal-page .privacy-cookie {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
}

.legal-page .privacy-cookie > svg {
  width: 28px;
  height: 28px;
  color: var(--brand-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-page .privacy-cookie strong {
  font-size: 14px;
}

.legal-page .privacy-cookie p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.legal-page .privacy-cookie > a {
  grid-column: 1 / -1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  margin-top: 4px;
  padding: 0 14px !important;
  color: var(--brand-accent) !important;
  background: #fff;
  border: 1px solid var(--brand-accent) !important;
  border-radius: var(--btn-radius, 10px);
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.legal-page .privacy-cookie > a svg,
.legal-page .privacy-more svg {
  display: block;
  flex: 0 0 auto;
  width: 16px !important;
  height: 16px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-page .privacy-more {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  color: var(--brand-accent) !important;
  border: 0 !important;
  background: transparent;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.legal-page .privacy-more:hover {
  gap: 10px;
}

.legal-page .privacy-contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin: 16px 0;
  padding: 18px 20px;
  background: var(--gray-25, #f6f8fb);
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 14px;
}

.legal-page .privacy-contact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 16px;
}

.legal-page .privacy-contact p {
  margin: 0;
}

.legal-page .privacy-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: none;
}

.legal-page .privacy-contact a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cookie-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.cookie-type-card {
  padding: 18px;
  background: var(--gray-25, #f6f8fb);
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 14px;
}

.cookie-type-badge {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-type-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
}

.cookie-type-card p {
  margin: 0;
}

.cookie-settings {
  margin-top: 18px;
  padding: 20px;
  background: var(--gray-25, #f6f8fb);
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 14px;
}

.cookie-settings h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(12, 31, 68, 0.08);
  cursor: pointer;
}

.cookie-toggle:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cookie-toggle strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
}

.cookie-toggle small {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.cookie-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-accent);
}

.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-settings-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--brand-accent);
  background: transparent;
  border: 1px solid var(--brand-accent);
  border-radius: var(--btn-radius, 10px);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 991px) {
  .about-hero--legal .about-hero-copy {
    max-width: 100%;
  }

  .legal-page .privacy-contact,
  .cookie-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-hero--legal .about-hero-inner {
    min-height: 0;
    padding-bottom: 28px;
  }

  .legal-page .legal-article {
    padding: 4px 18px 12px;
  }

  .legal-page .legal-article h2 {
    font-size: 18px;
  }

  .cookie-settings-actions {
    flex-direction: column;
  }

  .cookie-settings-actions .primary-button,
  .cookie-settings-secondary {
    width: 100%;
  }
}
