/* ================================================
   Arab Eyes Center – Main Stylesheet
   Fonts: Cairo (AR) | Montserrat (EN)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ================================================
   VARIABLES
   ================================================ */
:root {
  --gold:       #D4A43C;
  --dark-gold:  #9C6C1C;
  --charcoal:   #1C1C14;
  --ivory:      #FEF8F1;
  --beige:      #EEDFD4;
  --teal:       #125352;
  --teal-light: #1a6e6d;
  --white:      #ffffff;

  --shadow-sm:  0 2px 8px rgba(28,28,20,.07);
  --shadow-md:  0 4px 20px rgba(28,28,20,.11);
  --shadow-lg:  0 10px 40px rgba(28,28,20,.16);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --transition: .3s ease;
  --max-w:      1280px;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html[lang="ar"] body { font-family: 'Cairo', sans-serif; }
html[lang="en"] body { font-family: 'Montserrat', sans-serif; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ================================================
   LANGUAGE BLOCKS  (CSS-driven, no flash)
   ================================================ */
.lang-ar { display: block; }
.lang-en { display: none;  }
html[lang="en"] .lang-ar { display: none;  }
html[lang="en"] .lang-en { display: block; }

/* Inline-level language spans */
span.lang-ar { display: inline; }
span.lang-en { display: none;   }
html[lang="en"] span.lang-ar { display: none;   }
html[lang="en"] span.lang-en { display: inline; }

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1 { font-size: clamp(2rem,   5vw, 3.6rem); line-height: 1.2; font-weight: 900; }
h2 { font-size: clamp(1.55rem,3.5vw, 2.4rem); line-height: 1.3; font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.35; font-weight: 700; }
h4 { font-size: clamp(.95rem, 1.8vw, 1.15rem); font-weight: 600; }

.section-tag {
  display: inline-block;
  background: rgba(18,83,82,.09);
  color: var(--teal);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 30px;
  margin-bottom: .75rem;
}

.section-title    { margin-bottom: .4rem; }
.section-subtitle { color: #666; font-size: 1rem; margin-bottom: 2.75rem; max-width: 640px; }

.divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--teal));
  border-radius: 3px;
  margin: .75rem 0 1.5rem;
}

/* centered variants */
.text-center { text-align: center; }
.text-center .divider { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: .015em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(18,83,82,.25);
}
.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28,28,20,.25);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212,164,60,.3);
}
.btn-gold:hover {
  background: var(--dark-gold);
  border-color: var(--dark-gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(254,248,241,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,164,60,.12);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.logo-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212,164,60,.35);
  background: #000;
  flex-shrink: 0;
}
.logo-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.logo-img-wrap .logo-fallback {
  font-size: .55rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.3;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-ar { font-family: 'Cairo', sans-serif; font-size: .82rem; font-weight: 800; color: var(--charcoal); }
.logo-en { font-family: 'Montserrat', sans-serif; font-size: .6rem; font-weight: 500; color: var(--teal); letter-spacing: .03em; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.nav-links a {
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: #444;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: rgba(18,83,82,.07);
}

/* Right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: .85rem;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  background: var(--beige);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: .28rem .72rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  color: #888;
  transition: var(--transition);
}
.lang-btn.active { background: var(--teal); color: var(--white); }

/* Book button (desktop) */
.nav-book-btn {
  background: var(--gold);
  color: var(--white);
  padding: .52rem 1.2rem;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  transition: var(--transition);
}
.nav-book-btn:hover { background: var(--dark-gold); transform: translateY(-1px); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--ivory) 60%, rgba(18,83,82,.04) 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(212,164,60,.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .8rem;
  color: #999;
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--teal); }
.page-hero .breadcrumb span { color: #ccc; }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p  { color: #666; max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ================================================
   LAYOUT HELPERS
   ================================================ */
.section    { padding: 5rem 1.5rem; }
.section-alt { background: var(--beige); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }

.container  { max-width: var(--max-w); margin: 0 auto; }

/* ================================================
   HOME HERO
   ================================================ */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--ivory) 0%, var(--beige) 55%, rgba(18,83,82,.05) 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: 5%;
  right: 3%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212,164,60,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 3%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(18,83,82,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(18,83,82,.09);
  color: var(--teal);
  padding: .38rem 1rem;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(18,83,82,.14);
}

.hero h1 { margin-bottom: .9rem; }
.hero h1 .gold { color: var(--gold); }

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.hero-desc {
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Visual card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(212,164,60,.12);
}
.hero-card-header {
  background: linear-gradient(135deg, var(--charcoal), #2a2a1e);
  padding: 2rem 1.75rem;
  text-align: center;
  color: var(--white);
}
.hero-card-header .big-icon { font-size: 3.5rem; display: block; margin-bottom: .75rem; }
.hero-card-header h3 { color: var(--white); font-size: 1rem; }

.hero-card-body { padding: 1.75rem; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.stat-box {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--beige);
}
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: .25rem; }
.stat-lbl { font-size: .72rem; color: #777; }

.hero-list {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .85rem;
  color: #555;
  line-height: 2;
}

/* ================================================
   TRUST STRIP
   ================================================ */
.trust-strip {
  background: var(--charcoal);
  padding: 1.4rem 1.5rem;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
}
.trust-item .ti { font-size: 1.3rem; }

/* ================================================
   HOME ABOUT SNIPPET
   ================================================ */
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(212,164,60,.1);
  position: relative;
  overflow: hidden;
}
.about-visual-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--teal));
}
.about-visual-box .eye-big { font-size: 5rem; display: block; margin-bottom: 1.5rem; }

