/* ============================================================
   MAXNET — Beverage Export Landing Page
   Vanilla CSS (no Tailwind / no build step)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --steel: #4d8ec7;   /* primary interactive */
  --blue:  #6ab0de;   /* secondary accent */
  --navy:  #1b4a87;   /* tertiary */
  --bg:    #07101e;   /* dark navy background */
  --fg:    #e4ecf7;   /* cool near-white */

  --bg-contact: #06090f;
  --bg-footer:  #04060e;
  --bg-card:    #0a0e20;
  --bg-card-hover: #0d1124;

  --font-head: 'Manrope', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --max-w: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

button, input, textarea {
  font-family: inherit;
}

a { text-decoration: none; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #080b18; }
::-webkit-scrollbar-thumb { background: rgba(77, 142, 199, 0.35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(77, 142, 199, 0.6); }
::placeholder { color: rgba(228, 236, 247, 0.22); }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }

/* ---------- Tag pill ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 142, 199, 0.35);
  color: var(--steel);
  background: rgba(77, 142, 199, 0.07);
}
.tag--navy { color: var(--navy); border-color: rgba(27, 74, 135, 0.35); background: rgba(27, 74, 135, 0.07); }

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 142, 199, 0.38), transparent);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  background: transparent;
}
.nav.is-scrolled {
  background: rgba(8, 11, 24, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(77, 142, 199, 0.12);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: inline-flex; padding: 0.35rem 0.6rem; }
.nav__logo img { height: 1.75rem; width: auto; }

.nav__links { display: none; align-items: center; gap: 2.5rem; }
.nav__link {
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(228, 236, 247, 0.6);
  font-family: var(--font-body);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--steel); }

.nav__cta { display: none; }

.lang-switch { display: inline-flex; gap: 0.25rem; margin: 0; }
.lang-switch__btn {
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 0.35rem;
  border: 1px solid rgba(77, 142, 199, 0.3);
  background: transparent;
  color: var(--fg);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}
.lang-switch__btn:hover { opacity: 0.85; border-color: var(--steel); }
.lang-switch__btn.is-active {
  opacity: 1;
  color: var(--steel);
  border-color: var(--steel);
  background: rgba(77, 142, 199, 0.1);
}
.lang-switch--mobile { margin-top: 1.25rem; justify-content: center; }

.btn-outline {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid rgba(77, 142, 199, 0.5);
  color: var(--steel);
  background: rgba(77, 142, 199, 0.05);
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-outline:hover {
  background: rgba(77, 142, 199, 0.12);
  border-color: var(--steel);
  box-shadow: 0 0 24px rgba(77, 142, 199, 0.18);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none; border: none; color: var(--fg);
  padding: 0.4rem; cursor: pointer;
}

.nav__mobile {
  display: none;
  padding: 0 2rem 1.5rem;
  background: rgba(8, 11, 24, 0.98);
  backdrop-filter: blur(24px);
}
.nav__mobile.is-open { display: block; }
.nav__mobile .nav__link {
  display: block; width: 100%; text-align: left;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(77, 142, 199, 0.1);
  color: var(--fg);
}
.nav__mobile .btn-outline { display: block; width: 100%; margin-top: 1.25rem; text-align: center; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta { display: flex; align-items: center; gap: 0.75rem; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__bg { position: absolute; inset: 0; transition: opacity 420ms ease; }
.hero__bg.is-fading { opacity: 0; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay-1 { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,11,24,0.92) 0%, rgba(8,11,24,0.72) 52%, rgba(8,11,24,0.36) 100%); }
.hero__overlay-2 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,24,0.4) 0%, transparent 25%, transparent 72%, rgba(8,11,24,0.75) 100%); }
.hero__overlay-3 { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(77,142,199,0.05) 0%, transparent 60%); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(77,142,199,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(77,142,199,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero__content { position: relative; z-index: 10; max-width: var(--max-w); margin: 0 auto; width: 100%; padding: 9rem 2rem; }
.hero__copy { max-width: 42rem; transition: opacity 420ms ease, transform 420ms ease; }
.hero__copy.is-fading { opacity: 0; transform: translateY(10px); }
.hero__tag-wrap { margin-bottom: 2rem; }
.hero__headline {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.04;
  margin: 0 0 1.75rem;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  color: var(--fg);
}
.hero__headline em { font-style: normal; color: var(--steel); }
.hero__rule { width: 4rem; height: 2px; margin-bottom: 1.75rem; background: linear-gradient(90deg, var(--steel), rgba(77,142,199,0.25)); }
.hero__sub { font-size: 1.125rem; line-height: 1.7; margin: 0 0 3rem; max-width: 32rem; color: rgba(228,236,247,0.68); font-weight: 300; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 1rem 1.75rem; border-radius: 0.5rem; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--steel) 0%, var(--blue) 100%);
  color: var(--bg);
  box-shadow: 0 4px 32px rgba(77,142,199,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(77,142,199,0.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 1rem 1.75rem; border-radius: 0.5rem; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(228,236,247,0.22);
  color: var(--fg);
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(77,142,199,0.34); }

.hero__trust { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(228,236,247,0.45); }
.hero__trust-item .icon-emoji { color: var(--steel); font-size: 0.875rem; }

.hero__stats {
  position: absolute; bottom: 6rem; right: 2rem;
  display: none; flex-direction: column; gap: 0.75rem;
}
.hero__stat-card {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 0.75rem; padding: 0.75rem 1rem; border: 1px solid rgba(77,142,199,0.16);
  background: rgba(8,11,24,0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.hero__stat-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.11); color: var(--steel); }
.hero__stat-value { font-family: var(--font-head); font-weight: 900; font-size: 1.125rem; line-height: 1; margin: 0; color: var(--fg); }
.hero__stat-label { font-size: 0.75rem; margin: 0.25rem 0 0; color: rgba(228,236,247,0.5); }

@media (min-width: 1024px) {
  .hero__stats { display: flex; }
}

.hero__controls {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 1rem;
}
.hero__arrow {
  width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid rgba(77,142,199,0.35);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(8,11,24,0.6); color: var(--steel);
  transition: background 0.2s, border-color 0.2s;
}
.hero__arrow:hover { background: rgba(77,142,199,0.13); border-color: var(--steel); }
.hero__dots { display: flex; align-items: center; gap: 0.5rem; }
.hero__dot { border: none; cursor: pointer; border-radius: 999px; height: 6px; width: 6px; background: rgba(77,142,199,0.25); transition: width 0.4s, background 0.4s; padding: 0; }
.hero__dot.is-active { width: 24px; background: var(--steel); }

.hero__counter {
  position: absolute; bottom: 2.5rem; right: 2rem; z-index: 20; display: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em;
  color: rgba(77,142,199,0.5);
}
@media (min-width: 768px) { .hero__counter { display: block; } }

/* ---------- Section shell ---------- */
.section { position: relative; padding: 8rem 0; overflow: hidden; background: var(--bg); }
.section--contact { background: var(--bg-contact); }
.glow {
  position: absolute; pointer-events: none; border-radius: 999px; filter: blur(90px); opacity: 0.12; background: var(--steel);
}

.section__header { max-width: 48rem; margin-bottom: 1.5rem; }
.section__title {
  font-family: var(--font-head); font-weight: 900; line-height: 1.08; margin: 1.25rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem); color: var(--fg);
}
.section__title em { font-style: normal; color: var(--steel); }
.section__lede { max-width: 42rem; margin: 2.5rem 0 6rem; font-size: 1rem; line-height: 1.7; color: rgba(228,236,247,0.55); font-weight: 300; }

