:root {
  --cyan: #18d6e3;
  --cyan-dark: #00a9bf;
  --cyan-deep: #007f91;
  --cyan-soft: #e7fbfd;
  --red: #ed1515;
  --dark: #101820;
  --text: #263645;
  --muted: #6b7785;
  --line: #d8e6ee;
  --bg: #f4f8fa;
  --white: #ffffff;
  --footer: #061b2c;
  --gold: #f4b32d;
  --shadow: 0 22px 58px rgba(28, 50, 68, 0.14);
  --shadow-soft: 0 10px 30px rgba(28, 50, 68, 0.09);
  --header-height: 76px;
}

* { box-sizing: border-box; }

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

button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 230, 238, 0.9);
}

.header-inner {
  width: min(1340px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.8px;
  color: #111820;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffe79a, var(--gold));
  box-shadow: 0 10px 22px rgba(244, 179, 45, 0.3);
  font-size: 21px;
}

.logo-domain {
  font-size: 14px;
  color: var(--muted);
  font-weight: 750;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(231, 251, 253, 0.58);
  border: 1px solid rgba(0, 169, 191, 0.12);
}

.nav-button {
  border: 0;
  background: transparent;
  color: #334657;
  height: 40px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 850;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-button:hover,
.nav-button.active {
  background: #ffffff;
  color: var(--cyan-dark);
  box-shadow: var(--shadow-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #cbd8e2;
  border-radius: 14px;
  background: #fff;
  color: #243647;
  font-weight: 850;
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--cyan-dark);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 169, 191, 0.28);
  white-space: nowrap;
}

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at var(--glow-x, 64%) var(--glow-y, 32%), rgba(24, 214, 227, 0.28), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fa 100%);
  overflow: hidden;
  transition: background 0.55s ease;
}

.stage-inner {
  width: min(1340px, calc(100% - 48px));
  height: calc(100vh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.copy.changing { opacity: 0; transform: translateY(16px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(231, 251, 253, 0.92);
  color: #007e91;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  line-height: 1.25;
}

.title {
  margin: 22px 0 18px;
  font-size: clamp(42px, 4.7vw, 76px);
  line-height: 0.98;
  letter-spacing: -3px;
  color: #111820;
}

.title span { color: var(--cyan-dark); }

.lead {
  max-width: 620px;
  margin: 0;
  color: #465665;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.58;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
}

.button-primary {
  border: 0;
  background: var(--cyan-dark);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 169, 191, 0.28);
}

.button-secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid #cbd8e2;
}

.micro-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 24px;
}

.micro-card {
  min-height: 92px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dfe9ef;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
}

.micro-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
  font-size: 17px;
  font-weight: 950;
}

