:root {
  --bg: #fbfbfb;
  --surface: #f8fafc;
  --surface-dark: #edf5ff;
  --text: #47545b;
  --muted: #466085;
  --muted-light: #90a3bb;
  --title-color: #142237;
  --subtitle-color: #4a617e;
  --link-color: #2a4466;
  --link-hover: #1d3350;
  --title-size-main: clamp(2rem, 3.2vw, 2.75rem);
  --brand-blue: #0d1b2e;
  --gold: #b08d57;
  --gold-light: #f1d6ab;
  --border: rgba(13, 27, 46, 0.08);
  --border-strong: rgba(13, 27, 46, 0.16);
  --overlay-dark: rgba(13, 27, 46, 0.75);
  --overlay-dark-strong: rgba(13, 27, 46, 0.85);
  --shadow: 0 0.625rem 1.875rem -0.625rem rgba(13, 27, 46, 0.1);
  --shadow-soft: 0 0.25rem 0.375rem -0.0625rem rgba(13, 27, 46, 0.08);
  --success: #25d366;
  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;
  --font-ltr: "Inter", system-ui, -apple-system, sans-serif;
  --font-rtl: "Noto Kufi Arabic", "Tahoma", Arial, sans-serif;
  --font-main: var(--font-ltr);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(192, 142, 74, 0.03) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(13, 27, 46, 0.03) 0, transparent 50%);
  font-family: var(--font-main);
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  line-height: 1.6;
}

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

.container {
  width: min(70rem, calc(100% - 2rem));
  margin: 0 auto;
}

/* =========================
   HERO BANNER (header + hero wrapper)
========================= */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0d1b2e;
  background-image:
    linear-gradient(rgba(13, 27, 46, 0.531), rgba(13, 27, 46, 0.4)),
    url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 0.0625rem solid var(--border);
}

.header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  z-index: 30;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.header--hero.header--scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0d1b2e;
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.3);
}

.header--hero.header--scrolled .nav a {
  color: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 1.25rem 0;
}

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

