/* ============================================================
   EGRN Landing — Mobile-First CSS
   Основной цвет: #1a73e8 (синий)
   Вторичный: #34a853 (зелёный)
   ============================================================ */

/* ============================================================
   1. Base / Reset
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #202124;
  background-color: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   2. Container
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ============================================================
   3. Section Titles
   ============================================================ */

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: #202124;
}

.section-subtitle {
  font-size: 16px;
  text-align: center;
  color: #5f6368;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 17px;
    margin-bottom: 40px;
  }
}

/* ============================================================
   4. Buttons
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1a73e8;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #1557b0;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.4);
  text-decoration: none;
  color: #fff;
}

.btn-primary:active {
  background-color: #0d47a1;
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #1a73e8;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid #1a73e8;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: rgba(26, 115, 232, 0.08);
  text-decoration: none;
}

.btn-secondary-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #fff;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-small {
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-add-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 2px dashed #dadce0;
  border-radius: 8px;
  background-color: transparent;
  color: #5f6368;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  margin-top: 8px;
}

.btn-add-address:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background-color: rgba(26, 115, 232, 0.04);
}

.btn-submit {
  width: 100%;
}

@media (min-width: 768px) {
  .btn-submit {
    width: auto;
    min-width: 240px;
  }
}

/* ============================================================
   5. Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: #1a73e8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #202124;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #5f6368;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  color: #5f6368;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.header-nav a:hover {
  color: #1a73e8;
  background-color: rgba(26, 115, 232, 0.08);
  text-decoration: none;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background-color: #1a73e8;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-nav:hover {
  background-color: #1557b0;
  text-decoration: none;
  color: #fff;
}

.header-cta {
  flex-shrink: 0;
}

/* ============================================================
   6. Hero Section
   ============================================================ */

.hero-section {
  background: linear-gradient(135deg, #0d2b5e 0%, #1a73e8 60%, #1e88e5 100%);
  color: #fff;
  padding: 48px 0 40px;
}

.hero-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.hero-highlight {
  color: #ffd54f;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-facts {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-facts .fact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 72px 0 64px;
  }

  .hero-title {
    font-size: 38px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 18px;
    margin-bottom: 36px;
  }

  .hero-facts li {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
}

/* ============================================================
   7. "Для кого" Section
   ============================================================ */

.for-whom-section {
  background-color: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .for-whom-section {
    padding: 64px 0;
  }
}

.for-whom-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .for-whom-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .for-whom-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.for-whom-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e8eaed;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.for-whom-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d2e3fc;
}

.for-whom-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.for-whom-content {
  flex: 1;
}

.for-whom-title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 4px;
}

.for-whom-text {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.5;
}

/* ============================================================
   8. "Зачем нужен реестр" — Accordion
   ============================================================ */

.why-registry-section {
  background-color: #f8f9fa;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .why-registry-section {
    padding: 64px 0;
  }
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  background-color: #fff;
}

.accordion-item {
  border-bottom: 1px solid #e8eaed;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.accordion-header:hover {
  background-color: rgba(26, 115, 232, 0.04);
}

.accordion-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #1a73e8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion-title-text {
  flex: 1;
  line-height: 1.4;
}

.accordion-arrow {
  font-size: 12px;
  color: #5f6368;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body {
  max-height: 400px;
}

.accordion-body-inner {
  padding: 0 20px 20px 62px;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .accordion-header {
    font-size: 16px;
    padding: 20px 24px;
  }

  .accordion-body-inner {
    padding: 0 24px 24px 66px;
    font-size: 15px;
  }
}

/* ============================================================
   9. "Почему мы" Section
   ============================================================ */

.why-us-section {
  background-color: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .why-us-section {
    padding: 64px 0;
  }
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  background-color: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 24px 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.advantage-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #d2e3fc;
  transform: translateY(-2px);
}

.advantage-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.advantage-title {
  font-size: 16px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
  line-height: 1.3;
}

.advantage-text {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.55;
}

/* ============================================================
   10. "Пример реестра" Section
   ============================================================ */

.example-section {
  background-color: #f8f9fa;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .example-section {
    padding: 64px 0;
  }
}

