/* Riyadh Khidma — professional multi-page layout */
:root {
  /* Reference-inspired greens: honeydew surfaces, band green, lime CTAs */
  --bg: #f1f8e9;
  --bg-elevated: #ffffff;
  --ink: #263238;
  --muted: #546e7a;
  --accent: #f7931e;
  --accent-hover: #d9790e;
  --gold-line: #ffc107;
  --highlight: #fff9c4;
  --teal: #66bb6a;
  --teal-dark: #2e7d32;
  --green-band: #3d8b3d;
  --green-band-dark: #357a35;
  --brand-blue: #1a6aad;
  /* Soft alternate strip (light mint, not the band green) */
  --navy: #e8f5d0;
  --green-soft: rgba(46, 125, 50, 0.12);
  --green-soft-mid: rgba(46, 125, 50, 0.1);
  --green-soft-08: rgba(46, 125, 50, 0.08);
  --green-border: rgba(46, 125, 50, 0.35);
  --green-border-strong: rgba(46, 125, 50, 0.55);
  --band-tint: rgba(61, 139, 61, 0.14);
  --band-tint-soft: rgba(61, 139, 61, 0.07);
  --border: rgba(46, 125, 50, 0.14);
  --shadow: 0 22px 55px rgba(27, 38, 47, 0.1);
  --shadow-sm: 0 4px 16px rgba(27, 38, 47, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font-ar: "Tajawal", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --font-en: "Outfit", system-ui, sans-serif;
  --max: 1140px;
  --header-h: 64px;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

/* Slightly darker secondary color + medium default weight — thin 400 on small Arabic is hard to read */
html[lang="ar"] {
  --muted: #455a64;
}

html[lang="ar"] body {
  line-height: 1.82;
  font-size: 1.075rem;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #14508a;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  padding: 0.6rem 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 2px var(--teal), var(--shadow-sm);
  z-index: 2000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold-line);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.text-muted {
  color: var(--muted);
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--bg-elevated);
  align-items: center;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--ink);
}

.lang-switch__btn.is-active {
  background: var(--teal);
  color: #fff;
}

.lang-switch__btn:hover:not(.is-active) {
  background: var(--green-soft);
}

.page-hero .accent-link {
  color: var(--accent);
  text-decoration: none;
}

.page-hero .accent-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 248, 233, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo__img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(300px, 52vw);
  object-fit: contain;
}

@media (max-width: 767px) {
  .brand-logo__img {
    height: 44px;
    max-width: 56px;
  }
}

.nav ul {
  display: flex;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover {
  color: var(--accent);
}

.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--gold-line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(165deg, var(--teal) 0%, #43a047 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(67, 160, 71, 0.38);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 32px rgba(67, 160, 71, 0.48);
}

.btn-accent {
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(247, 147, 30, 0.42);
}

.btn-accent:hover {
  color: #fff;
  box-shadow: 0 12px 34px rgba(247, 147, 30, 0.55);
}

.btn-call.btn-primary {
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 10px 28px rgba(247, 147, 30, 0.38);
}

.btn-call.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(247, 147, 30, 0.48);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--green-border);
}

.btn-ghost:hover {
  background: var(--green-soft-08);
  color: #1b5e20;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.75);
  color: var(--teal-dark);
  border-color: var(--green-border-strong);
}

.btn-outline-light:hover {
  background: var(--green-soft-mid);
  color: #1b5e20;
  border-color: var(--green-border-strong);
}

.btn-lg {
  padding: 0.88rem 1.65rem;
  font-size: 1.02rem;
}

.btn-call {
  flex-direction: column;
  align-items: flex-start;
  padding-block: 0.42rem;
  line-height: 1.2;
}

.btn-call .btn-label {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.95;
}

.btn-call .btn-num {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  bottom: 15px;
}

.nav-panel {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 0.75rem 0 1rem;
}

