/* =========================================
   GLOBAL DESIGN TOKENS
   Change colours ONLY here
========================================= */

:root {

  /* Brand */
  --color-primary: #007a82;
  --color-secondary: #00c8b7;
  --color-accent: #b10097;
  --color-highlight: #eb5d0b;

  /* Dark surfaces */
  --color-dark: #131e2a;
  --color-dark-alt: #1b2a3a;
  --color-dark-footer: #0d151e;

  /* Light surfaces */
  --color-bg: #f4f3ef;
  --color-bg-alt: #e4efef;
  --color-surface: #ffffff;

  /* Typography */
  --color-text: #1a2430;
  --color-text-muted: #6c7885;
  --color-text-light: rgba(255,255,255,0.82);

  /* Borders */
  --color-border: rgba(19,30,42,0.1);
  --color-border-light: rgba(255,255,255,0.08);

  /* Interactive */
  --color-link-hover: #ffffff;
  --color-button-hover-bg: #ffffff;
  --color-button-hover-text: var(--color-accent);

  /* Effects */
  --shadow-soft: 0 18px 48px rgba(0,0,0,0.08);

  /* Gradients */
  --gradient-hero:
    linear-gradient(
      135deg,
      var(--color-dark) 0%,
      var(--color-dark-alt) 55%,
      #0f1a26 100%
    );

  --gradient-cta:
    linear-gradient(
      135deg,
      var(--color-secondary),
      var(--color-primary)
    );

  --gradient-card:
    linear-gradient(
      135deg,
      rgba(0,200,183,0.9),
      rgba(177,0,151,0.85)
    );
}

/* =========================================
   RESET
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
select {
  font: inherit;
}

/* =========================================
   LAYOUT
========================================= */

.section {
  padding: clamp(72px, 9vw, 160px) 0;
}

.container {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-secondary);
}

/* =========================================
   HEADER
========================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.852);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  transition:
    transform 0.4s cubic-bezier(0.76, 0, 0.24, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: min-height 0.35s ease;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--color-text-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo img {
  height: 42px;
  width: auto;
  transition: height 0.35s ease;
}

/* COLLAPSED STATE */

.site-header.collapsed {
  transform: translateY(-100%);
}

/* prevent content jump */

body {
  padding-top: 110px;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.site-header.scrolled .header-inner {
  min-height: 72px;
}

.site-header.scrolled .logo img {
  height: 38px;
}

/* optional nav tightening */

.site-header.scrolled .main-nav {
  gap: 1.5rem;
}

.site-header.scrolled .main-nav a {
  font-size: 0.92rem;
}

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

.main-nav a {
  font-size: 14px;
  color: var(--color-text-dark);
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-link-hover);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: 0.2s ease;
}

.search-button:hover {
  background: rgba(255,255,255,0.08);
}

.region-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text-dark);
  padding: 10px 14px;
  border-radius: 999px;
  outline: none;
}

/* =========================================
   HERO
========================================= */

.hero {
  min-height: 88vh;
  background:
    radial-gradient(
      circle at top right,
      rgba(0,200,183,0.18),
      transparent 28%
    ),
    var(--gradient-hero);

  color: white;
  display: grid;
  align-items: end;
  padding-top: 140px;
  padding-bottom: clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: rgba(0,200,183,0.08);
  border-radius: 50%;
  top: -180px;
  right: -120px;
  filter: blur(20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 118px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin-bottom: 32px;
  max-width: 900px;
}

.hero p {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: 42px;
}

.hero-media {
  aspect-ratio: 4 / 3.75;
  clip-path: polygon(
    25% 0,
    75% 0,
    100% 50%,
    75% 100%,
    25% 100%,
    0 50%
  );

    background: var(--gradient-card);
    transform: translateY(8%);
    position: relative;
    box-shadow: var(--shadow-soft);

    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 1;

  /* hidden state */
  clip-path: polygon(
    0 0,
    0 0,
    0 100%,
    0 100%
  );

  transition:
    clip-path 1.6s cubic-bezier(.77,0,.18,1),
    transform 7s ease;

  transform: scale(1.08);
}

/* visible slide */
.hero-video.active {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%
  );

  transform: scale(1);
}

/* geometric overlay */
.hero-media::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 3;

  background:
    linear-gradient(
      135deg,
      rgba(0,169,235,.16),
      rgba(177,0,151,.12)
    );

  mix-blend-mode: screen;
}

/* subtle darkening */
.hero-media::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 4;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.05),
      rgba(0,0,0,.35)
    );
}
/* =========================================
   BUTTONS
========================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-height: 58px;
  padding: 0 34px;

  border-radius: 999px;
  border: 2px solid currentColor;

  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;

  color: white;
  transition: 0.2s ease;
}

.button:hover {
  background: var(--color-button-hover-bg);
  color: var(--color-button-hover-text);
  transform: translateY(-2px);
}

/* =========================================
   STATS
========================================= */

.stats {
  background: var(--color-bg-alt);
}

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

.stat {
  position: relative;
}

.stat::after {
  content: "";
  position: absolute;
  top: 0;
  right: -24px;
  width: 1px;
  height: 100%;
  background: rgba(19,30,42,0.08);
}

.stat:last-child::after {
  display: none;
}

.stat-number {
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-primary);
  font-weight: 700;
}

.stat-label {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* =========================================
   STORY
========================================= */

.story {
  background: var(--color-bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 8vw, 120px);
}

.story h2 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 520px;
}

.story-content p {
  font-size: 18px;
  color: var(--color-text-muted);
}

.story-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 34px 0;
}

/* =========================================
   CARDS
========================================= */

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

.card {
  padding: 40px;
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
  min-height: 280px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.card:nth-child(2n) {
  border-top-color: var(--color-highlight);
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.card p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* =========================================
   QUOTE
========================================= */

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

.quote {
  max-width: 1040px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
}

/* =========================================
   CTA
========================================= */

.cta {
  background: var(--gradient-cta);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: var(--color-dark-footer);
  color: rgba(255,255,255,0.74);
  padding: 90px 0 40px;
}

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

.site-footer h4 {
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}

.site-footer p,
.site-footer li {
  font-size: 15px;
  line-height: 1.8;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  transition: 0.2s ease;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

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

@media (max-width: 900px) {

  .hero-grid,
  .story-grid,
  .stats-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 20px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 180px;
  }

  .hero-media {
    transform: none;
  }

  .stat::after {
    display: none;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 640px) {

  .container {
    width: min(100% - 28px, 1440px);
  }

  .hero h1 {
    line-height: 1;
  }

  .button {
    width: 100%;
    color: white;
  }

  .header-tools {
    width: 100%;
    justify-content: center;
  }

  .footer-accordion {
    padding: 40px 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    padding: 0;
}

.footer-links a {
    display: inline-block;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}
}




.cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #081826 0%, #10263b 100%);
  color: white;
}

.cta-triangle {
  width: 1000px;
  right: -300px;
  top: -180px;
  position: absolute;
  opacity: 0.12 !important;
  transform: rotate(-18deg);
}

