@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Nunito+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #10222a;
  --muted: #5c6f78;
  --teal: #1f8fbb;
  --teal-dark: #176d9a;
  --blue-brand: #2d80b7;
  --mint: #e3f3f8;
  --blue: #d8ecf7;
  --cream: #fbf7ef;
  --white: #ffffff;
  --line: #dbe7e9;
  --shadow: 0 24px 70px rgba(16, 34, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.lang-ar {
  font-family: Cairo, "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  width: min(1200px, calc(100% - 40px));
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(45, 128, 183, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 48px rgba(16, 34, 42, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 126px;
  height: 42px;
  border-radius: 0;
  background: url("assets/brand/welcome-care-logo.webp") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

.brand strong {
  color: var(--blue-brand);
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.site-nav a,
.nav-trigger {
  appearance: none;
  border: 0;
  font: inherit;
  padding: 8px 11px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav .lang-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-nav .lang-link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.82;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.site-nav a:hover,
.nav-trigger:hover,
.nav-group.is-open > .nav-trigger,
.site-nav .lang-link {
  color: var(--teal-dark);
  background: var(--mint);
}

.nav-group {
  position: relative;
}

/* invisible bridge fills the gap between trigger and dropdown so hover doesn't break */
.nav-group::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-trigger span {
  font-size: 13px;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-start: 0;
  display: grid;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(45, 128, 183, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  border-radius: 8px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: center;
  padding: 140px 7vw 80px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Legacy service heroes compatibility (elderly-care + home-physiotherapy) */
.hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-ar .hero-bg img {
  transform: scaleX(-1);
}

.lang-ar .hero-media img {
  transform: scaleX(-1);
}

.lang-en.home-page .hero-media img {
  transform: scaleX(-1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.3) 67%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(13, 143, 134, 0.08), rgba(13, 143, 134, 0.0) 56%, rgba(16, 34, 42, 0.08));
}

.lang-ar .hero-overlay {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.3) 67%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(13, 143, 134, 0.08), rgba(13, 143, 134, 0.0) 56%, rgba(16, 34, 42, 0.08));
}

.lang-en.home-page .hero-overlay {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.3) 67%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(13, 143, 134, 0.08), rgba(13, 143, 134, 0.0) 56%, rgba(16, 34, 42, 0.08));
}

.hero-content {
  position: relative;
  max-width: 690px;
}

.lang-en.home-page .hero-content {
  justify-self: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.18;
  letter-spacing: 0;
}

.lang-ar h1 {
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.24;
}

.lang-en.home-page h1 {
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.24;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.hero-urgent-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 640px;
}

.hero-urgent-btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-urgent-btn:hover,
.hero-urgent-btn:focus-visible {
  transform: translateY(-2px);
}

.hero-urgent-btn--emergency {
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
  animation: hero-emergency-pulse 2.5s ease-in-out infinite;
}

.hero-urgent-btn--emergency::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -30%;
  width: 44px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: skewX(-16deg);
  animation: values-urgent-sheen 3.2s ease-in-out infinite;
}

.hero-urgent-btn--instant {
  background: linear-gradient(135deg, #0f8da8, #0b7f9b);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 127, 155, 0.30);
  min-width: 148px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-page .hero .hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 640px;
}

.service-page .hero .hero-actions .btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.service-page .hero .hero-actions .btn-primary {
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
}

.service-page .hero .hero-actions .btn-secondary {
  background: linear-gradient(135deg, #0f8da8, #0b7f9b);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 127, 155, 0.30);
  min-width: 148px;
}

.service-page .hero .hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(13, 143, 134, 0.24);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  border-color: rgba(13, 143, 134, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 7vw;
  background:
    linear-gradient(135deg, rgba(15, 127, 168, 0.96), rgba(23, 109, 154, 0.98)),
    var(--teal-dark);
  position: relative;
  overflow: hidden;
}

.trust-strip::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.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  position: relative;
  box-shadow: 0 16px 34px rgba(3, 30, 43, 0.10);
  transition: background 220ms ease, transform 220ms ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3px;
  letter-spacing: -0.5px;
}

.trust-item span {
  display: block;
  color: rgba(255, 255, 255, 0.80);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.section {
  padding: 92px 7vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.34;
}

.section-heading p:not(.eyebrow),
.split > div > p:not(.eyebrow),
.contact-band p {
  color: var(--muted);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(13, 143, 134, 0.36);
  box-shadow: 0 18px 42px rgba(16, 34, 42, 0.11);
  transform: translateY(-3px);
}

.service-card .icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: -22px 24px 20px;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(16, 34, 42, 0.16);
  z-index: 1;
}

.service-card .icon svg {
  width: 22px;
  height: 22px;
}

.service-card h2,
.service-card h3 {
  padding: 0 24px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  padding: 0 24px;
  color: var(--muted);
}

.service-link {
  margin-top: auto;
  padding: 0 24px 24px;
  color: var(--teal-dark);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.service-card-media {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--blue);
}

.service-hero {
  min-height: 520px;
  padding: 150px 7vw 72px;
  background:
    linear-gradient(135deg, rgba(223, 245, 239, 0.98), rgba(217, 234, 247, 0.96)),
    var(--mint);
}

.service-hero--media {
  position: relative;
  overflow: hidden;
  background: #eef7fb;
}

.service-hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, rgba(31, 143, 187, 0.12), rgba(16, 34, 42, 0.08));
}

.lang-ar .service-hero--media::before {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, rgba(31, 143, 187, 0.12), rgba(16, 34, 42, 0.08));
}

