:root {
  --navy-900: #10223a;
  --navy-800: #1f3657;
  --gold-500: #c9952f;
  --gold-300: #eacb86;
  --neutral-100: #f6f7fa;
  --neutral-300: #d6ddea;
  --neutral-900: #14181f;
  --white: #ffffff;
  --maxw: 1100px;
  --box-title-min-height: 3.2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--neutral-900);
  background: var(--white);
}

.container {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--neutral-100);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 34, 58, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(234, 203, 134, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: #e6ebf4;
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-300);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  border: 1px solid #42516a;
  background: transparent;
  color: #e6ebf4;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--gold-500);
  color: #1b1b1b;
  border-color: var(--gold-500);
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  object-fit: cover;
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(140deg, #10223a 0%, #1f3657 55%, #2a466b 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 34, 58, 0.24), rgba(16, 34, 58, 0.24)),
    url("https://images.unsplash.com/photo-1519451241324-20b4ea2c4220?auto=format&fit=crop&w=2400&q=90"),
    url("https://images.unsplash.com/photo-1530122037265-a5f1f91d3b99?auto=format&fit=crop&w=2400&q=90");
  background-position: center, left center, right center;
  background-size: cover, 50% 100%, 50% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal, normal;
  opacity: 0.58;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 5.5rem;
}

.eyebrow {
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.lead {
  font-size: 1.1rem;
  max-width: 780px;
  margin-bottom: 1.7rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-500);
  color: #171717;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d9a23a;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.pillars,
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.4rem;
}

.pillar,
.card {
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  padding: 1rem;
  background: var(--white);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: var(--box-title-min-height) auto;
  column-gap: 0.65rem;
  align-items: start;
}

.box-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--navy-800);
  margin-bottom: 0;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 54, 87, 0.2);
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fc 100%);
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.pillar h3,
.card h3 {
  color: var(--navy-800);
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
  min-height: 0;
  display: flex;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
}

.pillar p,
.card p {
  grid-column: 1 / -1;
  margin: 0.7rem 0 0;
}

.clients-intro {
  max-width: 760px;
}

.client-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.client-list a {
  text-decoration: none;
  display: inline-block;
  border: 1px solid #b7c2d7;
  color: var(--navy-800);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #fdfefe;
}

.client-list a:hover,
.client-list a:focus-visible {
  border-color: var(--gold-500);
  color: var(--navy-900);
  outline: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-info p {
  margin: 0 0 0.7rem;
}

.contact-form {
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 1rem;
  background: var(--white);
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b8c4d8;
  border-radius: 8px;
  padding: 0.64rem 0.7rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(201, 149, 47, 0.35);
  border-color: var(--gold-500);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: #39414f;
}

.site-footer {
  background: var(--navy-900);
  color: #e8edf7;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero-media {
    /* Keep landscapes separated on mobile: Thailand top half, Switzerland bottom half. */
    background-size: cover, 100% 50%, 100% 50%;
    background-position: center, center top, center bottom;
    opacity: 0.5;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}
