:root {
  --navy: #050810;
  --navy-mid: #0a111f;
  --navy-light: #111d2e;
  --navy-card: #0d1624;
  --gold: #d4af37;
  --gold-light: #e8c547;
  --gold-dark: #b8942a;
  --red: #c41e3a;
  --white: #ffffff;
  --text: #e8edf3;
  --text-muted: #8b9cb3;
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', var(--font);
  --header-h: 80px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 20px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav__link {
  padding: 8px 16px; color: var(--text); font-size: 0.88rem; font-weight: 500;
  transition: var(--transition); border-bottom: 2px solid transparent;
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link.active { border-bottom-color: var(--gold); }
.header__contacts { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phones { display: flex; flex-direction: column; gap: 2px; }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); white-space: nowrap;
}
.header__phone--alt {
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted); padding-left: 26px;
}
.header__phone--alt:hover { color: var(--gold); }
.header__phone:hover { color: var(--gold); }
.header__messengers { display: flex; align-items: center; gap: 8px; }
.header__messenger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-gold); transition: var(--transition);
}
.header__messenger--wa { color: #25d366; background: rgba(37, 211, 102, 0.1); }
.header__messenger--wa:hover { background: rgba(37, 211, 102, 0.25); transform: scale(1.05); }
.header__messenger--tg { color: #2aabee; background: rgba(42, 171, 238, 0.1); }
.header__messenger--tg:hover { background: rgba(42, 171, 238, 0.25); transform: scale(1.05); }
.mobile-nav__messengers {
  display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border-subtle);
}
.mobile-nav__messengers .header__messenger {
  width: auto; height: auto; border-radius: var(--radius);
  padding: 10px 16px; gap: 8px; font-size: 0.85rem; font-weight: 600;
}
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  font-family: var(--font);
}
.btn--gold {
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  color: var(--navy); border-color: var(--gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35); }
.btn--outline {
  background: transparent; color: var(--gold);
  border-color: var(--border-gold);
}
.btn--outline:hover { background: rgba(212, 175, 55, 0.1); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,8,16,0.92) 0%, rgba(5,8,16,0.65) 50%, rgba(5,8,16,0.85) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 80px 0; max-width: 760px; }
.hero__label {
  display: inline-block; padding: 6px 14px; margin-bottom: 20px;
  background: rgba(212, 175, 55, 0.15); border: 1px solid var(--border-gold);
  border-radius: 20px; color: var(--gold); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero__title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.15; color: var(--white); margin-bottom: 20px;
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text);
  margin-bottom: 16px; font-weight: 500;
}
.hero__text { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; max-width: 600px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats { padding: 0; margin-top: -60px; position: relative; z-index: 10; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow);
}
.stat-card__value {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--gold); line-height: 1.1; margin-bottom: 8px;
}
.stat-card__label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* Sections */
.section { padding: 80px 0; }
.section--dark { background: var(--navy-mid); }
.section--panel { background: var(--navy-light); }
.section__header { text-align: center; margin-bottom: 48px; }
.section__title {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.section__title--underline::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 16px auto 0; border-radius: 2px;
}
.section__subtitle { color: var(--text-muted); font-size: 1rem; max-width: 640px; margin: 0 auto; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.service-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.service-card__img { height: 220px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 28px; }
.service-card__title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--gold); margin-bottom: 12px;
}
.service-card__desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }
.service-card__list li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 0.88rem; color: var(--text);
}
.service-card__list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.service-card__toggle {
  margin-top: 20px; background: none; border: none;
  color: var(--gold); font-weight: 600; cursor: pointer; font-size: 0.88rem;
  display: flex; align-items: center; gap: 6px;
}
.service-card__extra { display: none; margin-top: 16px; }
.service-card.is-open .service-card__extra { display: block; }
.service-card.is-open .service-card__toggle svg { transform: rotate(180deg); }