.service-hero-media {
  position: absolute;
  inset: 0;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero--media .service-hero-content {
  position: relative;
  z-index: 2;
}

.service-hero-content {
  max-width: 820px;
}

.service-hero h1 {
  margin-bottom: 20px;
}

.service-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.service-page .section {
  padding-block: 68px;
}

.service-page .service-intro {
  padding-top: 72px;
  padding-bottom: 44px;
}

.service-page .service-intro .section-heading {
  margin-bottom: 0;
}

.service-page .service-detail-grid {
  padding-top: 36px;
  padding-bottom: 64px;
}

.service-page .equipment-band {
  padding-block: 64px;
}

.service-page .service-gallery {
  padding-top: 56px;
  padding-bottom: 40px;
}

.service-page .service-faq {
  padding-top: 40px;
  padding-bottom: 48px;
}

.service-page #ambulance-form,
.service-page .service-form {
  padding-top: 40px;
  padding-bottom: 76px;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-block: 48px;
  background:
    linear-gradient(135deg, rgba(31, 143, 187, 0.95), rgba(23, 109, 154, 0.98)),
    var(--teal-dark);
  color: var(--white);
}

.service-cta .eyebrow,
.service-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.service-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 40px);
}

.service-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.service-cta .contact-actions {
  justify-content: flex-end;
}

.service-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.service-page #ambulance-form .booking-form-wrap,
.service-page .service-form .booking-form-wrap {
  margin-top: 0;
}

.doctor-page .doctor-hero {
  min-height: 88vh;
}

.nursing-page .nursing-hero {
  min-height: 88vh;
}

.lab-page .lab-hero {
  min-height: 88vh;
}

.xray-page .xray-hero {
  min-height: 88vh;
}

.ambulance-page .ambulance-hero {
  min-height: 88vh;
}

.equipment-page .equipment-hero {
  min-height: 88vh;
}

.service-page .service-landing-hero {
  min-height: 88vh;
}

.doctor-page .doctor-hero .back-link,
.nursing-page .nursing-hero .back-link,
.lab-page .lab-hero .back-link,
.xray-page .xray-hero .back-link,
.ambulance-page .ambulance-hero .back-link,
.equipment-page .equipment-hero .back-link,
.service-page .service-landing-hero .back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.doctor-specialties-section,
.nursing-services-section,
.lab-tests-section,
.xray-features-section,
.ambulance-features-section,
.equipment-features-section,
.service-features-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
}

.doctor-specialty-grid,
.nursing-service-grid,
.lab-test-grid,
.xray-feature-grid,
.ambulance-feature-grid,
.equipment-feature-grid,
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doctor-specialty-card,
.nursing-service-card,
.lab-test-card,
.xray-feature-card,
.ambulance-feature-card,
.equipment-feature-card,
.service-feature-card {
  display: flex;
  min-height: 410px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.doctor-specialty-card:hover,
.nursing-service-card:hover,
.lab-test-card:hover,
.xray-feature-card:hover,
.ambulance-feature-card:hover,
.equipment-feature-card:hover,
.service-feature-card:hover {
  border-color: rgba(13, 143, 134, 0.36);
  box-shadow: 0 18px 42px rgba(16, 34, 42, 0.11);
  transform: translateY(-3px);
}

.doctor-specialty-card img,
.nursing-service-card img,
.lab-test-card img,
.xray-feature-card img,
.ambulance-feature-card img,
.equipment-feature-card img,
.service-feature-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: var(--blue);
}

.doctor-specialty-card div,
.nursing-service-card div,
.lab-test-card div,
.xray-feature-card div,
.ambulance-feature-card div,
.equipment-feature-card div,
.service-feature-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.doctor-specialty-card span,
.nursing-service-card span,
.lab-test-card span,
.xray-feature-card span,
.ambulance-feature-card span,
.equipment-feature-card span,
.service-feature-card span {
  width: max-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31, 143, 187, 0.10);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.doctor-specialty-card h3,
