/**
 * Frontend Components Styling for Viborg Solceller
 */

/* ─── FAQ ACCORDION ─── */
.vs-faq-container {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  box-sizing: border-box;
}

.vs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.vs-faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.vs-faq-item:hover {
  border-color: #86efac;
}

.vs-faq-item.active {
  border-color: #16a34a;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.08);
}

.vs-faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  gap: 14px;
  outline: none;
  box-shadow: none !important;
}

.vs-faq-toggle:hover {
  background: #f8fafc;
  color: #15803d;
}

.vs-faq-icon {
  font-size: 20px;
  font-weight: 800;
  color: #16a34a;
  flex-shrink: 0;
  line-height: 1;
}

.vs-faq-content {
  display: none;
  padding: 0 22px 20px 22px;
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}

.vs-faq-item.active .vs-faq-content {
  display: block;
}

/* ─── WEBSHOP BRIDGE BANNER ─── */
.vs-shop-bridge-banner {
  background: linear-gradient(135deg, #0b1528 0%, #172a45 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 20px auto 35px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px -5px rgba(11, 21, 40, 0.3);
}

.vs-sbb-badge {
  display: inline-block;
  background: rgba(22, 163, 74, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.vs-sbb-content h3 {
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.vs-sbb-content p {
  color: #cbd5e1;
  font-size: 14.5px;
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

.vs-sbb-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.vs-sbb-btn {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease;
  white-space: nowrap;
}

.vs-sbb-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
}

.vs-sbb-phone {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

.vs-sbb-phone:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ─── TRUST BADGES BAR ─── */
.vs-trust-badges-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 20px auto;
}

.vs-badge-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vs-badge-icon {
  font-size: 24px;
}

.vs-badge-item strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.vs-badge-item span {
  font-size: 12px;
  color: #64748b;
}

/* ─── MOBIL STICKY BAR ─── */
.vs-mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  display: none;
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.vs-mobile-sticky-bar.visible {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .vs-mobile-sticky-bar {
    display: flex;
  }
  .vs-shop-bridge-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .vs-sbb-action {
    width: 100%;
  }
  .vs-trust-badges-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .vs-trust-badges-bar {
    grid-template-columns: 1fr;
  }
}

.vs-ms-call-btn {
  flex: 1;
  background: #1e293b;
  border: 1px solid #475569;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 8px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-ms-quote-btn {
  flex: 2;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── OM OS (ABOUT US) OVERHAUL ─── */
.vs-about-container {
  width: 100%;
  max-width: 1140px;
  margin: 20px auto 60px auto;
  box-sizing: border-box;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.vs-about-container * {
  box-sizing: border-box;
}

.vs-about-hero {
  text-align: center;
  padding: 36px 20px 30px 20px;
}

.vs-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-about-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.vs-about-lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: #475569;
  max-width: 760px;
  margin: 0 auto 28px auto;
  line-height: 1.5;
}

/* Målgruppe Pills */
.vs-audience-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.vs-aud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.vs-aud-pill:hover {
  border-color: #16a34a;
  color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

.vs-about-intro-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid #16a34a;
  border-radius: 16px;
  padding: 26px 30px;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.vs-about-intro-box p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 12px 0;
}

.vs-about-intro-box p:last-child {
  margin-bottom: 0;
}

/* Values Grid */
.vs-about-values-section {
  margin: 55px 0 40px 0;
}

.vs-about-values-section .vs-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.vs-sub-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.vs-about-values-section .vs-section-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.vs-about-values-section .vs-section-header p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.vs-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.vs-value-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
}

.vs-value-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.vs-value-card.vs-val-featured {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.vs-card-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.vs-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.vs-ic-green { background: #dcfce7; }
.vs-ic-blue  { background: #e0f2fe; }
.vs-ic-amber { background: #fef3c7; }
.vs-ic-slate { background: #f1f5f9; }

.vs-value-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.vs-value-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Story Section */
.vs-about-story-section {
  margin: 50px 0;
  background: #f8fafc;
  border-radius: 22px;
  padding: 36px 32px;
  border: 1px solid #e2e8f0;
}

.vs-story-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

.vs-story-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 16px 0;
}

.vs-story-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 14px;
}

.vs-story-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.vs-sp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #1e293b;
}

.vs-sp-check {
  background: #16a34a;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Facts Card */
.vs-facts-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.vs-facts-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #f1f5f9;
}

.vs-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.vs-facts-list li {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
}

.vs-facts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vs-facts-list li strong {
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.vs-facts-list li span,
.vs-facts-list li a {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.vs-facts-list li a {
  color: #0284c7;
  text-decoration: none;
}

.vs-facts-list li a:hover {
  text-decoration: underline;
}

/* Trust Wrap */
.vs-about-trust-wrap {
  margin: 35px 0;
}

/* CTA Box */
.vs-about-cta-box {
  background: linear-gradient(135deg, #0b1528 0%, #172a45 50%, #15803d 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 42px 30px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(11, 21, 40, 0.25);
  margin-top: 40px;
}

.vs-cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.vs-cta-inner p {
  font-size: 15.5px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 26px auto;
  line-height: 1.5;
}

.vs-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.vs-btn-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
  transition: all 0.2s ease;
}

.vs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.5);
}

.vs-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vs-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 900px) {
  .vs-story-grid {
    grid-template-columns: 1fr;
  }
  .vs-facts-list li {
    flex-direction: column;
    gap: 2px;
  }
  .vs-facts-list li span,
  .vs-facts-list li a {
    text-align: left;
  }
}

