:root {
  --brand: #44b3eb;
  --max-width: 1100px;
  --page-gap: 20px;
  --base-font-size: 16px;

  /* Header (responsive system) */
  --header-height: 110px;
  --header-logo-height: 160px;
  --nav-gap: 28px;
  --nav-font-size: 18px;
  --flag-w: 50px;
  --flag-h: 40px;

  --muted: #666;
  --card-shadow: rgba(12, 24, 32, 0.06);
  --content-gap: 72px;

  /* Hero variables */
  --hero-height: calc(100vh + 120px);
  --hero-min-height: 720px;
  --easing: cubic-bezier(0.2, 0.9, 0.2, 1);
  --hero-glow: rgba(68, 179, 235, 0.06);
  --hero-glow-strong: rgba(68, 179, 235, 0.14);

  /* hero text shift */
  --onama-hero-text-shift: 18vh;

  /* Typography scale */
  --h2-size: 36px;
  --p-size: 20px;
  --lead-size: 20px;

  /* Section sizing */
  --section-min-height: calc(100vh - var(--header-height) - 40px);
}

/* Reset / base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family:
    "Sora",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: var(--base-font-size);
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

/* Make main use scroll snap */
main {
  padding-top: var(--header-height);
  scroll-snap-type: y mandatory;
  scroll-padding-top: calc(var(--header-height) + 8px);
}

/* Header */
.header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 24, 35, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--page-gap);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: var(--header-height);
  height: auto;
}

.header-inner .nav.nav-left {
  justify-self: end;
  margin-right: 12px;
}
.header-inner .nav.nav-right {
  justify-self: start;
  margin-left: 12px;
}
.nav {
  display: flex;
  gap: var(--nav-gap);
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
}
.logo {
  height: var(--header-logo-height);
  display: inline-block;
  max-height: calc(var(--header-height) + 30px);
  width: auto;
}

/* Links */
.nav-link {
  position: relative;
  text-decoration: none;
  color: #0f1720;
  font-size: var(--nav-font-size);
  font-weight: 700;
  padding: 8px 0;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 100%;
  background: var(--brand);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 220ms ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
  transform: scaleX(1);
}

/* Language flag */
.lang-flag {
  display: inline-block;
  position: relative;
}
.lang-flag img {
  width: var(--flag-w);
  height: var(--flag-h);
  object-fit: cover;
  transform: translateY(2px);
  border-radius: 20%;
}
.lang-flag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 100%;
  background: var(--brand);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 220ms ease;
}
.lang-flag:hover::after,
.lang-flag:focus::after {
  transform: scaleX(1);
}

/* ===== Header responsiveness (NO overlap, same as style.css) ===== */

@media (max-width: 1100px) {
  :root {
    --header-height: 104px;
    --header-logo-height: 110px;
    --nav-gap: 18px;
    --nav-font-size: 16px;
    --flag-w: 40px;
    --flag-h: 32px;
  }

  .header-inner {
    gap: 18px;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-height: 100px;
    --header-logo-height: 96px;
    --nav-gap: 14px;
    --nav-font-size: 14px;
    --flag-w: 38px;
    --flag-h: 30px;
  }

  .header-inner .nav.nav-left,
  .header-inner .nav.nav-right {
    margin: 0;
  }
}

/* ≤720px: stack + scroll row to avoid overlap */
@media (max-width: 720px) {
  :root {
    --header-height: 140px;
    --header-logo-height: 92px;
    --nav-gap: 14px;
    --nav-font-size: 14px;
    --flag-w: 42px;
    --flag-h: 34px;
  }

  main {
    padding-top: var(--header-height);
    scroll-padding-top: calc(var(--header-height) + 8px);
  }

  .header-inner {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 10px 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    overflow-x: auto;
    scrollbar-width: none;
  }
  .header-inner::-webkit-scrollbar {
    display: none;
  }

  .logo-link {
    order: 0;
  }

  .nav.nav-left,
  .nav.nav-right {
    margin: 0 !important;
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    row-gap: 0;
    gap: var(--nav-gap);
    align-items: center;
    flex: 0 0 auto;
  }

  .nav.nav-left {
    order: 1;
  }
  .nav.nav-right {
    order: 1;
  }

  .lang-flag img {
    width: var(--flag-w);
    height: var(--flag-h);
    transform: none;
  }

  .nav-link {
    padding: 6px 0;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 124px;
    --header-logo-height: 84px;
    --nav-gap: 12px;
    --nav-font-size: 13px;
    --flag-w: 40px;
    --flag-h: 32px;
  }

  main {
    padding-top: var(--header-height);
    scroll-padding-top: calc(var(--header-height) + 8px);
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 124px;
    --header-logo-height: 76px;
    --nav-gap: 10px;
    --nav-font-size: 12px;
    --flag-w: 38px;
    --flag-h: 30px;
  }

  main {
    padding-top: var(--header-height);
    scroll-padding-top: calc(var(--header-height) + 8px);
  }
}