.nursing-service-card h3,
.lab-test-card h3,
.xray-feature-card h3,
.ambulance-feature-card h3,
.equipment-feature-card h3,
.service-feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.doctor-specialty-card p,
.nursing-service-card p,
.lab-test-card p,
.xray-feature-card p,
.ambulance-feature-card p,
.equipment-feature-card p,
.service-feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.doctor-form-section,
.nursing-form-section,
.lab-form-section,
.xray-form-section,
.ambulance-form-section,
.equipment-form-section,
.service-form-section {
  background:
    linear-gradient(180deg, rgba(245, 251, 251, 0.95), rgba(255, 255, 255, 1));
}

.doctor-form-section .booking-form-wrap,
.nursing-form-section .booking-form-wrap,
.lab-form-section .booking-form-wrap,
.xray-form-section .booking-form-wrap,
.ambulance-form-section .booking-form-wrap,
.equipment-form-section .booking-form-wrap,
.service-form-section .booking-form-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.doctor-form-section .form-grid,
.nursing-form-section .form-grid,
.lab-form-section .form-grid,
.xray-form-section .form-grid,
.ambulance-form-section .form-grid,
.equipment-form-section .form-grid,
.service-form-section .form-grid {
  grid-template-columns: 1fr;
}

.doctor-form-section .form-group label,
.nursing-form-section .form-group label,
.lab-form-section .form-group label,
.xray-form-section .form-group label,
.ambulance-form-section .form-group label,
.equipment-form-section .form-group label,
.service-form-section .form-group label {
  display: none;
}

.doctor-form-section .form-footer,
.nursing-form-section .form-footer,
.lab-form-section .form-footer,
.xray-form-section .form-footer,
.ambulance-form-section .form-footer,
.equipment-form-section .form-footer,
.service-form-section .form-footer {
  justify-content: center;
  text-align: center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.detail-panel,
.booking-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 42, 0.06);
}

.detail-panel ul,
.booking-panel ul {
  margin: 0;
  padding-inline-start: 22px;
  color: var(--muted);
}

.detail-panel li,
.booking-panel li {
  margin: 10px 0;
}

.booking-panel {
  position: sticky;
  top: 110px;
}

.btn-panel {
  width: 100%;
  margin-top: 20px;
}

.distributed-cta,
.section-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.distributed-cta {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.distributed-cta .btn,
.section-inline-cta .btn {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13.5px;
}

.booking-panel .distributed-cta .btn {
  flex: 1 1 130px;
}

.section-inline-cta {
  margin-top: 22px;
}

.section-heading--right {
  max-width: 860px;
  margin-inline: 0;
  text-align: start;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.service-stats {
  display: grid;
  gap: 12px;
}

.service-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 42, 0.06);
}

.service-stats strong {
  display: block;
  color: var(--teal-dark);
  font-size: 26px;
  line-height: 1.2;
}

.service-stats span {
  color: var(--muted);
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.feature-list h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.specialty-list {
  counter-reset: specialty;
}

.specialty-list div {
  position: relative;
  padding-top: 54px;
  overflow: hidden;
}

.specialty-list div::before {
  counter-increment: specialty;
  content: counter(specialty, decimal-leading-zero);
  position: absolute;
  top: 16px;
  inset-inline-start: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.specialty-list div::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 72px;
  height: 72px;
  border-end-start-radius: 72px;
  background: rgba(31, 143, 187, 0.08);
  pointer-events: none;
}

.specialty-list h3 {
  color: var(--teal-dark);
}

.equipment-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  background: var(--mint);
}

.equipment-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment-list li {
  padding: 12px 14px;
  border: 1px solid rgba(45, 128, 183, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-weight: 800;
}

.highlighted-list {
  counter-reset: highlighted;
}

.highlighted-list li {
  position: relative;
  padding-inline-start: 54px;
}

.highlighted-list li::before {
  counter-increment: highlighted;
  content: counter(highlighted, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 34, 42, 0.06);
}

.faq-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.numbered-faq {
  counter-reset: faq;
}

.numbered-faq article {
  position: relative;
  padding-top: 58px;
}

.numbered-faq article::before {
  counter-increment: faq;
  content: "س" counter(faq);
  position: absolute;
  top: 18px;
  inset-inline-start: 22px;
  display: inline-flex;
  min-width: 34px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding-inline: 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.lang-en .numbered-faq article::before {
  content: "Q" counter(faq);
}

.numbered-faq h3 {
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.values-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 460px;
  margin-top: 22px;
}

.values-action {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.values-action:hover,
.values-action:focus-visible {
  transform: translateY(-3px);
}

.values-action--whatsapp {
  background: linear-gradient(135deg, #0f8da8, #0c6f8a);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(15, 127, 155, 0.34);
  animation: values-action-pulse 2.6s ease-in-out infinite;
}

.values-action--whatsapp::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -36%;
  width: 36px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-16deg);
  animation: values-urgent-sheen 3.4s ease-in-out infinite;
}

.values-action--call {
  border: 1px solid rgba(12, 121, 147, 0.22);
  background: #ffffff;
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(16, 34, 42, 0.14);
}

.values-action--call:hover,
.values-action--call:focus-visible {
  border-color: rgba(12, 121, 147, 0.44);
  box-shadow: 0 18px 34px rgba(16, 34, 42, 0.16);
}

@keyframes values-action-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(15, 127, 155, 0.34);
  }

  50% {
    box-shadow: 0 22px 42px rgba(15, 127, 155, 0.42);
  }
}