.nav-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-panel-list a {
  display: block;
  padding: 0.55rem 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-panel-list a[aria-current="page"] {
  color: var(--accent);
}

.nav-panel-cta {
  color: var(--accent) !important;
  font-family: var(--font-en);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .btn-call {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .lang-switch {
    order: 2;
    margin-inline-start: auto;
  }
}

@media (min-width: 901px) {
  .nav-panel {
    display: none !important;
  }
}

/* ——— Hero banner (home) ——— */
.hero-banner {
  position: relative;
  min-height: calc(100vh - 5.25rem);
  min-height: calc(100svh - 5.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__img {
    filter: saturate(1.02);
  }
}

.hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Translucent white over sharp photo — no blur on the image */
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.52) 100%
  );
  pointer-events: none;
}

.hero-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.hero-banner__title {
  margin: 0 0 clamp(1rem, 2.6vw, 1.5rem);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  color: #1b2630;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.95),
    0 0 48px rgba(255, 255, 255, 0.65),
    0 2px 4px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(27, 38, 47, 0.18);
}

html[lang="en"] .hero-banner__title {
  font-family: var(--font-en);
  letter-spacing: -0.025em;
}

.hero-banner__areas-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.52rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(165deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 999px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 6px 20px rgba(27, 94, 32, 0.38);
}

[dir="rtl"] .hero-banner__areas-label {
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.92rem;
  padding-block: 0.52rem;
}

html[lang="en"] .hero-banner__areas-label {
  font-family: var(--font-en);
}

.hero-banner__badges {
  list-style: none;
  margin: 0 auto clamp(1.05rem, 2.8vw, 1.45rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: center;
  align-items: center;
  max-width: 44rem;
}

.hero-banner__badges li {
  margin: 0;
  padding: 0;
}

.hero-banner__badge {
  display: inline-block;
  padding: 0.48rem 1.05rem;
  font-size: clamp(0.76rem, 1.65vw, 0.88rem);
  font-weight: 800;
  color: #1b5e20;
  letter-spacing: 0.02em;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(232, 245, 208, 0.88) 100%
  );
  border: 1px solid rgba(67, 160, 71, 0.5);
  border-radius: 999px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 4px 18px rgba(46, 125, 50, 0.12);
}

html[lang="en"] .hero-banner__badge {
  font-family: var(--font-en);
}

.hero-banner__services-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.8rem;
  padding: 0.5rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(165deg, #1a6aad 0%, #14508a 100%);
  border-radius: 999px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 6px 18px rgba(26, 106, 173, 0.35);
}

[dir="rtl"] .hero-banner__services-label {
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.88rem;
}

html[lang="en"] .hero-banner__services-label {
  font-family: var(--font-en);
}

