@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f7f4f3;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #f3e8ea;
  --surface-dark: #151519;
  --text: #1b1d23;
  --muted: #606674;
  --line: rgba(27, 29, 35, 0.08);
  --primary: #b11226;
  --primary-strong: #d31832;
  --primary-soft: rgba(177, 18, 38, 0.1);
  --primary-glow: rgba(211, 24, 50, 0.22);
  --accent: #8f0f22;
  --shadow: 0 18px 46px rgba(34, 16, 20, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(177, 18, 38, 0.13), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(177, 18, 38, 0.08), transparent 24%),
    linear-gradient(180deg, #fffefe 0%, var(--bg) 100%);
}

body.nav-open {
  overflow: hidden;
}

body.lang-transition::before {
  opacity: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 120;
}

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

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

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

button {
  cursor: pointer;
}

.page-shell {
  overflow: clip;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(27, 29, 35, 0.05);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a,
.language-switcher a,
.footer-links a,
.footer-button {
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary);
  background: rgba(177, 18, 38, 0.08);
}

.header-cta,
.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.header-cta,
.button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 14px 34px var(--primary-glow);
}

.button-secondary {
  color: #fff;
  background: var(--surface-dark);
  box-shadow: 0 14px 30px rgba(21, 21, 25, 0.18);
}

.button-ghost {
  color: var(--text);
  background: rgba(27, 29, 35, 0.06);
}

.header-cta:hover,
.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.article-card a:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: var(--surface-dark);
  color: #fff;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.hero,
.page-hero,
.legal-hero {
  padding: 52px 0 24px;
}

.hero-grid,
.page-hero__grid,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.page-hero__copy,
.page-hero__media,
.section-card,
.metric-card,
.quote-card,
.article-card,
.job-card,
.contact-card,
.contact-form,
.media-card,
.cookie-panel,
.cookie-modal__panel {
  border: 1px solid rgba(27, 29, 35, 0.06);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero__copy,
.contact-card,
.contact-form {
  padding: 42px;
}

.hero-media,
.page-hero__media,
.media-card,
.map-card {
  overflow: hidden;
}

.hero-media img,
.page-hero__media img,
.media-card img,
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media,
.hero-media {
  min-height: 520px;
}

.page-hero__copy,
.hero-copy {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1,
.page-hero h1,
.legal-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.section-head h2,
.section-card h2,
.contact-card h2,
.contact-form h2,
.narrow-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
  margin-top: 16px;
}

.section-card h3,
.article-card h3,
.job-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.lead,
.section-head p,
.section-card p,
.article-card p,
.job-card p,
.quote-card span,
.contact-card p,
.legal-copy p,
.narrow-copy p {
  color: var(--muted);
}

.hero-actions,
.cta-actions,
.cookie-actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-stats,
.mini-list,
.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats li,
.metric-card,
.section-card,
.article-card,
.job-card {
  padding: 24px;
}

.hero-stats li {
  border-radius: var(--radius-md);
  background: rgba(27, 29, 35, 0.04);
}

.hero-stats strong,
.metric-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
}

.hero-badge {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(27, 29, 35, 0.06);
  font-weight: 700;
}

.section {
  padding: 34px 0;
}

.section--compact {
  padding-top: 12px;
}

.section--accent .narrow-copy {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(177, 18, 38, 0.06), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(177, 18, 38, 0.1);
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.split--reverse .media-card {
  order: 2;
}

.split--reverse .section-card {
  order: 1;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.quote-card {
  padding: 44px;
  background: linear-gradient(135deg, #fff 0%, #f5eaec 100%);
}

.quote-card p {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.narrow-copy {
  max-width: 820px;
  margin: 0 auto;
}

.article-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  transition: transform 0.22s ease;
}

.article-meta,
.job-card__meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(27, 29, 35, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-layout {
  align-items: start;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(27, 29, 35, 0.04);
}

.map-card {
  margin-top: 24px;
  border-radius: var(--radius-md);
  min-height: 260px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(27, 29, 35, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(177, 18, 38, 0.45);
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.12);
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.checkbox span {
  font-weight: 500;
  color: var(--muted);
}

.cta-wrap {
  padding: 34px 0 54px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(120deg, #7d0d1e 0%, #b11226 52%, #d31832 100%);
  box-shadow: 0 22px 52px rgba(130, 13, 31, 0.28);
}

.cta-card h2,
.cta-card p {
  color: #fff;
}

.cta-card .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-card .button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-footer {
  padding: 48px 0 30px;
  background: #121318;
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.brand--footer img {
  filter: brightness(0) invert(1) grayscale(1) brightness(1.4);
}

.footer-brand p {
  margin: 18px 0 12px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #fff;
}

.footer-links,
.footer-contact,
.language-switcher {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.language-switcher a,
.footer-button {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-contact a:hover,
.language-switcher a:hover,
.footer-button:hover,
.language-switcher a[aria-current="true"] {
  color: #fff;
}

.footer-button {
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.58);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 90;
}

.cookie-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px;
  max-width: 940px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.cookie-modal.is-visible {
  display: block;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.5);
  backdrop-filter: blur(6px);
}

.cookie-modal__panel {
  position: relative;
  width: min(calc(100% - 32px), 620px);
  margin: 10vh auto 0;
  padding: 28px;
  z-index: 2;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(27, 29, 35, 0.06);
  font-size: 1.6rem;
  line-height: 1;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(27, 29, 35, 0.04);
}

.cookie-option p {
  margin: 6px 0 0;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(177, 18, 38, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.cookie-option--toggle input {
  position: absolute;
  opacity: 0;
}

.toggle {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  background: rgba(27, 29, 35, 0.18);
  transition: background 0.2s ease;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(27, 29, 35, 0.2);
  transition: transform 0.2s ease;
}

.cookie-option--toggle input:checked + .toggle {
  background: var(--primary);
}

.cookie-option--toggle input:checked + .toggle::after {
  transform: translateX(24px);
}

.legal-copy h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

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

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    inset: 88px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .page-hero__grid,
  .split,
  .contact-layout,
  .cta-card,
  .cookie-panel {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .page-hero__media,
  .hero-media {
    min-height: 360px;
  }

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

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

  .site-header__inner {
    min-height: 78px;
  }

  .brand img {
    width: 144px;
  }

  .hero-copy,
  .page-hero__copy,
  .contact-card,
  .contact-form,
  .cookie-modal__panel,
  .quote-card,
  .section--accent .narrow-copy {
    padding: 28px;
  }

  .form-grid,
  .footer-grid,
  .metrics-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    inset: auto 12px 12px;
  }
}
