@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800;900&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f1e6;
  --bg-soft: #fbf8f0;
  --surface: #fffaf0;
  --surface-muted: #f5ebd8;
  --text: #213d58;
  --text-soft: #4d6783;
  --accent: #f3bc52;
  --accent-strong: #d89a32;
  --primary-blue: #274561;
  --primary-blue-soft: #3d5f7f;
  --border: #d8c09a;
  --shadow: rgba(22, 42, 63, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", "Avenir Next Rounded", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fdf9f1, var(--bg) 45%);
  color: var(--text);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 22px var(--shadow);
}

.landing-header__brand {
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.landing-header__logo {
  display: block;
  height: clamp(42px, 5.6vw, 64px);
  width: auto;
}

.landing-header__text {
  display: grid;
  gap: 0.06rem;
}

.landing-header__title {
  color: var(--primary-blue);
  font-weight: 900;
  font-size: clamp(1.06rem, 2.2vw, 1.52rem);
  line-height: 1.06;
}

.landing-header__tagline {
  color: var(--primary-blue-soft);
  font-size: clamp(0.58rem, 1.2vw, 0.86rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
}

.lang-switch {
  display: inline-flex;
  background: #f0e3cb;
  border-radius: 999px;
  padding: 0.2rem;
  border: 1px solid var(--border);
}

.lang-switch__btn {
  border: none;
  color: var(--primary-blue);
  background: transparent;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #1e3447;
}

.hero-video {
  position: relative;
}

.hero-video__media {
  width: 100%;
  display: block;
  max-height: 84vh;
  object-fit: cover;
  background: #1c3348;
}

.hero-video__content {
  position: absolute;
  left: clamp(1rem, 6vw, 5rem);
  bottom: clamp(1rem, 8vw, 4rem);
  max-width: min(860px, 92%);
  padding: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(39, 69, 97, 0.92),
    rgba(47, 82, 114, 0.86)
  );
  border: 1px solid rgba(243, 188, 82, 0.4);
  border-radius: 1rem;
  box-shadow: 0 16px 32px rgba(17, 32, 47, 0.35);
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffd894;
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--primary-blue);
  font-weight: 800;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #f6f0e4;
}

.hero-video__content h1 {
  color: #fff9ee;
}

.concept-section,
.products-section,
.cta-section,
.forms-section {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.concept-section {
  padding: 4rem 0 2rem;
}

.section-heading p {
  color: var(--text-soft);
  max-width: 70ch;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.component-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 10px 22px var(--shadow);
}

.component-card img {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #e4d0ae;
  background: #fefbf5;
}

.component-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.component-card li::marker {
  color: var(--accent-strong);
}

.products-section {
  padding: 2rem 0 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.product-card {
  background: linear-gradient(170deg, #fff9ee 0%, #fff4df 100%);
  border: 1px solid #e4c996;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 10px 22px var(--shadow);
}

.product-card__hero-image {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #e4d0ae;
  background: #fffdf8;
  margin: 0.55rem 0 0.8rem;
}

.product-card__badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1f3b56;
  background: #f5cf80;
}

.product-subblocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 0.6rem 0 0.95rem;
}

.product-subblock {
  background: #fff8e9;
  border: 1px solid #ecd2a8;
  border-radius: 0.8rem;
  padding: 0.7rem;
}

.product-subblock img {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #e6d2af;
  background: #fffdf8;
}

.product-subblock h4 {
  margin: 0.55rem 0 0.28rem;
  font-size: 1rem;
}

.product-subblock p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.product-card ul {
  margin: 0.7rem 0 0.9rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.product-card li::marker {
  color: var(--accent-strong);
}

.product-card__pricing {
  margin: 0;
  font-weight: 800;
  color: var(--primary-blue);
}

.fpv-selector {
  margin-bottom: 1.1rem;
  padding: 0.9rem;
  border: 1px solid #e5cfa7;
  border-radius: 0.9rem;
  background: #fff8ea;
}

.fpv-selector > h4 {
  margin-bottom: 0.45rem;
}

.fpv-selector > p {
  margin: 0 0 0.7rem;
  color: var(--text-soft);
}

.fpv-selector__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.fpv-option {
  width: 100%;
  text-align: left;
  border: 1px solid #dfc39b;
  border-radius: 0.7rem;
  background: #fffdf8;
  color: var(--primary-blue);
  padding: 0.6rem;
  cursor: pointer;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 0.72rem;
}

.fpv-option.is-selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px rgba(216, 154, 50, 0.25);
  background: #fff4de;
}

.fpv-option__image {
  width: 100%;
  max-width: 112px;
  border-radius: 0.55rem;
  border: 1px solid #e6d2af;
  background: #fffbf3;
}

.fpv-option__content {
  display: grid;
  gap: 0.18rem;
}

.fpv-option__title {
  font-weight: 800;
}

.fpv-option__meta {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.fpv-option__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-blue-soft);
}

.fpv-selector__hint {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.cta-section {
  padding: 3.8rem 0;
  text-align: center;
}

.js .cta-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .cta-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #223d55;
  box-shadow: 0 8px 18px rgba(216, 154, 50, 0.35);
}

.btn--secondary {
  background: var(--primary-blue);
  color: #fdf8ec;
  border: 1px solid #274561;
}

.forms-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  padding: 0 0 4rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 10px 22px var(--shadow);
}

.matrix-wrapper {
  margin-bottom: 1rem;
}

.matrix-wrapper.is-hidden {
  display: none;
}

.matrix-intro {
  margin: -0.15rem 0 0.65rem;
  color: var(--text-soft);
}

.pricing-matrix {
  width: 100%;
  border-collapse: collapse;
}

.pricing-matrix th,
.pricing-matrix td {
  border: 1px solid var(--border);
  padding: 0.45rem;
  text-align: center;
}

.pricing-matrix th {
  font-size: 0.9rem;
  color: var(--primary-blue-soft);
  background: #f9f2e4;
}

.matrix-option {
  width: 100%;
  border: 1px solid #dfc39b;
  border-radius: 0.7rem;
  background: var(--surface-muted);
  color: var(--primary-blue);
  padding: 0.7rem 0.5rem;
  cursor: pointer;
  display: grid;
  gap: 0.3rem;
}

.matrix-option.is-selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px rgba(216, 154, 50, 0.25);
  background: #fff4de;
}

.matrix-option__title {
  font-weight: 700;
}

.matrix-option__price {
  font-size: 0.9rem;
  color: var(--primary-blue-soft);
}

.lead-form {
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  display: grid;
  gap: 0.3rem;
}

.lead-form label.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.lead-form label.checkbox-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
}

.lead-form span {
  font-size: 0.93rem;
  color: var(--primary-blue-soft);
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d9be95;
  border-radius: 0.6rem;
  background: #fffdf8;
  color: var(--text);
  padding: 0.65rem;
  font: inherit;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #8da0b8;
}

.captcha-row {
  display: block;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #2d7c56;
}

.form-status.is-error {
  color: #b4423f;
}

@media (max-width: 720px) {
  .landing-header {
    padding: 0.9rem 1rem;
  }

  .landing-header__logo {
    height: 44px;
  }

  .landing-header__tagline {
    display: none;
  }

  .hero-video__content {
    position: static;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}
