:root {
  --blue-950: #07152f;
  --blue-900: #0b1f45;
  --blue-800: #0d2f66;
  --blue-600: #1359c8;
  --blue-500: #1976f3;
  --gold: #d7ad5c;
  --gold-soft: #f4d995;
  --brand-red: #e30613;
  --dark: #0b1020;
  --text: #253047;
  --muted: #6e7890;
  --line: #e7ecf4;
  --white: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(7, 21, 47, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.top-bar {
  min-height: 38px;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: rgba(255,255,255,0.84);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  font-size: 13px;
}

.top-bar span {
  color: var(--gold-soft);
  font-weight: 700;
}


.brand-red {
  color: var(--brand-red) !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 236, 244, 0.85);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  box-shadow: 0 14px 40px rgba(7, 21, 47, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  width: 250px;
  display: flex;
  align-items: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  opacity: .82;
  transition: opacity .2s ease, color .2s ease;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--blue-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 34px rgba(19, 89, 200, 0.28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(19, 89, 200, 0.34);
}

.btn svg,
.model-actions svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.btn {
  gap: 9px;
}

.btn-small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-full {
  width: 100%;
  border: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: var(--blue-950);
}

.mobile-nav {
  display: none;
  padding: 0 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-weight: 700;
  color: var(--blue-950);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(25, 118, 243, 0.32), transparent 34%),
    linear-gradient(90deg, rgba(7, 21, 47, 0.96), rgba(7, 21, 47, 0.76) 46%, rgba(7, 21, 47, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 0;
}

.hero-copy {
  width: min(670px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--blue-600);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.75rem, 5.8vw, 5.45rem);
  line-height: 1.1;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--blue-950);
  margin-bottom: 18px;
}

h3 {
  color: var(--blue-950);
  font-size: 1.17rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

p {
  line-height: 1.7;
}

.hero p {
  font-size: 1.18rem;
  width: min(570px, 100%);
  color: rgba(255,255,255,0.84);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(720px, 100%);
}

.hero-stats div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 5px;
}

.hero-stats span {
  color: rgba(255,255,255,0.68);
  font-size: 12px;
}

.section {
  padding: 110px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 64px;
  align-items: center;
}

.section-copy p,
.section-heading p,
.why-content p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-heading.left {
  text-align: left;
  margin: 0;
}

.intro-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 430px;
  box-shadow: var(--shadow);
}

.intro-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.intro-card-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
}

.intro-card-content strong,
.intro-card-content span {
  display: block;
}

.intro-card-content strong {
  color: var(--blue-950);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.intro-card-content span {
  color: var(--muted);
}

.advantages {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.advantage-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 42px rgba(7, 21, 47, 0.06);
  min-height: 230px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(7, 21, 47, 0.11);
}

.advantage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(19, 89, 200, 0.1);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 22px;
}

.advantage-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.why {
  padding-top: 40px;
}

.why-wrap {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 62px;
  align-items: center;
}

.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.why-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue-600);
  flex: 0 0 auto;
}

.models {
  background: var(--soft);
}

.model-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--blue-950);
  color: var(--white);
  border-color: var(--blue-950);
}

.model-grid {
  grid-template-columns: repeat(4, 1fr);
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(7, 21, 47, 0.08);
  transition: transform .2s ease, opacity .2s ease;
}

.model-card.hidden {
  display: none;
}

.model-card:hover {
  transform: translateY(-5px);
}

.model-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--soft);
  padding: 0;
  box-sizing: border-box;
}

.model-card-body {
  padding: 24px;
}

.model-card span {
  display: block;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.model-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 68px;
}

.monthly-price {
  display: block;
  color: var(--blue-950);
  font-size: 1.45rem;
  line-height: 1.08;
  margin: 16px 0 18px;
}

.monthly-price small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
  text-transform: none;
  margin-bottom: 4px;
}

.model-actions {
  display: grid;
  gap: 10px;
}

.model-card a,
.gallery-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 900;
}

.model-card a {
  color: var(--white);
  background: var(--blue-600);
  padding: 0 15px;
}

.gallery-trigger {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--blue-950);
  background: var(--white);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.gallery-trigger:hover {
  background: var(--blue-950);
  color: var(--white);
  border-color: var(--blue-950);
}

.simulator {
  background:
    radial-gradient(circle at 20% 20%, rgba(25,118,243,.28), transparent 25%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.simulator-box {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.simulator h2 {
  color: var(--white);
}

.simulator p {
  color: rgba(255,255,255,.75);
  font-size: 1.06rem;
}

.simulator-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 18px;
  display: grid;
  gap: 12px;
}

.simulator-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

.simulator-points li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 173, 92, .2);
  color: var(--gold-soft);
  border: 1px solid rgba(244, 217, 149, .35);
  flex: 0 0 auto;
}

.simulator-note {
  display: block;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
  max-width: 560px;
}

.calculator-card {
  padding: 34px;
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--blue-950);
  border: 1px solid rgba(255,255,255,.5);
}

.calculator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.calculator-head span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-600);
  margin-bottom: 6px;
}

.calculator-head h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.calculator-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  font-size: 1.18rem;
  box-shadow: 0 16px 34px rgba(7, 21, 47, .16);
  white-space: nowrap;
}

.calculator-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.calculator-step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  color: var(--muted);
}

.calculator-step-pill span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 21, 47, .08);
  color: var(--blue-950);
  font-size: 12px;
  font-weight: 900;
}

.calculator-step-pill strong {
  font-size: 13px;
  font-weight: 900;
}