.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.about-stat {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  text-align: center;
}
.about-stat .num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.about-stat .lbl { font-size: .75rem; color: #666; }

.about-text p { color: #555; line-height: 1.9; margin-bottom: 1rem; }
.about-text .value-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .8rem 1rem;
  background: var(--ivory);
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige);
  font-size: .92rem;
  color: #444;
}
.value-check {
  width: 20px; height: 20px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .6rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ================================================
   SERVICES GRID
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(238,223,212,.9);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--teal));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,164,60,.25);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(18,83,82,.09), rgba(212,164,60,.09));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.service-card p  { font-size: .875rem; color: #666; line-height: 1.75; }

/* ================================================
   EQUIPMENT SECTION
   ================================================ */
.equip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.equip-card {
  background: var(--white);
  border: 1px solid rgba(238,223,212,.9);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.equip-card:hover {
  background: var(--ivory);
  border-color: rgba(212,164,60,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.equip-icon {
  width: 58px; height: 58px;
  background: rgba(212,164,60,.14);
  border: 1px solid rgba(212,164,60,.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.equip-icon svg { width: 34px; height: 34px; }
.equip-card .device-name {
  font-size: .96rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .45rem;
  line-height: 1.3;
}
.equip-card p { font-size: .86rem; color: #666; line-height: 1.85; }

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2a1e 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,164,60,.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.78); margin-bottom: 2rem; font-size: 1.02rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================
   TEAM PAGE — SECTION HEADERS
   ================================================ */
.team-section { margin-bottom: 4.5rem; }
.team-section:last-child { margin-bottom: 0; }

.team-section-hdr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--beige);
  position: relative;
}
.team-section-hdr::after {
  content: '';
  position: absolute;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--gold);
}
html[dir="rtl"] .team-section-hdr::after { right: 0; }
html[dir="ltr"]  .team-section-hdr::after { left:  0; }

.ts-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.ts-icon.teal    { background: var(--teal);        color: var(--white); }
.ts-icon.gold    { background: var(--gold);         color: var(--white); }
.ts-icon.charcoal{ background: var(--charcoal);     color: var(--white); }
.ts-icon.soft    { background: var(--beige);        color: var(--teal);  }

.ts-title h3 { font-size: 1.25rem; margin-bottom: .2rem; line-height: 1.3; }
.ts-title p  { font-size: .84rem; color: #888; margin: 0; }

/* Photo background variants for different roles */
.team-photo.gold-tint  { background: linear-gradient(135deg, rgba(212,164,60,.14), rgba(212,164,60,.05)); }
.team-photo.ivory-tint { background: linear-gradient(135deg, var(--ivory), #e8e0d8); }
.team-photo.dark-tint  { background: linear-gradient(135deg, #ddd8d0, #ccc6be); }

/* ================================================
   TEAM CARDS
   ================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-photo {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #e8ddd5, #d4c4b8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  position: relative;
  overflow: hidden;
}
.team-photo .ph-icon { font-size: 3.5rem; color: #b8a898; }
.team-photo .ph-text { font-size: .7rem; color: #a89888; font-weight: 500; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.team-info { padding: 1.4rem 1.25rem; }
.team-info h3 { font-size: .98rem; margin-bottom: .3rem; }
.team-info .specialty { font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: .5rem; }
.team-info .bio { font-size: .8rem; color: #777; line-height: 1.65; }

/* ================================================
   BLOG CARDS
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-thumb {
  width: 100%;
  height: 195px;
  background: linear-gradient(135deg, var(--beige), rgba(18,83,82,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(18,83,82,.25);
  position: relative;
}
.blog-cat {
  position: absolute;
  top: 1rem;
  background: var(--teal);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 20px;
}
html[dir="rtl"] .blog-cat { right: 1rem; }
html[dir="ltr"] .blog-cat  { left:  1rem; }

.blog-body { padding: 1.4rem; }
.blog-meta { font-size: .78rem; color: #999; margin-bottom: .6rem; display: flex; align-items: center; gap: .45rem; }
.blog-body h3 { font-size: 1rem; margin-bottom: .6rem; line-height: 1.45; }
.blog-body p  { font-size: .87rem; color: #666; line-height: 1.75; margin-bottom: 1.1rem; }
.read-more {
  font-size: .84rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: var(--transition);
}
.read-more:hover { color: var(--gold); gap: .55rem; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-stack { display: flex; flex-direction: column; gap: 1.1rem; }

.ci-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige);
  transition: var(--transition);
}
.ci-item:hover { border-color: rgba(18,83,82,.2); box-shadow: var(--shadow-sm); }

.ci-icon {
  width: 42px; height: 42px;
  background: rgba(18,83,82,.09);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--teal);
  flex-shrink: 0;
}
.ci-content h4 { font-size: .8rem; color: var(--teal); margin-bottom: .2rem; font-weight: 700; letter-spacing: .03em; }
.ci-content p,
.ci-content a  { font-size: .93rem; color: var(--charcoal); line-height: 1.65; }
.ci-content a:hover { color: var(--teal); }

/* Hours table */
.hours-tbl { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours-tbl td { padding: .3rem 0; font-size: .88rem; }
.hours-tbl .day-cell { color: var(--charcoal); }
.hours-tbl .time-cell { color: var(--teal); font-weight: 600; text-align: end; }
.hours-tbl .closed { color: #c0392b; }

/* Contact form */
.contact-form {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
}
.contact-form h3 { margin-bottom: 1.4rem; font-size: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .38rem; color: var(--charcoal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: .92rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(18,83,82,.09);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Map button */
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  background: var(--beige);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--charcoal);
  border: 1px solid rgba(238,223,212,.8);
  transition: var(--transition);
  margin-top: .6rem;
}
.map-btn:hover { background: var(--teal); color: var(--white); border-color: var(--teal); transform: translateY(-2px); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212,164,60,.1);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--teal));
}
.about-card .big { font-size: 4.5rem; display: block; margin-bottom: 1.25rem; }
.about-card p { font-size: .9rem; color: #666; line-height: 1.8; }

.about-text-col p { color: #555; line-height: 1.9; margin-bottom: 1.1rem; }

/* Features 2-col */
.features-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.feature-box {
  padding: 1.25rem 1rem;
  background: var(--ivory);
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige);
  text-align: center;
}
.feature-box .icon { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.feature-box h4 { font-size: .88rem; margin-bottom: .3rem; }
.feature-box p  { font-size: .78rem; color: #777; line-height: 1.6; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.78);
  padding-top: 4rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 1.5fr;
  gap: 2.5rem;
}

.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
}
.f-logo-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid rgba(212,164,60,.5);
  overflow: hidden;
  font-size: .5rem;
  font-weight: 700;
  color: rgba(212,164,60,.7);
  flex-shrink: 0;
  overflow: hidden;
  text-align: center;
  line-height: 1.3;
}
.f-logo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.f-logo-txt .f-ar { font-family: 'Cairo', sans-serif; font-size: .82rem; font-weight: 800; color: var(--white); line-height: 1.2; display: block; }
.f-logo-txt .f-en { font-size: .6rem; color: rgba(212,164,60,.75); display: block; }

.footer-brand p { font-size: .86rem; line-height: 1.85; color: rgba(255,255,255,.55); margin-bottom: 1.1rem; }

.social-row { display: flex; gap: .65rem; }
.soc-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.soc-link:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.f-links { display: flex; flex-direction: column; gap: .55rem; }
.f-links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.f-links a:hover { color: var(--gold); }
html[dir="rtl"] .f-links a:hover { padding-right: 4px; }
html[dir="ltr"] .f-links a:hover  { padding-left:  4px; }

.f-hours { display: flex; flex-direction: column; gap: .45rem; }
.f-hour-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.f-hour-row .d { font-size: .8rem; color: rgba(255,255,255,.5); }
.f-hour-row .t { font-size: .8rem; color: rgba(212,164,60,.85); font-weight: 600; }
.f-hour-row .cl { color: #c0392b; }

.f-contact-list { display: flex; flex-direction: column; gap: .7rem; }
.fci {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .83rem;
}
.fci .fci-ico { color: var(--gold); flex-shrink: 0; padding-top: .1rem; }
.fci a,
.fci span { color: rgba(255,255,255,.58); line-height: 1.65; }
.fci a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 3rem;
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.38);
}

/* ================================================
   FLOATING BUTTON
   ================================================ */
.floating-wrap {
  position: fixed;
  bottom: 1.75rem;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
html[dir="rtl"] .floating-wrap { left:  1.5rem; }
html[dir="ltr"]  .floating-wrap { right: 1.5rem; }

.float-wa {
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: var(--transition);
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }

.float-book {
  background: var(--gold);
  color: var(--white);
  padding: .52rem 1.05rem;
  border-radius: 30px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}
.float-book:hover { background: var(--dark-gold); transform: translateY(-2px); }

/* ================================================
   MISC
   ================================================ */
.gold-text { color: var(--gold); }
.teal-text { color: var(--teal); }

/* Placeholder notice */
.placeholder-notice {
  background: rgba(212,164,60,.08);
  border: 1px dashed rgba(212,164,60,.4);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: .88rem;
  color: var(--dark-gold);
  margin-bottom: 2rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: #999;
}
.empty-state .es-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h3 { color: #666; margin-bottom: .5rem; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .hero-inner        { grid-template-columns: 1fr; text-align: center; }
  .hero-desc         { margin-left: auto; margin-right: auto; }
  .hero-cta          { justify-content: center; }
  .hero-card         { display: none; }
  .about-snippet-grid{ grid-template-columns: 1fr; }
  .about-visual-box  { display: none; }
  .about-grid        { grid-template-columns: 1fr; }
  .about-card        { display: none; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
}

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

@media (max-width: 768px) {
  /* Mobile nav — proper dropdown (no fixed, no offset bug) */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 2px solid var(--gold);
    border-bottom: 1px solid var(--beige);
    padding: .5rem .75rem .75rem;
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 999;
    box-shadow: 0 10px 28px rgba(28,28,20,.13);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a { padding: .75rem 1rem; font-size: .93rem; }
  .nav-book-btn  { display: none; }
  .menu-toggle   { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .features-2col { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: 1fr; }

  .section { padding: 3.5rem 1.25rem; }
  .hero    { min-height: auto; padding: 4rem 1.25rem 3.5rem; }
  .trust-inner { gap: 1.75rem; }
}

@media (max-width: 480px) {
  .team-grid  { grid-template-columns: 1fr; }
  .hero-cta   { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stat-row    { grid-template-columns: 1fr 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   ANNOUNCE BAR
   ================================================ */
.announce-bar {
  background: var(--teal);
  color: rgba(255,255,255,.92);
  text-align: center;
  padding: .6rem 3.5rem;
  font-size: .82rem;
  font-weight: 600;
  position: relative;
  line-height: 1.5;
  z-index: 1001;
}
.announce-bar a { color: var(--gold); font-weight: 700; }
.announce-bar a:hover { color: #f7d370; }
.announce-close {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.45);
  font-size: 1rem; cursor: pointer; padding: .2rem .6rem;
  transition: color .2s; line-height: 1;
}
.announce-close:hover { color: rgba(255,255,255,.9); }
html[dir="rtl"] .announce-close { left: .75rem; }
html[dir="ltr"]  .announce-close { right: .75rem; }
.aec-hidden { display: none !important; }

/* ================================================
   SKIP LINK (accessibility)
   ================================================ */
.skip-link {
  position: absolute; top: -200%; left: 0; z-index: 9999;
  background: var(--teal); color: var(--white);
  padding: .5rem 1.25rem; font-size: .85rem; font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed; bottom: 9rem; z-index: 997;
  width: 40px; height: 40px;
  background: rgba(28,28,20,.82); color: var(--white);
  border-radius: 50%; border: none; cursor: pointer;
  font-size: .9rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
  transform: translateY(8px);
}
html[dir="rtl"] .scroll-top { left: 1.5rem; }
html[dir="ltr"]  .scroll-top { right: 1.5rem; }
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--teal); }

/* ================================================
   STICKY MOBILE CTA BAR
   ================================================ */
.sticky-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 996;
  background: var(--white); border-top: 1px solid var(--beige);
  padding: .6rem 1rem; gap: .75rem;
  box-shadow: 0 -4px 18px rgba(0,0,0,.08);
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
  .sticky-cta-bar.aec-hidden { display: none !important; }
}
.sticky-cta-bar a {
  flex: 1; text-align: center; padding: .62rem .5rem;
  border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  transition: var(--transition);
}
.scta-call { background: var(--ivory); color: var(--charcoal); border: 1.5px solid var(--beige); }
.scta-call:hover { background: var(--beige); }
.scta-wa { background: #25D366; color: var(--white); }
.scta-wa:hover { background: #1da851; }

/* ================================================
   WHATSAPP PULSE RING
   ================================================ */
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.5); opacity: 0; }
}
.float-wa { position: relative; }
.float-wa::before,
.float-wa::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #25D366;
  animation: wa-ring 2.5s ease-out infinite; z-index: -1;
}
.float-wa::after { animation-delay: 1.25s; }

/* ================================================
   STATS COUNTER STRIP
   ================================================ */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige);
  padding: 2.75rem 1.5rem;
}
.stats-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; text-align: center;
}
.ctr-item {}
.ctr-num {
  display: block; font-size: clamp(2rem,4vw,3rem);
  font-weight: 900; color: var(--teal); line-height: 1; margin-bottom: .3rem;
}
.ctr-suffix { color: var(--gold); }
.ctr-lbl { font-size: .8rem; color: #888; display: block; line-height: 1.5; }
@media (max-width: 640px) { .stats-strip-inner { grid-template-columns: repeat(2,1fr); gap: 1.5rem 1rem; } }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem; border: 1px solid var(--beige); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem; transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: .4rem;
  font-size: 5.5rem; color: rgba(212,164,60,.1);
  font-family: Georgia,serif; line-height: 1; pointer-events: none;
}
html[dir="rtl"] .testimonial-card::before { right: 1rem; }
html[dir="ltr"]  .testimonial-card::before { left:  1rem; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-stars { color: var(--gold); font-size: .9rem; letter-spacing: .15em; }
.t-quote {
  flex: 1; line-height: 1.85; font-size: .88rem; color: #555; font-style: italic;
}
.t-reviewer {
  display: flex; align-items: center; gap: .75rem;
  padding-top: .75rem; border-top: 1px solid var(--beige);
}
.t-avatar {
  width: 38px; height: 38px; background: var(--beige);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.t-name { display: block; font-size: .85rem; font-weight: 700; color: var(--charcoal); }
.t-service { display: block; font-size: .74rem; color: #bbb; }

/* ================================================
   FAQ ACCORDION
   ================================================ */
.faq-list { display: flex; flex-direction: column; gap: .6rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius-sm);
  border: 1px solid var(--beige); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: rgba(18,83,82,.25); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--charcoal);
  text-align: start; transition: background .2s;
}
.faq-item.open .faq-q { color: var(--teal); background: rgba(18,83,82,.03); }
.faq-q:hover { background: var(--ivory); }
.faq-chevron {
  flex-shrink: 0; width: 22px; height: 22px; background: var(--beige);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; transition: transform .3s, background .2s, color .2s; color: var(--charcoal);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--teal); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; padding: 0 1.25rem; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.25rem 1.1rem; }
.faq-a p { font-size: .88rem; color: #666; line-height: 1.9; }

/* ================================================
   CERTIFICATIONS PLACEHOLDER
   ================================================ */
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 1.25rem;
}
.cert-card {
  background: var(--white); border: 1.5px dashed rgba(212,164,60,.35);
  border-radius: var(--radius-md); padding: 1.5rem 1rem; text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--gold); border-style: solid; box-shadow: var(--shadow-sm); }
.cert-card .cert-icon { font-size: 2rem; display: block; margin-bottom: .55rem; }
.cert-card h4 { font-size: .85rem; color: var(--charcoal); margin-bottom: .2rem; font-weight: 600; }
.cert-card p  { font-size: .74rem; color: #bbb; line-height: 1.5; }

/* ================================================
   BEFORE / AFTER PLACEHOLDER
   ================================================ */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 2rem; }
.ba-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--beige); box-shadow: var(--shadow-sm); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-panel {
  height: 140px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem;
}
.ba-panel.ba-before { background: linear-gradient(135deg,#e4dad3,#cfc5bc); }
.ba-panel.ba-after  { background: linear-gradient(135deg,rgba(18,83,82,.14),rgba(18,83,82,.06)); }
.ba-panel-label { font-size: .65rem; font-weight: 700; letter-spacing: .06em; }
.ba-before .ba-panel-label { color: #aaa; }
.ba-after  .ba-panel-label { color: var(--teal); }
.ba-panel-icon { font-size: 1.75rem; opacity: .45; }
.ba-info { padding: 1rem 1.2rem; background: var(--white); }
.ba-info h4 { font-size: .9rem; margin-bottom: .2rem; }
.ba-info p  { font-size: .78rem; color: #aaa; }

/* ================================================
   ENHANCED FOCUS (accessibility)
   ================================================ */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

/* ================================================
   4. SCROLL PROGRESS BAR
   ================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(to right, var(--gold), var(--dark-gold));
  z-index: 1010; border-radius: 0 2px 2px 0;
  pointer-events: none; transition: width .08s linear;
}

/* ================================================
   8. NAVBAR SHRINK ON SCROLL
   ================================================ */
.nav-container { transition: height .3s ease; }
.navbar.scrolled .nav-container { height: 54px; }

.logo-img-wrap { transition: width .3s ease, height .3s ease; }
.navbar.scrolled .logo-img-wrap { width: 40px; height: 40px; }

.logo-ar, .logo-en { transition: font-size .3s ease; }
.navbar.scrolled .logo-ar { font-size: .72rem; }
.navbar.scrolled .logo-en { font-size: .52rem; }

@media (max-width: 768px) {
  /* no top override needed — nav-links now use position: absolute; top: 100% */
}

/* ================================================
   1. OPEN NOW BADGE
   ================================================ */
.open-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .22rem .65rem; border-radius: 20px;
  font-size: .72rem; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.open-badge.is-open  { background: rgba(39,174,96,.12); color: #1a7d41; }
.open-badge.is-closed { background: rgba(192,57,43,.10); color: #c0392b; }
.open-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; display: inline-block;
}
.is-open  .open-dot { background: #27ae60; animation: badge-pulse 1.8s ease-in-out infinite; }
.is-closed .open-dot { background: #e74c3c; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (max-width: 768px) {
  .open-badge .badge-text { display: none; }
  .open-badge { padding: .28rem; }
  .open-dot { width: 8px; height: 8px; }
}
#open-badge-hours { margin-top: .45rem; font-size: .78rem; }

/* ================================================
   2. WHATSAPP GREETING BUBBLE
   ================================================ */
.wa-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  width: 215px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: .9rem 1rem;
  border: 1px solid rgba(238,223,212,.9);
  opacity: 0; pointer-events: none;
  transform: translateY(6px) scale(.96);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 10;
}
html[dir="rtl"] .wa-bubble { left: 0;  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; }
html[dir="ltr"]  .wa-bubble { right: 0; border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md); }
.wa-bubble.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-bubble::after {
  content: ''; position: absolute; bottom: -7px;
  width: 13px; height: 13px;
  background: var(--white);
  border-right: 1px solid rgba(238,223,212,.9);
  border-bottom: 1px solid rgba(238,223,212,.9);
  transform: rotate(45deg);
}
html[dir="rtl"] .wa-bubble::after { left: 14px; }
html[dir="ltr"]  .wa-bubble::after { right: 14px; }
.wa-bubble-close {
  position: absolute; top: .4rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  color: #bbb; font-size: .78rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
html[dir="rtl"] .wa-bubble-close { left: .4rem; }
html[dir="ltr"]  .wa-bubble-close { right: .4rem; }
.wa-bubble-close:hover { background: var(--beige); color: var(--charcoal); }
.wa-bubble-from {
  font-size: .7rem; color: var(--teal); font-weight: 700;
  margin: 0 0 .35rem; display: flex; align-items: center; gap: .3rem;
}
.wa-bubble-msg { font-size: .82rem; color: var(--charcoal); line-height: 1.6; margin: 0; }

/* ================================================
   3. TOAST NOTIFICATIONS
   ================================================ */
.toast-wrap {
  position: fixed; z-index: 9500;
  bottom: 8.5rem;
  display: flex; flex-direction: column; gap: .55rem;
  max-width: 310px; pointer-events: none;
}
html[dir="rtl"] .toast-wrap { left: 1.5rem; }
html[dir="ltr"]  .toast-wrap { right: 1.5rem; }
@media (max-width: 768px) { .toast-wrap { bottom: 5.5rem; max-width: calc(100vw - 3rem); } }
.toast {
  position: relative; overflow: hidden;
  background: var(--charcoal); color: var(--white);
  padding: .85rem 1.1rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: .86rem; line-height: 1.5;
  display: flex; gap: .6rem; align-items: flex-start;
  pointer-events: auto;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
html[dir="rtl"] .toast { border-left:  3px solid var(--gold); }
html[dir="ltr"]  .toast { border-right: 3px solid var(--gold); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.hide { opacity: 0; transform: translateY(8px); }
.toast-ico { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.toast-body { flex: 1; }
.toast-body p { margin: 0; }
.toast-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--gold);
  animation: toast-drain 4s linear forwards;
}
@keyframes toast-drain { from { width: 100%; } to { width: 0%; } }

/* ════════════════════════════════════════════════════════
   ✦ 2026 PREMIUM ENHANCEMENTS LAYER ✦
   Additive polish — modern, tasteful, performant
   ════════════════════════════════════════════════════════ */

/* ---- Extra design tokens ---- */
:root {
  --grad-gold:  linear-gradient(135deg, #E8BE5A 0%, #D4A43C 45%, #9C6C1C 100%);
  --grad-teal:  linear-gradient(135deg, #1a6e6d 0%, #125352 100%);
  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--gold) 100%);
  --glass:      rgba(255,255,255,.72);
  --glass-brd:  rgba(255,255,255,.55);
  --ease-out:   cubic-bezier(.16,.84,.44,1);
  --shadow-xl:  0 24px 60px -12px rgba(28,28,20,.28);
  --shadow-glow:0 0 0 1px rgba(212,164,60,.18), 0 20px 50px -18px rgba(212,164,60,.45);
}

/* ════════════════ ANIMATED HERO BACKGROUND ════════════════ */
.hero::before {
  animation: orb-drift-a 16s var(--ease-out) infinite alternate;
  filter: blur(8px);
}
.hero::after {
  animation: orb-drift-b 19s var(--ease-out) infinite alternate;
  filter: blur(8px);
}
@keyframes orb-drift-a {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px,30px) scale(1.18); }
}
@keyframes orb-drift-b {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(35px,-25px) scale(1.22); }
}

/* Subtle dotted grid overlay on hero for depth */
.hero { isolation: isolate; }

/* ════════════════ HERO TEXT ENTRANCE ════════════════ */
.hero-badge   { animation: fade-up .7s var(--ease-out) both; }
.hero h1      { animation: fade-up .7s var(--ease-out) .08s both; }
.hero-tagline { animation: fade-up .7s var(--ease-out) .16s both; }
.hero-desc    { animation: fade-up .7s var(--ease-out) .24s both; }
.hero-cta     { animation: fade-up .7s var(--ease-out) .32s both; }
.hero-visual  { animation: fade-scale .9s var(--ease-out) .2s both; }

@keyframes fade-up   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-scale{ from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

.hero-badge {
  position: relative;
  background: rgba(18,83,82,.08);
  backdrop-filter: blur(4px);
}
/* Live pulse dot inside hero badge */
.hero-badge::after {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,164,60,.6);
  animation: badge-pulse-ring 2s ease-out infinite;
}
@keyframes badge-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(212,164,60,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(212,164,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,164,60,0); }
}

/* Animated gradient on the gold headline accent */
.hero h1 .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gold-shimmer 5s linear infinite;
}
@keyframes gold-shimmer { to { background-position: 200% center; } }

/* ════════════════ HERO PREMIUM PHOTO VISUAL ════════════════ */
.hero-visual {
  position: relative;
  display: block;
  perspective: 1200px;
}
.hero-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.5);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease-out);
  aspect-ratio: 16 / 11;
  background: var(--charcoal);
}
html[dir="rtl"] .hero-photo { transform: rotateY(4deg) rotateX(2deg); }
.hero-visual:hover .hero-photo { transform: rotateY(0) rotateX(0); }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-glow {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(212,164,60,.18) 100%);
  pointer-events: none;
}

