:root {
  --color-bg: #121627;
  --color-bg-deep: #0B0F1C;
  --color-bg-alt: #1A1F33;
  --color-text: #FFFFFF;
  --color-text-muted: rgba(255, 255, 255, 0.72);
  --color-accent: #F2B705;          /* primary brand: gold/yellow */
  --color-accent-warm: #D97904;     /* secondary: orange, used in logo */
  --color-card: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-warm: rgba(242, 183, 5, 0.3);

  --font-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --content-max: 1240px;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-accent); }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: clamp(4rem, 11vh, 9rem) 0;
  position: relative;
  overflow: hidden;
}

/* eyebrow / small label */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

/* headings */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 1.25rem;
  color: var(--color-accent);
  letter-spacing: -0.005em;
}

.h-display { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1rem; color: var(--color-text); }
p.muted { color: var(--color-text-muted); }
.text-justify p { text-align: justify; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 15, 28, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 15, 28, 0.98);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: var(--color-text);
}
.brand:hover { color: var(--color-text); }
.brand img { width: 44px; height: 44px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav a {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  letter-spacing: 0.01em;
}
.nav a:hover,
.nav a[aria-current="true"] { color: var(--color-accent); }
.nav a[aria-current="true"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-accent);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}
.lang-switch a,
.lang-switch span { padding: 0 0.3rem; }
.lang-switch .current {
  color: var(--color-accent);
  font-weight: 700;
  cursor: default;
}
.lang-switch .sep {
  color: rgba(255,255,255,0.3);
  padding: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--color-text);
  width: 44px; height: 44px;
  padding: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav, .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: rgba(11, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  gap: 1rem;
}
.drawer.open { display: flex; }
.drawer .close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: transparent; border: 0;
  color: var(--color-text);
  font-size: 2.25rem; line-height: 1;
}
.drawer a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}
.drawer .lang-switch {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  font-size: 1.05rem;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  background: var(--color-bg-deep);
  padding-top: var(--header-h);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/rectangle-6.png') no-repeat right center / cover;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--color-bg-deep) 0%, rgba(11,15,28,0.95) 35%, rgba(11,15,28,0.55) 60%, transparent 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero-inner {
  max-width: 560px;
  padding: 4rem 0;
}
.hero h1 {
  color: var(--color-accent);
  margin-bottom: 1.75rem;
}
.hero .lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--color-accent);
  color: #121627;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.1s ease, color 0.2s ease;
}
.btn:hover { background: #d9a604; color: #121627; }
.btn:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #121627; }

@media (max-width: 800px) {
  .hero::after {
    background-size: cover;
    background-position: 60% center;
    opacity: 0.4;
  }
  .hero::before {
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(11,15,28,0.85) 100%);
  }
  .hero-inner { max-width: 100%; }
}

/* ---------- SECTION WITH SIDE IMAGE (about / molecule) ---------- */
.section-about {
  background: var(--color-bg);
  position: relative;
}
.section-about::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 50%;
  background: url('../images/rectangle-14.png') no-repeat center / cover;
  opacity: 0.55;
  z-index: 0;
}
.section-about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(18,22,39,0.7) 45%, var(--color-bg) 70%);
  z-index: 0;
}
.section-about .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section-about .text-col { grid-column: 2; }
@media (max-width: 900px) {
  .section-about::before { width: 100%; opacity: 0.18; }
  .section-about .container { grid-template-columns: 1fr; }
  .section-about .text-col { grid-column: 1; }
}

/* ---------- VISION (gold lines) ---------- */
.section-vision {
  background: var(--color-bg-deep);
  position: relative;
}
.section-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/rectangle-orange.png') no-repeat right center / contain;
  opacity: 0.6;
  z-index: 0;
}
.section-vision::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-bg-deep) 0%, rgba(11,15,28,0.9) 40%, transparent 100%);
  z-index: 0;
}
.section-vision .container { position: relative; z-index: 1; }
.section-vision .text-block { max-width: 640px; }
.section-vision .text-block p { color: var(--color-text); text-align: justify; }

.text-block { max-width: 760px; }
.text-block p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  text-align: justify;
}

/* ---------- HAVE YOUR PLATFORM banner ---------- */
.banner {
  background: linear-gradient(135deg, rgba(242, 183, 5, 0.10), rgba(217, 121, 4, 0.03));
  border: 1px solid var(--color-border-warm);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  padding: clamp(2rem, 5vw, 3rem);
}
.banner h2 { color: var(--color-accent); }
.banner p { text-align: justify; color: var(--color-text); }

/* ---------- TEAM ---------- */
.section-team { background: var(--color-bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.team-card {
  text-align: center;
  padding: 1rem;
}
.team-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 {
  margin-bottom: 0.25rem;
  color: var(--color-accent);
  font-size: 1.3rem;
}
.team-role {
  font-family: var(--font-sans);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.team-bio {
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: justify;
}

/* ---------- WHAT WE LOOK FOR ---------- */
.section-look {
  background: var(--color-bg-deep);
  position: relative;
}
.section-look::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: url('../images/rectangle-12.png') no-repeat center / cover;
  opacity: 0.18;
  z-index: 0;
}
.section-look .container { position: relative; z-index: 1; }
.tech-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  text-align: justify;
  max-width: 900px;
}
.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  max-width: 820px;
}
@media (max-width: 640px) {
  .sectors { grid-template-columns: 1fr; gap: 0.25rem; }
}
.sectors ul { list-style: none; padding: 0; margin: 0; }
.sectors li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.98rem;
}
.sectors li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- CRITERIA ---------- */
.section-criteria { background: var(--color-bg); }
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.criteria-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.criteria-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.criteria-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
}
.criteria-card p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--color-text);
  text-align: justify;
  line-height: 1.7;
}

/* ---------- MOBILITY ---------- */
.section-mobility { background: var(--color-bg-deep); }
.mobility-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .mobility-grid { grid-template-columns: 1fr; text-align: center; }
  .mobility-cover { justify-self: center; }
  .mobility-text p { text-align: center !important; }
}
.mobility-text p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: justify;
}
.mobility-cover img {
  width: 100%;
  max-width: 320px;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

/* ---------- CONTACT ---------- */
.section-contact { background: var(--color-bg); }
.contact-intro {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 720px;
}
.contact-intro a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 820px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  background: rgba(255,255,255,0.04);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--color-text);
  padding: 0.65rem 0.25rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--color-accent);
  background: rgba(255,255,255,0.06);
}
.field textarea { resize: vertical; min-height: 130px; }

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

.form-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(242, 183, 5, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  color: var(--color-accent);
  font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-bg-deep);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.footer-logo img { width: 130px; opacity: 0.9; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.footer-nav a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-text);
}
.footer-nav a:hover { color: var(--color-accent); }
.footer-email a {
  color: var(--color-accent);
  font-size: 0.95rem;
}
.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.825rem;
  margin-top: 0.5rem;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
