/* ============ TOKENS ============ */
/* Engage palette: deep navy + bright accent blue + white + grey (from the logo) */
:root {
  --navy-900: #0e1b38;
  --navy-800: #15254d;
  --navy-700: #203a6b;
  --blue: #2f9fd8;
  --blue-600: #1f82c4;
  --blue-400: #58b7e6;
  --ink: #16212f;
  --paper: #ffffff;
  --paper-2: #f3f6fa;
  --paper-3: #e9eef5;
  --muted: #5a6577;
  --muted-light: rgba(255, 255, 255, 0.74);
  --line: rgba(14, 27, 56, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --grad-blue: linear-gradient(135deg, #1f82c4 0%, #45b1e4 100%);
  --grad-navy: linear-gradient(165deg, #1a2d5a 0%, #0e1b38 100%);
  --display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

em {
  font-style: normal;
  color: var(--blue);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  transition: color .2s;
}
.nav-links a:not(.nav-contact):hover { color: var(--blue-600); }
.nav-links a:not(.nav-contact)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -7px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s ease;
}
.nav-links a:not(.nav-contact):hover::after { width: 100%; }
.nav-contact {
  background: var(--grad-blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31, 130, 196, 0.28);
  transition: transform .2s, box-shadow .2s;
}
.nav-contact:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31, 130, 196, 0.36); }

.nav-logo { margin-left: auto; display: block; }
.nav-logo img { height: 38px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
}
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 130, 196, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31, 130, 196, 0.4); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-outline-navy {
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/gallery/g5-conference.jpg') center/cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 44, 0.94) 0%, rgba(10, 20, 44, 0.78) 45%, rgba(10, 20, 44, 0.5) 100%),
    linear-gradient(0deg, rgba(10, 20, 44, 0.9) 0%, rgba(10, 20, 44, 0.15) 60%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 32px; width: 100%; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 14ch;
}
.hero-title em { color: var(--blue-400); }
.hero-sub {
  font-size: clamp(16px, 2.1vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
  margin: 26px 0 38px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 48px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.64); }

/* ============ SECTION SHARED ============ */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-tag {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.section-tag.light { color: var(--blue-400); }
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.section-title.light { color: #fff; }
.section-lead {
  font-size: 18px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.65;
}
.section-lead.light { color: var(--muted-light); }

/* ============ ABOUT ============ */
.about { padding: 110px 0; background: var(--paper); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 26px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(14, 27, 56, 0.1);
  border-color: rgba(47, 159, 216, 0.5);
}
.card-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--muted); }

/* ============ OPPORTUNITIES ============ */
.opportunities {
  padding: 110px 0;
  background: var(--grad-navy);
  color: #fff;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.step {
  padding: 36px 26px 36px 0;
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  padding-left: 26px;
}
.step:last-child { border-right: 0; }
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--blue-400);
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: var(--muted-light); }

.perks {
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 40px;
}
.perks-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
}
.perks-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  margin-bottom: 32px;
}
.perks-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
}
.perks-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 10px;
  border-left: 2.5px solid var(--blue-400);
  border-bottom: 2.5px solid var(--blue-400);
  transform: rotate(-45deg);
}

/* ============ GALLERY ============ */
.gallery { padding: 110px 0; background: var(--paper-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
.g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-900);
}
.g-item.g-tall { grid-row: span 2; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 20, 44, 0.82), transparent);
  letter-spacing: 0.02em;
}

/* ============ TEAM ============ */
.team { padding: 110px 0; background: var(--paper); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.team-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(14, 27, 56, 0.18);
}
.team-points {
  list-style: none;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--muted);
}
.team-points li strong { color: var(--navy-900); }
.team-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============ CONTACT ============ */
.contact {
  padding: 110px 0;
  background: var(--grad-navy);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-details {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}
.c-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-400);
  font-weight: 600;
}
.c-value { font-size: 16px; color: #fff; }

.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 30px 60px rgba(5, 12, 30, 0.4);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.f-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
}
.f-field input, .f-field select, .f-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.f-field textarea { resize: vertical; min-height: 120px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 159, 216, 0.16);
}
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Honeypot */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer-logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #fff;
  display: block;
}
.footer-tag {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue-400);
  display: block;
  margin: 2px 0 14px;
}
.footer-brand p { font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 14.5px; transition: color .2s; }
.footer-nav a:hover { color: var(--blue-400); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: 0; }
  .step:nth-child(odd) { border-right: 1px solid var(--line-light); }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; order: 1; }
  .nav-logo { order: 2; }
  .nav-links {
    order: 3;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 32px 20px;
    box-shadow: 0 20px 30px rgba(14, 27, 56, 0.1);
    display: none;
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; font-size: 16px; }
  .nav-contact { margin-top: 8px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
  .perks-list { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 520px) {
  .container, .nav-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: 0; }
  .perks { padding: 26px; }
  .contact-form { padding: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