.visual {
  position: relative;
  z-index: 3;
  min-width: 0;
  height: min(74vh, 690px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-grid {
  width: 100%;
  display: grid;
  gap: 18px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cards-grid.changing { opacity: 0; transform: scale(0.985); }
.cards-grid.layout-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.layout-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-grid.layout-5 .card:nth-child(1),
.cards-grid.layout-5 .card:nth-child(2),
.cards-grid.layout-5 .card:nth-child(3) { grid-column: span 2; }
.cards-grid.layout-5 .card:nth-child(4) { grid-column: 2 / span 2; }
.cards-grid.layout-5 .card:nth-child(5) { grid-column: 4 / span 2; }
.cards-grid.layout-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin: 0 auto; }
.cards-grid.layout-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.layout-tariffs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.layout-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin: 0 auto; }

.card {
  position: relative;
  min-height: 190px;
  padding: clamp(18px, 1.6vw, 24px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8e6ee;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 0.42s ease forwards;
}

@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.card.accent { border-color: rgba(0, 169, 191, 0.42); box-shadow: var(--shadow); }
.card.dark {
  background:
    radial-gradient(circle at 86% 14%, rgba(24, 214, 227, 0.26), transparent 36%),
    linear-gradient(135deg, #061b2c, #0b4051);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(6, 27, 44, 0.22);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin: -4px 0 14px;
  border-radius: 18px;
  border: 1px solid #d8e6ee;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 18px;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
  font-size: 27px;
  font-weight: 950;
}
.card.dark .card-icon { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.card h3 {
  margin: 0 0 9px;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.14;
  letter-spacing: -0.3px;
  color: inherit;
}
.card p { margin: 0; color: var(--muted); font-size: clamp(13px, 0.95vw, 15px); line-height: 1.45; }
.card.dark p { color: rgba(255, 255, 255, 0.78); }

.card-price {
  margin: 12px 0 10px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
  font-weight: 950;
  color: var(--cyan-dark);
  letter-spacing: -0.8px;
}
.card.dark .card-price { color: #ffffff; }
.card-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.card-list li::before { content: "✓"; margin-right: 8px; color: var(--cyan-dark); font-weight: 950; }
.card.dark .card-list { color: rgba(255, 255, 255, 0.78); }
.card.dark .card-list li::before { color: #ffffff; }
.card-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-button { min-height: 42px; padding: 0 15px; border-radius: 13px; border: 1px solid var(--cyan-dark); background: white; color: var(--cyan-dark); font-weight: 900; }
.card.dark .card-button { border-color: white; }

.contact-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 220px;
  padding: clamp(24px, 2.4vw, 38px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 14%, rgba(24, 214, 227, 0.26), transparent 36%),
    linear-gradient(135deg, #061b2c, #0b4051);
  color: white;
  box-shadow: 0 22px 54px rgba(6, 27, 44, 0.24);
}
.contact-box h3 { margin: 0 0 12px; font-size: clamp(28px, 2.6vw, 44px); line-height: 1.05; letter-spacing: -1px; }
.contact-box p { max-width: 700px; margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.5; }
.contact-link { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border-radius: 16px; border: 0; background: white; color: var(--cyan-dark); font-weight: 950; white-space: nowrap; }

.progress {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 8vh;
  width: min(360px, calc(100vw - 40px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid #d8e6ee;
  box-shadow: var(--shadow-soft);
}
.progress-track { flex: 1; height: 8px; border-radius: 999px; background: #e3eef3; overflow: hidden; }
.progress-fill { width: 0%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-dark), var(--cyan)); transition: width 0.3s ease; }
.progress-count { min-width: 38px; text-align: right; color: var(--cyan-deep); font-size: 13px; font-weight: 950; }
.stepper { position: fixed; z-index: 121; left: 50%; bottom: calc(8vh - 44px); display: flex; gap: 7px; transform: translateX(-50%); }
.dot { width: 8px; height: 8px; border: 0; padding: 0; border-radius: 50%; background: #b9cbd6; transition: 0.2s ease; }
.dot.active { width: 24px; border-radius: 999px; background: var(--cyan-dark); }
.scroll-hint { position: fixed; z-index: 121; right: 32px; bottom: 32px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.88); border: 1px solid #d8e6ee; box-shadow: var(--shadow-soft); color: var(--cyan-dark); font-size: 28px; font-weight: 950; animation: arrowPulse 1.45s ease-in-out infinite; }
@keyframes arrowPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 27, 44, 0.48);
  backdrop-filter: blur(10px);
}
.modal-backdrop.open { display: flex; }
.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 26px 80px rgba(6, 27, 44, 0.28);
}
.modal-wide { width: min(920px, 100%); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d8e6ee; background: white; font-size: 24px; line-height: 1; }
.modal h2 { margin: 0 44px 10px 0; font-size: 32px; line-height: 1.05; letter-spacing: -0.8px; color: #111820; }
.modal p { margin: 0 0 22px; color: var(--muted); line-height: 1.5; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 850; color: #243647; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #cbd8e2;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-hint { color: var(--muted); font-size: 13px; }
.required { color: var(--red); }
.form-message { margin-top: 14px; font-weight: 850; color: var(--cyan-deep); white-space: pre-wrap; }
.calculator-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.calculator-result { position: sticky; top: 0; padding: 22px; border-radius: 22px; background: var(--cyan-soft); border: 1px solid rgba(0,169,191,0.18); }
.result-label { color: var(--cyan-deep); font-weight: 900; }
.result-price { margin: 8px 0 5px; font-size: 34px; line-height: 1; font-weight: 950; color: #111820; letter-spacing: -0.8px; }
.result-setup { color: var(--muted); font-weight: 750; }
.result-details { margin: 16px 0; display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.range-output { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 750; }
.hidden-hp { position: absolute !important; left: -9999px !important; }

@media (max-width: 1180px) {
  :root { --header-height: 68px; }
  html, body { overflow: hidden; }
  .header-inner { width: calc(100% - 6%); }
  .logo { font-size: 22px; gap: 9px; }
  .logo-icon { width: 34px; height: 34px; border-radius: 12px; font-size: 19px; }
  .logo-domain { display: none; }
  .header-link { display: none; }
  .header-cta { height: 40px; padding: 0 13px; border-radius: 12px; font-size: 13px; }
  .nav {
    position: fixed;
    left: 3%;
    right: 3%;
    bottom: 3%;
    z-index: 160;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 1.2%;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav-button { flex: 0 0 auto; height: 38px; font-size: 13px; padding: 0 12px; }
  .stage {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 22%;
  }
  .stage-inner {
    width: calc(100% - 6%);
    height: auto;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2%;
    align-content: start;
    align-items: start;
    padding: 2.5% 0 8%;
  }
  .copy {
    overflow: visible;
    align-self: start;
  }
  .kicker { font-size: 11px; line-height: 1.25; padding: 8px 12px; letter-spacing: 0.2px; }
  .title { margin: 3% 0 2%; font-size: clamp(32px, 8.8vw, 52px); line-height: 1; letter-spacing: -1.5px; }
  .lead {
    max-width: none;
    font-size: 15px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .actions, .micro-row { display: none; }
  .visual {
    height: auto;
    min-height: auto;
    align-items: flex-start;
    justify-content: stretch;
  }
  .cards-wrap {
    height: auto;
    align-items: flex-start;
    justify-content: stretch;
  }
  .cards-grid, .cards-grid.layout-6, .cards-grid.layout-5, .cards-grid.layout-4, .cards-grid.layout-3, .cards-grid.layout-tariffs, .cards-grid.layout-contact {
    width: 100%;
    height: auto;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2%;
    margin: 0;
    align-content: start;
  }
  .cards-grid.layout-5 .card:nth-child(1), .cards-grid.layout-5 .card:nth-child(2), .cards-grid.layout-5 .card:nth-child(3), .cards-grid.layout-5 .card:nth-child(4), .cards-grid.layout-5 .card:nth-child(5) { grid-column: auto; }
  .card { min-height: 0; padding: 3.2%; border-radius: 18px; }
  .card-icon { width: 38px; height: 38px; margin-bottom: 8px; border-radius: 14px; font-size: 20px; }
  .card h3 { font-size: 15.5px; margin-bottom: 5px; line-height: 1.13; }
  .card p { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-list, .card-actions, .card-image { display: none; }
  .card-price { font-size: 22px; margin: 8px 0; }
  .contact-box { grid-column: 1 / -1; grid-template-columns: 1fr; min-height: 0; padding: 5%; border-radius: 24px; }
  .contact-box h3 { font-size: 28px; }
  .contact-box p { font-size: 15px; }
  .contact-link { width: 100%; min-height: 50px; }
  .progress {
    bottom: calc(env(safe-area-inset-bottom, 0%) + 2.5%);
    width: 78%;
    max-width: none;
    padding: 2.2% 3.5%;
  }
  .stepper, .scroll-hint { display: none; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-result { position: static; }
}

@media (max-width: 640px) {
  .stage { padding-bottom: 26%; }
  .stage-inner {
    width: calc(100% - 5%);
    gap: 1.8%;
    padding-top: 2%;
    padding-bottom: 10%;
  }
  .header-cta { display: none; }
  .title { font-size: clamp(30px, 10.5vw, 43px); }
  .lead { font-size: 14px; -webkit-line-clamp: 5; }
  .cards-grid, .cards-grid.layout-6, .cards-grid.layout-5, .cards-grid.layout-4, .cards-grid.layout-3, .cards-grid.layout-tariffs, .cards-grid.layout-contact { grid-template-columns: 1fr 1fr; gap: 2.4%; }
  .card { padding: 4%; }
  .card h3 { font-size: 14.5px; }
  .card p { font-size: 12px; -webkit-line-clamp: 3; }
  .progress { width: 82%; bottom: calc(env(safe-area-inset-bottom, 0%) + 2.2%); }
  .modal { padding: 24px; border-radius: 22px; }
  .modal h2 { font-size: 27px; }
}

@media (max-width: 420px) {
  .stage { padding-bottom: 28%; }
  .stage-inner { width: calc(100% - 4.5%); }
  .title { font-size: 29px; }
  .lead { font-size: 13.4px; -webkit-line-clamp: 5; }
  .kicker { font-size: 10px; }
  .card-icon { width: 34px; height: 34px; font-size: 18px; }
  .card h3 { font-size: 13.2px; }
  .card p { font-size: 11.2px; }
  .progress { width: 86%; }
}

.header-actions .account-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:12px;white-space:nowrap;font-weight:750}@media(max-width:640px){.header-actions .account-link{font-size:12px;padding:0 10px}}
