/* ========================================
   Коммерческое предложение — Самолетная 6
   Стиль INGRUPP: бордовый + персиковый
   ======================================== */

:root {
  --brand: #4D0000;
  --brand-dark: #0D0000;
  --brand-light: #E5C6BB;
  --brand-warm: #FFE5D9;
  --white: #FFFFFF;
  --gray-bg: #F8F5F4;
  --gray-light: #F0EDEB;
  --gray-border: #E2E2E2;
  --gray-text: rgba(13,0,0,0.6);
  --gray-dark: rgba(13,0,0,0.8);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--brand-dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

/* ---- Navbar ---- */
.navbar-kp {
  background: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-border);
}
.navbar-kp .navbar-brand svg {
  height: 22px;
  width: auto;
}
.navbar-kp .nav-link {
  color: var(--brand-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 8px 16px;
  letter-spacing: -0.2px;
}
.navbar-kp .nav-link:hover {
  color: var(--brand);
}
.navbar-kp .btn-nav {
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-size: 0.88rem;
  transition: all 0.2s;
  border: none;
  letter-spacing: -0.2px;
}
.navbar-kp .btn-nav:hover {
  background: #3a0000;
  color: var(--white);
}

/* ---- Hero ---- */
.hero-kp {
  background: var(--brand);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-kp::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(270deg, rgba(0,0,0,0.15) 0%, transparent 100%);
  pointer-events: none;
}
.hero-kp .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-light);
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}
.hero-kp .hero-badge i {
  font-size: 1.1rem;
}
.hero-kp h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-kp h1 span {
  color: var(--brand-light);
}
.hero-kp .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.5;
}
.hero-kp .hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-kp .hero-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero-kp .hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-warm);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.hero-kp .hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.hero-kp .hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.hero-kp .hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Sections ---- */
.section-kp {
  padding: 100px 0;
}
.section-kp-alt {
  background: var(--gray-bg);
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.5;
}

/* ---- Object Card ---- */
.object-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--gray-border);
  height: 100%;
  transition: border-color 0.3s;
}
.object-card:hover {
  border-color: var(--brand-light);
}
.object-card .card-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: var(--brand);
}
.object-card h4 {
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.2px;
}
.object-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.object-card .big-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.5px;
}

/* ---- Image block ---- */
.img-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.img-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---- Tenant Block ---- */
.tenant-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 36px;
  border: 1px solid var(--gray-border);
}
.tenant-logo {
  width: 100px;
  height: 100px;
  background: #E30613;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
}
.tenant-info h3 {
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}
.tenant-info p {
  color: var(--gray-text);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.tenant-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.1);
  color: #10b981;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---- Table ---- */
.table-kp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
}
.table-kp thead th {
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border: none;
}
.table-kp tbody td {
  padding: 13px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--gray-light);
  color: var(--brand-dark);
  vertical-align: middle;
}
.table-kp tbody tr:last-child td {
  border-bottom: none;
}
.table-kp tbody tr:hover {
  background: var(--gray-bg);
}
.table-kp .price-highlight {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}
.table-kp .row-total {
  background: rgba(229,198,187,0.2);
}
.table-kp .row-total td {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---- Price Cards ---- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gray-border);
  transition: all 0.3s;
}
.price-card:hover {
  border-color: var(--brand-light);
}
.price-card.featured {
  border-color: var(--brand);
  background: var(--brand);
}
.price-card .pc-period {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-text);
  margin-bottom: 10px;
}
.price-card .pc-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.price-card .pc-rate {
  font-size: 0.82rem;
  color: var(--gray-text);
}
.price-card.featured .pc-period {
  color: var(--brand-light);
}
.price-card.featured .pc-price {
  color: var(--white);
}
.price-card.featured .pc-rate {
  color: rgba(255,255,255,0.7);
}

/* ---- Advantages ---- */
.advantage-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-light);
}
.advantage-item:last-child {
  border-bottom: none;
}
.advantage-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--brand);
}
.advantage-text h5 {
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: -0.2px;
}
.advantage-text p {
  color: var(--gray-text);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---- Map ---- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--gray-border);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--brand);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  color: var(--white);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.cta-section .cta-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.cta-section .cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 14px 22px;
  color: var(--brand-warm);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-section .cta-phone:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  text-decoration: none;
}
.cta-section .cta-phone i {
  font-size: 1.2rem;
  color: var(--brand-light);
}

/* ---- Form ---- */
.form-kp {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.form-kp h4 {
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.2rem;
  letter-spacing: -0.3px;
}
.form-kp .form-control {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.92rem;
  transition: all 0.2s;
  background: var(--white);
  color: var(--brand-dark);
}
.form-kp .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(77,0,0,0.08);
}
.form-kp .form-control::placeholder {
  color: rgba(13,0,0,0.35);
}
.form-kp label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--brand-dark);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.form-kp .btn-submit {
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-size: 0.95rem;
  border: none;
  width: 100%;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.form-kp .btn-submit:hover {
  background: #3a0000;
}
.form-kp .form-agreement {
  font-size: 0.75rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---- Footer ---- */
.footer-kp {
  background: var(--brand-dark);
  padding: 36px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.footer-kp .footer-brand svg {
  height: 20px;
  width: auto;
  margin-bottom: 8px;
}
.footer-kp .footer-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-warm);
  text-decoration: none;
}
.footer-kp .footer-phone:hover {
  color: var(--white);
  text-decoration: none;
}

/* ---- Toast ---- */
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-kp h1 { font-size: 2rem; }
  .hero-kp { padding: 60px 0 50px; }
  .section-kp { padding: 70px 0; }
  .section-title { font-size: 1.7rem; }
  .tenant-block { flex-direction: column; text-align: center; padding: 28px 20px; }
  .cta-section h2 { font-size: 1.6rem; }
}
@media (max-width: 767px) {
  .hero-kp h1 { font-size: 1.5rem; }
  .hero-kp .hero-stats { gap: 10px; }
  .hero-kp .hero-stat { padding: 14px 16px; }
  .hero-kp .hero-stat-value { font-size: 1.2rem; }
  .section-title { font-size: 1.4rem; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .table-kp thead th, .table-kp tbody td { padding: 10px 12px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .price-cards { grid-template-columns: 1fr; }
}