:root {
  --navy: #082b5f;
  --navy-deep: #061b3d;
  --green: #087b4a;
  --green-dark: #05613b;
  --orange: #ee7a22;
  --paper: #f5f9fb;
  --surface: #ffffff;
  --text: #172234;
  --muted: #687789;
  --border: #d9e8ee;
  --shadow: 0 16px 38px rgba(8, 43, 95, .08);
  --shadow-strong: 0 18px 44px rgba(8, 43, 95, .13);
  --radius: 8px;
  --container: 1120px;
  --font-ar: "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-ar);
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 48%, #ffffff 100%);
  line-height: 1.7;
}

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

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

button {
  border: 0;
  font: inherit;
}

a:focus-visible,
button:focus-visible,
.service-carousel:focus-visible {
  outline: 3px solid rgba(238, 122, 34, .72);
  outline-offset: 4px;
}

.page-shell {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 10px 16px;
}

.image-zone {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.image-zone img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.interactive-zone {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(217, 232, 238, .95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-strong);
  padding: 18px 12px 20px;
}

.section-heading {
  margin: 0 0 14px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.25;
}

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

.contact-tab {
  display: grid;
  min-width: 0;
  min-height: 70px;
  place-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy-deep);
  padding: 10px 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(8, 43, 95, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.contact-tab--whatsapp {
  border-color: rgba(8, 123, 74, .34);
  background: linear-gradient(180deg, #ffffff, #f7fcf9);
}

.contact-tab--facebook {
  border-color: rgba(8, 43, 95, .34);
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.contact-tab--phone {
  border-color: rgba(238, 122, 34, .36);
  background: linear-gradient(180deg, #ffffff, #fff9f4);
}

.contact-tab:hover {
  transform: translateY(-1px);
}

.contact-tab.is-active {
  border-color: rgba(8, 123, 74, .58);
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(8, 123, 74, .16);
}

.contact-tab--facebook.is-active {
  border-color: rgba(8, 43, 95, .45);
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  color: var(--navy);
}

.contact-tab--phone.is-active {
  border-color: rgba(238, 122, 34, .55);
  background: linear-gradient(180deg, #ffffff, #fff8f2);
  color: #b85313;
}

.contact-tab__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 123, 74, .1);
  color: currentColor;
}

.contact-tab--facebook .contact-tab__icon {
  background: rgba(8, 43, 95, .1);
}

.contact-tab--phone .contact-tab__icon {
  background: rgba(238, 122, 34, .13);
}

.contact-tab__icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-panel {
  margin-top: 12px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.contact-panel.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.contact-panel.is-ready:has(.contact-link--whatsapp),
.contact-panel.is-ready:has(.contact-link--phone) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
}

.contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section:first-child,
.contact-panel.is-ready:has(.contact-link--phone) .contact-section:first-child {
  grid-column: 1 / -1;
}

.contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section + .contact-section,
.contact-panel.is-ready:has(.contact-link--phone) .contact-section + .contact-section {
  margin-top: 0;
}

.contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section:not(:first-child) .contact-links,
.contact-panel.is-ready:has(.contact-link--phone) .contact-section:not(:first-child) .contact-links {
  grid-template-columns: 1fr;
}

.contact-section + .contact-section {
  margin-top: 12px;
}

.contact-section h3 {
  margin: 0 0 7px;
  color: var(--green-dark);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.35;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-link {
  display: grid;
  min-width: 0;
  height: 104px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(8, 43, 95, .1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfe);
  color: var(--navy-deep);
  padding: 10px;
  box-shadow: 0 8px 18px rgba(8, 43, 95, .05);
}

.contact-link:hover {
  border-color: rgba(8, 123, 74, .35);
}

.contact-link__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 123, 74, .1);
  color: var(--green-dark);
}

.contact-link--facebook .contact-link__icon {
  background: rgba(8, 43, 95, .1);
  color: var(--navy);
}

.contact-link--phone .contact-link__icon {
  background: rgba(238, 122, 34, .13);
  color: var(--orange);
}

.contact-link__icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-link__text {
  display: grid;
  min-width: 0;
  align-content: center;
  max-height: 100%;
}

.contact-link strong {
  min-width: 0;
  color: var(--navy-deep);
  font-size: clamp(.78rem, 3vw, .92rem);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-link--whatsapp strong {
  font-size: clamp(.7rem, 2.85vw, .84rem);
  line-height: 1.12;
}

.contact-link small {
  min-width: 0;
  margin-top: 2px;
  color: var(--muted);
  font-size: clamp(.68rem, 2.55vw, .82rem);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.services-area {
  margin-top: 34px;
}

.service-stage {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  max-width: 100%;
}

.service-carousel {
  display: flex;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 1px 12px;
  scrollbar-width: none;
}

.service-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  display: grid;
  flex: 0 0 78%;
  min-height: 126px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  scroll-snap-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 14px 12px;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(8, 43, 95, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-1px);
}

.service-card.is-active {
  border-color: rgba(8, 123, 74, .58);
  box-shadow: 0 16px 34px rgba(8, 123, 74, .16);
}

.service-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.service-card:nth-child(3n + 1) .service-card__icon {
  background: var(--green);
}

.service-card:nth-child(3n) .service-card__icon {
  background: var(--orange);
}

.service-card__icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.service-card__text {
  display: grid;
  min-width: 0;
}

.service-card strong {
  min-width: 0;
  color: var(--navy-deep);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.service-card small {
  min-width: 0;
  margin-top: 4px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-arrow {
  display: none;
}

.service-detail {
  margin-top: 8px;
  border: 1px solid rgba(8, 123, 74, .22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdfe);
  padding: 18px 14px;
  box-shadow: 0 10px 24px rgba(8, 43, 95, .06);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.service-detail.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.service-detail__label {
  display: inline-flex;
  max-width: 100%;
  border-inline-start: 4px solid var(--orange);
  color: var(--muted);
  padding-inline-start: 8px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
}

.service-detail h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(1.28rem, 5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.35;
}

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

.service-detail__copy p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.service-arrow::before {
  width: 12px;
  height: 12px;
  content: "";
  border-block-start: 3px solid currentColor;
  border-inline-start: 3px solid currentColor;
}

.service-arrow--prev::before {
  transform: rotate(135deg);
}

.service-arrow--next::before {
  transform: rotate(-45deg);
}

@media (min-width: 390px) {
  .page-shell {
    padding: 14px 14px 18px;
  }

  .interactive-zone {
    padding: 20px 14px 22px;
  }

  .contact-tab {
    font-size: 1.05rem;
  }
}

@media (min-width: 620px) {
  .page-shell {
    padding: 18px 18px 22px;
  }

  .interactive-zone {
    padding: 26px 22px 28px;
  }

  .contact-tab {
    min-height: 78px;
    grid-template-columns: 36px auto;
    justify-content: center;
    font-size: 1.12rem;
  }

  .contact-tab__icon {
    width: 36px;
    height: 36px;
  }

  .contact-links {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  }

  .contact-panel.is-ready:has(.contact-link--whatsapp),
  .contact-panel.is-ready:has(.contact-link--phone) {
    display: block;
  }

  .contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section:first-child,
  .contact-panel.is-ready:has(.contact-link--phone) .contact-section:first-child {
    grid-column: auto;
  }

  .contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section + .contact-section,
  .contact-panel.is-ready:has(.contact-link--phone) .contact-section + .contact-section {
    margin-top: 12px;
  }

  .contact-panel.is-ready:has(.contact-link--whatsapp) .contact-section:not(:first-child) .contact-links,
  .contact-panel.is-ready:has(.contact-link--phone) .contact-section:not(:first-child) .contact-links {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  }

  .contact-link {
    height: 80px;
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .contact-link__icon {
    width: 32px;
    height: 32px;
  }

  .service-card {
    flex-basis: 304px;
  }
}

@media (min-width: 768px) {
  .interactive-zone {
    margin: 22px 0;
    padding: 32px 28px 34px;
  }

  .services-area {
    margin-top: 42px;
  }

  .service-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
  }

  .service-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(8, 43, 95, .08);
  }

  .service-detail {
    margin-inline: 54px;
    padding: 22px 24px;
  }
}

@media (min-width: 1024px) {
  .interactive-zone {
    padding: 38px 34px 40px;
  }

  .service-card {
    flex-basis: 316px;
  }

  .service-detail__copy p {
    font-size: 1.1rem;
  }
}

@media (max-width: 374px) {
  .page-shell {
    padding-inline: 8px;
  }

  .interactive-zone {
    padding-inline: 10px;
  }

  .contact-tabs {
    gap: 6px;
  }

  .contact-tab {
    font-size: .95rem;
    min-height: 66px;
  }

  .contact-tab__icon {
    width: 28px;
    height: 28px;
  }

  .contact-link strong {
    font-size: clamp(.76rem, 3vw, .88rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
