.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: stretch;
  color: var(--color-white);
  background: var(--color-overlay);
}

.hero__media,
.hero__media picture,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 52% 52%;
}

.hero__veil {
  background:
    radial-gradient(ellipse at 83% 82%, rgba(0, 26, 51, 0.52) 0%, rgba(0, 26, 51, 0.24) 25%, rgba(0, 26, 51, 0) 47%),
    linear-gradient(90deg, rgba(0, 26, 51, 0.82) 0%, rgba(0, 26, 51, 0.64) 34%, rgba(0, 26, 51, 0.27) 66%, rgba(0, 26, 51, 0.07) 100%),
    linear-gradient(180deg, rgba(0, 26, 51, 0.42) 0%, rgba(0, 26, 51, 0.08) 32%, rgba(0, 26, 51, 0.24) 100%);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(to right, rgba(0, 26, 51, 0.82) 0%, rgba(0, 26, 51, 0.65) 45%, rgba(0, 26, 51, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, min(47rem, 68vw)) minmax(14rem, 1fr);
  min-height: 100svh;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding-top: clamp(5.7rem, 12vh, 8rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.hero__copy {
  width: min(100%, 47rem);
  align-self: center;
}

.hero__title {
  max-width: 9.5ch;
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
  color: var(--color-white);
  font-size: clamp(4rem, 6.1vw, 7.25rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 20px rgba(0, 26, 51, 0.32);
}

.hero__title-main,
.hero__title-accent {
  display: block;
}

.hero__title-main {
  white-space: nowrap;
}

.hero__title-accent {
  margin-top: 0.12em;
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero .section-label {
  margin-bottom: clamp(0.8rem, 2vh, 1.25rem);
  color: var(--color-accent);
  text-shadow: 0 2px 14px rgba(0, 26, 51, 0.3);
}

.hero__description {
  max-width: 39rem;
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
  /* over a photo, not a flat surface — slightly translucent for a softer look than solid white */
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.22rem);
  line-height: 1.52;
  text-shadow: 0 2px 18px rgba(0, 26, 51, 0.34);
}

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

.hero__aside {
  display: grid;
  width: min(100%, 22rem);
  gap: 1rem;
  align-self: end;
  justify-self: end;
  padding-bottom: 0.25rem;
}

.trust-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  min-height: 3.4rem;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: var(--text-sm);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 26, 51, 0.28);
}

.trust-list li::before {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.trust-list strong {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.hero__scroll-hint {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll-hint svg {
  width: 1rem;
  height: 1rem;
}

.callback-card__subtitle {
  max-width: 68ch;
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  text-align: left;
}

.callback-form {
  margin-top: 1.75rem;
}

.callback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.25rem;
}

.callback-form__full {
  grid-column: 1 / -1;
}

.callback-form .field {
  gap: 0.375rem;
}

.callback-form .field label {
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-body);
}

.callback-form__phone {
  display: flex;
  gap: 0.6rem;
}

.callback-form__phone select {
  flex: 0 0 6rem;
  min-width: 0;
  padding-inline: 0.5rem;
}

.callback-form__phone input {
  flex: 1;
  min-width: 0;
}

.callback-form .field input,
.callback-form .field select {
  height: 3rem;
  min-height: 0;
  border-color: var(--color-border);
  border-radius: 0.5rem;
}

.callback-form .field input:focus,
.callback-form .field select:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.callback-form__consent {
  display: grid;
  gap: 0.25rem;
}

.callback-form .checkbox-row {
  grid-template-columns: 1.125rem 1fr;
  font-size: var(--fs-micro);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.callback-form__consent .field-error:empty {
  display: none;
}

.callback-form .checkbox-row input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
}

.callback-form .checkbox-row a {
  color: var(--color-primary);
  text-decoration: underline;
}

.callback-form__submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1rem;
}

.callback-form__submit .spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: callback-spin 700ms linear infinite;
}

@keyframes callback-spin {
  to {
    transform: rotate(360deg);
  }
}

.callback-form__footnote {
  margin: 0;
  color: var(--color-text-faint);
  font-size: 0.75rem;
  text-align: left;
}

.callback-success {
  margin-top: 1.75rem;
  text-align: left;
  font-size: var(--text-lg);
  color: var(--color-text);
}

.footer {
  padding-block: clamp(4rem, 8vw, 7rem) 2rem;
  background: var(--color-bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) repeat(3, minmax(10rem, 0.6fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer__brand p {
  max-width: 24rem;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.footer h2 {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.4;
}

.footer ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a,
.footer button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--color-text-muted);
  background: none;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-body);
  text-align: left;
}

.footer a:hover,
.footer button:hover {
  color: var(--color-text);
}

.footer__legal {
  display: grid;
  gap: 0.35rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-micro);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.footer__legal p {
  margin: 0;
}

.footer__legal strong {
  color: var(--color-text);
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-micro);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.footer__bottom p {
  margin: 0;
}

.legal-hero {
  padding-block: 10rem 4rem;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.legal-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-hero p {
  max-width: 68ch;
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.legal-content__nav {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 0.5rem;
}

.legal-content__nav a {
  min-height: 2.75rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.legal-content__body {
  max-width: 52rem;
}

.legal-content__body h2 {
  margin-top: 3rem;
  font-size: var(--text-h3);
}

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

.legal-content__body p,
.legal-content__body li {
  max-width: 68ch;
  color: var(--color-text);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

.legal-notice {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-content__body table {
  width: 100%;
  min-width: 34rem;
  margin: 0;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.legal-content__body th,
.legal-content__body td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.legal-content__body th {
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 500;
}

.legal-content__body caption {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-align: left;
}

.legal-lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
}

.legal-lang-switch a {
  color: var(--color-text-muted);
}

.legal-lang-switch [aria-current="true"] {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-lang-switch span[aria-hidden="true"] {
  color: var(--color-border-strong);
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
}

.not-found__code {
  margin-bottom: 0;
  color: var(--color-border-strong);
  font-family: var(--font-display);
  font-size: clamp(8rem, 28vw, 24rem);
  line-height: 0.7;
}

.not-found h1 {
  margin-bottom: 1.5rem;
  font-size: var(--text-h2);
}

[data-reveal] {
  --reveal-delay: 0ms;
}

html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

html.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-reveal) var(--ease-premium) var(--reveal-delay), transform var(--duration-reveal) var(--ease-premium) var(--reveal-delay);
}

@media (prefers-reduced-motion: reduce) {
  html.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
/* Shared editorial typography and surfaces. Geometry remains component-owned. */
h1, h2, .display-title, .section-title { font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }
h1 { line-height: 1.02; }
h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; }
.button { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.06em; }
.button--ghost:hover, .button--ghost:active { color: var(--white); background: var(--sir-navy); }
.nav-links a { font-weight: 500; letter-spacing: 0.04em; }
.site-header .nav-shell, .site-header.is-solid .nav-shell, .site-header.is-scrolled .nav-shell { color: var(--sir-navy); background: var(--white); border-color: var(--border); box-shadow: none; }
.field input, .field select, .field textarea { color: var(--text-primary); background: var(--white); border-color: var(--border); }
.field input::placeholder, .field textarea::placeholder { color: var(--accent-grey); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sir-navy); box-shadow: none; }
.footer { --color-text: #FFFFFF; --color-text-muted: rgba(255,255,255,0.65); --color-border: rgba(255,255,255,0.15); color: var(--white); background: var(--sir-navy); }
.footer h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; }
.footer :focus-visible { outline-color: var(--white); }
.footer__brand .brand__logo { filter: brightness(0) invert(1); }
