/* ==========================================================
   Altox Group — Shared Stylesheet
   Palette pulled from logo: deep navy -> teal/cyan gradient
   ========================================================== */

:root {
  --navy-950: #071c3d;
  --navy-900: #0a2b52;
  --navy-800: #0f3d6b;
  --navy-700: #14507f;
  --teal-500: #1a9bab;
  --teal-400: #2bb6c4;
  --teal-300: #4fd0dc;
  --cyan-200: #a9ecf2;
  --ink: #14213d;
  --grey-700: #4a5568;
  --grey-500: #718096;
  --grey-200: #e2e8f0;
  --grey-100: #f4f7fa;
  --white: #ffffff;

  --gradient-brand: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 45%, var(--teal-500) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(10,43,82,0.06) 0%, rgba(26,155,171,0.08) 100%);

  --shadow-sm: 0 2px 8px rgba(10, 43, 82, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 43, 82, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 43, 82, 0.18);

  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-900);
  margin: 0 0 16px;
  line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--grey-700); margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

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

.section--dark {
  background: var(--gradient-brand);
  color: var(--white);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.85); }

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); }

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

.btn--outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 42px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  position: relative;
  padding: 6px 0;
}
.nav__links a.active,
.nav__links a:hover { color: var(--teal-500); }

.nav__links .has-dropdown { position: relative; padding: 18px 0; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink);
}
.dropdown a:hover { background: var(--grey-100); color: var(--teal-500); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__cta .btn { padding: 11px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--gradient-brand);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(79, 208, 220, 0.35), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(79, 208, 220, 0.18), transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
}
.hero__actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: 'Poppins', sans-serif;
  color: var(--teal-300);
}
.hero__stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.hero__art {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero__art img { border-radius: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 600; }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.stream-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.stream-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.stream-card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--teal-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* ---------- Stream detail page ---------- */
.stream-hero {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 80px 0 72px;
}
.stream-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stream-hero h1 { color: var(--white); }
.stream-hero .eyebrow { color: var(--teal-300); }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
}
.feature-list .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.feature-list h4 { margin: 0 0 4px; font-size: 1.02rem; }
.feature-list p { margin: 0; font-size: 0.92rem; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--navy-900);
}
.section--dark .stats-strip strong { color: var(--teal-300); }
.stats-strip span { font-size: 0.85rem; color: var(--grey-500); }
.section--dark .stats-strip span { color: rgba(255,255,255,0.75); }

/* ---------- Timeline (About page) ---------- */
.timeline {
  border-left: 3px solid var(--teal-400);
  margin-left: 12px;
  padding-left: 28px;
  display: grid;
  gap: 32px;
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-400);
}
.timeline__year {
  font-weight: 700;
  color: var(--teal-500);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Values grid ---------- */
.value-card { text-align: left; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.contact-info-card .icon-badge { margin-bottom: 0; }
.contact-info-card h4 { margin-bottom: 4px; }
.contact-info-card p { margin: 0; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--grey-200);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--grey-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--grey-500); margin-top: -8px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  height: 280px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 38px; filter: brightness(0) invert(1); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-links a:hover { background: var(--teal-500); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-brand-soft);
  color: var(--teal-500);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner, .stream-hero__inner, .contact-grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta .btn--outline { display: none; }
  .nav-toggle { display: block; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

body.nav-open .nav__links .has-dropdown { padding: 0; }
body.nav-open .nav__links .dropdown {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  padding: 6px 0 0 14px;
  min-width: 0;
}
body.nav-open .nav__links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  gap: 18px;
}