/* KRS info */
.krs-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.krs-info__block {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px;
}
.krs-info__block h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--gold); margin-bottom: 16px;
}
.krs-info__block p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 12px; }
.krs-info__quote {
  border-left: 3px solid var(--gold); padding: 16px 20px; margin-top: 20px;
  background: rgba(212, 175, 55, 0.08); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem; color: var(--text); font-style: italic;
}
.krs-info__legal { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* Duties grid */
.duties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duties-col {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
}
.duties-col__head {
  padding: 20px 24px; background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid var(--border-gold);
  font-family: var(--font-display); font-weight: 700; color: var(--gold);
}
.duties-col__item {
  padding: 16px 24px; border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem; display: flex; gap: 12px; align-items: flex-start;
}
.duties-col__item:last-child { border-bottom: none; }
.duties-col__icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* Venues */
.venues-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.venue-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-subtle); background: var(--navy-card);
  transition: var(--transition);
}
.venue-card:hover { border-color: var(--border-gold); }
.venue-card__img { height: 160px; overflow: hidden; }
.venue-card__img img { width: 100%; height: 100%; object-fit: cover; }
.venue-card__title {
  padding: 16px; font-weight: 600; font-size: 0.9rem; text-align: center;
}

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: var(--transition);
}
.advantage-card:hover { border-color: var(--border-gold); }
.advantage-card__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(212, 175, 55, 0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.advantage-card__title { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.advantage-card__text { font-size: 0.82rem; color: var(--text-muted); }

/* Calculator */
.calculator {
  max-width: 560px; margin: 0 auto;
  background: var(--navy-card); border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg); padding: 36px;
}
.calculator__result {
  margin-top: 24px; padding: 20px; text-align: center;
  background: rgba(212, 175, 55, 0.1); border-radius: var(--radius);
  display: none;
}
.calculator__result.visible { display: block; }
.calculator__price {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold);
}
.calculator__note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-subtle); background: var(--navy-card);
}
.portfolio-card__img { height: 200px; overflow: hidden; }
.portfolio-card__img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-card:hover .portfolio-card__img img { transform: scale(1.05); }
.portfolio-card__body { padding: 20px; }
.portfolio-card__title { font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.portfolio-card__text { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item__q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 40px 20px 0; color: var(--white); font-weight: 600;
  font-size: 0.95rem; cursor: pointer; position: relative;
  font-family: var(--font);
}
.faq-item__q::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; font-weight: 300;
}
.faq-item.is-open .faq-item__q::after { content: '−'; }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  color: var(--text-muted); font-size: 0.9rem; padding: 0 0 0 0;
}
.faq-item.is-open .faq-item__a { max-height: 300px; padding-bottom: 20px; }

/* Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card {
  background: var(--navy-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px;
}
.form-card__title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 24px; color: var(--white);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; background: var(--navy);
  border: 1px solid var(--border-subtle); border-radius: var(--radius);
  color: var(--text); font-family: var(--font); font-size: 0.92rem;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--text-muted); }
.form-checkbox input { margin-top: 3px; accent-color: var(--gold); }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success__icon { font-size: 3rem; margin-bottom: 16px; }
.form-success__text { color: var(--gold); font-weight: 600; font-size: 1.1rem; }

.contact-info__phone {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--gold); margin-bottom: 8px; display: block;
}
.contact-info__phone:hover { color: var(--gold-light); }
.contact-info__item {
  display: flex; gap: 12px; align-items: center; margin-bottom: 16px;
  color: var(--text-muted); font-size: 0.92rem;
}
.contact-info__item svg { color: var(--gold); flex-shrink: 0; }
.contact-info__messengers { display: flex; gap: 12px; margin-top: 24px; }
.messenger-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius);
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border-gold);
  color: var(--gold); font-weight: 600; font-size: 0.88rem;
  transition: var(--transition);
}
.messenger-btn:hover { background: rgba(212, 175, 55, 0.2); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.about__list li {
  position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 0.92rem;
}
.about__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}

/* Docs */
.docs-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.doc-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; background: var(--navy-card);
  border: 1px solid var(--border-gold); border-radius: var(--radius);
  color: var(--gold); font-weight: 600; font-size: 0.88rem;
  transition: var(--transition);
}
.doc-link:hover { background: rgba(212, 175, 55, 0.1); }

/* Footer */
.footer {
  background: var(--navy-mid); border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px; margin-bottom: 32px;
}
.footer__copy { font-size: 0.82rem; color: var(--text-muted); text-align: center; width: 100%; }
.footer__license { font-size: 0.85rem; color: var(--gold); }

/* Floating call */
.floating-call {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  color: var(--navy); font-weight: 700; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  transition: var(--transition); animation: pulse-call 2s infinite;
}
.floating-call:hover { transform: scale(1.05); }
@keyframes pulse-call {
  0%, 100% { box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 6px 32px rgba(212, 175, 55, 0.6); }
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--navy); border-bottom: 1px solid var(--border-subtle);
  padding: 16px; z-index: 999; flex-direction: column; gap: 4px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__link {
  padding: 12px 16px; color: var(--text); font-weight: 500;
  border-radius: var(--radius);
}
.mobile-nav__link:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .venues-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .header__phone--alt { display: none; }
  .header__cta { display: none; }
}
@media (max-width: 768px) {
  .nav, .header__phones, .header__cta { display: none; }
  .header__messengers { margin-left: auto; margin-right: 8px; }
  .burger { display: flex; }
  .services-grid, .krs-info, .duties-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .venues-grid, .advantages-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__content { padding: 60px 0; }
  .section { padding: 60px 0; }
  .floating-call span { display: none; }
  .floating-call { padding: 16px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
