/* GIGA ONE Landing – brand system from the GIGA ONE flyer
   RED #E3001B · DARK #1D1D1B · GRAY #6E6E70 · CARD #F4F4F4 · Font: Outfit */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #E3001B;
  --dark: #1D1D1B;
  --gray: #6E6E70;
  --mgray: #A9A9AC;
  --lgray: #E6E6E6;
  --card: #F4F4F4;
  --white: #FFFFFF;
  --maxw: 1080px;
  --narrow: 760px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 30px; width: auto; display: block; }
.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.header-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}
.header-nav a:hover { color: var(--mgray); }
.header-nav .nav-cta {
  background: var(--red);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
}
.header-nav .nav-cta:hover { background: #c40017; color: var(--white); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mgray);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--mgray);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 2px;
}
.lang-btn.is-active { color: var(--white); font-weight: 700; }
.lang-sep { color: rgba(255,255,255,0.3); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero-map, .contact-map {
  position: absolute;
  inset: 0;
  background-image: url("../assets/europe-dots-white.png");
  background-repeat: no-repeat;
  background-position: right -60px top -40px;
  background-size: min(720px, 80vw);
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner { position: relative; }
.red-bar {
  width: 64px;
  height: 7px;
  background: var(--red);
  margin-bottom: 28px;
}
.hero-claim {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--mgray);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #c40017; }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-flow { padding-top: 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 7px;
  height: 0.95em;
  background: var(--red);
}
.body-text {
  color: var(--dark);
  font-size: 1.05rem;
  max-width: 62ch;
}
.body-text + .body-text { margin-top: 16px; }

/* ---------- flow diagram ---------- */
.flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 460px;
  margin: 0 auto;
}
.flow-box {
  border: 1px solid var(--lgray);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  padding: 20px 16px;
}
.flow-box-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.flow-title {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}
.flow-underline {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--red);
  margin: 6px auto 8px;
}
.flow-sub { display: block; color: var(--gray); font-size: 0.92rem; margin-top: 4px; }
.flow-box-dark .flow-sub { color: var(--mgray); margin-top: 0; }
.flow-arrow {
  width: 3px;
  height: 26px;
  background: var(--red);
  margin: 6px auto;
  position: relative;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--red);
}

/* ---------- support card ---------- */
.support-card {
  margin-top: 36px;
  background: var(--card);
  border-radius: 10px;
  padding: 24px 28px;
}
.support-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.support-card p { color: var(--gray); font-size: 0.98rem; max-width: 62ch; }

/* ---------- contact ---------- */
.section-contact {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.contact-map {
  background-position: left -120px bottom -160px;
  opacity: 0.10;
}
.section-contact .container { position: relative; }
.section-title.on-dark { color: var(--white); }
.on-dark-muted { color: var(--mgray); }

.contact-email { margin-top: 32px; }
.contact-email-label {
  color: var(--lgray);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.btn-email { font-size: 1.1rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--mgray);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0;
}
.footer-inner { text-align: center; }
.footer-logo { height: 26px; width: auto; margin-bottom: 14px; }
.footer-tag { font-size: 0.95rem; margin-bottom: 18px; }
.footer-links { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; }
.footer-links a { color: var(--lgray); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.85rem; }

/* ---------- reveal animation ---------- */
/* reveal is a progressive enhancement: only active when JS added the .js class */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .header-nav { display: none; }
  .hero { padding: 72px 0 84px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 60px 0; }
}
