/* ============================================================
   GLS Tech — Computer Repair Consett (Capture Page)
   ============================================================ */

:root {
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
}

body { display: flex; flex-direction: column; }

/* ── HERO ── */
.capture-hero {
  margin-top: 70px;
  background: #ffffff;
  padding: 80px 30px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.capture-hero-content { position: relative; max-width: 820px; margin: 0 auto; }
.capture-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
  line-height: 1.25;
}
.capture-hero h1 span { color: var(--primary-color); }
.capture-hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.badge {
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}
.badge.red { border-color: var(--primary-color); color: var(--primary-color); background: rgba(231,76,60,0.1); }
.badge.green { border-color: var(--accent-green); color: var(--accent-green); background: rgba(39,174,96,0.1); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-secondary);
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,76,60,0.4); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); margin-left: 12px; }
.btn-outline:hover { background: var(--text-dark); color: white; transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 70px 30px; }
section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 12px auto 40px;
  border-radius: 2px;
}
.section-intro {
  text-align: center;
  max-width: 650px;
  margin: -28px auto 40px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  display: block;
  width: calc(100% + 48px);
  margin: -30px -24px 20px;
  height: 168px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.service-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.service-card-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 20px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.3s ease;
  align-self: flex-start;
}
.service-card-btn:hover { background: var(--primary-dark); }
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--primary-color); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

/* ── TRUST SECTION ── */
.trust-section { background: #2c3e50; color: white; }
.trust-section h2 { color: white; }
.trust-section h2::after { background: var(--primary-color); }
.trust-section .section-intro { color: rgba(255,255,255,0.75); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.trust-card-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.trust-card h3 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.trust-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }

/* ── QUALIFICATIONS SECTION ── */
.quals-section { background: #f8f9fa; }
.quals-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 32px;
}
.qual-badge {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  text-align: center;
  min-width: 200px;
}
.qual-badge .cert-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.qual-badge .cert-body {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 600;
}
.quals-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── AREAS SECTION ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.area-chip {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.2s ease;
}
.area-chip:hover { border-color: var(--primary-color); transform: translateY(-2px); }
.area-chip .area-name {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.area-chip .area-dist {
  font-size: 0.78rem;
  color: var(--text-gray);
}

/* ── REVIEWS ── */
.reviews-section { background: white; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.review-card {
  background: #f8f9fa;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.review-stars { color: #f39c12; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.review-author { font-weight: 700; color: var(--text-dark); font-size: 0.9rem; }
.review-source { font-size: 0.78rem; color: var(--text-gray); margin-top: 2px; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border-light); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition-normal); }
.faq-item.open { border-color: var(--primary-color); }
.faq-question { width: 100%; background: white; border: none; padding: 20px 24px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-secondary); transition: background var(--transition-normal); }
.faq-question:hover { background: #fafafa; }
.faq-icon { font-size: 1.4rem; color: var(--primary-color); transition: transform var(--transition-normal); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; color: var(--text-gray); line-height: 1.8; font-size: 1rem; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--primary-color); padding: 60px 30px; text-align: center; }
.cta-banner h2 { color: white; font-family: var(--font-primary); margin-bottom: 0; }
.cta-banner h2::after { background: rgba(255,255,255,0.4); }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; }
.cta-banner .btn-outline { border-color: white; color: white; }
.cta-banner .btn-outline:hover { background: white; color: var(--primary-color); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border-light); text-align: center; padding: 40px 20px; font-size: 0.9rem; color: var(--text-gray); background: var(--bg-light); }

/* ── WA WIDGET ── */
.wa-widget {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 500; text-decoration: none;
  transition: transform 0.3s ease;
}
.wa-widget:hover { transform: scale(1.1); }

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .capture-hero { padding: 60px 20px 50px; }
  section { padding: 50px 20px; }
  .qual-badge { min-width: 150px; padding: 14px 18px; }
}
