:root {
  --text: #ffffff;
  --card: rgba(20, 20, 20, 0.55);
  --border: rgba(255, 255, 255, 0.14);
  --green: #8aa279;
  --green-dark: #6f8761;
  --bg: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body {
  overflow-x: hidden;
}

/* HERO */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  isolation: isolate;
}

.hero-video-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #111;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.42) saturate(0.9);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.58));
}

/* LANG TOGGLE */

.lang-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.lang-toggle:hover {
  transform: scale(1.06);
}

.lang-toggle img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* CONTENT */

.container-public {
  width: 100%;
  max-width: 980px;
  padding: 92px 22px 42px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo-horizontal {
  display: block;
  margin: 0 auto 20px;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.badge-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* TITLE + TEXT */

.hero-title {
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.hero-description {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

/* FORM CARD */

.hero-form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-form-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #fff;
}

.hero-form-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
}

/* FORM */

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: start;
}

.lead-form input {
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 16px;
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.lead-form input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-filled-large {
  height: 54px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-filled-large:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-filled-large:disabled {
  opacity: 0.7;
  cursor: wait;
}

.consent-text {
  margin-top: 12px !important;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

/* FOOTER */

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0 18px;
}

/* MODAL */

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 50;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  padding: 28px 24px;
  border-radius: 24px;
  background: #141414;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideIn 0.3s ease;
}

.modal-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.modal-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.btn-modal-close {
  margin-top: 16px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-title {
  }

  .container-public {
    padding-top: 104px;
  }

  .hero-form-card {
    padding: 18px;
  }
}