.brand__logo-img {
  height: 2.875rem;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.nav a {
  color: var(--title-color);
  text-decoration: none;
  padding: 0.625rem 0.75rem;
  border-radius: 62.4375rem;
  transition: 0.2s ease;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Header nav over hero – white text */
.header--hero .nav a {
  color: #fff;
}

.header--hero .nav a:hover {
  color: var(--gold-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.125rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 0.125rem;
  background-color: #fff;
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.header:not(.header--hero) .hamburger span {
  background-color: var(--title-color);
}

.header--scrolled .hamburger span {
  background-color: #fff;
}

.hamburger.is-active span {
  background-color: #fff !important;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0d1b2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--gold-light);
}

.mobile-social {
  display: flex;
  gap: 1.5rem;
}

.mobile-social .social-link img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

/* Language switcher in hero */
.btn--lang {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 6rem;
  width: 6rem;
  letter-spacing: normal !important;
  line-height: 1.2 !important;
  background: transparent !important;
  color: #fff !important;
  border: 0.0625rem solid rgba(255, 255, 255, 0.6) !important;
  padding: 0.625rem 0.5rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

/* Label is "EN" (Latin) → Inter */
.btn--lang.btn--lang-label-en {
  font-family: var(--font-ltr) !important;
}

/* Label is "العربية" (Arabic) → Noto Kufi Arabic */
.btn--lang.btn--lang-label-ar {
  font-family: var(--font-rtl) !important;
}

.btn--lang:hover {
  background: rgba(192, 142, 74, 0.15) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* Social links in hero header */
.social-link--header {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-link--header img {
  filter: brightness(0) invert(1);
}

.social-link[aria-label="Instagram"]:hover img,
.social-link[aria-label="Instagram"]:focus-visible img {
  content: url("../icons/instagram-gold.svg");
  filter: none;
}

.social-link[aria-label="LinkedIn"]:hover img,
.social-link[aria-label="LinkedIn"]:focus-visible img {
  content: url("../icons/linkedin-gold.svg");
  filter: none;
}

/* =========================
   BUTTONS
========================= */
.btn {
  border: 0.0625rem solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.25rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
}

.btn--primary {
  background: var(--gold);
  color: var(--surface);
  border: none;
}

.btn--primary:hover {
  background: var(--brand-blue);
  color: var(--surface);
}

.btn--secondary {
  background: var(--surface);
}

.btn--secondary:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}

/* =========================
   HERO
========================= */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 6.25rem;
  text-align: center;
  background: transparent;
  color: #fff;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  background: transparent;
  color: var(--gold-light);
  border: none;
  text-transform: uppercase;
  /* letter-spacing: 0.15em; */
  /* margin-bottom: 1rem; */
}

.hero__title {
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  white-space: pre-line;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 35rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
  white-space: pre-line;
}

.hero__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
  box-sizing: border-box;
}

.hero__cta .btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

/* Hero CTA buttons */
.btn--hero-primary {
  background: var(--gold) !important;
  color: #fff !important;
  border: none !important;
}

.btn--hero-primary:hover {
  background: #a67a3d !important;
  color: #fff !important;
}

.btn--hero-secondary {
  background: transparent !important;
  color: var(--gold) !important;
  border: 0.0625rem solid var(--gold) !important;
}

.btn--hero-secondary:hover {
  background: rgba(192, 142, 74, 0.15) !important;
  border-color: var(--gold) !important;
  color: #fff !important;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 8rem 0;
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: var(--title-size-main);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--title-color);
}

.section__head p {
  margin: 0;
  color: var(--subtitle-color);
  max-width: 56.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =========================
   ABOUT US
========================= */
.section--about {
  background: #0d1b2e;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/watermark.webp") left -3.5rem top -1.5rem / 30rem
    no-repeat;
  pointer-events: none;
}

.about-wrap {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(28.75rem, 1fr);
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.125rem;
}

.about-title {
  font-size: var(--title-size-main);
  font-weight: 500;
  color: #fff;
  margin: 0 0 1.125rem;
}

.about-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.125rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-stat-card {
  position: relative;
  border: 0.0625rem solid rgba(192, 142, 74, 0.55);
  box-shadow: 0 0 0.25rem 0 rgba(192, 142, 74, 0.55);
  border-radius: 0.25rem;
  padding: 1rem 1rem 3rem 3rem;
  min-height: 13.5rem;
  background: rgba(7, 24, 50, 0.28);
}

.about-stat-label {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  display: block;
  text-align: end;
}

.about-stat-value {
  font-size: clamp(2.75rem, 3vw, 3.75rem);
  line-height: 1;
  font-weight: 600;
  color: #fff;
  /* margin: 0 0 0.625rem; */
}

.about-stat-sub {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.5rem;
}

.about-stat-desc {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-light);
  margin: 0;
  max-width: 98%;
}

.about-image img {
  width: 100%;
  height: auto;
  min-height: 23.25rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* =========================
   WHY CHOOSE US
========================= */
.section--why {
  background: var(--surface-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: 17.5rem 1fr;
  gap: 3rem;
  align-items: center;
}

.why-title {
  font-size: var(--title-size-main);
  font-weight: 500;
  color: var(--title-color);
  margin: 0;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 0.25rem;
  border: 0.0625rem solid var(--gold);
}

.why-card-num {
  /* font-size: 0.75rem; */
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--title-color);
  /* margin: 0 0 0.625rem; */
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

/* =========================
   SERVICE CARDS (Photo grid)
========================= */
.section--services {
  background: #fff;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

.service-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.25rem;
  overflow: hidden;
  background: var(--brand-blue);
  background-size: cover;
  background-position: center;
}

.service-card--ac {
  background-image: url("../img/ac.webp");
}

.service-card--mep {
  background-image: url("../img/mep.webp");
}

.service-card--amc {
  background-image: url("../img/amc.webp");
}

.service-card--pest {
  background-image: url("../img/pest.webp");
}

.service-card--fire {
  background-image: url("../img/fire.webp");
}

.service-card--cleaning {
  background-image: url("../img/cleaning.webp");
}

.service-card--property {
  background-image: url("../img/property.webp");
}
.service-card--other {
  background-image: url("../img/other.webp");
}

.service-card__content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.service-card__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.service-card__content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

/* =========================
   REACH OUT (Contact)
========================= */
.section--contact {
  background: var(--surface-dark);
}

.contact-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 1.625rem;
}

.contact-header__title {
  font-size: var(--title-size-main);
  font-weight: 600;
  color: var(--title-color);
  margin: 0;
}

.contact-header__sub {
  font-size: 0.9375rem;
  color: var(--subtitle-color);
  margin: 0;
  max-width: 29.375rem;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form--panel {
  margin-top: 0;
}

.form-btn--wide {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

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

.contact-card {
  background: #fff;
  padding: 1.125rem 1.125rem 1rem;
  border-radius: 0.1875rem;
  box-shadow: none;
  border: 0.0625rem solid rgba(92, 121, 151, 0.2);
}

.contact-card h4 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 0.625rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.contact-info-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1875rem;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-info-title {
  color: #466085;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.contact-info-body .contact-link {
  color: var(--link-color);
  font-size: 0.9375rem;
  line-height: 1.35;
  text-decoration: none;
}

.contact-info-body .contact-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Phone numbers: keep LTR in RTL layout (same visual order as English) */
.phone-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.business-hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}

.business-hours-item {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}

.hours-label {
  font-size: 0.8125rem;
  color: #466085;
}

.hours-value {
  font-size: 0.9375rem;
  color: var(--link-color);
  line-height: 1.4;
  font-weight: 500;
}

.contact-map {
  margin-top: 0.875rem;
  border-radius: 0.125rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(92, 121, 151, 0.2);
  box-shadow: none;
}

.contact-map iframe {
  display: block;
  min-height: 17.5rem;
}

#contactForm .form-input,
#contactForm .form-textarea {
  border-radius: 0.1875rem;
  border: 0.0625rem solid rgba(92, 121, 151, 0.2);
  background: #fff;
  color: var(--link-color);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-ltr);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#contactForm .form-input:focus,
#contactForm .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 0.125rem rgba(176, 141, 87, 0.15);
}

#contactForm .form-textarea {
  resize: vertical;
  min-height: 9.5rem;
}

#contactForm .form-input::placeholder,
#contactForm .form-textarea::placeholder {
  color: #90a3bb;
  font-family: inherit;
}

.form-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 26, 51, 0.55);
  z-index: 1100;
  padding: 1rem;
}

