/* ===== Variables ===== */
:root {
  --blue: #1E3A8A;
  --blue-dark: #0F172A;
  --orange: #F97316;
  --orange-soft: #FDBA74;
  --orange-warm: #FFF7ED;
  --cream: #FEF3E2;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #334155;
  --text-soft: #64748B;
  --border: #E2E8F0;
  --shadow-soft: 0 4px 24px rgba(30, 58, 138, 0.08);
  --shadow-card: 0 8px 32px rgba(30, 58, 138, 0.1);
  --shadow-hover: 0 16px 48px rgba(30, 58, 138, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito Sans', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__header--left {
  text-align: left;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
}

.section__subtitle {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn--lg {
  padding: 17px 36px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), #EA580C);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.42);
}

.btn--outline {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: var(--transition);
  background: rgba(248, 250, 252, 1);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(30, 58, 138, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.logo__text--footer {
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 210;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.burger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger--active span:nth-child(2) {
  opacity: 0;
}

.burger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
}

.mobile-menu--open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: #0F172A;
}

.mobile-menu__nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  padding: calc(var(--header-h) + 24px) 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -8px 0 40px rgba(30, 58, 138, 0.12);
}

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.mobile-menu__close:hover {
  background: #E2E8F0;
}

.mobile-menu--open .mobile-menu__nav {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu__link {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__nav .btn {
  margin-top: 16px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: #0F172A;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.78) 32%,
    rgba(15, 23, 42, 0.45) 58%,
    rgba(15, 23, 42, 0.18) 100%
  );
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 24px 64px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FB923C;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 999px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #F8FAFC;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 36px;
  max-width: 440px;
  line-height: 1.65;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ===== Worries ===== */
.worries {
  background: var(--white);
}

.worries__intro {
  max-width: 720px;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.worries__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.worry-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition);
}

.worry-card:hover {
  background: var(--white);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.worry-card__image {
  display: block;
  width: 100%;
  height: clamp(210px, 23vw, 260px);
  object-fit: cover;
  object-position: center;
  background: #e2e8f0;
}

.worry-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 24px 28px 12px;
}

.worry-card p {
  padding: 0 28px 28px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.worries__closing {
  margin-top: 48px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  text-align: center;
}

.worries__closing p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ===== Solution ===== */
.solution {
  background: var(--cream);
  overflow: hidden;
}

.solution__decor {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.08);
  pointer-events: none;
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.25);
}

.feature-card__image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: #e2e8f0;
}

.feature-card__image--contain {
  object-fit: contain;
  background: #fff;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.35;
  margin: 0;
  padding: 22px 18px 26px;
}

/* ===== Scenarios ===== */
.scenarios {
  background: var(--bg);
}

.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(30, 58, 138, 0.05);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.scenario-card__art {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.scenario-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
}

.scenario-card__art::before,
.scenario-card__art::after {
  z-index: 0;
}

.scenario-card__art--has-image::before,
.scenario-card__art--has-image::after {
  display: none;
}

.scenario-card__art--apartment {
  background: linear-gradient(180deg, #DBEAFE 0%, #EFF6FF 100%);
}

.scenario-card__art--apartment::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 100px;
  background: #94A3B8;
  border-radius: 4px 4px 0 0;
  box-shadow: -40px 0 0 #64748B, 40px 0 0 #64748B, -80px 20px 0 #475569, 80px 20px 0 #475569;
}

.scenario-card__art--apartment::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #FEF9C3;
  border-radius: 2px;
  box-shadow: -20px 0 0 #FEF9C3, 20px 0 0 #FEF9C3, -40px 10px 0 #FEF9C3, 40px 10px 0 #FEF9C3;
}

.scenario-card__art--house {
  background: linear-gradient(180deg, #FEF3C7 0%, #FFFBEB 100%);
}

.scenario-card__art--house::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 70px;
  background: var(--cream);
  border: 2px solid #D97706;
}

.scenario-card__art--house::after {
  content: '';
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 55px solid transparent;
  border-right: 55px solid transparent;
  border-bottom: 40px solid var(--blue);
}

.scenario-card__art--dacha {
  background: linear-gradient(180deg, #BBF7D0 0%, #DCFCE7 100%);
}

.scenario-card__art--dacha::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #4ADE80;
}

.scenario-card__art--dacha::after {
  content: '';
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 50px;
  background: #FDE8D0;
  border: 2px solid #92400E;
  box-shadow: -30px 15px 0 8px #22C55E, 30px 10px 0 6px #16A34A;
}

