.container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { color: var(--white); background: var(--navy); box-shadow: 0 14px 34px rgba(7,26,51,.22); }
.btn-outline { color: var(--navy); background: rgba(255,255,255,.78); border-color: rgba(7,26,51,.35); }
.eyebrow { margin-bottom: 18px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: none; }
.section { padding: 108px 0; }
.section-soft { background: var(--soft); }
.section-title { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-title h2, .about h2, .advantages h2, .consultation h2, .consultation-card h2 { color: var(--navy); font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1.04; }
.center { display: flex; justify-content: center; margin-top: 34px; }
.section-animate { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.section-animate.is-visible { opacity: 1; transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(7,26,51,.08); background: rgba(255,255,255,.93); backdrop-filter: blur(16px); }
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(7,26,51,.08); }
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 86px;
  gap: clamp(18px, 2vw, 34px);
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-image {
  display: block;
  width: clamp(250px, 20vw, 290px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(18px, 2vw, 34px);
  font-size: 15px;
  font-weight: 700;
}
.main-nav a { position: relative; padding: 10px 0; }
.main-nav > a { white-space: nowrap; }
.main-nav a::after { position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-shrink: 0; }
.header-phone { white-space: nowrap; font-size: 15px; font-weight: 800; color: var(--navy); }
.mobile-nav-actions { display: none; }
.mobile-whatsapp-link { color: var(--navy); font-weight: 850; }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(7,26,51,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.72);
}
.lang-switcher button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  color: var(--navy);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.lang-switcher button.is-active {
  color: var(--white);
  background: var(--navy);
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); }
.service-card { display: flex; min-height: 364px; flex-direction: column; align-items: flex-start; padding: 34px 32px 30px; border: 1px solid rgba(7,26,51,.08); border-radius: 8px; background: var(--white); box-shadow: 0 12px 28px rgba(7,26,51,.045); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: rgba(182,138,66,.38); box-shadow: 0 22px 50px rgba(7,26,51,.1); transform: translateY(-4px); }
.service-card i { margin-bottom: 26px; color: var(--navy); }
.service-card svg, [data-icon] svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-card h3 { min-height: 50px; margin-bottom: 18px; color: var(--navy); font-size: 20px; line-height: 1.2; }
.service-card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-card a { display: inline-flex; margin-top: auto; color: var(--navy); font-weight: 900; }
.consult-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.consult-form input, .consult-form textarea, .consult-form select { width: 100%; min-height: 58px; border: 1px solid var(--line); border-radius: 6px; padding: 0 17px; background: var(--white); }
.consult-form textarea { grid-column: 1 / -1; min-height: 112px; padding-top: 15px; resize: vertical; }
.consult-form .agree, .consult-form .form-error, .consult-form button { grid-column: 1 / -1; }
.consult-form button { min-height: 56px; }
.agree { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 14px; line-height: 1.35; }
.agree input { width: 15px; height: 15px; min-height: 0; flex: 0 0 auto; padding: 0; }
.form-error { min-height: 20px; margin: 0; color: #a43d32; font-size: 14px; font-weight: 700; }
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,15,30,.58); }
.modal-dialog { position: relative; width: min(720px,100%); max-height: calc(100vh - 48px); overflow: auto; padding: 34px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.modal-dialog h2 { color: var(--navy); font-family: var(--serif); font-size: 36px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 24px; }
.scroll-top, .whatsapp-float { position: fixed; right: 22px; z-index: 30; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; font-weight: 900; box-shadow: 0 14px 32px rgba(7,26,51,.22); }
.scroll-top { bottom: 92px; width: 44px; height: 44px; opacity: 0; pointer-events: none; background: var(--navy); }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.whatsapp-float {
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #1f9f5b;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.whatsapp-float:hover {
  background: #24b467;
  box-shadow: 0 18px 38px rgba(7,26,51,.28);
  transform: translateY(-2px);
}
.whatsapp-float img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