/* ---------- Category cards ---------- */
.categories { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 7rem; }
@media (min-width: 768px) { .categories { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(77,142,199,0.1);
  background: var(--bg-card);
  transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.cat-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.cat-card__media { position: relative; height: 11rem; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.8); transition: transform 0.5s; }
.cat-card:hover .cat-card__media img { transform: scale(1.07); }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8,11,24,0.9) 100%); }
.cat-card__icon { position: absolute; top: 1rem; left: 1rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.13); color: var(--steel); border: 1px solid rgba(77,142,199,0.22); }
.cat-card__body { padding: 1.5rem; }
.cat-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; margin: 0 0 0.5rem; color: var(--fg); }
.cat-card__desc { font-size: 0.875rem; line-height: 1.6; margin: 0; color: rgba(228,236,247,0.5); font-weight: 300; }

/* ---------- Services ---------- */
.services { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 7rem; }
.svc-card {
  display: grid; grid-template-columns: 1fr; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(77,142,199,0.1);
  background: var(--bg-card);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.svc-card:hover { background: var(--bg-card-hover); box-shadow: 0 0 60px rgba(77,142,199,0.07); }
.svc-card__media { position: relative; min-height: 260px; overflow: hidden; }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.75); transition: transform 0.5s; }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,24,0.85) 0%, transparent 55%); }
.svc-card--reversed .svc-card__media::after { background: linear-gradient(270deg, rgba(8,11,24,0.85) 0%, transparent 55%); }
.svc-card__icon { position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2; width: 3rem; height: 3rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.1); color: var(--steel); border: 1px solid rgba(77,142,199,0.22); backdrop-filter: blur(8px); }
.svc-card__body { padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.svc-card__title { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; margin: 0 0 0.75rem; color: var(--fg); }
.svc-card__rule { width: 2.5rem; height: 2px; margin-bottom: 1.25rem; background: linear-gradient(90deg, var(--steel), transparent); }
.svc-card__desc { font-size: 0.875rem; line-height: 1.7; margin: 0 0 1.75rem; color: rgba(228,236,247,0.55); font-weight: 300; }
.svc-card__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.svc-card__points li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: rgba(228,236,247,0.7); }
.svc-card__check { width: 1rem; height: 1rem; flex-shrink: 0; border-radius: 0.25rem; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.13); color: var(--steel); }
.svc-card__check .icon { width: 0.6rem; height: 0.6rem; }