.calculator-step-pill.active {
  background: rgba(19, 89, 200, .08);
  border-color: rgba(19, 89, 200, .28);
  color: var(--blue-950);
}

.calculator-step-pill.active span {
  background: var(--blue-950);
  color: var(--white);
}

.calculator-step {
  display: none;
}

.calculator-step.active {
  display: block;
}

.calculator-contact-form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.calculator-actions {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 12px;
}

.btn-secondary {
  background: var(--soft);
  color: var(--blue-950);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--blue-950);
  color: var(--white);
}

.calculator-form {
  display: grid;
  gap: 0;
}

.preset-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}

.preset-values button {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--blue-950);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.preset-values button:hover {
  background: var(--blue-950);
  color: var(--white);
  border-color: var(--blue-950);
}

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

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 22px;
}

.calculator-results div {
  padding: 16px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.calculator-results span,
.calculator-results strong {
  display: block;
}

.calculator-results span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.calculator-results strong {
  color: var(--blue-950);
  font-size: 1rem;
}

.lead-box {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
  margin-top: 54px;
  padding: 40px;
  border-radius: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
}

.lead-box h2 {
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.lead-box p {
  color: rgba(255,255,255,.72);
  margin-bottom: 0;
}

.lead-form {
  padding: 34px;
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--blue-950);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 13px;
  font-weight: 900;
  color: var(--blue-950);
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 15px;
  background: var(--white);
  color: var(--blue-950);
  outline: none;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(19, 89, 200, 0.1);
}

.lead-form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.form-status.success {
  color: #147a3d;
}

.form-status.error {
  color: #c1121f;
}

.form-status.loading {
  color: var(--blue-600);
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.faq-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 21, 47, 0.05);
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--blue-950);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue-600);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  margin: 16px 0 0;
}

.final-cta {
  padding: 0 0 110px;
}

.final-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  box-shadow: var(--shadow);
}

.final-cta-box h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.final-cta-box p {
  color: rgba(255,255,255,.72);
  margin-bottom: 0;
}

.footer {
  background: #060d1d;
  color: rgba(255,255,255,.72);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.1fr;
  gap: 40px;
}

.footer-logo {
  width: 190px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 18px;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin: 12px 0;
  color: rgba(255,255,255,.72);
}

.footer p {
  margin-bottom: 0;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}


.simulation-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.simulation-modal.active {
  display: flex;
}

.simulation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 29, .78);
  backdrop-filter: blur(10px);
}

.simulation-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--white);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.simulation-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-950);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.simulation-head {
  padding-right: 58px;
  margin-bottom: 22px;
}

.simulation-head span {
  display: block;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.simulation-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.simulation-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.simulation-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.simulation-summary div {
  border: 1px solid rgba(7, 21, 47, .1);
  background: var(--soft);
  border-radius: 18px;
  padding: 16px;
}

.simulation-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}

.simulation-summary strong {
  color: var(--blue-950);
  font-size: 1.12rem;
}

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

.simulation-form .form-row:last-of-type,
.simulation-form .btn,
.simulation-form small {
  grid-column: 1 / -1;
}

.simulation-form small {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 29, .78);
  backdrop-filter: blur(10px);
}

.gallery-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--white);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-950);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-head {
  padding-right: 58px;
  margin-bottom: 18px;
}

.gallery-head span {
  display: block;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 0;
}

.gallery-main-image {
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
  border-radius: 22px;
  background: var(--soft);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 2px;
}

.gallery-thumb {
  width: 108px;
  height: 72px;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
  opacity: .72;
}

.gallery-thumb.active {
  border-color: var(--brand-red);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.gallery-open {
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #20c767;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
  box-shadow: 0 18px 40px rgba(32,199,103,.34);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-inner .btn-small {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav.active {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .two-columns,
  .why-wrap,
  .simulator-box,
  .lead-box,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .advantages-grid,
  .model-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.left {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-bar {
    display: grid;
    text-align: center;
    gap: 3px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    width: 155px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 21, 47, 0.78), rgba(7, 21, 47, 0.96));
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .final-cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .final-cta-box .btn {
    width: 100%;
  }

  .hero-stats,
  .advantages-grid,
  .model-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    text-align: left;
    margin-bottom: 34px;
  }

  .intro-card,
  .intro-card img {
    min-height: 360px;
  }

  .why-image img {
    height: 360px;
  }

  .calculator-card,
  .lead-form {
    padding: 24px;
  }

  .calculator-head,
  .calculator-results,
  .calculator-grid,
  .calculator-steps,
  .calculator-actions {
    grid-template-columns: 1fr;
  }

  .calculator-head {
    display: grid;
  }

  .calculator-head strong {
    width: 100%;
  }

  .lead-box {
    padding: 24px;
    margin-top: 34px;
  }

  .final-cta {
    padding-bottom: 76px;
  }

  .final-cta-box {
    padding: 34px 24px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}


@media (max-width: 700px) {
  .gallery-modal {
    padding: 14px;
  }

  .gallery-dialog {
    padding: 18px;
    border-radius: 24px;
  }

  .gallery-main-image {
    height: 330px;
  }

  .model-card p {
    min-height: auto;
  }

  .simulation-modal {
    padding: 14px;
  }

  .simulation-dialog {
    padding: 22px;
    border-radius: 24px;
  }

  .simulation-head {
    padding-right: 48px;
  }

  .simulation-summary,
  .simulation-form {
    grid-template-columns: 1fr;
  }

}