.form-modal.is-open {
  display: flex;
}

.form-modal__box {
  width: min(25rem, 100%);
  background: #fff;
  border: 0.0625rem solid rgba(92, 121, 151, 0.25);
  border-radius: 0.25rem;
  padding: 1rem;
  text-align: center;
}

.form-modal__message {
  margin: 0 0 0.875rem;
}

.error-text {
  color: #c0392b;
}

.success-text {
  color: #1e8449;
}

/* Shared social + form primitives used by header/footer/contact */
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.375rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 2.25rem;
  height: 2.25rem; */
}

.social-link img {
  width: 1.125rem;
  height: 1.125rem;
}

.social-link:focus-visible {
  outline: 0.125rem solid var(--gold);
  outline-offset: 0.125rem;
}

.contact-form {
  display: grid;
  gap: 0.875rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-btn {
  margin-top: 0.375rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #091a33;
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 25rem;
  background: url("../img/watermark.webp") left center / 25rem no-repeat;
  pointer-events: none;
  opacity: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(17.5rem, 40%) 1fr;
  min-height: 19rem;
}

.footer-left {
  position: relative;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
}

.footer-brand {
  max-width: 23rem;
  position: relative;
  z-index: 1;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  margin-bottom: 1.125rem;
}

.footer-logo {
  height: 2.75rem;
  width: auto;
  display: block;
}

.footer-mission {
  font-size: 0.875rem;
  color: #abc0de;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2rem;
  height: 2rem;
}

/* .footer-social-link img {
  filter: none;
} */

.footer-right {
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #abc0de;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #7b97be;
}

.footer-bottom p {
  margin: 0;
  text-align: right;
  line-height: 1.35;
}

.footer-bottom p:last-child {
  color: #466085;
}

/* =========================
   WHATSAPP FLOATING WIDGET
========================= */
.whatsapp-widget {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  inset-inline-start: auto;
  z-index: 1001;
}

.whatsapp-widget input {
  display: none;
}

.whatsapp-fab {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
}

.whatsapp-fab img {
  width: 2rem;
  height: 2rem;
}

.whatsapp-box {
  position: absolute;
  bottom: 4.6875rem;
  inset-inline-end: 0;
  inset-inline-start: auto;
  width: 15rem;
  background: var(--surface);
  border-radius: 1.125rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.625rem);
  pointer-events: none;
  transition: 0.3s ease;
}