.hero-banner__service-tags {
  list-style: none;
  margin: 0 auto clamp(1.15rem, 3vw, 1.55rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: center;
  align-items: center;
  max-width: 52rem;
}

.hero-banner__service-tags li {
  margin: 0;
  padding: 0;
}

.hero-banner__service-tag {
  display: inline-block;
  padding: 0.52rem 1.05rem;
  font-size: clamp(0.74rem, 1.5vw, 0.9rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  color: #0d3d61;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid var(--brand-blue);
  border-radius: 999px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 16px rgba(26, 106, 173, 0.15);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hero-banner__service-tag:hover {
  color: #fff;
  background: linear-gradient(165deg, #1a6aad 0%, #14508a 100%);
  border-color: #0d3d61;
  box-shadow: 0 8px 24px rgba(26, 106, 173, 0.35);
  transform: translateY(-1px);
}

.hero-banner__service-tag:focus-visible {
  outline: 3px solid var(--gold-line);
  outline-offset: 3px;
}

html[lang="en"] .hero-banner__service-tag {
  font-family: var(--font-en);
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.1rem;
  justify-content: center;
  align-items: center;
}

.hero-banner__cta svg {
  flex-shrink: 0;
}

/* ——— Trust strip ——— */
.trust-strip {
  background: linear-gradient(180deg, var(--green-band) 0%, var(--green-band-dark) 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 1rem;
  padding: 1.25rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
}

.trust-item__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.trust-item span,
.trust-item a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.trust-item a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ——— Sections ——— */
.section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.section--tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head--left {
  text-align: start;
  margin-inline: 0;
}

/* Why grid home */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.15rem;
}

.pillar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--band-tint), var(--band-tint-soft));
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.pillar-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Service teaser grid */
.section--services-preview {
  background: linear-gradient(180deg, var(--bg) 0%, #e8f5d0 100%);
}

.service-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-teaser {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-teaser:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-teaser__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.service-teaser__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-teaser h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.service-teaser p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.65;
}

.service-teaser__link {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}

.service-teaser__link:hover {
  color: var(--accent-hover);
}

/* Gallery — wider track + 2×2 grid so each photo uses more space */
.section--gallery-wide {
  --gallery-max: min(100% - 1.5rem, min(94vw, 1380px));
}

.section--gallery-wide .container--gallery {
  width: var(--gallery-max);
  max-width: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.35rem);
}

@media (min-width: 520px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

@media (min-width: 900px) {
  .gallery-item {
    aspect-ratio: 16 / 10;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonials */
.section--testimonials {
  background: #e8f0d8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 0.85rem;
}

.quote-card p {
  flex: 1 1 auto;
  margin: 0;
  min-height: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.quote-card footer {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stars {
  color: #ca8a04;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

/* CTA band — band green like reference, white copy + lime primary button */
.cta-band {
  background: linear-gradient(180deg, var(--green-band) 0%, var(--green-band-dark) 100%);
  color: #fff;
  padding: clamp(2.25rem, 4vw, 3rem) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

.cta-band .btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Inner page hero ——— */
.page-hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(241, 248, 233, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--brand-blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
}

.page-hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Service detail pages: show hero photo more clearly */
.page-hero--service .page-hero__bg {
  opacity: 0.5;
}

.page-hero--service .page-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(241, 248, 233, 0.78) 0%,
    rgba(255, 255, 255, 0.72) 100%
  );
}

/* ——— Services hub ——— */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

.service-hub-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  align-items: start;
  transition: box-shadow 0.2s;
}

@media (max-width: 500px) {
  .service-hub-card {
    grid-template-columns: 1fr;
  }
}

.service-hub-card:hover {
  box-shadow: var(--shadow);
}

.service-hub-card__img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

.service-hub-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.service-hub-card h2 a {
  color: inherit;
  text-decoration: none;
}

.service-hub-card h2 a:hover {
  color: var(--accent);
}

.service-hub-card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ——— Detail layout ——— */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.detail-main {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.detail-main h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.detail-main h2:first-of-type {
  margin-top: 0;
}

.detail-feature-media {
  margin: 0 0 1.35rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.detail-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-main ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  color: var(--muted);
}

.detail-main li + li {
  margin-top: 0.35rem;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-card {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.sidebar-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.sidebar-card .btn-primary {
  width: 100%;
  margin-bottom: 0.65rem;
}

.sidebar-card .btn-ghost {
  width: 100%;
  margin-top: 0;
  border-color: var(--green-border);
  color: var(--teal-dark);
}

.sidebar-card .btn-ghost:hover {
  background: var(--green-soft-08);
  color: #1b5e20;
}

.sidebar-card a:not(.btn) {
  color: var(--brand-blue);
}

.sidebar-mini {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.sidebar-mini dt {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-mini dd {
  margin: 0 0 0.65rem;
}

.sidebar-mini dd:last-child {
  margin-bottom: 0;
}

/* About page blocks */
.prose-block {
  max-width: 65ch;
}

.prose-block p + p {
  margin-top: 1rem;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chips-row span {
  padding: 0.35rem 0.75rem;
  background: var(--green-soft-mid);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-alert {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-alert--error {
  background: #ffebee;
  border: 1px solid #e57373;
  color: #b71c1c;
}

.form-alert--ok {
  background: #e8f5e9;
  border: 1px solid var(--teal);
  color: var(--teal-dark);
}

.form-alert__intro {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.form-alert__list {
  margin: 0;
  padding-inline-start: 1.25rem;
  list-style-type: disc;
}

.form-alert__list li {
  margin: 0.2rem 0;
  font-weight: 600;
}

.form-hint {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

abbr.req {
  text-decoration: none;
  color: var(--accent);
  font-weight: 800;
  margin-inline-start: 0.15em;
}

.label-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85em;
  margin-inline-start: 0.35em;
}

.phone-input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.phone-input-group__prefix {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  max-width: 8rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #f5f5f5;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
}

.phone-input-group input[type="text"] {
  flex: 1 1 10rem;
  min-width: 0;
  width: auto;
}

.form-fieldset {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
}

.form-legend {
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.svc-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.45rem 1rem;
  margin-top: 0.35rem;
}

.svc-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

.svc-check input {
  margin-top: 0.2em;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--teal-dark);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.contact-card a {
  color: var(--teal-dark);
  text-decoration: none;
}

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2);
}

.map-embed-foot {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.map-embed-foot a {
  color: var(--teal-dark);
  text-decoration: none;
}

.map-embed-foot a:hover {
  text-decoration: underline;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 2.75rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 220px 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand strong {
  font-family: var(--font-en);
  font-size: 1.15rem;
  color: var(--ink);
}

.footer-brand span {
  font-size: 0.88rem;
}

.footer-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 640px) and (max-width: 959px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col--services {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .footer-columns {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 1.5rem 2.25rem;
  }
}

.footer-service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.9;
}

@media (min-width: 480px) {
  .footer-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer-availability {
  margin: 0.65rem 0 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22rem;
}

.footer-col--contact .footer-heading {
  margin-bottom: 0.5rem;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col--company ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer-columns a {
  color: var(--brand-blue);
  text-decoration: none;
}

.footer-columns a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.footer-bottom-inner {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  opacity: 0.75;
}

/* Floating contact (call + WhatsApp) + back-to-top */
@keyframes float-pulse-wa {
  0% {
    box-shadow: 0 8px 22px rgba(67, 160, 71, 0.42), 0 0 0 0 rgba(102, 187, 106, 0.55);
  }
  70% {
    box-shadow: 0 8px 22px rgba(67, 160, 71, 0.38), 0 0 0 14px rgba(102, 187, 106, 0);
  }
  100% {
    box-shadow: 0 8px 22px rgba(67, 160, 71, 0.38), 0 0 0 0 rgba(102, 187, 106, 0);
  }
}

@keyframes float-pulse-call {
  0% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(102, 187, 106, 0.58),
      0 0 0 0 rgba(38, 50, 56, 0.28);
  }
  70% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.28),
      0 0 0 16px rgba(102, 187, 106, 0),
      0 0 0 10px rgba(38, 50, 56, 0);
  }
  100% {
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.34),
      0 0 0 0 rgba(102, 187, 106, 0),
      0 0 0 0 rgba(38, 50, 56, 0);
  }
}

.float-stack {
  position: fixed;
  z-index: 999;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  inset-inline-end: calc(1.35rem + env(safe-area-inset-inline-end, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.float-action {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-action:hover {
  transform: scale(1.07);
}

.float-action:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
}

.float-action--call {
  background: #1a1a1a;
  color: #fff;
}

.float-action--call.float-action--pulse {
  animation: float-pulse-call 2.5s ease-out infinite;
  animation-delay: 0.35s;
}

.float-action--wa {
  background: linear-gradient(165deg, var(--teal) 0%, #43a047 100%);
  color: #fff;
}

.float-action--wa.float-action--pulse {
  animation: float-pulse-wa 2.5s ease-out infinite;
}

.float-action--pulse:hover {
  animation-play-state: paused;
}

.float-action--top {
  position: fixed;
  z-index: 999;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  inset-inline-start: calc(1.35rem + env(safe-area-inset-inline-start, 0px));
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.float-action--top[hidden] {
  display: none !important;
  pointer-events: none;
}

.float-action--top:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.float-action svg {
  width: 26px;
  height: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .float-action--pulse {
    animation: none;
  }
}

/* WhatsApp welcome popup (opens from floating WA button) */
body.wa-modal-open {
  overflow: hidden;
}

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
}

.wa-modal[hidden] {
  display: none !important;
}

.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(38, 50, 56, 0.38);
  backdrop-filter: blur(3px);
}

.wa-modal__panel {
  position: absolute;
  z-index: 1;
  bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
  inset-inline-end: calc(1rem + env(safe-area-inset-inline-end, 0px));
  width: min(340px, calc(100vw - 2rem));
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(27, 38, 47, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  animation: wa-modal-in 0.28s ease-out;
}

@keyframes wa-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-modal__panel {
    animation: none;
  }
}

.wa-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(165deg, var(--teal) 0%, #43a047 100%);
  color: #fff;
}

.wa-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}

[dir="rtl"] .wa-modal__title {
  font-family: inherit;
}

.wa-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.15s, transform 0.15s;
}

.wa-modal__close:hover {
  background: rgba(0, 0, 0, 0.28);
}

.wa-modal__close:active {
  transform: scale(0.95);
}

.wa-modal__body {
  padding: 1.1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  background: #fff;
}

.wa-modal__bubble {
  margin: 0;
  padding: 0.95rem 1.05rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 2px 14px rgba(27, 38, 47, 0.1);
  border: 1px solid rgba(38, 50, 56, 0.08);
}

[dir="rtl"] .wa-modal__bubble {
  border-radius: 14px 14px 4px 14px;
}

.wa-modal__actions {
  display: flex;
  justify-content: flex-end;
}

[dir="rtl"] .wa-modal__actions {
  justify-content: flex-start;
}

.wa-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(165deg, var(--teal) 0%, #43a047 100%);
  box-shadow: 0 6px 18px rgba(67, 160, 71, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.wa-modal__cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(67, 160, 71, 0.42);
}

.wa-modal__cta svg {
  flex-shrink: 0;
}

button.float-action {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* ——— Responsive polish (mobile-first extras) ——— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

.container {
  width: min(100% - clamp(1rem, 4vw, 2rem), var(--max));
}

@media (max-width: 480px) {
  :root {
    --header-h: 56px;
  }

  .header-inner {
    gap: 0.5rem;
    padding: 0.35rem 0;
  }

  .lang-switch__btn {
    padding: 0.4rem 0.65rem;
    min-height: 44px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-banner {
    min-height: auto;
    padding-block: 0.5rem;
  }

  .hero-banner__inner {
    padding-block: 1.25rem;
  }

  .hero-banner__title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .hero-banner__badges,
  .hero-banner__service-tags {
    gap: 0.4rem 0.45rem;
  }

  .hero-banner__badge,
  .hero-banner__service-tag {
    padding: 0.42rem 0.75rem;
    font-size: 0.72rem;
  }

  .hero-banner__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-banner__actions .btn {
    width: 100%;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem 0;
  }

  .trust-item {
    align-items: flex-start;
  }

  .pillars,
  .service-teaser-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-hub-grid {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .float-stack {
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    inset-inline-end: calc(0.85rem + env(safe-area-inset-inline-end, 0px));
  }

  .float-action {
    width: 52px;
    height: 52px;
  }

  .float-action--top {
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    inset-inline-start: calc(0.85rem + env(safe-area-inset-inline-start, 0px));
  }

  .wa-modal__panel {
    inset-inline: 0.75rem;
    inset-inline-end: 0.75rem;
    width: auto;
    max-width: none;
    bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-brand__logo {
    max-width: min(180px, 70vw);
    height: auto;
  }

  .page-hero .container {
    padding-block: 1.5rem;
  }

  .breadcrumbs {
    font-size: 0.82rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .brand-logo__img {
    height: 40px;
    max-width: 48px;
  }

  .btn-lg {
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 901px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}

/* Touch-friendly form controls */
@media (hover: none) and (pointer: coarse) {
  .form-row input,
  .form-row select,
  .form-row textarea,
  .btn,
  .lang-switch__btn {
    min-height: 44px;
  }
}
