@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── ASEA DESIGN TOKENS ── */
:root {
  /* Brand colours – exact ASEA values */
  --asea-blue:    #0D4A83;   /* aseablue – all primary CTAs */
  --asea-blue-80: rgba(13,74,131,0.8);
  --bg:           #ffffff;
  --bg2:          #EDECF0;   /* background2 – hero / feature sections */
  --fg:           #030712;   /* foreground – body text */
  --secondary:    #3f3e3e;
  --muted:        #6b7280;
  --border:       #e4e6ec;
  --accent-line:  #e3e5eb;

  /* Spacing */
  --nav-h: 61px;
  --max-w: 1280px;
  --r:     4px;   /* border-radius – ASEA uses 4px on buttons */
  --r-lg:  8px;

  /* Type */
  --font: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;   /* ASEA uses light weight throughout */
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.15s, opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--asea-blue); color: #fff; }
.btn-primary:hover { background: #0b3f70; }

.btn-outline-dark {
  background: transparent;
  color: var(--asea-blue);
  border: 1.5px solid var(--asea-blue);
}
.btn-outline-dark:hover { background: var(--asea-blue); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--asea-blue); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ── NAVIGATION ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 24px;
  width: 90px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links li { position: relative; }

/* Nav trigger buttons / links */
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 300;
  font-size: 1rem;
  color: var(--fg);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
  transition: color 0.15s;
}
.nav-trigger:hover { color: var(--asea-blue); }
.nav-trigger svg { transition: transform 0.2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}
.nav-links li:hover .dropdown,
.nav-links li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--fg);
  transition: background 0.12s;
}
.dropdown a:hover { background: var(--bg2); color: var(--asea-blue); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-office {
  font-weight: 300;
  font-size: 1rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  height: var(--nav-h);
  transition: color 0.15s;
}
.nav-office:hover { color: var(--asea-blue); text-decoration: underline; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 24px 32px;
  overflow-y: auto;
  z-index: 99;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile-section { margin-bottom: 24px; }
.nav-mobile-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.nav-mobile a {
  display: block;
  padding: 11px 0;
  font-weight: 300;
  font-size: 1rem;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  transition: color 0.12s;
}
.nav-mobile a:hover { color: var(--asea-blue); }

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 80px 0; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--asea-blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.divider {
  height: 1px;
  background: var(--accent-line);
  width: 100%;
}

/* ── HERO ── */
.hero {
  background: #000;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Vimeo background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 177.78vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%) scale(1.5);
  pointer-events: none;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,15,30,0.35);
}

/* Text sits centred over the video */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text { max-width: 620px; }

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-text h1 strong {
  font-weight: 700;
  color: #fff;
}

.hero-text p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-img {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img img {
  width: 100%;
  max-width: 460px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ── PRODUCT CAROUSEL ── */
.products-section { background: var(--bg); }

.products-header { text-align: center; margin-bottom: 48px; }
.products-header .section-sub { margin: 0 auto; }

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

.product-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  background: var(--bg2);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image */
.product-card-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-card-body {
  padding: 20px 20px 24px;
}

.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 6px;
}

.product-card-body p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── LIFESTYLE / BANNER IMAGE SECTION ── */
.lifestyle-section {
  background: var(--bg);
  padding: 40px 0;
}

.lifestyle-img-wrap {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.lifestyle-img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  max-height: 420px;
  display: block;
}

.lifestyle-img-placeholder {
  width: 100%;
  height: 420px;
  background: var(--bg2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifestyle-text-overlay {
  position: absolute;
  left: calc(32px + 8%);
  top: 50%;
  transform: translateY(-50%);
  max-width: 380px;
}
.lifestyle-text-overlay .section-title { color: var(--fg); }

/* ── ABOUT / MISSION SECTION ── */
.about-section { background: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--asea-blue);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
}

/* ── DROPDOWN SECTION LABEL ── */
.dropdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--asea-blue);
  padding: 14px 16px 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  pointer-events: none;
}
.dropdown-label:first-child { padding-top: 6px; border-top: none; margin-top: 0; }

/* ── HOW IT WORKS ── */
.how-section { padding: 80px 0; background: var(--bg2); }
.how-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-step {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.how-step-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.how-step-body {
  padding: 28px 28px 32px;
}
.how-step-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--asea-blue);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.4;
}
.how-step p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--secondary);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ── TESTIMONIALS VIDEO ── */
.testimonials-section { padding: 80px 0; background: #fff; }
.testimonials-video-wrap {
  margin-top: 36px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.testimonials-video-wrap video {
  width: 100%;
  display: block;
}

/* ── SCIENCE TEASER ── */
.science-banner {
  background: var(--asea-blue);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.science-banner .section-title { color: #fff; }
.science-banner .section-sub { color: rgba(255,255,255,0.75); margin: 0 auto 32px; }
.science-banner .eyebrow { color: rgba(255,255,255,0.6); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--bg2);
  padding: 120px 0 80px;
  text-align: center;
}
.page-hero .section-title { max-width: 680px; margin: 0 auto 16px; }
.page-hero .section-sub { margin: 0 auto; }

/* ── PRODUCT DETAIL (products page) ── */
.product-detail {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.product-detail:last-child { border-bottom: none; }

.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-detail-inner.reverse { direction: rtl; }
.product-detail-inner.reverse > * { direction: ltr; }

.product-detail-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}
.product-detail-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.product-detail-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 8px;
}
.product-detail-text .tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--asea-blue);
  margin-bottom: 20px;
}
.product-detail-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.benefits {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 300;
}
.benefits li svg { flex-shrink: 0; color: var(--asea-blue); margin-top: 2px; }

/* ── SCIENCE PAGE ── */
.science-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.science-block-grid:last-child { border-bottom: none; }
.science-block-grid.reverse { direction: rtl; }
.science-block-grid.reverse > * { direction: ltr; }

.science-block-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.science-block-text h3 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.25;
}
.science-block-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.stats-strip {
  background: var(--bg2);
  padding: 48px 0;
}
.stats-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip .stat-num { font-size: 2.2rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--fg);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.12s;
}
.footer-col a:hover { color: var(--asea-blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-style: italic;
}
.footer-copy {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.12s;
}
.footer-legal a:hover { color: var(--asea-blue); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .products-carousel { grid-template-columns: 1fr 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .products-carousel { grid-template-columns: 1fr; }
  .product-detail-inner { grid-template-columns: 1fr; }
  .product-detail-inner.reverse { direction: ltr; }
  .science-block-grid { grid-template-columns: 1fr; }
  .science-block-grid.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr; }
  .lifestyle-text-overlay { position: static; transform: none; padding: 24px 32px 0; max-width: 100%; }
  section { padding: 56px 0; }
  .hero-inner { padding: 40px 24px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .products-carousel { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
}
