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

/* Prevent horizontal scroll, enable smooth scroll */
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Base body styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #eef1f4;
  color: #1f2937;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Inherit link color */
a { color: inherit; text-decoration: none; }

/* Remove default list bullets */
ul { list-style: none; }

/* Responsive images */
img { max-width: 100%; display: block; }

/* FAQ page content container */
.faq-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* Header styles come from style.css */

/* Mobile dropdown menu panel */
.mobile-menu {
  position: absolute;
  top: 64px;
  right: 18px;
  width: min(96vw, 340px);
  background: #eceff4;
  padding: 22px 18px 18px;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(4, 17, 45, 0.15);
  display: none;
  z-index: 200; /* above backdrop */
}

/* Show menu when open */
.mobile-menu.open { display: block; }

/* Mobile nav link list */
.mobile-menu-list {
  display: grid;
  gap: 12px;
}

/* Individual mobile nav link */
.mobile-menu-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 20px;
  background: #f7f8fb;
  color: #0b1730;
  font-weight: 800;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(11, 23, 48, 0.08);
}

/* Hover slide and background */
.mobile-menu-list li a:hover { background: #fff; transform: translateX(2px); }

/* Arrow icon visibility */
.item-arrow { color: #3f4f7a; font-size: 16px; opacity: 0; transition: opacity 0.2s; }
.mobile-menu-list li a:hover .item-arrow { opacity: 1; }

/* CTA button area */
.mobile-menu-actions { display: grid; gap: 12px; margin-top: 20px; }

/* Base CTA button in mobile menu */
.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Lift on hover */
.mobile-btn:hover { transform: translateY(-1px); opacity: 0.96; }

/* Blue gradient primary button */
.mobile-btn-primary  { background: linear-gradient(90deg, #39b5ff, #1192ff); color: #fff; }

/* WhatsApp green secondary button */
.mobile-btn-secondary { background: #25D366; color: #fff; }

/* Button icon size */
.mobile-btn-icon { width: 20px; height: 20px; object-fit: contain; }

/* Full-screen backdrop behind mobile menu */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 150;
}

/* Show backdrop when menu open */
.mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

/* FAQ page hero — gradient background */
.faq-hero {
  background: linear-gradient(155deg, #163f72 0%, #1f6aa5 55%, #2279c4 100%);
  color: #fff;
  padding: 36px 20px 44px;
  height: auto;
  min-height: 0;
}

/* Constrain hero content width */
.faq-hero .faq-container {
  margin: 0;
  max-width: 700px;
  padding: 0;
}

/* Small uppercase section eyebrow */
.tag {
  color: #7cff3c;
  letter-spacing: 2px;
  font-size: 11px;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

/* Hero heading */
.faq-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  color: #fff;
}

/* Hero description */
.desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 540px;
}

/* Main FAQ section — white background */
.faq-section {
  padding: 28px 18px 36px;
  background: #fff;
}

/* Blue label above section title */
.section-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #2BB3FF;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Section title */
.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

/* Section subtitle */
.section-sub {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 540px;
}

/* Inline link in section subtitle */
.catalogue-link {
  color: #2BB3FF;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.catalogue-link:hover {
  color: #1893c6;
}

/* Orange catalogue download button */
.catalogue-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF6B1A;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
  margin-bottom: 32px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 26, 0.3);
}
.catalogue-btn:hover {
  background: #e55a0d;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 26, 0.4);
}
.catalogue-btn:active {
  transform: translateY(0);
}

/* Label grouping FAQ items by category */
.faq-category-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2BB3FF;
  margin-top: 24px;
  margin-bottom: 6px;
  padding-left: 4px;
}
/* No top margin on very first category label */
.faq-category-label:first-child { margin-top: 0; }

/* Stack of FAQ accordion items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

/* FAQ accordion item — uses <details> element */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* FAQ question row (summary element) */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  user-select: none;
  line-height: 1.4;
}

/* Remove default browser marker from summary */
.faq-item summary::-webkit-details-marker { display: none; }

/* Question text */
.faq-item .q { flex: 1; }

/* Chevron arrow indicator */
.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg); /* points down */
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-top: -2px;
}

/* Rotate chevron when item is open */
.faq-item[open] .chev { transform: rotate(-135deg); }

/* Answer text area */
.faq-item .answer {
  padding: 4px 18px 18px;
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Open state — green border highlight */
.faq-item.open {
  border-color: #1ab64b;
  box-shadow: 0 4px 16px rgba(26, 182, 75, 0.12);
}

/* Open state summary background */
.faq-item.open > summary { background: #f4fbf6; }

/* Footer — layout from style.css; only overrides below */
.footer {
  background: #eef1f4;
}

.footer-top { margin-bottom: 0; }

/* Footer logo size */
.footer-logo {
  width: 182px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Footer tagline */
.footer-tagline {
  font-size: 12px;
  color: #65758b;
  line-height: 1.65;
}

/* Footer column heading */
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #062142;
  margin-bottom: 10px;
}

/* Footer column links */
.footer-col p { font-size: 13px; color: #65758b; line-height: 2.2; }

/* Footer contact heading */
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: #062142;
  margin-bottom: 12px;
}

/* Footer email link */
.footer-email-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #65758b;
  transition: color 0.2s;
}
.footer-email-link:hover { color: #1248cc; }

/* WhatsApp button in footer */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-2px); }
.whatsapp-btn:active { transform: translateY(0); }