/* Floating glass badges */
.hero-float {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .75rem .95rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 2;
}
.hero-float .hf-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-float strong { font-size: 1.15rem; font-weight: 900; color: var(--teal); }
.hero-float span { font-size: .68rem; color: #6b6b60; font-weight: 600; }

.hero-float-rating {
  top: 7%;
  animation: float-y 5s ease-in-out infinite;
}
html[dir="rtl"] .hero-float-rating { left: 2%; }
html[dir="ltr"] .hero-float-rating { right: 2%; }
.hf-stars { color: var(--gold); font-size: .8rem; letter-spacing: .1em; }
.hero-float-rating strong { color: var(--gold); font-size: 1.3rem; }

.hero-float-device {
  bottom: 14%;
  animation: float-y 6s ease-in-out infinite .8s;
}
html[dir="rtl"] .hero-float-device { right: -2%; }
html[dir="ltr"] .hero-float-device { left: -2%; }
.hf-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--grad-gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hf-icon svg { width: 24px; height: 24px; }

.hero-float-spec {
  bottom: -5%;
  flex-direction: column;
  text-align: center;
  gap: 0;
  padding: .7rem 1.1rem;
  animation: float-y 5.5s ease-in-out infinite .4s;
}
html[dir="rtl"] .hero-float-spec { left: 12%; }
html[dir="ltr"] .hero-float-spec { right: 12%; }
.hero-float-spec strong { font-size: 1.5rem; color: var(--gold); }

@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ════════════════ SCROLL CUE ════════════════ */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: .55;
  transition: opacity .3s;
  animation: fade-up 1s var(--ease-out) 1s both;
}
.hero-scroll-cue:hover { opacity: 1; }
.hsc-mouse {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid var(--teal);
  border-radius: 13px;
  position: relative;
}
.hsc-wheel {
  position: absolute; top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: var(--teal);
  border-radius: 2px;
  animation: wheel-fall 1.6s ease-in-out infinite;
}
@keyframes wheel-fall { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translateY(10px); } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 1100px) { .hero-scroll-cue { display: none; } }

