:root {
  --bg-top: #536072;
  --bg-bottom: #3d4858;
  --shell: rgba(11, 19, 31, 0.72);
  --shell-line: rgba(255, 255, 255, 0.08);
  --panel: rgba(16, 27, 43, 0.86);
  --panel-soft: rgba(24, 37, 57, 0.82);
  --panel-light: rgba(255, 255, 255, 0.06);
  --line: rgba(173, 191, 220, 0.16);
  --text: #eef4ff;
  --muted: #a5b4ca;
  --accent: #58b4ff;
  --accent-strong: #2c95ea;
  --sun: #ffcb58;
  --success: #88d5a7;
  --radius-2xl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 32px 70px rgba(8, 14, 24, 0.34);
  --content-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 18%),
    radial-gradient(circle at bottom right, rgba(88, 180, 255, 0.12), transparent 20%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.cookie-slot:empty {
  display: none;
}

.page-site {
  padding: 28px 18px 32px;
}

.page-frame {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  background: var(--shell);
  border: 1px solid var(--shell-line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header--home {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88, 180, 255, 0.22), rgba(255, 203, 88, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-transform: lowercase;
}

.site-brand__text {
  color: #f7fbff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(88, 180, 255, 0.26), rgba(88, 180, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(130, 202, 255, 0.22);
}

.page-main {
  padding: 30px;
}

.home-main {
  display: grid;
  gap: 26px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button-primary {
  color: #082036;
  background: linear-gradient(135deg, #ffcf62, #ffd978);
  box-shadow: 0 16px 28px rgba(255, 207, 98, 0.2);
}

.button-secondary {
  color: #f5fbff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-primary:hover,
.button-secondary:hover,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.home-hero--premium {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 26px;
  padding: 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 25, 42, 0.94), rgba(22, 36, 58, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.atmosphere-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.65;
  pointer-events: none;
}

.atmosphere-glow--one {
  top: -40px;
  left: -20px;
  width: 220px;
  height: 220px;
  background: rgba(88, 180, 255, 0.18);
}

.atmosphere-glow--two {
  right: 8%;
  bottom: -40px;
  width: 240px;
  height: 240px;
  background: rgba(255, 203, 88, 0.12);
}

.home-hero__copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.home-hero__copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.home-hero__copy p {
  margin: 0;
  max-width: 58ch;
  color: #c3d1e5;
  font-size: 1.03rem;
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d3ddec;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
}

.forecast-stage,
.forecast-stage__rail,
.feature-band,
.feature-card-premium,
.city-card--premium,
.insight-card-premium,
.cta-section--premium,
.page-hero,
.page-aside,
.page-section,
.info-card,
.contact-card,
.policy-card,
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.forecast-stage {
  padding: 22px;
}

.forecast-stage__headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.stage-city {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.forecast-stage__headline strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(3rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.forecast-stage__headline p {
  margin: 0;
  max-width: 24ch;
  color: #bdd0e7;
  line-height: 1.6;
}

.stage-sun {
  position: relative;
  width: 86px;
  height: 86px;
  margin-top: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe591, #ffbf38 70%);
  box-shadow: 0 0 34px rgba(255, 191, 56, 0.28);
}

.stage-sun::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 6%, rgba(255, 203, 88, 0.92) 6% 9%, transparent 9% 15%, rgba(255, 203, 88, 0.92) 15% 18%, transparent 18% 24%, rgba(255, 203, 88, 0.92) 24% 27%, transparent 27% 33%, rgba(255, 203, 88, 0.92) 33% 36%, transparent 36% 42%, rgba(255, 203, 88, 0.92) 42% 45%, transparent 45% 51%, rgba(255, 203, 88, 0.92) 51% 54%, transparent 54% 60%, rgba(255, 203, 88, 0.92) 60% 63%, transparent 63% 69%, rgba(255, 203, 88, 0.92) 69% 72%, transparent 72% 78%, rgba(255, 203, 88, 0.92) 78% 81%, transparent 81% 87%, rgba(255, 203, 88, 0.92) 87% 90%, transparent 90% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 63%, #000 64%);
          mask: radial-gradient(circle, transparent 0 63%, #000 64%);
}

.forecast-strip,
.forecast-meta,
.rail-days,
.feature-grid-premium,
.city-grid--premium,
.insight-ribbon,
.cards-grid,
.contact-grid,
.policies-grid {
  display: grid;
  gap: 14px;
}

.forecast-strip {
  margin-top: 22px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.forecast-strip article,
.forecast-meta article,
.rail-days div,
.city-card--premium,
.info-card,
.contact-card,
.policy-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.forecast-strip article {
  padding: 16px 12px;
  text-align: center;
}

.forecast-strip span,
.forecast-meta span,
.rail-days small,
.feature-label,
.page-kicker {
  color: var(--muted);
}

.forecast-strip strong,
.forecast-meta strong,
.rail-days b {
  display: block;
  margin: 6px 0 4px;
  color: #ffffff;
}

.forecast-strip small,
.rail-days small {
  font-size: 0.82rem;
}

.forecast-meta {
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.forecast-meta article {
  padding: 16px;
}

.forecast-stage__rail {
  padding: 18px;
}

.rail-title {
  display: block;
  margin-bottom: 12px;
  color: #f2f7ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.rail-days {
  grid-template-columns: 1fr;
}

.rail-days div {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
}

.home-panels,
.city-showcase,
.page-stack {
  display: grid;
  gap: 20px;
}

.feature-band,
.cta-section--premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 24px;
  padding: 28px;
}

.feature-label,
.page-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-band h2,
.section-intro h2,
.page-hero h1,
.page-section h2,
.cta-section--premium h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.feature-band h2,
.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.feature-band p,
.section-intro p,
.city-card--premium p,
.insight-card-premium p,
.cta-section--premium p,
.page-hero p,
.page-aside p,
.info-card p,
.detail-list li,
.contact-card p,
.policy-card p {
  color: #c0cfdf;
  line-height: 1.75;
}

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

.feature-card-premium,
.insight-card-premium {
  padding: 24px;
}

.feature-card-premium h3,
.insight-card-premium h3,
.info-card h3,
.contact-card h3,
.policy-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.feature-card-premium p,
.info-card p,
.contact-card p,
.policy-card p {
  margin: 0 0 16px;
}

.feature-card-premium a {
  color: #7cc7ff;
  font-weight: 700;
}

.section-intro,
.cta-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.city-grid--premium {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-card--premium {
  padding: 22px;
}

.city-card--premium span {
  display: block;
  margin-bottom: 10px;
  color: #b8cae1;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.city-card--premium strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.city-card--premium p {
  margin: 0;
}

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

.cta-section--premium {
  align-items: center;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  padding: 30px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
}

.page-hero p {
  margin: 14px 0 0;
}

.page-aside {
  padding: 24px;
}

.page-section {
  padding: 28px;
}

.page-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

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

.info-card {
  padding: 22px;
}

.detail-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.detail-list li + li {
  margin-top: 12px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.contact-card,
.form-card,
.policy-card {
  padding: 24px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #d5e2f4;
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #edf4ff;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a5bd;
}

.field select {
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(123, 200, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(88, 180, 255, 0.12);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 24px;
  padding: 28px 30px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #ffffff;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.8;
}

.site-footer a {
  display: block;
}

@media (max-width: 1120px) {
  .home-hero--premium,
  .feature-band,
  .cta-section--premium,
  .page-hero,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .city-grid--premium,
  .feature-grid-premium,
  .insight-ribbon,
  .cards-grid,
  .policies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-site {
    padding: 16px;
  }

  .page-main,
  .site-header,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-stage,
  .feature-grid-premium,
  .city-grid--premium,
  .insight-ribbon,
  .cards-grid,
  .form-grid,
  .policies-grid,
  .forecast-strip,
  .forecast-meta {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero--premium,
  .feature-band,
  .cta-section--premium,
  .page-hero,
  .page-section,
  .page-aside {
    padding: 22px;
  }

  .forecast-stage__headline {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-frame {
    border-radius: 24px;
  }

  .home-hero__copy h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .rail-days div {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