/* Full-width WhatsApp button */
.whatsapp-btn.full { width: 100%; }

/* WhatsApp icon size */
.whatsapp-btn img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }

/* Email subscription row */
.email-box { display: flex; align-items: center; gap: 8px; margin-top: 12px; }

/* Email input pill container */
.email-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1.5px solid #dcdfe3;
  border-radius: 50px;
  padding: 0 14px;
  overflow: hidden;
}

/* Email icon inside input wrapper */
.email-icon { display: flex; align-items: center; flex-shrink: 0; margin-right: 8px; }

/* Email text input */
.email-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #062142;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.email-input-wrap input::placeholder { color: #9ca3af; }

/* Subscribe/join button */
.join-btn {
  background: linear-gradient(135deg, #2BB3FF, #1E90FF);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.25);
}
.join-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.join-btn:active { transform: translateY(0); }

/* Copyright line */
.copyright {
  font-size: 11px;
  color: #65758b;
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dcdfe3;
}

/* "How PKN is Different" comparison section */
.diff-section {
  background: #f4f7fb;
  border-top: 1px solid #e5e7eb;
}

/* Vertical stack of comparison blocks */
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

/* Single comparison block card */
.diff-block {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Comparison block heading */
.diff-heading {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* Comparison point row */
.diff-point {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  padding: 12px 14px;
  border-radius: 8px;
}

/* Flaw point — red left border */
.diff-flaw {
  background: #fff7f5;
  border-left: 3px solid #f87171;
}

/* PKN advantage point — blue left border */
.diff-advantage {
  background: #f0f9ff;
  border-left: 3px solid #2BB3FF;
}

/* Tablet — larger padding in comparison blocks */
@media (min-width: 768px) {
  .diff-block { padding: 26px 24px; }
  .diff-heading { font-size: 16px; }
  .diff-point { font-size: 14.5px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .diff-point { font-size: 15px; }
}

/* Small mobile — tighter spacing */
@media (max-width: 374px) {
  .faq-hero { padding: 28px 16px 36px; }
  .faq-hero h1 { font-size: 26px; }
  .faq-section { padding: 22px 14px 30px; }
  .cta-section { padding: 20px 14px 28px; }
  .cta-card h3 { font-size: 19px; }
}

/* Small tablet — wider hero padding */
@media (min-width: 600px) {
  .faq-hero { padding: 40px 32px 48px; }
  .faq-hero h1 { font-size: 30px; }
  .faq-section { padding: 32px 32px 40px; }
  .section-title { font-size: 26px; }
  .cta-section { padding: 28px 32px 36px; }
  .cta-card { padding: 30px 28px 32px; }
  .cta-card h3 { font-size: 24px; }
}

/* Tablet — larger hero and FAQ text */
@media (min-width: 768px) {
  .faq-hero { padding: 48px 20px 52px; }
  .faq-hero h1 { font-size: 40px; }
  .desc { font-size: 16px; }
  .faq-section { padding: 36px 40px 48px; }
  .section-title { font-size: 28px; }
  .faq-item summary { font-size: 15px; padding: 18px 20px; }
  .faq-item .answer { padding: 4px 20px 20px; font-size: 14.5px; }
  .cta-wa-btn { width: 100%; max-width: none; }

  /* Footer columns side by side */
  .footer-grid {
    flex-direction: row;
    gap: 40px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dcdfe3;
  }
  .footer-col {
    flex: 1;
    border-top: none;
    padding: 0;
  }
  .footer-contact { margin-top: 24px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .faq-hero { padding: 56px 20px 60px; }
  .faq-hero h1 { font-size: 48px; }
  .faq-section { padding: 48px 48px 60px; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 15px; }
  .faq-item summary { font-size: 15.5px; padding: 20px 22px; }
  .faq-item .answer { padding: 4px 22px 22px; font-size: 15px; }
  .cta-wa-btn { width: 100%; max-width: none; }
  .footer-grid { gap: 60px; }
  .footer-col { min-width: 120px; }
}

/* Large desktop — wider container */
@media (min-width: 1280px) {
  .faq-hero { padding: 60px 20px 60px; }
  .faq-hero h1 { font-size: 44px; }
  .faq-section { padding: 56px 60px 70px; }
  .faq-container { max-width: 920px; }
}

/* XL screens */
@media (min-width: 1440px) {
  .faq-hero { padding: 60px 80px 60px; }
  .faq-section { padding: 64px 0 80px; }
  .faq-container { max-width: 960px; }
}

/* CTA section — desktop override for 900px+ */
@media (min-width: 900px) {
  .cta-section {
    padding: 32px 32px 48px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    background: none;
  }
  .cta-card {
    padding: 56px 64px 60px;
    border-radius: 28px;
  }
  .cta-text-block {
    max-width: none;
  }
  .cta-card h3 {
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .cta-desc {
    font-size: 15px;
    max-width: 640px;
    margin-bottom: 26px;
  }
  .cta-wa-btn {
    width: 100%;
    max-width: none;
  }
}

/* CTA section — larger desktop */
@media (min-width: 1200px) {
  .cta-section {
    padding: 40px 40px 56px;
  }
  .cta-card {
    padding: 64px 72px 68px;
  }
  .cta-card h3 {
    font-size: 44px;
  }
  .cta-desc {
    font-size: 16px;
  }
}