.value-list {
  display: grid;
  gap: 12px;
}

.value-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.value-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.value-list span {
  color: var(--muted);
}

.value-list .value-number {
  color: var(--white);
}

.process {
  padding-block: 56px;
  background: var(--cream);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.process-guide {
  display: grid;
  gap: 20px;
  align-content: start;
}

.process .section-heading {
  margin-bottom: 0;
}

.process .section-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
}

.process .section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.process .booking-form-wrap {
  margin-top: 0;
  padding: 26px;
}

.steps {
  display: grid;
  gap: 10px;
}

.steps article {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.steps span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 2px;
  font-size: 18px;
  line-height: 1.45;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.process .booking-form-header {
  margin-bottom: 20px;
}

.process .booking-form-header h3 {
  font-size: 20px;
}

.process .form-grid {
  gap: 14px;
}

.process .form-group {
  gap: 5px;
}

.process .form-group input,
.process .form-group select,
.process .form-group textarea {
  padding-block: 9px;
}

.process .form-group textarea {
  min-height: 82px;
}

.process .form-footer {
  gap: 12px;
  margin-top: 18px;
}

.process .btn-submit {
  min-height: 44px;
  padding: 10px 20px;
}

.booking-form-wrap {
  margin-top: 52px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-form-header {
  margin-bottom: 28px;
}

.booking-form-header h3 {
  margin-bottom: 6px;
  font-size: 22px;
  color: var(--ink);
}

.booking-form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-group label span {
  color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c6f78' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

.lang-en .form-group select {
  background-position: right 14px center;
  padding-right: 36px;
  padding-left: 14px;
}

.lang-ar .form-group select {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 143, 187, 0.14);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 108px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab6bc;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-submit {
  gap: 9px;
  padding: 13px 28px;
  font-size: 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  margin: 14px 0 0;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.form-message--success {
  background: #edfaf3;
  color: #1a7a40;
  border: 1px solid #a7e8c4;
}

.form-message--error {
  background: #fef2f2;
  color: #c0392b;
  border: 1px solid #fca5a5;
}

#bf-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 53, 69, 0.98), rgba(13, 105, 126, 0.98)),
    #0b3545;
  color: var(--white);
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.052) 0 1px, transparent 1px 52px),
    radial-gradient(circle at 16% 28%, rgba(245, 174, 0, 0.16), transparent 150px),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.10), transparent 220px);
  pointer-events: none;
}

.contact-band > * {
  position: relative;
  z-index: 1;
}

.contact-band-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 2px solid rgba(245, 174, 0, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f5ae00;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.035);
}

.contact-band h2 {
  margin-bottom: 10px;
  color: var(--white);
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-band-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

.contact-band .contact-actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.contact-btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.contact-btn--phone {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.16);
  animation: values-urgent-pulse 2.6s ease-in-out infinite;
}

.contact-btn--phone::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -38%;
  width: 42px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: values-urgent-sheen 3.4s ease-in-out infinite;
}

