/* Customer-facing presentation */
.hero[aria-labelledby="hero-title"] {
  min-height: clamp(510px, 73vh, 730px);
}

.hero .hero-inner {
  padding-block: clamp(36px, 6vw, 84px);
}

.hero .hero-content {
  max-width: 580px;
}

.hero .hero-actions {
  align-items: stretch;
}

.hero .hero-actions .btn {
  min-height: 48px;
  text-align: center;
}

#services .services-grid {
  gap: clamp(14px, 2vw, 23px);
}

#services .service-card {
  border-radius: 18px;
  border-color: #dbe5ed;
  box-shadow: 0 8px 20px rgb(16 43 69 / 6%);
}

#services .service-card p {
  color: #40596e;
}

#services .service-card .service-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
}

#services .service-card .service-icon,
#contact .contact-card-icon {
  background: #eaf2f7;
}

#contact .contact-card > p {
  color: #40596e;
}

#contact .contact-actions a bdi {
  font-variant-numeric: tabular-nums;
}

.hero :focus-visible,
#services :focus-visible,
#contact :focus-visible {
  outline: 3px solid #a0722d;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .hero[aria-labelledby="hero-title"] {
    display: block;
    min-height: 0;
    background-image: linear-gradient(180deg, #fff, #f2f6fa);
  }

  .hero[aria-labelledby="hero-title"]::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1672 / 941;
    background: #dfd9d0 var(--studio-mobile-hero, var(--studio-desktop-hero, url("../images/hero-workers.jpg"))) center / cover no-repeat;
    display: var(--studio-mobile-hero-display, block);
  }

  .hero .hero-inner {
    padding-block: 20px 26px;
  }

  .hero .hero-actions .btn {
    flex: 1 1 145px;
  }

  #services .service-card {
    min-height: 0;
  }

  #contact .contact-card {
    padding: 21px;
  }
}

#about {
  background: linear-gradient(135deg, #fff 45%, #eef4f8);
}

#prices {
  background: radial-gradient(ellipse at top right, #e6f0f7, transparent 64%), #f5f8fa;
}

#contact {
  background: linear-gradient(150deg, #eaf1f6, #f9fbfc 75%);
}

#journey .journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

#journey .journey-step {
  display: flex;
  flex-direction: column;
  border-block-start: 3px solid #b99054;
}

#journey .journey-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: auto;
  padding-block-start: 8px;
  color: #163c60;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#journey .journey-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 18px;
  text-align: start;
  color: #fff;
  background: linear-gradient(135deg, #102b45, #204d6a);
}

#journey .journey-cta h3,
#journey .journey-cta p {
  margin: 0;
}

#journey .journey-cta p {
  margin-block-start: 8px;
  color: #e1edf5;
}

#journey .journey-cta .btn {
  color: #102b45;
  background: #f3dfb9;
  border-color: #f3dfb9;
  min-height: 44px;
}

#journey :focus-visible {
  outline: 3px solid #a0722d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  #journey .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 550px) {
  #journey .journey-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-footer .footer-contact [data-public-contact-list] .btn {
  color: #102b45;
  background-color: #fff;
}

.site-footer .footer-contact [data-public-contact-list] .btn:hover,
.site-footer .footer-contact [data-public-contact-list] .btn:focus-visible {
  color: #102b45;
  background-color: #eaf2f7;
}

.site-footer .footer-contact [data-public-contact-list] .btn:focus-visible {
  outline: 2px solid #f3dfb9;
  outline-offset: 3px;
}

.floating-contact {
  position: fixed;
  bottom: 23px;
  left: 21px;
  z-index: 950;
  display: grid;
  gap: 12px;
}

.floating-contact[data-position="right"] {
  right: 80px;
  left: auto;
}

.floating-contact a:not([hidden]) {
  position: static;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease;
}

.floating-contact .floating-whatsapp {
  background: #078346;
  box-shadow: 0 6px 18px rgb(7 131 70 / 32%);
}

.floating-contact .floating-phone {
  background: #075a96;
  box-shadow: 0 6px 18px rgb(7 90 150 / 30%);
  font-size: 24px;
}

.floating-contact a:hover {
  transform: translateY(-3px);
}

.floating-contact a:focus-visible {
  outline: 3px solid #a0722d;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .floating-contact {
    bottom: 16px;
    left: 15px;
    gap: 10px;
  }

  .floating-contact[data-position="right"] {
    right: 70px;
  }

  .floating-contact a:not([hidden]) {
    width: 50px;
    height: 50px;
  }
}

.hero .hero-journey-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: 6px;
  color: #163c60;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.site-footer [data-footer-contact-list] {
  gap: 10px;
}

.site-footer [data-footer-contact-list] > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #3e5367;
  border-radius: 12px;
  background: #142c40;
}

.site-footer [data-footer-contact-list] strong,
.site-footer [data-footer-contact-list] .footer-contact-number {
  display: block;
  margin-block-end: 5px;
}

.site-footer [data-footer-contact-list] .footer-contact-number {
  width: fit-content;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .025em;
}

.site-footer [data-footer-contact-list] .contact-actions {
  gap: 6px;
}

.site-footer .footer-contact [data-footer-contact-list] .btn {
  display: flex;
  flex: 1 1 65px;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 44px;
  min-width: 0;
  padding: 8px;
  border-radius: 9px;
  direction: rtl;
  text-align: center;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.site-footer .footer-contact [data-footer-contact-list] .btn[data-contact-method="whatsapp"] {
  color: #075535;
  background: #e2f6eb;
  border-color: #bce5ce;
}

.site-footer .footer-contact [data-footer-contact-list] .btn[data-contact-method="whatsapp"]:hover,
.site-footer .footer-contact [data-footer-contact-list] .btn[data-contact-method="whatsapp"]:focus-visible {
  background: #c5ecd6;
}


/* =====================================================
   طبقة القراءة على الجوال (2026-11-28)
   الهدف: لا يقل أي نص عن 12px، وروابط التذييل سهلة اللمس (44px).
   للتراجع: احذف هذه الكتلة فقط.
===================================================== */
@media (max-width: 640px) {
    .brand .brand-name { font-size: 12.5px; }
    .hero-eyebrow { font-size: 12px; }
    #smart-contact .hc-option small,
    .hudud-connect .hc-option small { font-size: 12px; line-height: 1.6; }
    .footer-links { gap: 0; }
    .footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
    .site-footer .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
}