/* ════════════════ GRADIENT SECTION HEADINGS ════════════════ */
.section-title .lang-ar,
.section-title .lang-en {
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--teal) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.divider {
  height: 4px;
  width: 60px;
  background: var(--grad-brand);
  background-size: 200% auto;
  animation: gold-shimmer 4s linear infinite;
}

/* ════════════════ BUTTON SHINE ════════════════ */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(18,83,82,.32); }

/* ════════════════ PREMIUM CARD HOVERS ════════════════ */
.service-card, .equip-card, .testimonial-card, .team-card, .blog-card {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.service-card::before { height: 4px; background: var(--grad-brand); }

/* Gradient icon tiles */
.service-icon {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(18,83,82,.5);
  transition: transform .4s var(--ease-out);
}
.service-card:nth-child(even) .service-icon { background: var(--grad-gold); box-shadow: 0 8px 18px -6px rgba(212,164,60,.5); }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-icon svg { width: 28px; height: 28px; }

.equip-icon { transition: transform .4s var(--ease-out), background .3s; }
.equip-card:hover .equip-icon { transform: scale(1.08) rotate(3deg); background: rgba(212,164,60,.22); }

/* ════════════════ TESTIMONIAL GRADIENT AVATARS ════════════════ */
.t-avatar {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}
.testimonial-card { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }

/* ════════════════ TRUST STRIP SHEEN ════════════════ */
.trust-strip {
  background: linear-gradient(100deg, var(--charcoal) 0%, #25251a 50%, var(--charcoal) 100%);
}
.trust-item { transition: transform .3s var(--ease-out), color .3s; }
.trust-item:hover { transform: translateY(-3px); color: #fff; }
.trust-item:hover .ti { transform: scale(1.15); }
.trust-item .ti { transition: transform .3s var(--ease-out); display: inline-block; }

/* ════════════════ STATS COUNTER GRADIENT ════════════════ */
.ctr-num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ctr-num .ctr-suffix { -webkit-text-fill-color: var(--gold); }
.ctr-item { transition: transform .3s var(--ease-out); }
.ctr-item:hover { transform: translateY(-4px); }

/* ════════════════ NAV LINK UNDERLINE ════════════════ */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }
.nav-links a.active { background: transparent; }

/* Logo subtle ring on hover */
.logo-img-wrap { transition: width .3s ease, height .3s ease, box-shadow .3s, transform .3s; }
.nav-logo:hover .logo-img-wrap { box-shadow: 0 0 0 3px rgba(212,164,60,.25); transform: scale(1.04); }

/* ════════════════ CTA BANNER GLOW ════════════════ */
.cta-banner::after {
  content: '';
  position: absolute; bottom: -40%; left: -8%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(18,83,82,.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

/* ════════════════ SCROLL-REVEAL (stagger-ready) ════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ════════════════ FLOATING WHATSAPP REFINEMENT ════════════════ */
.float-wa { background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,.5); }

/* ════════════════ SECTION TAG GRADIENT ════════════════ */
.section-tag {
  background: linear-gradient(120deg, rgba(18,83,82,.12), rgba(212,164,60,.12));
  color: var(--teal);
  border: 1px solid rgba(18,83,82,.1);
}

/* ════════════════ RESPONSIVE — HERO VISUAL ════════════════ */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
}

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-photo { transform: none !important; }
}

/* ════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE-FIRST RESPONSIVE LAYER
   ════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --max-w: 100%; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding: 2rem 1.25rem 3rem;
  }
  .hero-text { order: 1; }
  .hero-desc { margin-left: auto; margin-right: auto; max-width: 540px; }
  .hero-cta  { justify-content: center; }
  .hero-badge { font-size: .76rem; }

  /* Show hero visual as a full-width image on tablet */
  .hero-visual {
    display: block;
    order: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .hero-photo { transform: none !important; aspect-ratio: 16/9; border-radius: 20px; }

  /* Reposition floating badges for tablet */
  .hero-float-rating { top: 6%; }
  html[dir="rtl"] .hero-float-rating { left: 4%; }
  html[dir="ltr"] .hero-float-rating { right: 4%; }
  .hero-float-device { bottom: 10%; }
  html[dir="rtl"] .hero-float-device { right: 2%; }
  html[dir="ltr"] .hero-float-device { left: 2%; }

  .about-snippet-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual-box   { display: none; }
  .about-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .about-card         { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {

  /* ---- Base typography ---- */
  body { font-size: 15px; }
  h1   { font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.25; }
  h2   { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  h3   { font-size: clamp(1rem,   4vw, 1.3rem); }

  /* ---- Navbar ---- */
  .navbar { position: sticky; top: 0; }
  .nav-container { height: 62px; padding: 0 1rem; }
  .logo-img-wrap { width: 44px; height: 44px; }
  .logo-ar { font-size: .76rem; }
  .logo-en { display: none; }
  .nav-book-btn { display: none; }
  .menu-toggle  { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 2px solid var(--gold);
    border-bottom: 1px solid var(--beige);
    padding: .5rem .75rem .75rem;
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 999;
    box-shadow: 0 10px 28px rgba(28,28,20,.13);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a {
    padding: .78rem 1rem;
    font-size: .93rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(238,223,212,.45);
    color: var(--charcoal);
    font-weight: 600;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--teal);
    background: rgba(18,83,82,.07);
  }
  .nav-links li:last-child a { border-bottom: none; }
  /* hide desktop underline pseudo-element inside mobile dropdown */
  .nav-links a::after { display: none; }

  /* ---- Hero: image-first layout on mobile ---- */
  .hero {
    min-height: auto;
    padding: 0 0 2rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    padding: 0;
  }
  /* Text goes below the image */
  .hero-text {
    order: 2;
    padding: 1.75rem 1rem 0;
  }
  .hero-badge { font-size: .72rem; padding: .3rem .75rem; }
  .hero h1    { margin-bottom: .7rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-desc  { font-size: .9rem; margin-bottom: 1.75rem; max-width: 100%; }
  .hero-cta   { flex-direction: column; gap: .75rem; align-items: stretch; }
  .hero-cta .btn { justify-content: center; font-size: .9rem; padding: .85rem 1.5rem; }

  /* Hero visual: full-width image banner at top */
  .hero-visual {
    display: block;
    order: 1;
    width: 100%;
    margin: 0;
  }
  .hero-photo {
    aspect-ratio: 16/9;
    max-height: 250px;
    border-radius: 0 0 24px 24px;
    transform: none !important;
    border: none;
    overflow: hidden;
  }
  .hero-photo-glow { display: none; }

  /* Floating badges: compact, inside image corners */
  .hero-float { padding: .45rem .65rem; border-radius: 10px; gap: .4rem; }
  .hero-float strong { font-size: .9rem; }
  .hero-float span   { font-size: .58rem; }
  .hf-icon { width: 28px; height: 28px; border-radius: 7px; }
  .hf-icon svg { width: 16px; height: 16px; }
  .hf-stars { font-size: .65rem; }

  .hero-float-rating { top: 10px; }
  html[dir="rtl"] .hero-float-rating { left: 12px; }
  html[dir="ltr"] .hero-float-rating { right: 12px; }
  .hero-float-device { bottom: 40px; }
  html[dir="rtl"] .hero-float-device { right: 10px; }
  html[dir="ltr"] .hero-float-device { left: 10px; }
  .hero-float-spec { display: none; }
  .hero-float-spec { bottom: -10px; }
  html[dir="rtl"] .hero-float-spec { left: 50%; transform: translateX(-50%); }
  html[dir="ltr"] .hero-float-spec  { right: 50%; transform: translateX(50%); }

  /* ---- Trust strip ---- */
  .trust-strip { padding: 1rem; }
  .trust-inner {
    gap: .75rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }
  .trust-item { font-size: .78rem; gap: .45rem; }
  .trust-item .ti { font-size: 1.1rem; }

  /* ---- Stats strip ---- */
  .stats-strip { padding: 1.75rem 1rem; }
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); gap: 1.25rem .75rem; }
  .ctr-num { font-size: clamp(1.5rem,6vw,2.2rem); }
  .ctr-lbl { font-size: .72rem; }

  /* ---- Sections ---- */
  .section { padding: 3rem 1rem; }
  .section-subtitle { font-size: .9rem; margin-bottom: 2rem; }

  /* ---- Services ---- */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card  { padding: 1.35rem; }
  .service-icon  { width: 44px; height: 44px; margin-bottom: .85rem; }
  .service-icon svg { width: 22px; height: 22px; }
  .service-card h3 { font-size: .95rem; }
  .service-card p  { font-size: .82rem; }

  /* ---- Equipment ---- */
  .equip-cards { grid-template-columns: 1fr; gap: 1rem; }
  .equip-card  { flex-direction: row; align-items: flex-start; padding: 1.25rem; gap: .9rem; }
  .equip-icon  { flex-shrink: 0; width: 50px; height: 50px; }
  .equip-icon svg { width: 28px; height: 28px; }
  .equip-card .device-name { font-size: .88rem; }
  .equip-card p { font-size: .8rem; }

  /* ---- About snippet ---- */
  .about-snippet-grid { grid-template-columns: 1fr; gap: 0; }
  .about-visual-box   { display: none; }
  .value-item { font-size: .85rem; padding: .65rem .85rem; }
  .value-check { width: 18px; height: 18px; font-size: .55rem; flex-shrink: 0; }

  /* ---- Testimonials ---- */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial-card  { padding: 1.35rem; }
  .t-quote { font-size: .83rem; }
  .t-name  { font-size: .8rem; }

  /* ---- FAQ ---- */
  .faq-list { padding: 0; }
  .faq-q    { font-size: .88rem; padding: 1rem; }
  .faq-a p  { font-size: .83rem; }

  /* ---- CTA Banner ---- */
  .cta-banner { padding: 3rem 1rem; }
  .cta-banner h2 { font-size: clamp(1.3rem,5vw,1.8rem); }
  .cta-buttons { flex-direction: column; align-items: stretch; gap: .75rem; }
  .cta-buttons .btn { justify-content: center; }

  /* ---- Footer ---- */
  .footer { padding-top: 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .footer-col h4 { font-size: .82rem; margin-bottom: .75rem; }
  .f-links a { font-size: .82rem; }
  .footer-bottom { padding: 1rem; font-size: .72rem; }

  /* ---- Social links ---- */
  .social-row { gap: .5rem; }
  .soc-link { width: 32px; height: 32px; font-size: .85rem; }

  /* ---- Contact page ---- */
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-form   { padding: 1.5rem 1.1rem; }
  .ci-item { padding: .9rem; }
  .form-row { grid-template-columns: 1fr; }

  /* ---- Team ---- */
  .team-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .team-photo { height: 170px; }
  .team-info  { padding: 1rem; }
  .team-info h3 { font-size: .88rem; }
  .team-info .specialty { font-size: .76rem; }

  /* ---- Blog ---- */
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-thumb { height: 170px; }
  .blog-body  { padding: 1.1rem; }
  .blog-body h3 { font-size: .92rem; }

  /* ---- Page hero ---- */
  .page-hero { padding: 3.5rem 1rem 2.5rem; }
  .page-hero h1 { font-size: clamp(1.4rem,6vw,2rem); }
  .page-hero p  { font-size: .88rem; }

  /* ---- Floating buttons ---- */
  .floating-wrap { bottom: 5.5rem; }
  .float-wa { width: 48px; height: 48px; font-size: 1.25rem; }
  .float-book { font-size: .7rem; padding: .45rem .9rem; }

  /* ---- Announce bar ---- */
  .announce-bar { font-size: .74rem; padding: .55rem 2.5rem; }

  /* ---- Open badge ---- */
  .open-badge { display: none; }

  /* ---- Scroll top ---- */
  .scroll-top { bottom: 6.5rem; width: 36px; height: 36px; font-size: .8rem; }
}

/* ── Small mobile (≤ 480px) ────────────────────────────── */
@media (max-width: 480px) {
  .nav-container { height: 58px; }
  .nav-links { max-height: calc(100vh - 58px); }

  h1 { font-size: clamp(1.5rem, 8vw, 2rem); }

  /* Hero on small phones */
  .hero { padding: 0 0 1.5rem; }
  .hero-text { padding: 1.25rem .875rem 0; }
  .hero-photo { max-height: 200px; aspect-ratio: 4/3; }
  .hero-float { display: none; }

  /* Trust: wrap to 2-col */
  .trust-inner { grid-template-columns: 1fr 1fr; gap: .6rem .9rem; }
  .trust-item  { font-size: .72rem; }

  /* Stats: 2x2 */
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); gap: 1rem .5rem; }

  /* Services: single col already; tighten padding */
  .service-card { padding: 1.15rem; }
  .section { padding: 2.5rem .875rem; }

  /* Equip: keep row but smaller */
  .equip-card { padding: 1rem .875rem; gap: .75rem; }
  .equip-icon { width: 44px; height: 44px; }

  /* Team: single col on tiny phones */
  .team-grid  { grid-template-columns: 1fr; }
  .team-photo { height: 200px; }

  /* Footer: tighter */
  .footer-grid { padding: 0 .875rem; gap: 1.25rem; }
  .f-contact-list { gap: .55rem; }

  /* Form */
  .contact-form { padding: 1.25rem .875rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: .88rem; padding: .65rem .875rem; }

  /* CTA buttons */
  .cta-buttons .btn { padding: .85rem 1rem; font-size: .84rem; }

  /* Floating WA — smaller button, no pulsing rings on mobile */
  html[dir="rtl"] .floating-wrap { left: 1rem; }
  html[dir="ltr"]  .floating-wrap { right: 1rem; }
  .float-wa { width: 44px; height: 44px; font-size: 1.2rem; box-shadow: 0 4px 14px rgba(37,211,102,.4); }
  .float-wa::before, .float-wa::after { display: none; }
  .wa-bubble { width: 185px; font-size: .8rem; }
  .wa-bubble-msg { font-size: .78rem; }
  .floating-wrap { gap: .4rem; bottom: 1.25rem; }

  /* Sticky CTA bar: slightly taller tap targets */
  .sticky-cta-bar a { padding: .72rem .4rem; font-size: .78rem; }

  /* Testimonials: tighter */
  .testimonial-card { padding: 1.1rem; }

  /* FAQ */
  .faq-q  { font-size: .83rem; padding: .85rem; }
  .faq-a p{ font-size: .8rem; }
  .faq-item.open .faq-a { padding: 0 .85rem .85rem; }

  /* Page hero */
  .page-hero { padding: 2.75rem .875rem 2rem; }

  /* Divider: centered always */
  .divider { margin-left: auto !important; margin-right: auto !important; }
}

/* ── Very small (≤ 360px) ──────────────────────────────── */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .nav-container { padding: 0 .75rem; }
  .logo-ar { font-size: .7rem; }
  .hero { padding: 1.75rem .75rem 1.25rem; }
  .hero h1 { font-size: 1.55rem; }
  .service-card { padding: 1rem .75rem; }
  .footer-grid  { padding: 0 .75rem; }
  .contact-form { padding: 1rem .75rem; }
  .section { padding: 2rem .75rem; }
}

/* ── Mid-mobile (≤ 600px): 2-col services on wider phones ─ */
@media (min-width: 481px) and (max-width: 768px) {
  .services-grid     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .equip-cards       { grid-template-columns: 1fr; }
}

/* ── Touch devices: remove desktop-only hover transforms ─ */
@media (hover: none) {
  .service-card:hover,
  .equip-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .testimonial-card:hover { transform: none; box-shadow: var(--shadow-sm); }

  .btn:hover::after { left: -120%; }
  .nav-links a::after { display: none; }
  .trust-item:hover  { transform: none; }
  .ctr-item:hover    { transform: none; }
  .soc-link:hover    { transform: none; }
  .float-wa:hover    { transform: none; }
  .float-book:hover  { transform: none; }
  .nav-logo:hover .logo-img-wrap { transform: none; box-shadow: none; }
}

/* ── Safe-area insets (iPhone notch / home bar) ─────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sticky-cta-bar {
    padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  }
  .floating-wrap {
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px) {
    .floating-wrap {
      bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
  }
}

/* ── Landscape phone ────────────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero    { padding: 1.5rem 1rem 1rem; min-height: auto; }
  .hero h1 { font-size: 1.6rem; }
  .hero-visual { display: none; }
  .hero-cta    { flex-direction: row; }
  .hero-cta .btn { flex: 1; }
  .nav-links { max-height: 70vh; overflow-y: auto; }
}
