/* ====== DESIGN SYSTEM ====== */
:root {
  --bg-main: #ffffff;
  --bg-hero-start: #e8f2ff;
  --bg-hero-end: #f0f7ff;

  --text-main: #000000;
  --text-muted: #333333;

  --accent-yellow: #FFD500;
  --accent-main: #003366;
  --card-bg: #ffffff;
  --border-soft: #e0e0e0;
}

/* ====== GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body::before {
  content: "";
  display: block;
  height: 60px;
  background: var(--accent-main);
  width: 100%;
}

h1, h2, h3 {
  line-height: 1.3;
  color: var(--text-main);
  font-weight: 700;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HERO (VARIANT 1) ====== */
.hero {
  background: #f5f5f5;
  padding: 0;
  text-align: center;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.brand {
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-bottom: 3px solid var(--accent-main);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  padding-bottom: 10px;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.875rem;
  color: #333333;
  font-weight: 500;
  margin: 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #000000;
  text-shadow: none;
  line-height: 1.2;
}

.hero-disclaimer {
  font-size: 0.8125rem;
  color: #333333;
  font-style: italic;
  margin: 0 auto 20px;
  max-width: 760px;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: #333333;
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-highlight {
  display: inline-block;
  background: #fef3c7;
  border-left: 4px solid var(--accent-soft);
  padding: 14px 20px;
  margin-bottom: 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--accent-main);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-yellow);
  color: #000000;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: none;
  font-size: 1rem;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #FFDB00;
  transform: none;
  box-shadow: none;
}

/* ====== SECTIONS ====== */
.section {
  padding: 5px 0;
}

.section-gray {
  background: #f5f5f5;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  color: var(--text-main);
}

.section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.section p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.card-with-image .card-content-wrapper {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-direction: column;
}

.card-text {
  flex: 1;
}

/* ====== IMAGE-TEXT BLOCK (Like Vattenfall) ====== */
.section-with-bg {
  background: transparent;
  padding: 40px 0;
}

.image-text-block {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: column;
}

.image-text-image {
  flex: 0 0 auto;
  max-width: 100%;
}

.montage-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-text-content {
  flex: 1;
  min-width: 0;
}

.image-text-content h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-main);
}

.checklist-styled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist-styled li {
  padding-left: 36px;
  margin-bottom: 16px;
  position: relative;
  line-height: 1.7;
  font-size: 1.0625rem;
  color: var(--text-main);
}

.checklist-styled li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

.card-image {
  flex: 0 0 auto;
  max-width: 100%;
  text-align: center;
}

.services-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ====== LISTS ====== */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  padding-left: 32px;
  margin-bottom: 14px;
  position: relative;
  line-height: 1.7;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
  font-size: 1.25rem;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-list li {
  padding-left: 32px;
  margin-bottom: 14px;
  position: relative;
  line-height: 1.7;
}

.services-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-main);
  font-weight: 600;
  font-size: 1.25rem;
}

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-list li {
  padding-left: 32px;
  margin-bottom: 14px;
  position: relative;
  line-height: 1.7;
  font-weight: 500;
  font-size: 0.9375rem;
}

.legal-list li::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--accent-main);
  font-weight: bold;
  font-size: 1.25rem;
}

.legal-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: right;
}

/* ====== MONEY SECTION ====== */
.money-highlight {
  background: #fff8e6;
  border-left: 4px solid var(--accent-soft);
  padding: 20px 24px;
  border-radius: 6px;
  margin: 20px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--accent-main);
}

.subsidy-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f9fafb;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.subsidy-note strong {
  color: var(--accent-main);
  display: block;
  margin-bottom: 8px;
}

/* ====== BRANDS SECTION ====== */
.brands-header-image {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.pv-panel-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.brands-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
}

.brands-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.brand-category {
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.brand-category h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-items span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--card-bg);
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--border-soft);
}

.brand-items-vertical {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.brand-items-vertical span {
  font-size: 0.875rem;
  color: var(--text-gray);
  padding: 6px 12px;
  background: var(--card-bg);
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--border-soft);
  text-align: center;
}