.scenario-card__art--townhouse {
  background: linear-gradient(180deg, #E0E7FF 0%, #EEF2FF 100%);
}

.scenario-card__art--townhouse::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 20%;
  width: 55px;
  height: 65px;
  background: #F1F5F9;
  border: 2px solid var(--blue);
  box-shadow: 55px 0 0 #E2E8F0, 55px 0 0 2px var(--blue), 110px 5px 0 #F8FAFC, 110px 5px 0 2px var(--blue);
}

.scenario-card__art--townhouse::after {
  content: '';
  position: absolute;
  bottom: 84px;
  left: calc(20% + 2px);
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 22px solid var(--blue-dark);
  box-shadow: 55px 0 0 0 var(--blue-dark), 110px 5px 0 0 var(--blue-dark);
}

.scenario-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  padding: 20px;
  text-align: center;
  line-height: 1.35;
}

/* ===== Simplicity ===== */
.simplicity {
  background: var(--white);
}

.simplicity__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.simplicity__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.simplicity__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.simplicity__item:hover {
  background: var(--orange-warm);
  border-left-color: var(--orange);
  transform: translateX(6px);
}

.simplicity__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.simplicity__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.simplicity-phone {
  width: 200px;
  height: 340px;
  background: var(--blue-dark);
  border-radius: 32px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-hover);
}

.simplicity-phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--blue) 0%, #2563EB 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.simplicity-phone__screen::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  right: 10%;
  height: 35%;
  background: rgba(134, 239, 172, 0.4);
  border-radius: 8px;
  border: 2px solid rgba(134, 239, 172, 0.6);
}

.simplicity-phone__screen::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  height: 25%;
  background: rgba(253, 186, 116, 0.3);
  border-radius: 8px;
}

.simplicity-phone__check {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.simplicity-phone__check::after {
  content: '';
  width: 14px;
  height: 22px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-2px, -2px);
}

/* ===== Packages ===== */
.packages {
  background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  padding-top: 14px;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 58, 138, 0.12);
}

.package-card--featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--white) 0%, var(--orange-warm) 100%);
  transform: scale(1.03);
  margin-top: 8px;
}

.package-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.package-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.package-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  min-height: 160px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.package-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px 12px;
  box-sizing: border-box;
}

.package-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.package-card__kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-variant-numeric: lining-nums tabular-nums;
}

.package-card__name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
}

.package-card__desc {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.package-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.package-card__price-old {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(100, 116, 139, 0.9);
  font-weight: 700;
}

.package-card__price-new {
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 1.25rem;
}

.package-card .btn {
  margin-top: auto;
}

/* ===== Works ===== */
.works {
  background: var(--white);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(30, 58, 138, 0.05);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.work-card__preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #E2E8F0;
}

.work-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card__image--contain {
  object-fit: contain;
  object-position: center;
}

.work-card__preview--mount {
  background: #E8EDF3;
}

.work-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.work-card__desc {
  padding: 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===== Result ===== */
.result {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.result__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  top: -200px;
  right: -150px;
  filter: blur(80px);
  pointer-events: none;
}

.result__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.result__icon {
  width: 80px;
  margin: 0 auto 28px;
}

.result__icon svg {
  width: 80px;
  height: 80px;
}

.result__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.25;
}

.result__text p {
  font-size: 1.1rem;
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 20px;
}

.result__highlight {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem) !important;
  font-weight: 600;
  font-style: italic;
  color: var(--orange-soft) !important;
  opacity: 1 !important;
  margin-top: 28px !important;
}

/* ===== Final ===== */
.final {
  background: var(--orange-warm);
}

.final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.final__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 24px;
  line-height: 1.25;
}

.final__text p {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.75;
}

.final__cta-mobile {
  display: none;
  margin-top: 24px;
}

/* ===== Form ===== */
.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.form__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.form__lead {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form__input--error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 90px;
}

.form__disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  background: var(--blue-dark);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.7);
}

