:root {
  --bg: #eef1f5;
  --surface: #f8fafc;
  --surface-strong: #ffffff;
  --text: #111827;
  --text-muted: #4b5563;
  --line: #d7dee8;
  --primary: #0f4c81;
  --primary-strong: #0a3a63;
  --accent: #b88646;
  --shadow-soft: 0 18px 48px rgba(20, 31, 56, 0.12);
  --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 6% 7%, rgba(15, 76, 129, 0.17), transparent 26%),
    radial-gradient(circle at 95% 20%, rgba(184, 134, 70, 0.16), transparent 24%),
    var(--bg);
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: -1;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.site-header,
main,
.site-footer {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(215, 222, 232, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

.btn-small {
  padding: 9px 14px;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
  color: #ffffff;
}

main {
  display: grid;
  gap: 34px;
  padding: 10px 0 70px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 610px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(130deg, #0f4c81, #0d3d67 55%, #0a2f51);
  box-shadow: var(--shadow-soft);
}

.hero-media {
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 20, 35, 0.15), rgba(8, 20, 35, 0.54));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 4vw, 60px);
  color: #ecf2fa;
  display: grid;
  align-content: center;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  max-width: 13ch;
}

.lead {
  color: rgba(236, 242, 250, 0.92);
  max-width: 44ch;
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

.services,
.approach,
.stats,
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.page-hero-media {
  min-height: 320px;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-content {
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  align-content: center;
  gap: 14px;
}

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.page-hero-content h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  max-width: 16ch;
}

.page-hero-content p {
  color: var(--text-muted);
}

.detail-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.detail-card h2,
.detail-card h3 {
  margin-bottom: 8px;
}

.detail-card p {
  color: var(--text-muted);
}

.team-section {
  display: grid;
  gap: 16px;
}

.legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 12px;
}

.legal-page p {
  color: var(--text-muted);
  max-width: 78ch;
}

.legal-form {
  margin-top: 8px;
  max-width: 560px;
}

.section-head {
  display: grid;
  gap: 8px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  max-width: 19ch;
}

.service-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.card p {
  color: var(--text-muted);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.approach-content {
  display: grid;
  gap: 14px;
}

.approach-content p {
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.feature-list li {
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  color: var(--text);
}

.approach-media {
  display: grid;
  gap: 12px;
}

.media-main,
.media-secondary {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.media-main {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-secondary {
  max-width: 240px;
  justify-self: end;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.stats article {
  padding: 8px;
}

.stat {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--primary);
  margin-bottom: 2px;
}

.stats p:last-child {
  color: var(--text-muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact > div {
  display: grid;
  gap: 12px;
}

.contact > div p {
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-map {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
}

.site-map-title {
  font-weight: 700;
  color: var(--text);
  margin-right: 2px;
}

.site-map a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-map a:hover {
  color: var(--primary);
}

.site-footer p:first-child {
  font-family: "Playfair Display", serif;
  color: var(--text);
  font-size: 1.15rem;
}

.site-footer p[data-i18n='disclaimer'] {
  flex: 1 1 520px;
  margin: 0;
}

.site-footer p[data-i18n='copyright'] {
  margin-left: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-media {
    min-height: 320px;
  }

  .approach,
  .contact,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .stats,
  .detail-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .media-secondary {
    justify-self: start;
    max-width: 220px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-strong);
    font: inherit;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 520px);
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

  .main-nav.open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 10px;
  }

  .brand {
    font-size: 1.24rem;
  }

  .language-switch {
    order: 3;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 2px;
  }

  .hero-content {
    padding: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .site-footer {
    align-items: flex-start;
    gap: 10px;
  }

  .site-footer p[data-i18n='copyright'] {
    margin-left: 0;
  }
}