.example-images {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.example-images::-webkit-scrollbar {
  height: 4px;
}

.example-images::-webkit-scrollbar-track {
  background: #e8eaed;
  border-radius: 2px;
}

.example-images::-webkit-scrollbar-thumb {
  background: #bdc1c6;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .example-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }
}

.example-image-wrap {
  flex: 0 0 85%;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background-color: #fff;
}

@media (min-width: 768px) {
  .example-image-wrap {
    flex: unset;
  }
}

.example-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

.example-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: #5f6368;
  text-align: center;
  border-top: 1px solid #e8eaed;
}

/* ============================================================
   11. Prices Section
   ============================================================ */

.prices-section {
  background-color: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .prices-section {
    padding: 64px 0;
  }
}

.prices-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .prices-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

.price-table-wrap {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table thead {
  background-color: #1a73e8;
  color: #fff;
}

.price-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.price-table th:last-child {
  text-align: right;
}

.price-table tbody tr {
  border-bottom: 1px solid #e8eaed;
  transition: background-color 0.15s ease;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background-color: #e8f0fe;
}

.price-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #3c4043;
}

.price-value {
  font-weight: 700;
  text-align: right;
  color: #1a73e8;
  font-size: 15px;
  white-space: nowrap;
}

.discounts-wrap {
  flex: 0 0 auto;
  width: 100%;
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 12px;
  padding: 20px;
}

@media (min-width: 768px) {
  .discounts-wrap {
    width: 280px;
  }
}

.discounts-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.discounts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discount-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.discount-text {
  font-size: 14px;
  color: #2e7d32;
  flex: 1;
}

.discount-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #34a853;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ============================================================
   12. Order Form Section
   ============================================================ */

.order-section {
  background-color: #f8f9fa;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .order-section {
    padding: 64px 0;
  }
}

.order-form {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .order-form {
    padding: 36px 40px;
  }
}

/* Fieldset стилизован как секция */
.form-section {
  border: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8eaed;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #1a73e8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 6px;
}

.required {
  color: #d93025;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  font-size: 16px; /* 16px чтобы iOS не зумил */
  color: #202124;
  background-color: #fff;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9aa0a6;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #d93025;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #80868b;
  margin-top: 4px;
  line-height: 1.4;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #d93025;
  margin-top: 4px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .form-row-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   13. Radio Group (card-style)
   ============================================================ */

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #dadce0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.radio-label:hover {
  border-color: #aecbfa;
  background-color: rgba(26, 115, 232, 0.04);
}

.radio-label input[type="radio"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #1a73e8;
  cursor: pointer;
}

.radio-label input[type="radio"]:checked + .radio-text {
  color: #1a73e8;
}

.radio-label:has(input[type="radio"]:checked) {
  border-color: #1a73e8;
  background-color: rgba(26, 115, 232, 0.06);
}

.radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-title {
  font-size: 14px;
  font-weight: 600;
  color: #202124;
}

.radio-desc {
  font-size: 12px;
  color: #5f6368;
}

/* ============================================================
   14. Suggestions Dropdown
   ============================================================ */

