/**
 * Azan Services Stylesheet — services.css
 * Chuẩn Brand Xanh Lá Cây (#008800), Mobile-First Web-App UX, Typography Lớn & Dễ Đọc
 */

/* ─── CONTAINER & GENERAL ─── */
.azan-services-page {
  background-color: #f8fafc;
  color: #1e293b;
  padding-bottom: 50px;
}

.azan-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

@media (max-width: 767px) {
  .azan-services-container {
    padding: 0 8px;
  }
}

/* ─── HERO SECTION (AZAN BRAND GREEN) ─── */
.azan-services-hero {
  background: linear-gradient(135deg, #008800 0%, #005c00 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 28px 20px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 136, 0, 0.22);
}

.azan-services-hero::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.azan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.azan-services-hero h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.azan-services-hero p.hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  opacity: 0.95;
  margin: 0 0 20px 0;
  max-width: 850px;
  color: #f0fdf4;
}

.azan-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.azan-btn-cta-hotline {
  background: linear-gradient(135deg, #fd6e1d 0%, #ff5500 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(253, 110, 29, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.azan-btn-cta-hotline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(253, 110, 29, 0.45);
}

.azan-btn-cta-zalo {
  background: #ffffff;
  color: #008800 !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.15s, transform 0.15s;
}

.azan-btn-cta-zalo:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .azan-services-hero {
    padding: 38px 32px;
  }
  .azan-services-hero h1 {
    font-size: 32px;
  }
  .azan-services-hero p.hero-desc {
    font-size: 17px;
  }
}

/* ─── COMMITMENT BOX (4 CAM KẾT VÀNG) ─── */
.azan-commitments-section {
  margin-bottom: 26px;
}

.azan-commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .azan-commitments-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.azan-commit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, border-color 0.15s;
}

.azan-commit-card:hover {
  transform: translateY(-2px);
  border-color: #008800;
}

.azan-commit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #008800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.azan-commit-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.azan-commit-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.azan-commit-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* ─── 4-STEP PROCESS (QUY TRÌNH PHỤC VỤ) ─── */
.azan-process-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 22px 18px;
  margin-bottom: 26px;
}

.azan-section-title-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.azan-section-title-wrap h2 {
  font-size: 21px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.azan-section-title-wrap p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

@media (min-width: 768px) {
  .azan-section-title-wrap h2 {
    font-size: 26px;
  }
}

.azan-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
}

@media (min-width: 640px) {
  .azan-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .azan-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.azan-process-item {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 18px 16px;
  position: relative;
}

.azan-process-number {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
}

.azan-process-step-badge {
  display: inline-block;
  background: #008800;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.azan-process-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.azan-process-item p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ─── SERVICE CARDS GRID ─── */
.azan-service-cards-section {
  margin-bottom: 26px;
}

.azan-service-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .azan-service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.azan-service-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.azan-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.azan-card-header {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.azan-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f5e9;
  color: #008800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.azan-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.azan-card-title-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.azan-card-title-wrap p {
  font-size: 13.5px;
  color: #64748b;
  margin: 3px 0 0 0;
}

.azan-card-body {
  padding: 16px 18px;
  flex-grow: 1;
}

.azan-card-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.azan-card-features-list li {
  font-size: 15px;
  color: #334155;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.55;
}

.azan-card-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: #008800;
  font-weight: 800;
}

.azan-card-footer {
  padding: 14px 18px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.azan-card-btn-detail {
  background: #008800;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 136, 0, 0.2);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.azan-card-btn-detail:hover {
  background: #006800;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 136, 0, 0.3);
}

/* ─── BANNER DỊCH VỤ GIA DỤNG ─── */
.azan-appliances-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #008800;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .azan-appliances-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
  }
}

.azan-appliances-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.azan-appliances-info p {
  font-size: 15px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

.azan-appliances-btn {
  background: #f1f5f9;
  border: 1.5px solid #008800;
  color: #008800 !important;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s;
}

.azan-appliances-btn:hover {
  background: #008800;
  color: #ffffff !important;
}

/* ─── SERVICE AREA SECTION ─── */
.azan-service-areas {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 26px;
}

.azan-areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .azan-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .azan-areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.azan-area-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.azan-area-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.azan-area-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* ─── FAQ SECTION ─── */
.azan-services-faq {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 26px;
}

.azan-faq-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
}

.azan-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.azan-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
}

.azan-faq-question svg {
  width: 18px;
  height: 18px;
  stroke: #64748b;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.azan-faq-item.is-open .azan-faq-question svg {
  transform: rotate(180deg);
  stroke: #008800;
}

.azan-faq-answer {
  display: none;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  padding-top: 10px;
}

.azan-faq-item.is-open .azan-faq-answer {
  display: block;
}

/* ─── STICKY CTA ON SERVICES (MOBILE) ─── */
.azan-services-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 12px calc(8px + var(--safe-bottom, 0px));
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease;
}

.azan-services-sticky-bar a {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.azan-services-sticky-bar .btn-sticky-call {
  background: linear-gradient(135deg, #fd6e1d 0%, #ff5500 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(253, 110, 29, 0.3);
}

.azan-services-sticky-bar .btn-sticky-zalo {
  background: #ffffff;
  border: 1.5px solid #008800;
  color: #008800;
}

@media (min-width: 992px) {
  .azan-services-sticky-bar {
    display: none !important;
  }
}

@media (max-width: 991px) {
  /* Hide global bottom nav on service pages so sticky CTA bar has full prominence without overlapping */
  .page-template-page-dich-vu .azan-bottom-nav,
  .page-template-page-dich-vu-chi-tiet .azan-bottom-nav,
  .page-template-page-dich-vu-gia-dung .azan-bottom-nav,
  body[class*="page-dich-vu"] .azan-bottom-nav,
  body.parent-pageid-17297 .azan-bottom-nav,
  body.page-id-17297 .azan-bottom-nav {
    display: none !important;
  }

  /* Hide floating contacts on mobile service pages */
  .page-template-page-dich-vu .azan-floating-contacts,
  .page-template-page-dich-vu-chi-tiet .azan-floating-contacts,
  .page-template-page-dich-vu-gia-dung .azan-floating-contacts,
  body[class*="page-dich-vu"] .azan-floating-contacts,
  body.parent-pageid-17297 .azan-floating-contacts,
  body.page-id-17297 .azan-floating-contacts {
    display: none !important;
  }

  .page-template-page-dich-vu,
  .page-template-page-dich-vu-chi-tiet,
  .page-template-page-dich-vu-gia-dung,
  body[class*="page-dich-vu"],
  body.parent-pageid-17297,
  body.page-id-17297 {
    padding-bottom: calc(68px + var(--safe-bottom, 0px)) !important;
  }
}
