/* ============================================
   AUREVIA GLOBAL, Design System
   ============================================ */

:root {
  --primary: #112A27;
  --primary-dark: #0a1c1a;
  --primary-hover: #1a3d38;
  --primary-light: #eef2f1;
  --primary-muted: #c5d4d1;
  --secondary: #cfa569;
  --secondary-hover: #b8924f;
  --secondary-light: #faf4eb;
  --secondary-muted: #e8d4b0;
  --navy: #112A27;
  --navy-dark: #0a1c1a;
  --blue: #112A27;
  --blue-hover: #1a3d38;
  --blue-light: #eef2f1;
  --blue-muted: #e8d4b0;
  --white: #FFFFFF;
  --slate: #64748B;
  --slate-dark: #334155;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
  --header-h: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(17, 42, 39, 0.08);
  --shadow-md: 0 4px 24px rgba(17, 42, 39, 0.1);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
}

/* Do not set overflow-x on html/body/main — it breaks position:sticky in scroll-story */

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-hover);
}

ul {
  list-style: none;
}

/* ---- Layout ---- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--blue-light);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.section--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 42, 39, 0.92) 0%, rgba(17, 42, 39, 0.85) 100%);
  z-index: 0;
}

.section--bg .container {
  position: relative;
  z-index: 1;
}

.section--bg .section__label {
  color: var(--blue-muted);
}

.section--bg .section__title {
  color: var(--white);
}

.section--bg .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.section-media--tall img {
  aspect-ratio: 3 / 4;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  border-color: var(--blue-muted);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.feature-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

.cta-banner--image {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-banner--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 42, 39, 0.92) 0%, rgba(17, 42, 39, 0.85) 100%);
  z-index: 0;
}

.cta-banner--image .container {
  position: relative;
  z-index: 1;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-hover);
  margin-bottom: 12px;
}

.section--navy .section__label {
  color: var(--blue-muted);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section--navy .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 640px;
  line-height: 1.7;
}

.section--navy .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section__header {
  margin-bottom: 48px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

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

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn--outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Header ---- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--header-h);
  transition: box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.logo__img--header {
  height: 42px;
  max-width: 180px;
}

.logo__img--footer {
  height: 46px;
  max-width: 200px;
  margin-bottom: 16px;
}

.logo__img--loader {
  height: 52px;
  max-width: 220px;
  margin: 0 auto 28px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer__brand .logo__img--footer {
  margin-bottom: 16px;
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo__text small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav__link--active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
  overflow-x: hidden;
}

/* ---- Footer ---- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-muted), var(--secondary));
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .logo__text {
  color: var(--white);
  margin-bottom: 16px;
}

.footer__brand .logo__text small {
  color: var(--blue-muted);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact li {
  font-size: 0.875rem;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer__contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer__bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__divider {
  opacity: 0.3;
}

.footer__credit {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--blue-muted);
}

/* ---- Hero ---- */

.hero {
  background: var(--navy);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 28, 26, 0.93) 0%, rgba(17, 42, 39, 0.78) 55%, rgba(17, 42, 39, 0.9) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero:not(.hero--image)::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(207, 165, 105, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 165, 105, 0.45), transparent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(207, 165, 105, 0.2);
  border: 1px solid rgba(207, 165, 105, 0.35);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-muted);
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title span {
  color: var(--blue-muted);
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

/* ---- Page Hero (inner pages) ---- */

.page-hero {
  background: var(--navy);
  padding: 80px 0 88px;
  border-bottom: 3px solid var(--secondary);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 28, 26, 0.9) 0%, rgba(17, 42, 39, 0.82) 45%, rgba(17, 42, 39, 0.88) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

/* ---- Stats ---- */

.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__number span {
  color: var(--blue);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 500;
}

/* ---- Cards ---- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.card[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.card:hover {
  border-color: var(--blue-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ---- Timeline ---- */

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--blue);
  border-radius: 50%;
  z-index: 1;
}

.timeline__year {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.timeline__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline__text {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 680px;
}

/* ---- Spec Table ---- */

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background: var(--blue-light);
}

.spec-table td:first-child {
  font-weight: 500;
  color: var(--navy);
  width: 40%;
}

/* ---- Callout ---- */