.brand-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.brand-logo {
  height: 70px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

/* ====== PROCESS ====== */
.steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: var(--accent-yellow);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.step-icon svg {
  width: 50px;
  height: 50px;
  color: #000000;
  stroke-width: 2.5;
}

.step:hover .step-icon {
  transform: scale(1.05);
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

/* ====== FORM ====== */
.form-intro {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: #fff8e6;
  border-radius: 8px;
  border: 1px solid var(--accent-soft);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-intro p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-main);
  margin-bottom: 8px;
  line-height: 1.6;
}

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

.form-box {
  background: transparent;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: none;
  text-align: center;
}

.form-box h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.form-box .btn-primary {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 16px;
}

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

.form-box input[type="text"],
.form-box input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-box input[type="text"]:focus,
.form-box input[type="tel"]:focus {
  outline: none;
  border-color: var(--accent-main);
  box-shadow: 0 0 0 3px rgba(15, 42, 68, 0.08);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.form-box button {
  width: 100%;
  padding: 14px;
  background: var(--accent-main);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 42, 68, 0.15);
}

.form-box button:hover {
  background: #1a3a5c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 42, 68, 0.25);
}

.form-box button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  display: none;
  font-size: 0.9375rem;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #2d7a4f;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #c3232f;
}

/* ====== FOOTER ====== */
footer {
  padding: 60px 0 40px;
  background-color: var(--accent-main);
  color: #ffffff;
  border-top: 3px solid var(--accent-soft);
}

.disclaimer {
  margin-bottom: 40px;
  padding: 20px 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--accent-soft);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer h3 {
  color: #ffffff;
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.disclaimer p {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 12px;
}

.legal-disclaimer {
  font-weight: 500;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

/* ====== RESPONSIVE ====== */

/* Mobile First - до 768px */
@media (max-width: 767px) {
  .hero {
    padding: 30px 0 25px;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.8125rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .hero-disclaimer {
    font-size: 0.75rem;
  }

  .hero-highlight {
    font-size: 0.9375rem;
    padding: 12px 16px;
    margin-bottom: 24px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 300px;
  }

  .section {
    padding: 30px 0;
  }

  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .image-text-content h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }

  .image-text-block {
    gap: 24px;
  }

  .montage-image {
    max-width: 100%;
  }

  .checklist-styled li {
    font-size: 0.9375rem;
    padding-left: 32px;
    margin-bottom: 14px;
  }

  .checklist-styled li::before {
    font-size: 1.25rem;
  }

  .checklist li {
    font-size: 0.9375rem;
    padding-left: 28px;
  }

  .money-highlight {
    font-size: 0.9375rem;
    padding: 16px 18px;
  }

  .subsidy-note {
    font-size: 0.875rem;
    padding: 14px 16px;
  }

  .pv-panel-image {
    max-height: 150px;
  }

  .brands-header-image {
    gap: 12px;
  }

  .brand-category {
    padding: 16px;
  }

  .brand-items span {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .brand-logo {
    height: 50px;
    max-width: 120px;
  }

  .steps {
    gap: 24px;
  }

  .step {
    min-width: 100%;
  }

  .step-icon {
    width: 80px;
    height: 80px;
  }

  .step-icon svg {
    width: 40px;
    height: 40px;
  }

  .step h3 {
    font-size: 1rem;
  }

  .form-box {
    padding: 24px 20px;
  }

  .form-box h2 {
    font-size: 1.25rem;
  }

  .form-intro {
    padding: 16px 18px;
  }

  .form-intro p {
    font-size: 0.875rem;
  }

  footer {
    padding: 40px 0 30px;
  }

  .disclaimer {
    padding: 16px 18px;
  }

  .disclaimer h3 {
    font-size: 1rem;
  }

  .disclaimer p {
    font-size: 0.8125rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .copyright {
    font-size: 0.8125rem;
  }

  .services-image {
    max-width: 100%;
  }

  .card-with-image .card-content-wrapper {
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 50px 0 40px;
    min-height: 600px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .image-text-block {
    flex-direction: row;
    gap: 60px;
  }

  .image-text-image {
    max-width: 50%;
  }

  .image-text-content h2 {
    font-size: 2.5rem;
  }

  .hero-highlight {
    font-size: 1.125rem;
    padding: 16px 24px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .card-with-image .card-content-wrapper {
    flex-direction: row;
  }

  .services-image {
    max-width: 300px;
  }

  .pv-panel-image {
    max-height: 250px;
  }

  .section {
    padding: 50px 0;
  }

  .steps {
    flex-wrap: nowrap;
  }

  .step-icon {
    width: 120px;
    height: 120px;
  }

  .step-icon svg {
    width: 60px;
    height: 60px;
  }
}

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

  .hero {
    padding: 100px 0 80px;
    min-height: 650px;
  }

  .section {
    padding: 60px 0;
  }
}