.contact-btn--whatsapp {
  border-color: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ── Footer ── */
/* Page motion */
.page-motion-ready .site-header {
  animation: wc-header-in 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.page-motion-ready .hero-media,
.page-motion-ready .hero-bg,
.page-motion-ready .service-hero-media {
  transform-origin: center;
  animation: wc-hero-drift 18s ease-in-out infinite alternate;
}

.page-motion-ready .svc-breadcrumb-list,
.page-motion-ready .hero-content .back-link,
.page-motion-ready .hero-content .eyebrow,
.page-motion-ready .hero-content h1,
.page-motion-ready .hero-content > p:not(.eyebrow),
.page-motion-ready .hero-copy,
.page-motion-ready .hero-actions,
.page-motion-ready .hero-urgent-actions {
  animation: wc-hero-copy-in 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.page-motion-ready .hero-content .eyebrow {
  animation-delay: 70ms;
}

.page-motion-ready .hero-content h1 {
  animation-delay: 90ms;
}

.page-motion-ready .hero-content > p:not(.eyebrow),
.page-motion-ready .hero-copy {
  animation-delay: 180ms;
}

.page-motion-ready .hero-actions,
.page-motion-ready .hero-urgent-actions {
  animation-delay: 270ms;
}

.page-motion-ready .wc-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(7px);
  transition:
    opacity 680ms ease var(--wc-reveal-delay, 0ms),
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--wc-reveal-delay, 0ms),
    filter 680ms ease var(--wc-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.page-motion-ready .wc-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.page-motion-ready .btn,
.page-motion-ready .hero-urgent-btn {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.page-motion-ready .btn:hover,
.page-motion-ready .btn:focus-visible,
.page-motion-ready .hero-urgent-btn:hover,
.page-motion-ready .hero-urgent-btn:focus-visible {
  transform: translateY(-2px);
}

.page-motion-ready .btn-primary:hover,
.page-motion-ready .btn-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(13, 143, 134, 0.32);
}

.page-motion-ready .hero-urgent-btn--emergency:hover,
.page-motion-ready .hero-urgent-btn--emergency:focus-visible {
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.page-motion-ready .service-card-media,
.page-motion-ready .service-feature-card img,
.page-motion-ready .xray-feature-card img,
.page-motion-ready .nursing-service-card img {
  transition: transform 520ms ease, filter 520ms ease;
}

.page-motion-ready .service-card:hover .service-card-media,
.page-motion-ready .service-card:focus-visible .service-card-media,
.page-motion-ready .service-feature-card:hover img,
.page-motion-ready .xray-feature-card:hover img,
.page-motion-ready .nursing-service-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.page-motion-ready .trust-icon {
  transition: transform 260ms ease, background 260ms ease;
}

.page-motion-ready .trust-item:hover .trust-icon {
  transform: translateY(-3px) scale(1.04);
  background: rgba(255, 255, 255, 0.22);
}

.page-motion-ready .value-list div,
.page-motion-ready .steps article,
.page-motion-ready .booking-form-wrap,
.page-motion-ready .service-card,
.page-motion-ready .service-stats > div,
.page-motion-ready .service-feature-card,
.page-motion-ready .xray-feature-card,
.page-motion-ready .nursing-service-card,
.page-motion-ready .doctor-specialty,
.page-motion-ready .service-detail-grid > div,
.page-motion-ready .service-faq article,
.page-motion-ready .service-faq details {
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.page-motion-ready .value-list div:hover,
.page-motion-ready .steps article:hover,
.page-motion-ready .service-card:hover,
.page-motion-ready .service-stats > div:hover,
.page-motion-ready .service-feature-card:hover,
.page-motion-ready .xray-feature-card:hover,
.page-motion-ready .nursing-service-card:hover,
.page-motion-ready .doctor-specialty:hover,
.page-motion-ready .service-detail-grid > div:hover,
.page-motion-ready .service-faq article:hover,
.page-motion-ready .service-faq details:hover {
  border-color: rgba(31, 143, 187, 0.24);
  box-shadow: 0 20px 48px rgba(16, 34, 42, 0.12);
  transform: translateY(-4px);
}

.page-motion-ready .booking-form-wrap:hover {
  border-color: rgba(31, 143, 187, 0.22);
  box-shadow: 0 28px 72px rgba(16, 34, 42, 0.17);
}

.page-motion-ready .contact-band {
  position: relative;
  overflow: hidden;
}

.page-motion-ready .contact-band::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -18%;
  width: min(44vw, 540px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-18deg) translateX(-150%);
  animation: wc-contact-sheen 7.5s ease-in-out infinite;
  pointer-events: none;
}

.page-motion-ready .contact-band > * {
  position: relative;
  z-index: 1;
}

@keyframes wc-header-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes wc-hero-drift {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.07) translate3d(0, -1.2%, 0);
  }
}

@keyframes wc-hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wc-contact-sheen {
  0%,
  34% {
    transform: skewX(-18deg) translateX(-150%);
  }

  58%,
  100% {
    transform: skewX(-18deg) translateX(360%);
  }
}

@keyframes hero-emergency-pulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
  }

  50% {
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.44);
  }
}

@keyframes values-urgent-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.16);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 255, 255, 0.26);
  }
}