/* Contact, section imagery and legal details */
.header-phone {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover { color: var(--orange); }
.mobile-menu__phone { color: var(--navy); font-size: 20px; font-weight: 800; }

.section-photo {
  width: min(760px, 100%);
  margin: 0 auto 40px;
}

.section-photo--wide { width: 100%; }
.section-photo img,
.simplicity__image {
  display: block;
  width: 100%;
  height: clamp(240px, 35vw, 430px);
  object-fit: cover;
  border-radius: 14px;
}

.simplicity__visual { align-self: stretch; }
.simplicity__image { height: 100%; min-height: 420px; }
.form__disclaimer a,
.footer__policy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.contacts-section {
  padding: 56px 0;
  color: #fff;
  background: #172554;
}

.contacts-section__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.contacts-section__eyebrow { margin: 0 0 8px; color: #fed7aa; font-weight: 700; }
.contacts-section h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.contacts-section p { max-width: 52ch; margin-bottom: 0; color: #dbeafe; }
.contacts-section__details { display: grid; gap: 9px; font-style: normal; color: #dbeafe; }
.contacts-section__details a { color: #fff; }
.contacts-section__phone { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.footer__policy { color: #cbd5e1; font-size: 14px; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
}

@media (max-width: 720px) {
  .contacts-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .simplicity__image { min-height: 260px; }
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
}

.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: var(--text-soft);
  border-radius: 50%;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--bg);
  color: var(--blue-dark);
}

.modal__icon {
  width: 80px;
  margin: 0 auto 20px;
}

.modal__icon svg {
  width: 80px;
  height: 80px;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.modal__text {
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.65;
}

/* ===== Scroll reveal ===== */
.service-area {
  background: var(--orange-warm);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-area__layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.service-area__title {
  max-width: 15ch;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.service-area__text {
  max-width: 58ch;
  color: var(--text);
  font-size: 18px;
}

.service-area__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 30px;
  border-top: 1px solid #fed7aa;
}

.service-area__points li {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid #fed7aa;
  color: var(--blue-dark);
  font-weight: 800;
}

.service-area__map {
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-card);
}

.service-area__map img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.service-area__map figcaption {
  padding: 12px 18px;
  color: var(--text-soft);
  font-size: 13px;
}

.service-area__map figcaption a { text-decoration: underline; text-underline-offset: 2px; }

.mobile-contact-bar { display: none; }

@media (max-width: 860px) {
  .service-area__layout { grid-template-columns: 1fr; }
  .service-area__title { max-width: 18ch; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .service-area__text { font-size: 16px; }
  .service-area__points { margin: 22px 0 26px; }
  .service-area__map { border-radius: 14px; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 1500;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
  }
  .mobile-contact-bar a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 800;
  }
  .mobile-contact-bar__call { border: 2px solid var(--blue); color: var(--blue); }
  .mobile-contact-bar__request { background: var(--orange); color: #fff; }
}

@media (max-width: 480px) {
  .service-area__points { grid-template-columns: 1fr; }
  .service-area__title { font-size: 36px; }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.88) 0%,
      rgba(15, 23, 42, 0.72) 45%,
      rgba(15, 23, 42, 0.35) 100%
    );
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .solution__grid,
  .scenarios__grid,
  .packages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-card__media {
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }

  .package-card--featured {
    transform: none;
  }

  .package-card--featured:hover {
    transform: translateY(-6px);
  }

  .simplicity__wrap,
  .final__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    height: 100svh;
    height: 100dvh;
    max-height: 100svh;
    max-height: 100dvh;
    align-items: flex-end;
    justify-content: center;
    padding-top: var(--header-h);
    box-sizing: border-box;
  }

  .hero__bg-image {
    object-fit: cover;
    object-position: center 32%;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.2) 0%,
      rgba(15, 23, 42, 0.45) 42%,
      rgba(15, 23, 42, 0.88) 72%,
      rgba(15, 23, 42, 0.96) 100%
    );
  }

  .hero__inner {
    width: 100%;
    padding: 16px 20px max(24px, env(safe-area-inset-bottom));
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    margin-bottom: 10px;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.55;
  }

  .section {
    padding: 64px 0;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .worries__grid {
    grid-template-columns: 1fr;
  }

  .solution__grid,
  .scenarios__grid,
  .packages__grid,
  .works__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .package-card__media {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }

  .package-card__img {
    padding: 14px 16px;
  }

  .work-card__preview {
    aspect-ratio: 16 / 10;
  }

  .work-card__desc {
    padding: 16px;
    font-size: 0.9rem;
  }

  .worries__closing {
    padding: 24px;
  }

  .final__cta-mobile {
    display: inline-flex;
  }

  .form {
    padding: 28px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .worry-card {
    padding: 0;
  }

  .worry-card__image { height: 210px; }
  .worry-card__title { margin: 22px 22px 10px; }
  .worry-card p { padding: 0 22px 24px; }
  .feature-card__image { height: 210px; }
}