.input-wrap {
  position: relative;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.suggestions-dropdown::-webkit-scrollbar {
  width: 4px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
  background: #bdc1c6;
  border-radius: 2px;
}

.suggestion-item {
  padding: 12px 14px;
  font-size: 14px;
  color: #202124;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f4;
  line-height: 1.4;
  transition: background-color 0.15s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: #e8f0fe;
  color: #1a73e8;
}

/* ============================================================
   15. Addresses List
   ============================================================ */

.addresses-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.address-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background-color: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.address-card-icon {
  font-size: 18px;
  flex-shrink: 0;
  color: #1a73e8;
}

.address-card-info {
  flex: 1;
  min-width: 0;
}

.address-card-text {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-card-meta {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
}

.address-card-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: #9aa0a6;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 16px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.address-card-remove:hover {
  color: #d93025;
  background-color: rgba(217, 48, 37, 0.08);
}

/* ============================================================
   16. Price Summary
   ============================================================ */

.price-summary {
  background-color: #e8f0fe;
  border: 1.5px solid #aecbfa;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #3c4043;
  padding: 4px 0;
  gap: 12px;
}

.price-row-label {
  flex: 1;
}

.price-row-value {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.price-divider {
  height: 1px;
  background-color: #aecbfa;
  margin: 10px 0;
}

.price-total {
  font-size: 18px;
  font-weight: 800;
  color: #1a73e8;
}

.price-discount {
  color: #34a853;
  font-weight: 600;
}

.price-note {
  font-size: 12px;
  color: #5f6368;
  margin-top: 8px;
}

/* ============================================================
   17. Success Screen
   ============================================================ */

.order-success {
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 12px;
}

.success-text {
  font-size: 16px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   18. Auth Section (cabinet login page)
   ============================================================ */

.auth-section {
  background-color: #f8f9fa;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.auth-form-wrap {
  background-color: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 480px) {
  .auth-form-wrap {
    padding: 40px 36px;
  }
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  font-size: 14px;
  color: #5f6368;
  text-align: center;
  margin-bottom: 28px;
}

.auth-error {
  color: #d93025;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  padding: 10px 14px;
  background-color: rgba(217, 48, 37, 0.06);
  border-radius: 8px;
}

/* ============================================================
   19. Cabinet Section
   ============================================================ */

.cabinet-section {
  background-color: #f8f9fa;
  min-height: 80vh;
  padding: 32px 0;
}

.cabinet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.cabinet-title {
  font-size: 22px;
  font-weight: 700;
  color: #202124;
}

.cabinet-user {
  font-size: 14px;
  color: #5f6368;
}

.orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eaed;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.order-card-id {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 4px;
}

.order-card-date {
  font-size: 13px;
  color: #80868b;
}

/* Статусные бейджи */
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.order-status--new {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.order-status--processing {
  background-color: #fef3e2;
  color: #e37400;
}

.order-status--completed {
  background-color: #e6f4ea;
  color: #137333;
}

.order-status--cancelled {
  background-color: #fce8e6;
  color: #c5221f;
}

.order-status--error {
  background-color: #fce8e6;
  color: #c5221f;
}

.order-card-body {
  border-top: 1px solid #f1f3f4;
  padding-top: 14px;
}

.order-info-row {
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 6px;
}

.order-info-label {
  font-weight: 600;
  color: #3c4043;
  flex-shrink: 0;
}

.order-info-value {
  color: #5f6368;
}

.order-houses {
  margin-top: 14px;
  border-top: 1px solid #f1f3f4;
  padding-top: 12px;
}

.order-houses-title {
  font-size: 13px;
  font-weight: 600;
  color: #3c4043;
  margin-bottom: 8px;
}

.order-house-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background-color: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 6px;
}

.order-house-row:last-child {
  margin-bottom: 0;
}

.order-house-addr {
  font-size: 13px;
  color: #202124;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-house-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1a73e8;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #aecbfa;
  background-color: #e8f0fe;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.order-house-download:hover {
  background-color: #d2e3fc;
  text-decoration: none;
}

.order-empty {
  text-align: center;
  padding: 48px 24px;
  color: #5f6368;
}

.order-empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   20. Company Info Card
   ============================================================ */

.company-info-card {
  background-color: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  color: #5f6368;
}

.company-info-card p {
  margin-bottom: 4px;
}

.company-info-card p:last-child {
  margin-bottom: 0;
}

.company-info-card strong {
  color: #3c4043;
}

/* ============================================================
   21. Loading States
   ============================================================ */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5f6368;
  font-size: 14px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #e8eaed;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Skeleton placeholder */
.skeleton {
  background: linear-gradient(90deg, #f1f3f4 25%, #e8eaed 50%, #f1f3f4 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
   22. Footer
   ============================================================ */

.site-footer {
  background-color: #202124;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   23. Utility classes
   ============================================================ */

.text-center {
  text-align: center;
}

.text-muted {
  color: #5f6368;
}

.text-success {
  color: #34a853;
}

.text-danger {
  color: #d93025;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Divider */
.section-divider {
  height: 1px;
  background-color: #e8eaed;
  margin: 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-blue {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.badge-green {
  background-color: #e6f4ea;
  color: #137333;
}

.badge-yellow {
  background-color: #fef3e2;
  color: #e37400;
}

/* Inline link */
.link-inline {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.link-inline:hover {
  text-decoration: underline;
}

/* ============================================================
   24. Print styles
   ============================================================ */

@media print {
  .site-header,
  .site-footer,
  .btn-primary,
  .btn-secondary,
  .hero-cta {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