.callout {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.callout__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.callout__text {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ---- Comparison ---- */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison__card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.comparison__card--current {
  background: var(--white);
}

.comparison__card--target {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.comparison__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.comparison__value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.comparison__card--current .comparison__value {
  color: var(--slate);
}

.comparison__card--target .comparison__value {
  color: var(--secondary);
}

.comparison__unit {
  font-size: 0.9375rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

.comparison__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* ---- Content prose ---- */

.prose {
  max-width: 760px;
}

.prose p {
  margin-bottom: 20px;
  color: var(--slate-dark);
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 12px;
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.prose ul li {
  margin-bottom: 8px;
  color: var(--slate-dark);
  line-height: 1.7;
}

.prose--wide {
  max-width: 100%;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-info__value a {
  color: var(--navy);
  text-decoration: none;
}

.contact-info__value a:hover {
  color: var(--blue);
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--slate-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17, 42, 39, 0.12);
}

.form__input.error,
.form__textarea.error {
  border-color: #EF4444;
}

.form__error {
  font-size: 0.8125rem;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

.form__error.visible {
  display: block;
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #166534;
  font-size: 0.9375rem;
  margin-top: 16px;
}

.form__success.visible {
  display: block;
}

/* ---- CTA Banner ---- */

.cta-banner {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-light);
}

/* ---- Feature list ---- */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item__icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-item__text {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ---- Reveal animation ---- */

.reveal {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-52px);
}

.reveal--right {
  transform: translateX(52px);
}

.reveal--up {
  transform: translateY(36px);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__grid > div:nth-child(3) .footer__links {
    column-count: 2;
    column-gap: 24px;
  }

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

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__link {
    padding: 14px 16px;
    font-size: 1rem;
  }

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

  .comparison {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-accordion__panels-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-accordion__panels-wrap::-webkit-scrollbar {
    display: none;
  }

  .hero-accordion__panels {
    justify-content: flex-start;
    width: max-content;
    max-width: none;
  }

  .hero-accordion__layout {
    min-width: 0;
  }

  .hero-accordion__layout > * {
    min-width: 0;
  }

  .page-hero {
    padding: 56px 0 64px;
  }

  .page-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .page-hero__text {
    font-size: 1rem;
  }

  .scroll-story__sticky {
    padding: 16px 0;
  }

  .scroll-story__inset,
  .scroll-story__img {
    max-height: min(28svh, 220px);
  }

  .scroll-story__inner {
    gap: 12px;
  }

  .scroll-story__below {
    padding: 40px 0 48px;
  }

  .container {
    padding: 0 20px;
  }

  .section-media,
  .section-media img {
    max-width: 100%;
  }

  .spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .form {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Marquee ---- */

.marquee {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  position: relative;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  padding: 12px 0;
}

.marquee--fast .marquee__track {
  animation-duration: 14s;
}

.marquee--paused .marquee__track {
  animation-play-state: paused;
}

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

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.marquee__dot {
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Social Side Panel ---- */

.social-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(var(--side-x, 80px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  opacity: var(--side-opacity, 0);
  visibility: var(--side-visibility, hidden);
  pointer-events: var(--side-pointer, none);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    visibility 0.55s ease;
  will-change: transform, opacity;
}

.social-panel__tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 10px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  margin-bottom: 8px;
}

.social-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-panel__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--white);
  border: 1px solid transparent;
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: width 0.25s ease, filter 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  overflow: hidden;
  width: 48px;
}

.social-panel__link span {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.social-panel__link:hover {
  width: 148px;
  padding-right: 16px;
  filter: brightness(1.1);
  transform: translateX(-2px);
}

.social-panel__link:hover span {
  max-width: 100px;
  opacity: 1;
  padding-left: 10px;
}

.social-panel__link svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.social-panel__link--fb {
  background: #1877F2;
  border-color: #1877F2;
}

.social-panel__link--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.social-panel__link--ig {
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
  border-color: #E1306C;
}

.social-panel__link--ig:hover {
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
  border-color: #E1306C;
}

.social-panel__link--li {
  background: #0A66C2;
  border-color: #0A66C2;
}

.social-panel__link--li:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

/* ---- Floating CTAs (Contact + WhatsApp) ---- */

.contact-float {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(var(--side-x, -80px));
  z-index: 88;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 11px;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: none;
  box-shadow: 0 4px 20px rgba(17, 42, 39, 0.25);
  animation: contact-float-glow 2.8s ease-in-out infinite;
  opacity: var(--side-opacity, 0);
  visibility: var(--side-visibility, hidden);
  pointer-events: var(--side-pointer, none);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    visibility 0.55s ease,
    background 0.2s ease;
  will-change: transform, opacity;
}

.contact-float:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-50%) translateX(var(--side-x, -80px));
}

@keyframes contact-float-glow {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(17, 42, 39, 0.25),
      0 0 0 0 rgba(207, 165, 105, 0);
  }
  50% {
    box-shadow:
      0 4px 24px rgba(17, 42, 39, 0.3),
      0 0 18px 4px rgba(207, 165, 105, 0.55),
      0 0 36px 8px rgba(207, 165, 105, 0.2);
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 88;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

@media (max-width: 768px) {
  .contact-float {
    display: none !important;
  }

  .social-panel {
    top: auto;
    bottom: 92px;
    transform: translateX(var(--side-x, 80px));
  }

  .social-panel__link {
    width: 44px;
    padding: 10px 12px;
  }

  .social-panel__link svg {
    width: 18px;
    height: 18px;
  }

  .social-panel__tab {
    padding: 12px 8px;
    font-size: 0.625rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-story__spacer {
    height: auto !important;
  }

  .scroll-story__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding: 64px 0;
  }

  .scroll-story__animated {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .scroll-story__inset {
    clip-path: none !important;
    max-height: none;
  }

  .scroll-story__img {
    transform: none !important;
    max-height: none;
  }

  .contact-float {
    animation: none;
  }

  .social-panel,
  .contact-float {
    transition: none;
  }
}

/* ---- Scroll Story (Who We Are) ---- */

.scroll-story {
  background: var(--navy);
  position: relative;
}

.scroll-story__spacer {
  position: relative;
  /* height set by JS: sticky viewport + scroll track */
}

.scroll-story__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(40% 50% at 50% 30%, rgba(207, 165, 105, 0.2) 0%, transparent 70%),
              linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 50%, #142f2c 100%);
  overflow: hidden;
  padding: 20px 0;
  z-index: 1;
}

.scroll-story__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 14px;
  max-height: 100%;
}

.scroll-story__text {
  max-width: 680px;
  will-change: transform, opacity, filter;
  flex-shrink: 0;
}

.scroll-story__animated {
  opacity: 0;
}

.scroll-story__text .section__label {
  color: var(--blue-muted);
}

.scroll-story__text .section__title {
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.scroll-story__text .section__subtitle {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
}

.scroll-story__media-outer {
  width: 100%;
  max-width: 820px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 1;
  min-height: 0;
}

.scroll-story__inset {
  overflow: hidden;
  width: 100%;
  max-height: min(34vh, 320px);
  will-change: clip-path;
  clip-path: inset(42% 42% 42% 42% round 500px);
}

.scroll-story__img {
  width: 100%;
  height: 100%;
  max-height: min(34vh, 320px);
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: scale(0.72);
}

.scroll-story__cta {
  will-change: transform, opacity;
  flex-shrink: 0;
}

.scroll-story__below {
  padding: 32px 0 48px;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.scroll-story__below .feature-grid,
.scroll-story__below .feature-card {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---- Hero Image Accordion ---- */

.hero-accordion {
  position: relative;
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-width: 100%;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-accordion__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-accordion__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(239, 246, 255, 0.76) 50%, rgba(255, 255, 255, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-accordion__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.hero-accordion__content {
  max-width: 540px;
}

.hero-accordion__heritage {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(17, 42, 39, 0.08);
}

.hero-accordion__heritage-yearblock {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 14px;
  background: var(--navy);
  color: var(--white);
}

.hero-accordion__heritage-est {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-accordion__heritage-year {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-accordion__heritage-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
}

.hero-accordion__heritage-country svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.hero-accordion__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-hover);
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.hero-accordion__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-accordion__text {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 28px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-accordion__content.is-switching .hero-accordion__tag,
.hero-accordion__content.is-switching .hero-accordion__title,
.hero-accordion__content.is-switching .hero-accordion__text {
  opacity: 0;
  transform: translateY(8px);
}

.hero-accordion__panels-wrap {
  border-radius: 16px;
  overflow: hidden;
  padding: 5px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-md);
}

.hero-accordion__panels {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  min-height: 420px;
  overflow: hidden;
  border-radius: 12px;
}

.hero-accordion__panels::-webkit-scrollbar {
  display: none;
}

.hero-accordion__panel {
  position: relative;
  flex-shrink: 0;
  height: 420px;
  width: 52px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}

.hero-accordion__panel:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.hero-accordion__panel:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.hero-accordion__panel.is-active {
  width: min(280px, 38vw);
  border-radius: 12px;
}

.hero-accordion__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-accordion__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 42, 39, 0.42);
  transition: background 0.4s ease;
  pointer-events: none;
}

.hero-accordion__panel.is-active::after {
  background: rgba(17, 42, 39, 0.28);
}

.hero-accordion__panel-label {
  position: absolute;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center center;
  letter-spacing: 0.02em;
}

.hero-accordion__panel.is-active .hero-accordion__panel-label {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .hero-accordion__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-accordion__content {
    max-width: 100%;
    text-align: center;
  }

  .hero-accordion__panels {
    justify-content: flex-start;
    min-height: 360px;
  }

  .hero-accordion__panel {
    height: 360px;
  }

  .hero-accordion__panel.is-active {
    width: min(240px, 55vw);
  }
}

@media (max-width: 768px) {
  .hero-accordion {
    padding: 32px 0 48px;
  }

  .hero-accordion__panel {
    height: 300px;
    width: 44px;
  }

  .hero-accordion__panel.is-active {
    width: min(200px, 62vw);
  }

  .hero-accordion__panel-label {
    font-size: 0.75rem;
    bottom: 80px;
  }
}

/* ---- Page Loader ---- */

body.is-loading {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, #142f2c 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  padding: 24px;
}

.loader__logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 28px;
}

.loader__logo small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--blue-muted);
  margin-top: 6px;
}

.loader__bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  margin: 0 auto 14px;
  overflow: hidden;
}

.loader__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-muted));
  border-radius: 100px;
  animation: loader-progress 1.4s ease-in-out forwards;
}

.loader__text {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes loader-progress {
  0% { width: 0; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* ---- Wave Timeline ---- */

.wave-timeline-section {
  background: var(--blue-light);
  overflow: hidden;
}

.wave-timeline__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.wave-timeline__intro .section__subtitle {
  margin: 0 auto;
}

.wave-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.wave-timeline__rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 120px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.wave-timeline__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-timeline__curve-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 4;
  stroke-linecap: round;
}

.wave-timeline__curve {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(207, 165, 105, 0.4));
}

.wave-timeline__events {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.wave-timeline__event {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.wave-timeline__event--left .wave-timeline__card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.wave-timeline__event--left .wave-timeline__node {
  grid-column: 2;
  grid-row: 1;
}

.wave-timeline__event--right .wave-timeline__card {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.wave-timeline__event--right .wave-timeline__node {
  grid-column: 2;
  grid-row: 1;
}

.wave-timeline__node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--blue-light), var(--shadow-md);
  flex-shrink: 0;
  z-index: 2;
}

.wave-timeline__node span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.wave-timeline__card {
  max-width: 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.wave-timeline__card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.wave-timeline__card-text {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .wave-timeline__rail {
    left: 28px;
    transform: none;
    width: 60px;
  }

  .wave-timeline__event {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding-left: 12px;
  }

  .wave-timeline__event--left .wave-timeline__card,
  .wave-timeline__event--right .wave-timeline__card {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }

  .wave-timeline__event--left .wave-timeline__node,
  .wave-timeline__event--right .wave-timeline__node {
    grid-column: 1;
    grid-row: 1;
  }

  .wave-timeline__node {
    width: 44px;
    height: 44px;
  }

  .wave-timeline__node span {
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader__bar-fill {
    animation: none;
    width: 100%;
  }
}

/* ---- Mobile enhancements ---- */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10001;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  overflow: visible;
  clip-path: none;
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

@media (max-width: 768px) {
  .header__inner {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .form__input,
  .form__textarea {
    font-size: 16px;
  }

  .nav {
    z-index: 200;
  }

  .nav-toggle {
    z-index: 201;
  }

  .hero-accordion__content {
    text-align: left;
  }

  .hero-accordion__heritage {
    margin-left: 0;
    margin-right: auto;
  }

  .page-hero .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .marquee__item {
    font-size: 0.75rem;
    padding: 0 14px;
  }

  .footer__links li {
    margin-bottom: 8px;
  }

  .btn {
    min-height: 44px;
  }

  .nav__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-accordion__title {
    font-size: clamp(1.625rem, 7vw, 2.25rem);
  }

  .hero-accordion__text {
    font-size: 0.9375rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .logo__text {
    font-size: 1.0625rem;
  }

  .logo__img--header {
    height: 34px;
    max-width: 140px;
  }

  .logo__img--footer {
    height: 38px;
    max-width: 150px;
  }
}
