/* ============================================================
   GLS Tech — Service Areas Page
   ============================================================ */

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

/* ── HERO ── */
.sa-hero {
  margin-top: 70px;
  background: #2c3e50;
  padding: 70px 30px 60px;
  text-align: center;
  color: white;
}
.sa-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: white;
  letter-spacing: 2px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.sa-hero h1 span { color: var(--primary-color); }
.sa-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.sa-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.sa-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}
.sa-badge.red { border-color: var(--primary-color); background: rgba(231,76,60,0.2); color: #ff8070; }

/* ── SECTIONS ── */
section { padding: 70px 30px; }
section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  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: 640px;
  margin: -28px auto 40px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ── AREA CARDS ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.area-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.area-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.area-card.primary {
  border-color: var(--primary-color);
}
.area-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.area-name {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}
.area-dist {
  font-size: 0.78rem;
  color: white;
  background: var(--text-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.area-card.primary .area-dist {
  background: var(--primary-color);
}
.area-services {
  list-style: none;
  margin: 0 0 20px;
  flex: 1;
}
.area-services li {
  font-size: 0.9rem;
  color: var(--text-gray);
  padding: 5px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.area-services li:last-child { border-bottom: none; }
.area-services li::before {
  content: '→';
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
}
.area-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  transition: background 0.3s ease;
  align-self: flex-start;
}
.area-cta:hover { background: var(--primary-dark); }
.area-cta.outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-light);
}
.area-cta.outline:hover { border-color: var(--primary-color); color: var(--primary-color); background: transparent; }

/* ── MAP ── */
.map-section { background: #f8f9fa; }
.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.map-wrapper iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ── 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; }
.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-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--primary-color); }
.btn-primary { background: white; color: var(--primary-color); margin-left: 12px; }
.btn-primary:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
  background: #f8f9fa;
}
footer a { color: var(--primary-color); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── 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) {
  .sa-hero { padding: 50px 20px 40px; }
  section { padding: 50px 20px; }
  .btn-primary { margin-left: 0; margin-top: 12px; }
}