.whatsapp-header {
  background: var(--success);
  color: var(--surface);
  padding: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.whatsapp-item {
  display: block;
  padding: 0.875rem;
  text-decoration: none;
  color: var(--text);
  border-top: 0.0625rem solid var(--border);
  font-weight: 600;
}

.whatsapp-item:hover {
  background: var(--surface);
}

/* Toggle */
#whatsapp-toggle:checked ~ .whatsapp-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
    SCROLL TO TOP BUTTON
========================= */
.scroll-to-top {
  position: fixed;
  bottom: 6.25rem;
  inset-inline-end: 1.5rem;
  inset-inline-start: auto;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand-blue);
  border: 0.0625rem solid var(--border);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 998;
  padding: 0;
}

.scroll-to-top-icon {
  width: 2rem;
  height: 2rem;
  display: block;
}

.scroll-to-top:hover {
  background: var(--muted);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   RTL SUPPORT
========================= */
html[dir="rtl"] body {
  font-family: var(--font-rtl);
}

html[dir="rtl"] .nav {
  direction: rtl;
}

/* Keep phone field placeholder aligned correctly in Arabic view */
html[dir="rtl"] #contactForm input[name="phone"] {
  text-align: right;
}

html[dir="rtl"] #contactForm input[name="phone"]::placeholder {
  text-align: right;
}

html[dir="rtl"] #contactForm .form-input,
html[dir="rtl"] #contactForm .form-textarea {
  font-family: var(--font-rtl);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 64rem) {
  .container {
    width: min(100%, calc(100% - 1.5rem));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    min-height: 17.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-title {
    position: static;
  }

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

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

  .contact-header {
    grid-template-columns: 1fr;
  }

  .contact-header__sub {
    justify-self: start;
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .header {
    padding: 1rem 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--lang {
    width: 7rem !important;
    min-width: 7rem !important;
    flex-shrink: 0;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .social-links--header {
    display: none;
  }

  .hero-banner {
    min-height: auto;
  }

  .hero {
    padding: 12rem 0 10rem;
  }

  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__cta .btn {
    flex: 1 1 0;
    min-width: 8.75rem;
    width: auto;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

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

  .contact-header {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .contact-header__sub {
    justify-self: start;
    max-width: 100%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .business-hours-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .footer-left,
  .footer-right {
    padding: 2rem 1.5rem;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-bottom p {
    text-align: left;
  }

  .whatsapp-widget {
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
  }

  .scroll-to-top {
    bottom: 5.25rem;
    inset-inline-end: 1.5rem;
  }
}

@media (max-width: 30rem) {
  .container {
    padding: 0 1rem;
  }

  .btn {
    padding: 0.5625rem 0.75rem;
    font-size: 0.8125rem;
  }

  .whatsapp-widget {
    bottom: 1.5rem;
    inset-inline-end: 1rem;
  }

  .whatsapp-fab {
    width: 3.375rem;
    height: 3.375rem;
  }

  .whatsapp-fab img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .scroll-to-top {
    width: 3.375rem;
    height: 3.375rem;
    bottom: 5.75rem;
    inset-inline-end: 1rem;
  }

  .scroll-to-top-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* Animations */
[data-i18n] {
  transition: opacity 0.3s ease;
}