@media (min-width: 1024px) {
  .svc-card { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .svc-card--reversed { grid-auto-flow: dense; }
  .svc-card--reversed .svc-card__media { grid-column: 2; }
  .svc-card--reversed .svc-card__body { grid-column: 1; grid-row: 1; }
  .svc-card__body { padding: 2.5rem 3rem; }
}

/* ---------- Future vision ---------- */
.vision {
  position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(77,142,199,0.16);
  background: var(--bg-card); margin-bottom: 6rem;
}
.vision__glow { position: absolute; top: 0; right: 0; width: 24rem; height: 24rem; pointer-events: none; background: radial-gradient(circle at top right, rgba(77,142,199,0.06), transparent 65%); }
.vision__grid { display: grid; grid-template-columns: 1fr; }
.vision__copy { padding: 2.5rem; position: relative; z-index: 1; }
.vision__title { font-family: var(--font-head); font-weight: 900; font-size: 1.875rem; margin: 1.25rem 0 1rem; color: var(--fg); }
.vision__rule { width: 3rem; height: 2px; margin-bottom: 1.5rem; background: linear-gradient(90deg, var(--steel), transparent); }
.vision__desc { font-size: 0.875rem; line-height: 1.7; margin: 0 0 2rem; color: rgba(228,236,247,0.55); font-weight: 300; }
.vision__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vision__chip { padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; border: 1px solid rgba(77,142,199,0.18); background: rgba(77,142,199,0.04); color: rgba(228,236,247,0.7); }
.vision__media { position: relative; min-height: 300px; }
.vision__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.6); }
.vision__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-card) 0%, transparent 45%); }
.vision__badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.vision__badge span { width: 4rem; height: 4rem; border-radius: 999px; border: 2px solid rgba(77,142,199,0.35); background: rgba(77,142,199,0.1); display: flex; align-items: center; justify-content: center; color: var(--steel); backdrop-filter: blur(4px); }