/* ---------- HERO ---------- */
.hero-full {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 680ms var(--easing),
    transform 680ms var(--easing);
  transform-origin: center;
  animation: hero-box-pulse 9s ease-in-out infinite alternate;
}
.hero-full.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-full:hover,
.hero-full:focus-within {
  animation-play-state: paused;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: hero-img-zoom 22s ease-in-out infinite alternate;
  transform-origin: center;
}
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 26, 0.45),
    rgba(7, 18, 26, 0.45)
  );
  z-index: 1;
  animation: hero-overlay-pulse 10s ease-in-out infinite alternate;
}

.hero-full-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  transform: translateY(var(--onama-hero-text-shift));
}

.hero-title {
  margin: 0 0 12px 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: hero-title-in 700ms var(--easing) 250ms both;
}
.hero-subtitle {
  margin: 0;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: hero-title-in 700ms var(--easing) 350ms both;
}

@keyframes hero-box-pulse {
  from {
    transform: scale(1);
    box-shadow: none;
  }
  to {
    transform: scale(1.02);
    box-shadow:
      0 40px 80px var(--hero-glow),
      inset 0 0 50px rgba(0, 0, 0, 0.06);
  }
}
@keyframes hero-img-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
@keyframes hero-overlay-pulse {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 1;
  }
}
@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gap);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  min-height: var(--section-min-height);
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}
.section > .col {
  padding: 36px 0;
}
.section h2 {
  margin: 0 0 12px 0;
  font-size: var(--h2-size);
  color: #0f1720;
  font-weight: 800;
}
.section p {
  margin: 0 0 12px 0;
  color: #333;
  font-size: var(--p-size);
  line-height: 1.8;
}

.content-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 55%;
  gap: var(--content-gap);
  align-items: center;
}
.reverse-grid {
  grid-template-columns: 55% 1fr;
}

.text-col {
  max-width: 640px;
}
.media-col {
  position: relative;
}

#who-we-are .image-slot:not(:empty) {
  width: 100%;
  transform: none;
  box-shadow: 0 22px 60px rgba(12, 24, 32, 0.08);
}
#who-we-are .text-col {
  padding-left: 56px;
  max-width: 520px;
}

.image-slot {
  display: none;
}
.image-slot:not(:empty) {
  display: block;
  max-width: 100%;
  width: 100%;
  height: min(70vh, 620px);
  background: #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(12, 24, 32, 0.08);
}
.image-slot[data-slot="locations"]:not(:empty) {
  height: min(78vh, 740px);
  max-width: 100%;
  width: 100%;
  box-shadow: 0 28px 80px rgba(12, 24, 32, 0.1);
}
.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead {
  font-size: var(--lead-size);
  color: #222;
  line-height: 1.8;
  margin: 0 0 18px 0;
}

.bulleted,
.offer-list {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
.bulleted li,
.offer-list li {
  margin: 12px 0;
  font-size: var(--p-size);
  line-height: 1.8;
}

/* footer */
.site-footer {
  background: #fff;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gap);
  text-align: center;
}
.footer-inner .muted {
  color: #778;
  font-size: 14px;
  margin: 0;
}

/* reveal */
.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 520ms cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive content ===== */

@media (min-width: 1400px) {
  :root {
    --max-width: 1300px;
    --hero-height: calc(110vh + 120px);
    --hero-min-height: 780px;
    --h2-size: 40px;
    --p-size: 22px;
    --lead-size: 22px;
  }

  body {
    font-size: 17px;
  }

  .hero-title {
    font-size: 56px;
  }

  .content-grid {
    gap: 88px;
  }

  .image-slot:not(:empty) {
    height: min(70vh, 680px);
  }
  .image-slot[data-slot="locations"]:not(:empty) {
    height: min(78vh, 800px);
  }
}

@media (max-width: 1000px) {
  :root {
    --h2-size: 28px;
    --p-size: 16px;
    --lead-size: 18px;
    --hero-height: calc(100vh + 80px);
    --hero-min-height: 520px;
    --onama-hero-text-shift: 12vh;
  }

  main {
    scroll-snap-type: none;
  }

  .hero-full {
    min-height: auto;
    padding: 36px 0 24px;
  }

  .section {
    min-height: auto;
    padding: 28px var(--page-gap);
    display: block;
  }

  .content-grid,
  .reverse-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .image-slot:not(:empty) {
    height: 360px;
  }

  #who-we-are .text-col {
    padding-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --h2-size: 22px;
    --p-size: 15px;
    --lead-size: 16px;
    --onama-hero-text-shift: 10vh;
  }

  .hero-title {
    font-size: 30px;
  }

  .image-slot:not(:empty) {
    height: 260px;
  }
}

@media (max-width: 560px) {
  :root {
    --onama-hero-text-shift: 8vh;
  }

  .hero-full {
    padding: 28px 0 18px;
  }

  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 22px var(--page-gap);
  }
  .image-slot:not(:empty) {
    height: 220px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 22px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .image-slot:not(:empty) {
    height: 200px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-full,
  .hero-img,
  .hero-full::before,
  .hero-title,
  .hero-subtitle {
    animation: none !important;
    transition: none !important;
  }
  .reveal-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
