:root {
  --primary: #0F2747;
  --accent: #C7A86B;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --text: #1C2430;
  --muted: #667085;
  --border: #E5EAF1;
  --shadow: 0 12px 30px rgba(15, 39, 71, 0.08);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 88px) + 15px);
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-label {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 14px;
}

.section-label--light {
  color: #E6D3A6;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 20px;
}

/* На узких экранах «Великобританию» не влезает в строку на 38px */
@media (max-width: 430px) {
  h1 {
    font-size: 31px;
  }

  .hero__label {
    font-size: 14px;
  }
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 14px;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

p {
  color: var(--muted);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-gold {
  background: var(--accent);
  color: var(--primary);
}

.btn-full {
  width: 100%;
  cursor: pointer;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,234,241,0.8);
}

.header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
}

.footer__logo img {
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.header__nav a:hover {
  background: rgba(15,39,71,0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__phone {
  font-weight: 700;
  color: var(--primary);
}

.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
  border-top: 1px solid transparent;
  background: var(--white);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    padding 0.35s ease,
    border-color 0.2s ease;
}

.mobile-menu a {
  min-height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(15,39,71,0.04);
}

.mobile-menu.open {
  padding: 18px 20px 20px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-top-color: var(--border);
}

/* HERO */
.hero {
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at top right, rgba(199,168,107,0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(15,39,71,0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero__label {
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
}

.hero__subtitle {
  max-width: 700px;
  margin-bottom: 28px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.badge {
  padding: 12px 16px;
  background: rgba(15,39,71,0.06);
  border: 1px solid rgba(15,39,71,0.08);
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.feature {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card,
.form-card,
.card,
.review,
.price-card,
.stat,
.tab-content,
.step,
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  min-height: 260px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #102947 0%, #173962 100%);
}

.passport-card {
  width: 240px;
  height: 150px;
  background: linear-gradient(135deg, #15355c, #1d4b7d);
  border-radius: 22px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

.passport-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-bottom: 16px;
}

.passport-lines {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.14) 6px,
    transparent 6px,
    transparent 12px
  );
}

.ticket-card {
  position: absolute;
  right: 30px;
  top: 40px;
  white-space: nowrap;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.stamp {
  position: absolute;
  right: 38px;
  bottom: 38px;
  border: 3px solid rgba(199,168,107,0.85);
  color: rgba(199,168,107,0.95);
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  transform: rotate(-10deg);
  letter-spacing: 0.08em;
}

.form-card {
  padding: 30px;
}

.form-card.is-submitting {
  pointer-events: none;
  opacity: 0.7;
}

.form-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.form-card p {
  margin-bottom: 20px;
}

.form-card input:not([type="hidden"]),
.form-card select {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0 18px;
  margin-bottom: 14px;
  background: #fff;
}

.country-select {
  position: relative;
  margin-bottom: 14px;
}

.country-select__input {
  margin-bottom: 0 !important;
  padding-right: 42px !important;
}

.country-select__arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8590a3;
  border-bottom: 2px solid #8590a3;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.country-select.open .country-select__arrow {
  transform: translateY(-35%) rotate(-135deg);
}

.country-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 20;
  list-style: none;
  padding: 6px;
}

.country-select__option {
  width: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  border-radius: 10px;
  text-align: left;
  padding: 0 12px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.country-select__option:hover,
.country-select__option.is-active {
  background: rgba(15,39,71,0.08);
  color: var(--primary);
}

.country-select__empty {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #8a94a6;
  font-size: 15px;
}

.country-select__empty[hidden] {
  display: none;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: #8a94a6;
}

/* Cards */
.cards-grid,
.reviews-grid,
.price-grid {
  display: grid;
  gap: 24px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
}

.tabs__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  font-weight: 700;
  text-align: left;
  padding: 0 20px;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-content {
  display: none;
  padding: 36px;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 28px;
}

.country-meta span {
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 28px 20px;
}

.step span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.why-text {
  max-width: 560px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  padding: 28px;
}

.stat strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

/* Reviews */
.reviews-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.review {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  padding: 28px;
  cursor: pointer;
  box-shadow: none;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-top: 0;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.reviews-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.reviews-arrow:focus-visible,
.review:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Prices */
.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  padding: 30px;
  text-align: center;
}

.price-card h3 {
  margin-bottom: 14px;
  color: var(--primary);
}

.price {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
}

/* FAQ */
.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 0 52px 0 24px;
  text-align: left;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8590a3;
  border-bottom: 2px solid #8590a3;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer__inner {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 17px;
}

/* Final CTA */
.final-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #0F2747 0%, #173C6A 100%);
  color: var(--white);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

/* Footer */
.footer {
  padding: 50px 0 100px;
  background: #0c1f39;
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer__text {
  color: rgba(255,255,255,0.72);
  max-width: 360px;
  margin-top: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  color: rgba(255,255,255,0.85);
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer__bottom p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.6;
}

.footer__bottom p + p {
  margin-top: 10px;
}

/* Mobile Sticky */
.mobile-bar {
  display: none;
}

/* Responsive */
@media (max-width: 1350px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 1200px) {
  .header__nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .burger {
    display: block;
    cursor: pointer;
  }
}

@media (max-width: 1200px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }

  .btn-primary {
    background: #0F2747;
  }

  .btn-outline {
    border-color: #0F2747;
    color: #0F2747;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .burger {
    display: block;
    cursor: pointer;
  }

  .hero__grid,
  .why-grid,
  .tabs {
    grid-template-columns: 1fr;
  }

  .tabs__buttons {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .tab-btn {
    white-space: nowrap;
    min-width: max-content;
  }

  .stats-grid,
  .cards-grid,
  .price-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .reviews-carousel {
    grid-template-columns: 1fr;
  }

  .reviews-arrow {
    display: none;
  }

  .review {
    flex-basis: 100%;
  }

  .final-cta__inner,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }

  .section {
    padding: 72px 0;
  }

  p {
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 70px;
  }

  .hero__features {
    grid-template-columns: 1fr;
  }

  .hero-card {
    height: 220px;
    min-height: 220px;
    padding: 24px;
  }

  .passport-card {
    width: 190px;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
  }

  .passport-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .passport-lines {
    height: auto;
    flex: 1;
    min-height: 0;
  }

  .ticket-card {
    right: 20px;
    top: 24px;
    font-size: 14px;
  }

  .stamp {
    right: 20px;
    bottom: 24px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    z-index: 100;
  }

  .mobile-bar a {
    min-height: 52px;
    border-radius: 999px;
    background: #0F2747;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
  }

  .footer {
    padding-bottom: 110px;
  }
}

/* Disclaimer */
.disclaimer {
  background: linear-gradient(135deg, rgba(15, 39, 71, 0.08) 0%, rgba(199, 168, 107, 0.12) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  position: sticky;
  top: 88px;
  z-index: 99;
  backdrop-filter: blur(8px);
}

.disclaimer-content {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclaimer-content p {
  font-size: 0.95rem;
  color: var(--primary);
  margin: 0;
  font-weight: 500;
  max-width: 100%;
  line-height: 1.5;
}

.disclaimer-content strong {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 600px) {
  .disclaimer-content {
    width: min(1280px, calc(100% - 24px));
    gap: 8px;
  }
}

/* Company requisites */
.contact-details {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
}

.contact-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
}

.detail-row + .detail-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(229, 234, 241, 0.9);
}

.detail-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-row p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .details-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-details {
    padding: 24px;
  }

  .details-list {
    gap: 14px;
  }

  .detail-card {
    padding: 18px;
  }
}

/* Декоративная плашка в герое: прячем там, где карточка слишком узкая
   и плашка налезала бы на «паспорт» */
@media (min-width: 901px) and (max-width: 1150px) {
  .ticket-card {
    display: none;
  }
}

@media (max-width: 440px) {
  .ticket-card {
    display: none;
  }
}

/* Реквизиты: одна карточка — не растягиваем на всю сетку */
.details-list--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
  margin: 0 auto;
}

/* Статус отправки формы */
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.45;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: #EAF7EF;
  border-color: #BFE5CD;
  color: #1B6B3A;
}

.form-status--error {
  background: #FDECEC;
  border-color: #F5C2C2;
  color: #A32020;
}
