@font-face {
  font-family: 'Orbitron';
  src: url('/orbitron-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
.top-calc-button {
  text-align: center;
  background: #f5f7fa;
  padding: 20px 0;
}

.calc-button {
  background-color: #eab2b2;
  color: #e6e6e6;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Verdana', sans-serif;
  background-color: #fff;
  color: #111;
  overflow-x: hidden;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === HEADER === */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #0d1b2a;
  padding: 10px 20px;
  color: #fff;
}

.header-left,
.header-right,
.header-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo {
  height: 80px;
  width: auto;
}

.company-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5em;
}
.document-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.doc-group h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #4a0c1a;
}

.doc-group ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.doc-group li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.doc-group li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1e3a5f;
  font-weight: bold;
}
.header-nav {
  margin-left: auto;
  margin-right: 30px;
}

.phone, .telegram,
.header-nav a,
.dropdown .dropbtn {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
}

.phone:hover,
.telegram:hover,
.header-nav a:hover,
.dropdown .dropbtn:hover {
  text-decoration: underline;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(13, 27, 42, 0.9);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1;
  top: 100%;
  left: 0;
  backdrop-filter: blur(6px);
  border-radius: 8px;
}
.dropdown-content a {
  display: block;
  padding: 10px;
  white-space: nowrap;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* ————————— HERO COMPACT ————————— */
.hero-compact {
  background: #f5f7fa;
  padding: 80px 60px;
  text-align: center;
}
.hero-compact h1 {
  font-size: 3em;
  margin-bottom: 16px;
  color: #4a0c1a;
}
.hero-compact p {
  font-size: 1.5em;
  color: #2d2d2d;
}
/* ————————— Секции ————————— */
section > h2 {
  text-align: center;
  font-size: 2.5em;
  margin: 60px 0 20px;
  color: #1e3a5f;
}

.project-services ul,
.project-benefits ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.project-services li,
.project-benefits li {
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}
.project-services li::before,
.project-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4a0c1a;
}

/* ————————— Этапы ————————— */
.project-steps ol {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  font-size: 1.2em;
}
.project-steps li {
  margin-bottom: 12px;
}

/* ————————— CTA ————————— */
.project-cta {
  background: #eab2b2;
  padding: 60px;
  text-align: center;
}
.project-cta h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #4a0c1a;
}
.project-cta p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.project-cta .btn-link {
  margin: 0 10px;
}
/* ============ ПАРТНЕРСКАЯ СЕКЦИЯ ============ */
.partner-section {
  background-color: #0c1b2d;
  color: #ffffff;
  padding: 60px 20px;
}

.partner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.partner-info,
.partner-who {
  flex: 1 1 400px;
}

.partner-info h2,
.partner-who h2 {
  color: #7ea8ff;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.partner-info p {
  font-size: 1.05em;
  line-height: 1.6;
}

.partner-who ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-who li {
  margin-bottom: 12px;
  font-size: 1.05em;
}

.partner-who i {
  color: #ff6a6a;
  margin-right: 8px;
}

/* ============ ФОРМА ============ */
.partner-form {
  background-color: #f4f7fa;
  padding: 60px 20px;
  text-align: center;
}

.partner-form h2 {
  color: #4a0c1a;
  margin-bottom: 30px;
  font-size: 1.6em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background-color: #eab2b2;
  color: #4a0c1a;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #cf9999;
}


/* Аккордеон */
.accordion {
background-color: #0d1b2a;
  color: white;
  padding: 12px 20px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.accordion.active,
.accordion:hover {
  background-color: #0d1b2a;
}
.panel {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 0;
}

/* Контейнер таблицы */
.table-container {
  width: 100%;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 20px;
  border: 1px solid #ccc;
}

/* Таблица */
.calc-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.calc-table col:nth-child(1),
.calc-table col:nth-child(3),
.calc-table col:nth-child(4),
.calc-table col:nth-child(5),
.calc-table col:nth-child(6) {
  width: 10%; /* в 2 раза меньше */
}

.calc-table col:nth-child(2) {
  width: 50%; /* занимает оставшееся пространство */
}

.calc-table th, .calc-table td {
  word-wrap: break-word;
  padding: 6px;
  border: 1px solid #ccc;
  vertical-align: top;
}



/* Ввод */
input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  font-size: 14px;
}

/* Итог */
#grandTotal {
  font-size: 1.4em;
  font-weight: bold;
  text-align: right;
  padding: 10px 30px;
  color: #003366;
}
.calc-actions {
  text-align: center;
  margin: 30px 0;
}

.calc-actions button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.calc-actions button:hover {
  background-color: #0060b0;
}
/* Кнопки */
.btn-link {
  background: linear-gradient(145deg, #1e3a5f, #285a8b);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  font-size: 0.95em;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}
.btn-link:hover {
  background: linear-gradient(145deg, #2b4d74, #1e3a5f);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

.telegram {
  all: unset;
  font-size: 1.2em;
  padding: 8px;
  border-radius: 50%;
  background-color: #229ED9;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none !important;
}
.telegram:hover {
  background-color: #1b8bb5;
  transform: scale(1.1);
}

/* === HERO === */
.hero {
  height: 100vh;
  background: url('/background.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 10vw;
  color: #5c1a1b;
}
.hero-content {
  max-width: 600px;
}
.hero h1 {
  font-size: 4em;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p {
  font-size: 1.5em;
  line-height: 1.5;
}

/* === FLOW === */
.services-flow {
  text-align: center;
  padding: 80px 20px;
}
.flow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 60px;
}
.flow-label {
  font-size: 2em;
  font-weight: bold;
  color: #4a0c1a;
  margin-bottom: 20px;
}
.flow-content,
.flow-block.left .flow-content,
.flow-block.right .flow-content {
  all: unset;
}
.flow-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}
.flow-content li {
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}
.flow-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1e3a5f;
}

/* === FOOTER === */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d1b2a;
  color: white;
  padding: 20px 30px;
  flex-wrap: wrap;
}
.site-footer .logo {
  height: 50px;
}
.site-footer a {
  color: white;
  text-decoration: none;
}

/* === MEDIA QUERIES === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3em; }
  .hero p { font-size: 1.2em; }
  .flow-label { font-size: 1.5em; }
}

@media (max-width: 768px) {
  .site-header, .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 0 0;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
    display: none;
  }
  .dropdown .dropbtn::after {
    content: ' ▼';
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
}
