/*
 * AL-JAWAD — Service System 2026
 * Namespace: .ajs-* (Al-Jawad Services)
 * Phase 6 — Mobile-first, RTL-native
 *
 * ISOLATION POLICY:
 * - Uses ONLY .ajs-* prefixed selectors
 * - Does NOT redefine: body, h1, h2, img, section globally
 * - Safe to coexist with: theme-2026.css, ux-2026.css, header-2026.css, home-2026.css
 *
 * Design Tokens (inherits from header-2026.css / theme-2026.css):
 * --ajh-navy-900: #061a2b  | --ajh-navy-700: #0b3557
 * --ajh-teal-700: #087782  | --ajh-teal-600: #0b9aa7
 * --ajh-gold-500: #e6b858
 */

/* ════════════════════════════════════════
   SHARED LAYOUT UTILITIES
   ════════════════════════════════════════ */
.ajs-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .ajs-container { padding-inline: 32px; } }
@media (min-width: 1280px) { .ajs-container { padding-inline: 40px; } }

/* ════════════════════════════════════════
   COMPACT PAGE HERO (Interior pages)
   Smaller than homepage hero
   ════════════════════════════════════════ */
.ajs-page-hero {
  background: linear-gradient(135deg, #061a2b 0%, #0b3557 50%, #087782 100%);
  padding-block: 60px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #e6b858;
}
.ajs-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ajs-page-hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ajs-page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-block: 16px 12px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ajs-page-hero-lead {
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 720px;
  margin-inline: auto;
}

/* ════════════════════════════════════════
   BREADCRUMB
   ════════════════════════════════════════ */
.ajs-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
  background: rgba(0,0,0,0.15);
  padding: 6px 16px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}
