:root {
  --bg-primary: #0a192f;
  --bg-secondary: #081326;
  --text-primary: #ffffff;
  --text-muted: #a0aec0;
  --accent: #d4af37;
  --line: rgba(212, 175, 55, 0.35);
  --panel: rgba(9, 22, 44, 0.7);
  --radius: 18px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 18% 15%, #12294a 0%, var(--bg-primary) 40%, #050d1d 100%);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--text-muted);
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: center / cover no-repeat url("../img/Hero Background.webp");
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.2) 0%, rgba(7, 16, 30, 0.46) 48%, rgba(7, 16, 30, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

.hero-logo {
  width: clamp(96px, 22vw, 170px);
  height: auto;
  filter: drop-shadow(0 15px 32px rgba(0, 0, 0, 0.38));
}

.hero-logo img {
  width: 100%;
}

h1 {
  font-size: clamp(1.85rem, 6.5vw, 4rem);
  max-width: 18ch;
}

.subtitle {
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  max-width: 48ch;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 "Inter", sans-serif;
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  transition: all 0.28s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-ghost {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(9, 26, 48, 0.38);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.12);
}

.btn-solid {
  color: #121212;
  border-color: var(--accent);
  background: var(--accent);
}

.btn-solid:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.about {
  background: linear-gradient(180deg, #07162b 0%, var(--bg-primary) 100%);
}

.about-grid,
.partners-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.about-copy {
  display: grid;
  height: 100%;
  gap: 1.1rem;
  align-content: center;
}

.about-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
  color: #d7e1ef;
}

.about-checklist li {
  position: relative;
  padding: 0.7rem 0.95rem 0.7rem 2.9rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(212, 175, 55, 0.08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.16);
  font-size: clamp(1rem, 2.4vw, 1.1rem);
}

.about-checklist li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.74rem;
  width: 1.36rem;
  height: 1.36rem;
  border-radius: 0.45rem;
  background: linear-gradient(160deg, rgba(10, 25, 47, 0.94) 0%, rgba(27, 50, 85, 0.78) 100%);
  border: 1px solid rgba(212, 175, 55, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 16px rgba(0, 0, 0, 0.35);
}

.about-checklist li::after {
  content: "";
  position: absolute;
  left: 1.26rem;
  top: 1.1rem;
  width: 0.52rem;
  height: 0.27rem;
  border-left: 2px solid #f3d67c;
  border-bottom: 2px solid #f3d67c;
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 2px rgba(255, 226, 140, 0.45));
}

.about-note {
  max-width: 62ch;
  font-size: clamp(1rem, 2.7vw, 1.1rem);
}

.about-copy h2,
.partners-content h2,
.footer-card h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
}

.about-copy p,
.partners-content p {
  max-width: 62ch;
  font-size: clamp(1rem, 2.7vw, 1.1rem);
}

.about-visual,
.partners-visual {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-visual img,
.partners-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(160deg, rgba(14, 30, 56, 0.88) 0%, rgba(21, 41, 72, 0.65) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  font-weight: 500;
}

.icon {
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.02) 45%),
    linear-gradient(170deg, rgba(248, 214, 111, 0.34) 0%, rgba(121, 86, 17, 0.74) 100%);
  border: 1px solid rgba(244, 205, 96, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.26) inset, 0 10px 20px rgba(0, 0, 0, 0.35);
  color: #f6dc8b;
  flex: 0 0 auto;
}

.icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 233, 164, 0.55);
}

.icon svg {
  width: 62%;
  height: 62%;
  z-index: 1;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.3));
}

.partners {
  background: radial-gradient(circle at 76% 18%, rgba(212, 175, 55, 0.16) 0%, rgba(8, 19, 38, 0.25) 30%, var(--bg-secondary) 100%);
}

.partners-content {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 1.35rem;
}

.partners-title {
  display: grid;
  gap: 0.75rem;
}

.partners-title-small {
  font-size: clamp(1.35rem, 3.9vw, 1.85rem);
  font-weight: 600;
  color: #edf2fa;
}

.lead-form {
  display: grid;
  gap: 0.8rem;
  max-width: 540px;
}

.lead-form label {
  display: block;
}

.lead-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 26, 49, 0.8);
  color: var(--text-primary);
  padding: 0.95rem 1rem;
  font-size: 0.98rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(12, 26, 49, 0.55);
}

.consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.consent span {
  font-size: 0.92rem;
  color: #d4dcec;
}

.consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent a:visited {
  color: var(--accent);
}

.lead-form input::placeholder {
  color: #c4cfdf;
}

.lead-form input:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.75);
  outline-offset: 1px;
}

.lead-form input.input-error {
  border-color: #e35d6a;
  box-shadow: 0 0 0 3px rgba(227, 93, 106, 0.18);
}

.lead-form .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.form-message {
  min-height: 1.35rem;
  font-size: 0.92rem;
}

.form-message.form-message-error {
  color: #ffb8be;
}

.form-message.form-message-success {
  color: #b7f5c9;
}

.footer {
  background: #060d1a;
  padding: 0;
}

.map-wrap {
  position: relative;
  min-height: 514px;
}

.map-canvas {
  height: 514px;
  width: 100%;
  filter: grayscale(1) brightness(0.68) contrast(1.12);
}

.map-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0.3) 0%, rgba(6, 13, 26, 0.62) 100%);
  pointer-events: none;
}

.footer-card-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.footer-card {
  max-width: 370px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.footer-card a {
  color: var(--accent);
}

.footer-card a:visited {
  color: var(--accent);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.35rem;
  font-size: 0.86rem;
}

.footer-link {
  color: rgba(160, 174, 192, 0.88);
  text-decoration: none;
}

.footer-link:visited {
  color: rgba(160, 174, 192, 0.88);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer-link:visited:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer-legal {
  justify-self: start;
}

.copyright {
  text-align: center;
  color: rgba(160, 174, 192, 0.88);
  justify-self: center;
}

.footer-dev {
  justify-self: end;
}

@media (max-width: 640px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1rem 0 1.6rem;
  }

  .footer-legal,
  .footer-dev,
  .copyright {
    justify-self: center;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 17, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 460px);
  background: #0a172d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  gap: 1.2rem;
  text-align: center;
}

.modal-panel h3 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (min-width: 760px) {
  .about-grid,
  .partners-grid {
    grid-template-columns: 1fr 1fr;
    min-height: clamp(470px, 48vw, 610px);
  }

  .about-grid {
    gap: 2.8rem;
  }

  .partners-grid {
    gap: 3rem;
  }

  .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form label:first-of-type {
    grid-column: span 2;
  }

  .lead-form .consent {
    grid-column: span 2;
  }

  .lead-form .btn {
    justify-self: start;
    white-space: nowrap;
  }
}

@media (max-width: 759px) {
  .footer-card-wrap {
    align-items: flex-end;
    padding-bottom: 1rem;
  }

  .map-wrap,
  .map-canvas {
    height: 514px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body,
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