@media (min-width: 1024px) {
  .vision__grid { grid-template-columns: 1fr 1fr; }
  .vision__copy { padding: 3.5rem; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 5rem; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  border-radius: 0.75rem; padding: 1.75rem; text-align: center; border: 1px solid rgba(77,142,199,0.1);
  background: var(--bg-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover { border-color: rgba(77,142,199,0.25); box-shadow: 0 0 40px rgba(77,142,199,0.05); }
.stat-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.08); color: var(--steel); }
.stat-card__value { font-family: var(--font-head); font-weight: 900; margin: 0 0 0.4rem; font-size: 2rem; line-height: 1; color: var(--fg); }
.stat-card__label { font-size: 0.75rem; letter-spacing: 0.08em; margin: 0; color: rgba(228,236,247,0.45); }

/* ---------- Contact ---------- */
.contact-map { position: absolute; inset: 0; pointer-events: none; opacity: 0.04; }
.contact-map svg { width: 100%; height: 100%; }
.contact__head { text-align: center; margin-bottom: 4rem; }
.contact__title { font-family: var(--font-head); font-weight: 900; margin: 1.25rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--fg); }
.contact__title em { font-style: normal; color: var(--steel); }
.contact__rule { width: 5rem; height: 1px; margin: 0 auto 1.25rem; background: linear-gradient(90deg, transparent, rgba(77,142,199,0.38), transparent); }
.contact__lede { font-size: 0.875rem; max-width: 28rem; margin: 0 auto; color: rgba(228,236,247,0.5); font-weight: 300; }

.contact__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 3fr 2fr; } }

.contact__form-wrap {
  border-radius: 1rem; padding: 2rem; border: 1px solid rgba(77,142,199,0.09);
  background: var(--bg-card);
}
@media (min-width: 1024px) { .contact__form-wrap { padding: 2.5rem; } }

.field-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(228,236,247,0.4); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: 0.6rem; font-size: 0.9rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(77,142,199,0.18); color: var(--fg);
  outline: none; font-weight: 300; transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: rgba(77,142,199,0.4); background: rgba(77,142,199,0.04); }

.btn-submit {
  width: 100%; padding: 1rem; border: none; border-radius: 0.5rem; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em;
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
  color: var(--bg);
  box-shadow: 0 4px 28px rgba(77,142,199,0.22);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(77,142,199,0.32); }
.btn-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 0; text-align: center; }
.form-success__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; border: 1px solid rgba(77,142,199,0.25); background: rgba(77,142,199,0.08); color: var(--steel); }
.form-success__title { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; margin: 0 0 0.75rem; color: var(--fg); }
.form-success__desc { font-size: 0.875rem; margin: 0; color: rgba(228,236,247,0.5); }

.form-error { display: none; margin-bottom: 1.25rem; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid rgba(220,90,90,0.35); background: rgba(220,90,90,0.08); color: #f0a8a8; font-size: 0.85rem; }
.form-error.is-visible { display: block; }

.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  display: flex; align-items: flex-start; gap: 1rem; border-radius: 0.75rem; padding: 1.25rem;
  border: 1px solid rgba(77,142,199,0.07);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}
.info-card:hover { border-color: rgba(77,142,199,0.2); background: var(--bg-card-hover); }
.info-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(77,142,199,0.08); color: var(--steel); }
.info-card__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.25rem; color: rgba(228,236,247,0.35); }
.info-card__value { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin: 0; color: var(--fg); }

.partner-card { border-radius: 0.75rem; padding: 1.5rem; border: 1px solid rgba(77,142,199,0.13); background: var(--bg-card); }
.partner-card__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.partner-card__head span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
.partner-card .gold-rule { margin-bottom: 1rem; }
.partner-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.partner-card li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.75rem; color: rgba(228,236,247,0.55); }
.partner-card .icon { color: var(--steel); width: 0.65rem; height: 0.65rem; }