.ajs-breadcrumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color 150ms ease;
}
.ajs-breadcrumb a:hover { color: #e6b858; }
.ajs-breadcrumb-sep {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
}
.ajs-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

/* ════════════════════════════════════════
   SERVICES LISTING — INTRO SECTION
   ════════════════════════════════════════ */
.ajs-listing-intro {
  padding-block: 24px 0;
}
.ajs-listing-intro-text {
  max-width: 780px;
  color: #374151;
  font-size: .95rem;
  line-height: 1.85;
}
.ajs-listing-intro-text strong { color: #0b3557; }

/* ════════════════════════════════════════
   PRICE TABLE (Responsive & Premium)
   ════════════════════════════════════════ */
.ajs-price-section {
  padding-block: 50px 20px;
  background: #f8fafc;
}
.ajs-price-section h2 {
  color: #061a2b;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
}
.ajs-price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(6,26,43,0.08);
  background: #fff;
  margin-inline: auto;
  max-width: 900px;
}
.ajs-price-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
.ajs-price-table th,
.ajs-price-table td {
  padding: 16px 20px;
  text-align: right;
  font-size: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.ajs-price-table thead th {
  background: linear-gradient(90deg, #061a2b 0%, #0b3557 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.ajs-price-table tbody tr {
  transition: background-color 200ms ease;
}
.ajs-price-table tbody tr:hover {
  background-color: #f1f5f9;
}
.ajs-price-table tbody tr:last-child td { border-bottom: none; }
.ajs-price-table td:nth-child(1) { font-weight: 700; color: #1e293b; }
.ajs-price-table td:nth-child(2) { color: #087782; font-weight: 900; font-size: 1.1rem; }
.ajs-price-table td:nth-child(3) { color: #64748b; font-size: 0.9rem; }

/* ════════════════════════════════════════
   SERVICE CARDS GRID
   ════════════════════════════════════════ */
.ajs-services-section {
  padding-block: 50px;
}
.ajs-services-section h2 {
  color: #0b3557;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 30px;
  text-align: center;
}

/* Grid: 1-col mobile, 2-col tablet, 3-col desktop */
.ajs-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .ajs-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ajs-service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Card: Modern Vertical Layout */
.ajs-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 250ms ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ajs-service-card:hover {
  box-shadow: 0 15px 35px rgba(11,53,87,0.12);
  border-color: #0b9aa7;
  transform: translateY(-5px);
}

/* Card image */
.ajs-service-card__img,
.ajs-service-card__icon {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #f0f4f8;
}
.ajs-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.ajs-service-card:hover .ajs-service-card__img img {
  transform: scale(1.05);
}
.ajs-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b3557 0%, #0b9aa7 100%);
  color: #fff;
  font-size: 3rem;
}


/* Card body */
.ajs-service-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ajs-service-card__title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #061a2b;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 200ms;
}
.ajs-service-card:hover .ajs-service-card__title {
  color: #0b9aa7;
}
.ajs-service-card__desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.ajs-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #087782;
  margin-top: auto;
}
.ajs-service-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}
.ajs-service-card:hover .ajs-service-card__link svg {
  transform: translateX(-4px); /* RTL */
}

/* Layout is vertical by default for all sizes now */

/* ════════════════════════════════════════
   INTERNAL LINKS (Cities / Neighborhoods)
   Minimal, not spammy
   ════════════════════════════════════════ */
.ajs-internal-links {
  margin-block: 0 24px;
  padding: 24px;
  border: 1px solid rgba(11,53,87,0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.ajs-internal-links h3 {
  color: #0b3557;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ajs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ajs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  background: #fff;
  color: #0b3557;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.ajs-chip:hover {
  background: #0b3557;
  color: #fff;
  border-color: #0b3557;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(11,53,87,0.15);
}

/* ════════════════════════════════════════
   LISTING CTA BLOCK
   ════════════════════════════════════════ */
.ajs-listing-cta {
  background: linear-gradient(135deg, #061a2b 0%, #0b3557 50%, #087782 100%);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin-block: 40px;
  box-shadow: 0 10px 30px rgba(6,26,43,0.15);
  position: relative;
  overflow: hidden;
}
.ajs-listing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ajs-listing-cta > * {
  position: relative;
  z-index: 1;
}
.ajs-listing-cta h3 {
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.ajs-listing-cta p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 600px;
  margin-inline: auto;
}
.ajs-listing-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   SERVICE DETAIL — COMPACT HERO
   ════════════════════════════════════════ */
.ajs-detail-hero {
  background: linear-gradient(155deg, #040e18 0%, #0b3557 65%, #0d4a70 100%);
  position: relative;
  overflow: hidden;
  padding-block: 32px 0;
}
.ajs-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ajs-detail-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ajs-detail-hero-text {
  padding-bottom: 28px;
}
.ajs-detail-hero-text h1 {
  color: #fff;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-block: 12px 10px;
}
.ajs-detail-hero-desc {
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 540px;
}
.ajs-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 22px;
}
.ajs-detail-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
}
.ajs-detail-hero-meta-item svg,
.ajs-detail-hero-meta-item i {
  color: #e6b858;
  font-size: .85rem;
}
.ajs-detail-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Hero image panel — mobile: full-width banner below text */
.ajs-detail-hero-img {
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  margin-top: 4px;
}
.ajs-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .ajs-detail-hero-inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }
  .ajs-detail-hero-text {
    flex: 1;
    padding-bottom: 32px;
  }
  .ajs-detail-hero-img {
    flex: 0 0 300px;
    max-height: 280px;
    border-radius: 14px 14px 0 0;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .ajs-detail-hero { padding-block: 40px 0; }
  .ajs-detail-hero-img { flex: 0 0 380px; max-height: 320px; }
  .ajs-detail-hero-text h1 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
}

/* ════════════════════════════════════════
   SERVICE DETAIL — BODY LAYOUT
   ════════════════════════════════════════ */
.ajs-detail-body {
  padding-block: 32px;
}
.ajs-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 1024px) {
  .ajs-detail-layout {
    grid-template-columns: minmax(0,1fr) 280px;
    gap: 40px;
    align-items: start;
  }
}
@media (min-width: 1280px) {
  .ajs-detail-layout { grid-template-columns: minmax(0,1fr) 320px; }
}

/* Main content column */
.ajs-detail-content { min-width: 0; }

/* Sidebar */
.ajs-detail-sidebar { min-width: 0; }
@media (min-width: 1024px) {
  .ajs-detail-sidebar {
    position: sticky;
    top: calc(var(--ajh-header-h-lg, 80px) + 20px);
  }
}

/* Trust signals bar */
.ajs-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.ajs-trust-bar-item {
  background: #fff;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.ajs-trust-bar-item i,
.ajs-trust-bar-item svg {
  color: #0b9aa7;
  font-size: 1.1rem;
}
.ajs-trust-bar-item strong {
  display: block;
  color: #0b3557;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1.2;
}
.ajs-trust-bar-item span {
  color: #6b7280;
  font-size: .7rem;
  line-height: 1.3;
}

/* ════════════════════════════════════════
   SERVICE CONTENT AREA
   ════════════════════════════════════════ */
.ajs-prose {
  color: #374151;
  font-size: 1rem;
  line-height: 2;
}
.ajs-prose :where(h2, h3, h4) {
  color: #0b3557;
  font-weight: 900;
  margin-top: 1.8em;
  margin-bottom: .6em;
  line-height: 1.3;
}
.ajs-prose h2 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
.ajs-prose h3 { font-size: clamp(1rem, 2vw, 1.15rem); }
.ajs-prose p { margin-bottom: 1em; }
.ajs-prose ul, .ajs-prose ol {
  padding-right: 1.4em;
  margin-bottom: 1em;
}
.ajs-prose li { margin-bottom: .5em; }
.ajs-prose a {
  color: #087782;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ajs-prose img {
  max-width: 100%;
  border-radius: 12px;
  margin-block: 16px;
}
.ajs-prose table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
}
.ajs-prose th, .ajs-prose td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  font-size: .88rem;
}
.ajs-prose th { background: #0b3557; color: #fff; }

/* ════════════════════════════════════════
   PANEL SECTIONS (Features, Steps, etc.)
   ════════════════════════════════════════ */
.ajs-panel {
  margin-block: 28px 0;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.ajs-panel-heading {
  color: #0b3557;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ajs-panel-heading i { color: #0b9aa7; }

/* Features checklist */
.ajs-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ajs-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: #374151;
  line-height: 1.5;
}
.ajs-features-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: #0b9aa7;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 11px 11px;
  background-position: center;
}

/* Work Steps */
.ajs-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  counter-reset: ajs-step;
}
.ajs-steps-list li {
  counter-increment: ajs-step;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: #374151;
  line-height: 1.6;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.ajs-steps-list li::before {
  content: counter(ajs-step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0b3557;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ════════════════════════════════════════
   RELATED PROJECTS GRID
   ════════════════════════════════════════ */
.ajs-projects-section {
  margin-block: 28px 0;
}
.ajs-projects-section h3 {
  color: #0b3557;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ajs-projects-section h3 i { color: #0b9aa7; }
.ajs-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .ajs-projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .ajs-projects-grid { grid-template-columns: repeat(3, 1fr); }
}
.ajs-project-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: box-shadow 140ms, transform 140ms;
}
.ajs-project-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.ajs-project-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f4f8;
}
.ajs-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ajs-project-card__body {
  padding: 10px 12px;
}
.ajs-project-card__title {
  font-size: .85rem;
  font-weight: 800;
  color: #0b3557;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}
.ajs-project-card__cta {
  font-size: .75rem;
  color: #087782;
  font-weight: 700;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ════════════════════════════════════════
   RELATED ARTICLES
   ════════════════════════════════════════ */
.ajs-articles-section {
  margin-block: 28px 0;
}
.ajs-articles-section h3 {
  color: #0b3557;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ajs-articles-section h3 i { color: #0b9aa7; }
.ajs-article-list {
  display: grid;
  gap: 8px;
}
.ajs-article-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 140ms, box-shadow 140ms;
}
.ajs-article-card:hover {
  border-color: #0b9aa7;
  box-shadow: 0 2px 8px rgba(11,154,167,.08);
}
.ajs-article-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #f0f9ff;
  display: grid;
  place-items: center;
  color: #0b9aa7;
  font-size: .9rem;
}
.ajs-article-card__title {
  flex: 1;
  font-size: .87rem;
  font-weight: 800;
  color: #0b3557;
  line-height: 1.35;
}
.ajs-article-card__arrow {
  color: #9ca3af;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════ */
.ajs-faq-section {
  margin-block: 28px 0;
}
.ajs-faq-section h3 {
  color: #0b3557;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ajs-faq-section h3 i { color: #e6b858; }
.ajs-faq-list {
  display: grid;
  gap: 8px;
}
.ajs-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ajs-faq-item.is-open { border-color: #0b9aa7; }
.ajs-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  color: #0b3557;
  line-height: 1.4;
}
.ajs-faq-btn:focus-visible {
  outline: 2px solid #0b9aa7;
  outline-offset: -2px;
}
.ajs-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  transition: transform 220ms ease;
}
.ajs-faq-item.is-open .ajs-faq-chevron {
  transform: rotate(180deg);
  color: #0b9aa7;
}
.ajs-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}
.ajs-faq-answer-inner {
  padding: 0 16px 14px;
  color: #4b5563;
  font-size: .88rem;
  line-height: 1.85;
  border-top: 1px solid #f0f4f8;
}
.ajs-faq-all-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #087782;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}
.ajs-faq-all-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   SIDEBAR COMPONENTS
   ════════════════════════════════════════ */
.ajs-sidebar-cta {
  background: linear-gradient(145deg, #0b3557 0%, #061a2b 100%);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.ajs-sidebar-cta h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.ajs-sidebar-cta p {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.ajs-sidebar-cta .ajs-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #087782;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background 140ms;
}
.ajs-sidebar-cta .ajs-btn-wa:hover { background: #065c6e; }
.ajs-sidebar-cta .ajs-btn-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms;
}
.ajs-sidebar-cta .ajs-btn-phone:hover { background: rgba(255,255,255,.14); }

.ajs-sidebar-services {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.ajs-sidebar-services-heading {
  padding: 14px 16px;
  color: #0b3557;
  font-size: .88rem;
  font-weight: 900;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.ajs-sidebar-service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #f0f4f8;
  transition: background 120ms, color 120ms;
}
.ajs-sidebar-service-link:last-child { border-bottom: none; }
.ajs-sidebar-service-link:hover { background: #f0f9ff; color: #0b3557; }
.ajs-sidebar-service-link i {
  color: #0b9aa7;
  font-size: .8rem;
  flex-shrink: 0;
  width: 16px;
}

/* ════════════════════════════════════════
   EXPERT CARD (bottom of detail)
   ════════════════════════════════════════ */
.ajs-expert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  margin-block: 28px;
}
.ajs-expert-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3557, #0b9aa7);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.ajs-expert-card__copy {
  flex: 1;
  min-width: 0;
}
.ajs-expert-card__copy small {
  display: block;
  font-size: .72rem;
  color: #9ca3af;
  margin-bottom: 2px;
}
.ajs-expert-card__copy h4 {
  font-size: .9rem;
  font-weight: 900;
  color: #0b3557;
  margin: 0 0 2px;
}
.ajs-expert-card__copy p {
  font-size: .75rem;
  color: #6b7280;
  margin: 0;
}
.ajs-expert-card__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #0b3557;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 140ms;
  white-space: nowrap;
}
.ajs-expert-card__cta:hover { background: #061a2b; }

/* ════════════════════════════════════════
   FINAL BOTTOM CTA
   ════════════════════════════════════════ */
.ajs-final-cta {
  background: linear-gradient(135deg, #087782 0%, #065c6e 100%);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  margin-block: 32px;
}
.ajs-final-cta h3 {
  color: #fff;
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.ajs-final-cta p {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-bottom: 20px;
}
.ajs-final-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   BUTTON VARIANTS
   ════════════════════════════════════════ */
.ajs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 140ms, transform 100ms, box-shadow 140ms;
  white-space: nowrap;
  min-height: 44px;
}
.ajs-btn:active { transform: scale(.97); }
.ajs-btn--primary {
  background: #087782;
  color: #fff;
  box-shadow: 0 2px 8px rgba(8,119,130,.3);
}
.ajs-btn--primary:hover { background: #065c6e; box-shadow: 0 4px 12px rgba(8,119,130,.4); }
.ajs-btn--accent {
  background: #e6b858;
  color: #061a2b;
}
.ajs-btn--accent:hover { background: #d4a64e; }
.ajs-btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.ajs-btn--ghost:hover { background: rgba(255,255,255,.18); }
.ajs-btn--outline-navy {
  background: transparent;
  color: #0b3557;
  border: 1.5px solid #0b3557;
}
.ajs-btn--outline-navy:hover { background: #0b3557; color: #fff; }

/* ════════════════════════════════════════
   LOCATION CHIPS (service areas)
   ════════════════════════════════════════ */
.ajs-location-panel {
  margin-block: 28px 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.ajs-location-panel h3 {
  color: #0b3557;
  font-size: .9rem;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ajs-location-panel h3 i { color: #e6b858; }

/* ════════════════════════════════════════
   TOP-SERVICE HERO (deeper, article-like)
   ════════════════════════════════════════ */
.ajs-top-hero {
  background: linear-gradient(155deg, #040e18 0%, #0b3557 60%, #0a4269 100%);
  padding-block: 36px 0;
  position: relative;
  overflow: hidden;
}
.ajs-top-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ajs-top-hero-inner {
  position: relative;
  padding-bottom: 28px;
}
.ajs-top-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-block: 12px 10px;
}
.ajs-top-hero-lead {
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 600px;
}
.ajs-top-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.ajs-top-hero-rating .ajs-stars { color: #e6b858; font-size: .85rem; }
.ajs-top-hero-rating span { color: rgba(255,255,255,.8); font-size: .8rem; }
.ajs-top-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ajs-top-hero-img-band {
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 12px 12px 0 0;
}
.ajs-top-hero-img-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .ajs-top-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
    padding-bottom: 0;
  }
  .ajs-top-hero-content { padding-bottom: 32px; }
  .ajs-top-hero-img-band {
    max-height: 320px;
    border-radius: 12px 12px 0 0;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .ajs-top-hero { padding-block: 44px 0; }
  .ajs-top-hero-img-band { max-height: 360px; }
}

/* Top-service body */
.ajs-top-body {
  padding-block: 32px;
}
.ajs-top-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 1024px) {
  .ajs-top-layout {
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 40px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .ajs-top-sidebar {
    position: sticky;
    top: calc(var(--ajh-header-h-lg, 80px) + 20px);
  }
}

/* HowTo Steps */
.ajs-howto-section {
  margin-block: 28px 0;
}
.ajs-howto-section h2, .ajs-howto-section h3 {
  color: #0b3557;
  font-weight: 900;
  margin-bottom: 16px;
}
.ajs-howto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  counter-reset: ajs-howto;
}
.ajs-howto-item {
  counter-increment: ajs-howto;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  align-items: start;
}
.ajs-howto-item::before {
  content: counter(ajs-howto);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b3557, #0b9aa7);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ajs-howto-item-content {}
.ajs-howto-item-title {
  font-size: .92rem;
  font-weight: 900;
  color: #0b3557;
  margin-bottom: 4px;
}
.ajs-howto-item-desc {
  font-size: .85rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ajs-service-card,
  .ajs-project-card,
  .ajs-faq-answer,
  .ajs-faq-chevron,
  .ajs-btn,
  .ajs-chip {
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════
   UTILITY: SECTION SEPARATOR
   ════════════════════════════════════════ */
.ajs-sep {
  height: 1px;
  background: #e2e8f0;
  margin-block: 28px;
}