@keyframes values-urgent-sheen {
  0%,
  38% {
    transform: skewX(-18deg) translateX(0);
  }

  68%,
  100% {
    transform: skewX(-18deg) translateX(360%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-page .site-header,
  .home-page .hero-media,
  .page-motion-ready .site-header,
  .page-motion-ready .hero-media,
  .page-motion-ready .hero-bg,
  .page-motion-ready .service-hero-media,
  .page-motion-ready .svc-breadcrumb-list,
  .page-motion-ready .hero-content .back-link,
  .page-motion-ready .hero-content .eyebrow,
  .page-motion-ready .hero-content h1,
  .page-motion-ready .hero-content > p:not(.eyebrow),
  .page-motion-ready .hero-copy,
  .page-motion-ready .hero-actions,
  .page-motion-ready .hero-urgent-actions,
  .home-page .hero-content .eyebrow,
  .home-page .hero-content h1,
  .home-page .hero-copy,
  .home-page .hero-actions,
  .hero-urgent-btn--emergency,
  .hero-urgent-btn--emergency::after,
  .home-page .contact-band::after,
  .page-motion-ready .contact-band::after,
  .contact-btn--phone,
  .contact-btn--phone::after,
  .values-action--whatsapp,
  .values-action--whatsapp::after {
    animation: none;
  }

  .page-motion-ready .wc-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.site-footer {
  background: #0b3545;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 1.4fr;
  gap: 36px;
  padding: 56px 7vw 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
  color: #fff;
}

.footer-logo .brand-mark {
  display: block;
  width: 110px;
  height: 38px;
  background: url("assets/brand/welcome-care-logo.webp") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  filter: brightness(10);
}

.footer-logo strong {
  font-size: 16px;
  color: #fff;
}

.footer-desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-license img {
  width: 92px;
  height: auto;
  display: block;
}

.footer-license span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  transition: background 180ms ease, color 180ms ease;
}

.social-btn:hover {
  background: var(--teal);
  color: #fff;
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  transition: color 150ms ease, padding-inline-start 150ms ease;
}

.footer-links a:hover {
  color: #fff;
  padding-inline-start: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--teal);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.80);
  transition: color 150ms ease;
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  height: 210px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 7vw;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom p {
  margin: 0;
}

.footer-dev strong {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 800;
}

.footer-dev {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.footer-dev a {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(31, 143, 187, 0.18);
  color: #fff;
  font-weight: 800;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.50);
  font-weight: 700;
  white-space: nowrap;
  transition: color 150ms;
}

.footer-bottom .footer-dev a {
  color: #fff;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    left: 50%;
    width: calc(100% - 24px);
    min-height: 68px;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
    text-align: center;
  }

  .nav-group {
    display: grid;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 6px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: var(--mint);
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
  }

  .hero {
    min-height: 0;
    padding: 360px 24px 56px;
    align-items: start;
    background: linear-gradient(180deg, #eef8fb 0%, #ffffff 48%, #f7fbfc 100%);
  }

  .hero-media {
    inset: 0 0 auto;
    height: 440px;
  }

  .hero-media img {
    object-position: 58% top;
  }

  .lang-ar .hero-media img,
  .lang-en.home-page .hero-media img {
    object-position: 42% top;
  }

  .hero-overlay,
  .lang-ar .hero-overlay,
  .lang-en.home-page .hero-overlay {
    inset: 0 0 auto;
    height: 440px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.94) 100%),
      linear-gradient(180deg, rgba(31, 143, 187, 0.04), rgba(255, 255, 255, 0));
  }

  .hero-content {
    max-width: 560px;
    padding-top: 18px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .hero h1 {
    margin-bottom: 14px;
  }

  .hero-copy {
    margin-bottom: 22px;
    color: #4d626b;
    line-height: 1.8;
  }

  .services-grid,
  .doctor-specialty-grid,
  .nursing-service-grid,
  .lab-test-grid,
  .xray-feature-grid,
  .ambulance-feature-grid,
  .equipment-feature-grid,
  .service-feature-grid,
  .steps,
  .split,
  .service-cta,
  .contact-band,
  .service-detail-grid,
  .service-intro,
  .equipment-band,
  .service-gallery,
  .faq-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .service-page .section,
  .service-page .equipment-band,
  .service-page .service-gallery,
  .service-page .service-faq,
  .service-page #ambulance-form,
  .service-page .service-form {
    padding-block: 44px;
  }

  .service-page .service-intro {
    padding-top: 52px;
    padding-bottom: 28px;
  }

  .service-page .service-detail-grid {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .booking-form-wrap {
    padding: 24px 18px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 18px 16px;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    text-align: center;
  }

  .booking-panel {
    position: static;
  }

  .section,
  .site-footer {
    padding-inline: 24px;
  }

  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    min-height: 60px;
    padding: 7px 8px;
  }

  .site-footer {
    padding-inline: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 106px;
    height: 34px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .menu-toggle span {
    margin-block: 4px;
  }

  .hero {
    min-height: 620px;
    padding: 118px 18px 28px;
    align-items: end;
    background: #eef8fb;
  }

  h1,
  .lang-ar h1,
  .lang-en.home-page h1 {
    font-size: 28px;
    line-height: 1.34;
  }

  .hero-media {
    inset: 0;
    height: auto;
    background: #eef8fb;
  }

  .hero-media img {
    object-fit: cover;
    object-position: center top;
  }

  .lang-ar .hero-media img,
  .lang-en.home-page .hero-media img {
    transform: none;
    object-position: center top;
  }

  .hero-copy {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: 14.5px;
    line-height: 1.75;
  }

  .hero-overlay,
  .lang-ar .hero-overlay,
  .lang-en.home-page .hero-overlay {
    inset: 0;
    height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0.90) 100%),
      linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.54) 48%, rgba(255, 255, 255, 0.02) 100%),
      linear-gradient(180deg, rgba(31, 143, 187, 0.03), rgba(16, 34, 42, 0.07));
  }

  .hero-content {
    max-width: 390px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .lang-en.home-page .hero-content {
    justify-self: center;
  }

  .hero .eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .hero h1 {
    margin-bottom: 10px;
  }

  .hero-actions {
    gap: 9px;
  }

  .service-page .hero .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 332px;
    margin-inline: auto;
    justify-items: center;
  }

  .service-page .hero .hero-actions .btn {
    min-height: 46px;
    width: 100%;
    padding-inline: 14px;
    font-size: 14px;
    text-align: center;
  }

  .hero-urgent-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 332px;
    margin-inline: auto;
    justify-items: center;
  }

  .hero-urgent-btn {
    min-height: 46px;
    width: 100%;
    padding-inline: 14px;
    font-size: 14px;
    text-align: center;
  }

  .hero-urgent-btn--instant {
    min-width: 0;
  }

  .hero .btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .home-page .hero-media {
    animation: none;
  }

  .btn,
  .contact-actions a {
    width: 100%;
  }

  .section {
    padding-block: 64px;
  }

  .contact-band {
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .contact-band-icon {
    width: 74px;
    height: 74px;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.035);
  }

  .contact-band .contact-actions {
    width: 100%;
    min-width: 0;
  }

  .contact-btn {
    width: 100%;
  }

  .split {
    gap: 22px;
  }

  .values-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col + .footer-col {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .footer-col:nth-child(4) {
    display: none;
  }

  .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 16px;
  }

  .footer-logo .brand-mark {
    width: 128px;
    height: 44px;
  }

  .footer-desc {
    max-width: 320px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .footer-socials {
    order: 3;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: var(--white);
  }

  .footer-license {
    order: 4;
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
    padding: 8px 10px;
    text-align: center;
  }

  .footer-license img {
    width: 78px;
  }

  .footer-license span {
    font-size: 12px;
  }

  .footer-heading {
    margin-bottom: 14px;
    letter-spacing: 0;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
    max-width: 360px;
    margin-inline: auto;
  }

  .footer-links li {
    display: inline-flex;
    align-items: center;
  }

  .footer-links li:not(:last-child)::after {
    content: "|";
    margin-inline: 9px;
    color: rgba(255, 255, 255, 0.34);
  }

  .footer-links a {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-links a:hover {
    padding-inline-start: 0;
  }

  .footer-contact-list {
    max-width: 320px;
    margin-inline: auto;
    gap: 10px;
  }

  .footer-contact-list li {
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
  }

  .footer-contact-list svg {
    margin-top: 0;
  }

  .footer-map-wrap {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 24px 96px;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
  }

  .footer-dev {
    order: -1;
    width: 100%;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
  }

  .footer-dev a {
    margin-inline-start: 4px;
    padding: 5px 12px;
    background: var(--teal);
    box-shadow: 0 8px 20px rgba(31, 143, 187, 0.24);
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .brand strong,
  .brand small {
    display: none;
  }

  .site-nav a,
  .nav-trigger {
    padding-inline: 9px;
    font-size: 13px;
  }

  .services-grid,
  .doctor-specialty-grid,
  .nursing-service-grid,
  .lab-test-grid,
  .xray-feature-grid,
  .ambulance-feature-grid,
  .equipment-feature-grid,
  .service-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .services-grid,
  .doctor-specialty-grid,
  .nursing-service-grid,
  .lab-test-grid,
  .xray-feature-grid,
  .ambulance-feature-grid,
  .equipment-feature-grid,
  .service-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .site-header {
    width: calc(100% - 16px);
    padding-inline: 8px;
  }

  .brand-mark {
    width: 98px;
  }

  .hero {
    min-height: 590px;
    padding: 104px 16px 24px;
  }

  .doctor-specialty-card,
  .nursing-service-card,
  .lab-test-card,
  .xray-feature-card,
  .ambulance-feature-card,
  .equipment-feature-card,
  .service-feature-card {
    min-height: 0;
  }

  .doctor-specialty-card img,
  .nursing-service-card img,
  .lab-test-card img,
  .xray-feature-card img,
  .ambulance-feature-card img,
  .equipment-feature-card img,
  .service-feature-card img {
    height: 180px;
  }

  h1,
  .lang-ar h1,
  .lang-en.home-page h1 {
    font-size: 26px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-media img {
    object-position: center top;
  }

  .lang-ar .hero-media img,
  .lang-en.home-page .hero-media img {
    object-position: center top;
  }

  .form-grid {
    gap: 10px;
  }

  .form-group label {
    font-size: 12.5px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding-inline: 10px;
    font-size: 13.5px;
  }

  .lang-en .form-group select {
    padding-right: 34px;
    padding-left: 10px;
  }

  .lang-ar .form-group select {
    padding-right: 10px;
    padding-left: 34px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-icon {
    width: 42px;
    height: 42px;
  }

  .trust-icon svg {
    width: 23px;
    height: 23px;
  }

  .trust-item strong {
    font-size: 23px;
  }

  .trust-item span {
    font-size: 12px;
  }

  .service-card-media {
    height: 168px;
  }
}

/* ── Floating Contact Buttons ── */
.float-contact {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);
  transition: transform 220ms ease, box-shadow 220ms ease;
  overflow: visible;
  flex-shrink: 0;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.float-btn svg {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* WhatsApp */
.float-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #1aad52);
}

.float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: float-pulse 2.6s ease-out infinite;
}

@keyframes float-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Phone */
.float-btn--phone {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: float-ring 2.8s ease-out infinite;
}

@keyframes float-ring {
  0%   { transform: scale(1); opacity: 0.65; }
  65%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.float-btn--phone svg {
  animation: phone-shake 3.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes phone-shake {
  0%, 50%, 100% { transform: rotate(0deg); }
  55%  { transform: rotate(-17deg); }
  60%  { transform: rotate(17deg); }
  65%  { transform: rotate(-12deg); }
  70%  { transform: rotate(12deg); }
  75%  { transform: rotate(-6deg); }
  80%  { transform: rotate(0deg); }
}

/* Desktop tooltip */
.float-label {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(16, 34, 42, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.float-label::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: rgba(16, 34, 42, 0.88);
}

.float-btn:hover .float-label,
.float-btn:focus-visible .float-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── Mobile: two-tone pill at bottom center ── */
@media (max-width: 767px) {
  .float-contact {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    width: max-content;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border-radius: 50px;
  }

  .float-btn {
    width: auto;
    height: 50px;
    border-radius: 0;
    padding: 0 20px;
    gap: 9px;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
  }

  .float-btn:hover {
    transform: none;
    box-shadow: none;
    filter: brightness(1.06);
  }

  /* border-inline-end = left of WhatsApp in RTL, right of WhatsApp in LTR — both place divider between the two buttons */
  .float-btn--whatsapp {
    border-inline-end: 1.5px solid rgba(255, 255, 255, 0.25);
  }

  /* Show label inline on mobile */
  .float-label {
    position: static;
    transform: none;
    opacity: 1;
    background: none;
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    pointer-events: auto;
    transition: none;
  }

  .float-label::before {
    display: none;
  }

  /* Hide pulse/ring on mobile — pill shape makes them redundant */
  .float-pulse,
  .float-ring {
    display: none;
  }

  .float-btn--phone svg {
    animation: phone-shake 3.5s ease-in-out infinite;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .float-btn {
    padding: 0 15px;
    gap: 7px;
    font-size: 13px;
    height: 46px;
  }

  .float-btn svg {
    width: 19px;
    height: 19px;
  }
}

/* ── Service Page Breadcrumb ── */
.svc-breadcrumb {
  margin-bottom: 20px;
}

.svc-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.svc-breadcrumb-list li {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.svc-breadcrumb-list li + li::before {
  content: '›';
  padding-inline: 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  opacity: 0.55;
}

.svc-breadcrumb-list a {
  color: var(--teal-dark);
  font-weight: 600;
  transition: opacity 130ms;
}

.svc-breadcrumb-list a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.svc-breadcrumb-list li[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.service-hero--media .svc-breadcrumb-list li {
  color: rgba(255, 255, 255, 0.72);
}

.service-hero--media .svc-breadcrumb-list a {
  color: rgba(255, 255, 255, 0.92);
}

.service-hero--media .svc-breadcrumb-list li + li::before {
  color: rgba(255, 255, 255, 0.5);
}

.service-hero--media .svc-breadcrumb-list li[aria-current="page"] {
  color: #fff;
}

/* ── Testimonials Slider ──────────────────────────────── */
.testimonials-section {
  background: var(--cream);
}

.testimonials-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  direction: ltr;
}

.testimonials-viewport {
  flex: 1;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  direction: ltr;
}

.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  direction: rtl;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-rating {
  color: #f5a623;
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
  flex: 1;
  position: relative;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--mint);
  line-height: 0;
  position: absolute;
  top: 18px;
  right: -6px;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue-brand));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Nav buttons */
.t-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms, color 180ms, box-shadow 180ms;
}

.t-nav:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 4px 16px rgba(31, 143, 187, 0.18);
}

.t-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dots */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms, width 200ms, border-radius 200ms;
}

.t-dot.is-active {
  background: var(--teal);
  width: 26px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 540px) {
  .testimonials-slider {
    gap: 6px;
  }
  .testimonial-card {
    flex: 0 0 100%;
    padding: 20px 18px 18px;
  }
  .t-nav {
    width: 36px;
    height: 36px;
  }
}
