/* ============================================================
   Mr. Brico-Rapid – Premium Plumbing Website CSS
   Apple-style luxury design
   ============================================================ */

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

:root {
  --navy:      #0d2137;
  --blue:      #1a3a5c;
  --accent:    #2a7fca;
  --accent2:   #0ea5e9;
  --green:     #25d366;
  --green-d:   #128c7e;
  --white:     #ffffff;
  --off-white: #f8fafc;
  --light:     #f1f5f9;
  --border:    #e2e8f0;
  --text:      #0d2137;
  --muted:     #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==== RTL support ==== */
body.ar { direction: rtl; font-family: 'Noto Kufi Arabic', 'Inter', sans-serif; }
body.fr .ar-text, body:not(.ar) .ar-text { display: none; }
body.ar .fr-text { display: none; }
body.ar .ar-text { display: block; }
body.fr .ar-text { display: none; }
.fr-text, .ar-text { display: block; }
body:not(.ar) .ar-text { display: none; }

span.ar-text, span.fr-text { display: inline; }
body.ar span.fr-text { display: none; }
body:not(.ar) span.ar-text { display: none; }

/* ==== CONTAINER ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.6);
  transition: var(--transition);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-icon svg path:first-child { fill: white; }
.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.logo-tagline {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
}

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}
.nav-link:hover { color: var(--accent); background: rgba(42,127,202,.06); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.btn-call-header {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(42,127,202,.35);
}
.btn-call-header:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,127,202,.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)), url('hero.png');
  background-size: cover;
  background-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(42,127,202,.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(14,165,233,.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(26,58,92,.05) 0%, transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(42,127,202,.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 800px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(42,127,202,.2);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(42,127,202,.1);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { opacity: .9; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* ==== BUTTONS ==== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--accent), #1d6fb0);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(42,127,202,.4);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,127,202,.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  white-space: nowrap;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.5); }

/* ==== HERO STATS ==== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: 20px 32px;
  box-shadow: var(--shadow-md);
  width: fit-content;
  max-width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(8px)} }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(42,127,202,.2); }

.service-img-container {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.service-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.service-card:hover .service-real-img { transform: scale(1.1); }

.service-icon-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: var(--transition);
}
.service-card:hover .service-icon-overlay {
  transform: translateY(-5px);
  background: var(--accent);
  color: white;
}

.service-icon-overlay.leak { color: #0369a1; }
.service-icon-overlay.pipe { color: #1d4ed8; }
.service-icon-overlay.bath { color: #7c3aed; }
.service-icon-overlay.emergency { color: #d97706; }
.service-icon-overlay.water { color: #065f46; }
.service-icon-overlay.drain { color: #dc2626; }
.service-card:hover .service-icon-overlay { color: white; }

.service-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 24px 28px 10px; }
.service-desc { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0 28px 32px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.why-img-container {
  height: 180px;
  width: 100%;
  overflow: hidden;
}
.why-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.why-card:hover .why-real-img { transform: scale(1.08); }

.why-content {
  padding: 24px 28px 32px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.why-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(42,127,202,.08);
  line-height: 1;
  position: absolute;
  top: 10px; right: 20px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
body.ar .why-number { right: auto; left: 20px; }

.why-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; z-index: 2; position: relative; }
.why-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; z-index: 2; position: relative; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: white;
}
.gallery-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }

.gallery-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}

.gallery-placeholder {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}

.gallery-label {
  padding: 18px 20px;
  background: white;
}
.gallery-label p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

.badge-before, .badge-after {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-before { background: rgba(254, 226, 226, 0.9); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.1); }
.badge-after { background: rgba(209, 250, 229, 0.9); color: #065f46; border: 1px solid rgba(6, 95, 70, 0.1); }

.gallery-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.gallery-card:hover .gallery-image {
  transform: scale(1.1);
}
.gallery-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
body.ar .gallery-badge-top { right: auto; left: 16px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.process-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(42, 127, 202, 0.3);
}
.process-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.process-step p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.process-arrow {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.4;
  font-weight: 300;
}
body.ar .process-arrow { transform: rotate(180deg); }

@media (max-width: 850px) {
  .process-grid { flex-direction: column; }
  .process-arrow { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-trigger {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
body.ar .faq-trigger { text-align: right; }
.faq-trigger span:first-child, .faq-trigger span:nth-child(2) {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0 32px;
  background: var(--light);
}
.faq-item.active .faq-content {
  max-height: 200px;
  padding: 24px 32px;
}
.faq-content p { color: var(--muted); line-height: 1.7; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(42,127,202,.08);
  line-height: 1;
  font-family: Georgia, serif;
}
body.ar .review-card::before { content: '«'; left: auto; right: 24px; }

.review-stars { font-size: 1.1rem; color: #f59e0b; margin-bottom: 14px; letter-spacing: 2px; }

.review-text {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-author strong { display: block; color: var(--navy); font-size: .95rem; }
.review-author span { font-size: .8rem; color: var(--muted); }

.google-badge { display: flex; justify-content: center; }
.google-badge-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(42,127,202,.15);
  box-shadow: var(--shadow-md);
}
.google-rating { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.google-reviews { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.google-stars { font-size: 1.6rem; color: #f59e0b; letter-spacing: 2px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
a.contact-item:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,127,202,.1), var(--shadow-md); transform: translateX(4px); }
body.ar a.contact-item:hover { transform: translateX(-4px); }

.contact-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap.call { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--accent); }
.contact-icon-wrap.wa { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--green-d); }
.contact-icon-wrap.loc { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.contact-icon-wrap.clock { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed; }

.contact-label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 2px; font-weight: 500; }
.contact-item strong { font-size: .95rem; color: var(--navy); }

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.map-wrap {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 40px 0;
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon.small { width: 32px; height: 32px; border-radius: 8px; }
.footer-name { font-size: 1.05rem; font-weight: 700; color: white; }
.footer-copy { font-size: .85rem; }
.footer-links { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: white;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: slideInRight .6s ease both;
}
body.ar .fab-whatsapp { right: auto; left: 24px; animation: slideInLeft .6s ease both; }
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 36px rgba(37,211,102,.55); }
.fab-label { font-family: inherit; }

.fab-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: white;
  text-decoration: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(42,127,202,.45);
  transition: var(--transition);
  animation: slideInRight .8s ease both;
}
body.ar .fab-call { right: auto; left: 24px; animation: slideInLeft .8s ease both; }
.fab-call:hover { transform: scale(1.12); box-shadow: 0 12px 36px rgba(42,127,202,.55); }
.fab-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(42,127,202,.3);
  animation: callRing 2s infinite;
}
@keyframes callRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes slideInRight { from { transform: translateX(80px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInLeft  { from { transform: translateX(-80px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 16px 24px; box-shadow: var(--shadow-md); gap: 4px; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .btn-call-header span { display: none; }
  .btn-call-header { padding: 8px 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 300px; }
  .hero-stats { padding: 16px 20px; }
  .stat-item { padding: 0 16px; }
}

@media (max-width: 640px) {
  .hero-content { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .btn-primary, .btn-whatsapp { padding: 14px 24px; font-size: .95rem; }
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 12px; }
  .google-badge-inner { flex-direction: column; text-align: center; padding: 24px; }
  .fab-whatsapp .fab-label { display: none; }
  .fab-whatsapp { padding: 14px; border-radius: 50%; }
}

/* RTL specifics */
body.ar .service-card::before { background: linear-gradient(270deg, var(--accent), var(--accent2)); }
body.ar .hero-content { text-align: right; }
body.ar .hero-ctas { justify-content: flex-end; }
body.ar .badge-pill { flex-direction: row-reverse; }
body.ar .stat-item { direction: rtl; }