.socials { display: flex; align-items: center; gap: 0.65rem; padding-top: 0.25rem; }
.social-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(77,142,199,0.11); background: var(--bg-card); color: rgba(228,236,247,0.5); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-btn:hover { background: rgba(77,142,199,0.08); border-color: rgba(77,142,199,0.28); color: var(--steel); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(77,142,199,0.07); background: var(--bg-footer); }
.footer__inner { padding: 4rem 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand-logo { display: inline-flex; margin-bottom: 1.25rem; }
.footer__brand-logo img { height: 2rem; width: auto; }
.footer__brand-desc { font-size: 0.875rem; line-height: 1.7; margin: 0 0 1.5rem; max-width: 20rem; color: rgba(228,236,247,0.4); font-weight: 300; }
.footer__status { display: flex; align-items: center; gap: 0.5rem; }
.footer__status-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--steel); box-shadow: 0 0 6px var(--steel); }
.footer__status span { font-size: 0.75rem; color: rgba(228,236,247,0.35); }
.footer__col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 1.25rem; color: rgba(77,142,199,0.6); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.875rem; color: rgba(228,236,247,0.4); transition: color 0.15s; }
.footer__col a:hover { color: var(--steel); }
.footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 2rem; }
.footer__bottom p { font-size: 0.75rem; margin: 0; color: rgba(228,236,247,0.25); }
.footer__legal { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.footer__legal a { font-size: 0.75rem; color: rgba(228,236,247,0.25); transition: color 0.15s; }
.footer__legal a:hover { color: var(--steel); }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Legal page ---------- */
.legal { padding-top: 9rem; }
.legal__updated { font-size: 0.875rem; color: rgba(228,236,247,0.4); margin: 0 0 2.5rem; }

.legal__toc {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 4rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(77,142,199,0.12);
}
.legal__toc a {
  padding: 0.5rem 1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 0.5rem;
  border: 1px solid rgba(77,142,199,0.3);
  color: var(--steel);
  background: rgba(77,142,199,0.05);
  transition: background 0.2s, border-color 0.2s;
}
.legal__toc a:hover { background: rgba(77,142,199,0.12); border-color: var(--steel); }

.legal__section { max-width: 46rem; margin-bottom: 5rem; scroll-margin-top: 6rem; }
.legal__section:last-child { margin-bottom: 0; }
.legal__section h2 {
  font-family: var(--font-head); font-weight: 900; line-height: 1.15;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--fg); margin: 0 0 1.5rem;
}
.legal__section h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--fg); margin: 2rem 0 0.75rem;
}
.legal__section p {
  font-size: 0.95rem; line-height: 1.75; color: rgba(228,236,247,0.6); font-weight: 300;
  margin: 0 0 1rem;
}
.legal__section p a { color: var(--steel); text-decoration: underline; }
.legal__section ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal__section li { font-size: 0.95rem; line-height: 1.75; color: rgba(228,236,247,0.6); font-weight: 300; }

.legal__table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.legal__table { border-collapse: collapse; width: 100%; min-width: 28rem; font-size: 0.875rem; }
.legal__table th, .legal__table td {
  text-align: left; padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(77,142,199,0.12);
  color: rgba(228,236,247,0.6); font-weight: 300;
}
.legal__table th {
  font-family: var(--font-head); font-weight: 700; color: var(--fg);
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.06em;
}
.legal__table td:first-child { font-family: var(--font-head); font-weight: 600; color: var(--steel); white-space: nowrap; }

/* ---------- Django messages ---------- */
.django-messages { position: fixed; top: 5.5rem; left: 50%; transform: translateX(-50%); z-index: 100; width: min(90vw, 28rem); display: flex; flex-direction: column; gap: 0.5rem; }
.django-message {
  padding: 0.85rem 1.1rem; border-radius: 0.5rem; font-size: 0.85rem; font-family: var(--font-body);
  border: 1px solid rgba(77,142,199,0.3); background: rgba(8,11,24,0.95); color: var(--fg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.django-message.error { border-color: rgba(220,90,90,0.4); color: #f0a8a8; }
