/* ==========================================================================
   Abdullah Rental Furniture & Event Planner — Riyadh
   Theme matched to the brand logo: Rich Black · Royal Gold · Warm Cream
   HTML5 + CSS3 + Vanilla JS
   ========================================================================== */

:root {
  --black: #1E1B16;        /* warm rich black (logo text) */
  --black-2: #2A2620;
  --gold: #C2963C;         /* logo gold */
  --gold-light: #D8B25F;
  --gold-dark: #9E7A2C;
  --cream: #FAF7F1;        /* logo background */
  --cream-2: #F1EBDF;
  --line: #E5DCC9;
  --muted: #5B554A;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #1EBE5B;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --font-ar: 'Almarai', 'Segoe UI', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --sh-sm: 0 2px 12px rgba(30, 27, 22, .08);
  --sh-md: 0 10px 34px rgba(30, 27, 22, .13);
  --sh-lg: 0 22px 60px rgba(30, 27, 22, .22);

  --header-h: 78px;
  --topbar-h: 38px;
  --tr: .3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-family: var(--font-ar);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; color: var(--black); }
h4 { font-weight: 600; }

.wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.wrap-narrow { width: min(840px, 100% - 44px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--black); color: rgba(250, 247, 241, .8);
  font-size: .8rem; height: var(--topbar-h);
  display: flex; align-items: center;
  position: fixed; inset-inline: 0; top: 0; z-index: 901;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-light); font-weight: 600; transition: color var(--tr); }
.topbar a:hover { color: var(--white); }
.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 32px; border-radius: 5px;
  font-weight: 600; font-size: .92rem; letter-spacing: 1px; text-transform: uppercase;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr), border-color var(--tr);
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 8px 24px rgba(194, 150, 60, .38); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-dark { background: var(--black); color: var(--gold-light); }
.btn-dark:hover { background: var(--black-2); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-whatsapp { background: var(--wa); color: var(--white); box-shadow: 0 8px 24px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-sm { padding: 11px 22px; font-size: .78rem; }
.btn-block { width: 100%; }

.text-link { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .4px; display: inline-block; margin-top: auto; transition: color var(--tr); }
.text-link:hover { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: var(--topbar-h); z-index: 900;
  height: var(--header-h); display: flex; align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: 0 8px 28px rgba(30, 27, 22, .1); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1260px, 100% - 44px); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 700;
  color: var(--black); font-size: 1.42rem; letter-spacing: 4px;
}
.brand-text small { color: var(--gold-dark); font-size: .64rem; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  color: var(--muted); font-weight: 500; font-size: .93rem; letter-spacing: .3px;
  position: relative; padding: 6px 0; transition: color var(--tr);
}
.nav-link::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--gold); transition: width var(--tr);
}
.nav-link:hover, .nav-link.active { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  color: var(--black); border: 1.5px solid var(--black); border-radius: 5px;
  padding: 8px 16px; font-size: .88rem; font-weight: 700; font-family: var(--font-ar);
  transition: background var(--tr), color var(--tr);
}
.lang-btn:hover { background: var(--black); color: var(--gold-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1001; }
.nav-toggle span { display: block; width: 25px; height: 2.5px; border-radius: 2px; background: var(--black); transition: transform var(--tr), opacity var(--tr); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero with photo background + form ---------- */
.hero {
  position: relative;
  padding: calc(var(--topbar-h) + var(--header-h) + 64px) 0 84px;
  color: var(--white);
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24, 20, 14, .94) 0%, rgba(24, 20, 14, .82) 45%, rgba(24, 20, 14, .55) 100%);
}
html[dir="rtl"] .hero-overlay {
  background: linear-gradient(-100deg, rgba(24, 20, 14, .94) 0%, rgba(24, 20, 14, .82) 45%, rgba(24, 20, 14, .55) 100%);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: 56px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(194, 150, 60, .16); border: 1px solid rgba(194, 150, 60, .55);
  color: var(--gold-light); border-radius: 50px; padding: 8px 18px;
  font-size: .8rem; font-weight: 600; letter-spacing: .6px; margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700; margin-bottom: 20px;
}
.lead { color: rgba(250, 247, 241, .85); font-size: 1.07rem; max-width: 540px; margin-bottom: 30px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 700; color: var(--gold-light); line-height: 1.1;
}
.stat span { font-size: .83rem; color: rgba(250, 247, 241, .72); font-weight: 500; letter-spacing: .4px; }

/* Quote form card (in hero) */
.quote-card {
  background: var(--cream); color: var(--black);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--sh-lg);
  border-top: 4px solid var(--gold);
  scroll-margin-top: calc(var(--topbar-h) + var(--header-h) + 20px);
}
.quote-head { margin-bottom: 18px; }
.quote-card h2 { font-size: 1.65rem; margin-bottom: 4px; }
.quote-head p { font-size: .86rem; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group { margin-bottom: 13px; display: flex; flex-direction: column; }
.form-group label { font-size: .8rem; font-weight: 600; margin-bottom: 5px; letter-spacing: .3px; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 13px; font-size: .92rem;
  background: var(--white); color: var(--black);
  transition: border-color var(--tr), box-shadow var(--tr); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 150, 60, .22);
}
.form-group textarea { resize: vertical; min-height: 64px; }

.error-msg { display: none; color: #B3372B; font-size: .75rem; margin-top: 4px; font-weight: 500; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #B3372B; }
.form-group.has-error .error-msg { display: block; }
.form-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--black); border-top: 1px solid rgba(194, 150, 60, .35); padding: 20px 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: .89rem; font-weight: 500; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--black); }
.section-cream { background: var(--cream-2); }

.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .section-head p { color: rgba(250, 247, 241, .72); }

.eyebrow {
  display: inline-block; color: var(--gold-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px; position: relative; padding-inline-start: 42px;
}
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 30px; height: 1.5px; background: var(--gold); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow { padding-inline: 42px; }
.section-head .eyebrow::after { content: ""; position: absolute; inset-inline-end: 0; top: 50%; width: 30px; height: 1.5px; background: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

.demo-tag {
  display: inline-block; background: rgba(194, 150, 60, .16); color: var(--gold-light);
  font-size: .72rem !important; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 5px; padding: 5px 14px; margin-top: 12px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }

.about-media { position: relative; padding-bottom: 70px; }
.about-media > img:first-child {
  width: 88%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--sh-md); background: var(--cream-2);
}
.about-media-2 {
  position: absolute; bottom: 0; inset-inline-end: 0;
  width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--sh-lg);
  border: 6px solid var(--cream); background: var(--cream-2);
}

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }

.about-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.about-badge {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px; text-align: center; border-bottom: 3px solid var(--gold);
}
.about-badge strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 2px; }
.about-badge span { font-size: .78rem; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  background: var(--black-2); border: 1px solid rgba(194, 150, 60, .25);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 44px rgba(0, 0, 0, .4); }

.service-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }

.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.service-body h3 { font-size: 1.22rem; color: var(--white); font-weight: 600; }
.service-body p { color: rgba(250, 247, 241, .7); font-size: .88rem; flex-grow: 1; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: 5px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--muted); font-weight: 600; font-size: .85rem; letter-spacing: .5px;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: var(--gold-light); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; aspect-ratio: 4 / 3; background: var(--cream-2); box-shadow: var(--sh-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 40px 18px 15px;
  background: linear-gradient(to top, rgba(24, 20, 14, .92), transparent);
  color: var(--white); display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--tr), transform var(--tr);
}
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: translateY(0); }
.g-item figcaption span { font-weight: 600; font-size: .95rem; }
.g-item figcaption small { color: var(--gold-light); font-size: .73rem; letter-spacing: 1px; text-transform: uppercase; }
.g-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(24, 20, 14, .96);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(960px, 92vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: var(--radius); margin-inline: auto; box-shadow: var(--sh-lg); }
.lightbox figcaption { color: var(--cream); margin-top: 14px; font-size: .95rem; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 26px; color: var(--white); font-size: 2.5rem; line-height: 1; transition: color var(--tr); }
.lb-close:hover { color: var(--gold-light); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--white); font-size: 1.4rem;
  display: grid; place-items: center; transition: background var(--tr), color var(--tr);
}
.lb-nav:hover { background: var(--gold); color: var(--black); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; transition: transform var(--tr), box-shadow var(--tr);
}
.p-step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.p-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.7rem; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.p-step h3 { font-size: 1.22rem; margin-bottom: 10px; font-weight: 600; }
.p-step p { color: var(--muted); font-size: .9rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 26px; }
.why-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.why-list li { position: relative; padding-inline-start: 32px; color: var(--muted); font-weight: 500; font-size: .96rem; }
.why-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.urgent-box {
  background: var(--black); color: var(--white);
  border-radius: var(--radius); padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-inline-start: 4px solid var(--gold);
}
.urgent-box strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: block; margin-bottom: 4px; color: var(--gold-light); }
.urgent-box p { color: rgba(250, 247, 241, .8); font-size: .88rem; }

.why-media { position: relative; padding-bottom: 66px; }
.why-media > img:first-child {
  width: 90%; margin-inline-start: auto; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--sh-md); background: var(--cream-2);
}
.why-media-2 {
  position: absolute; bottom: 0; inset-inline-start: 0;
  width: 48%; aspect-ratio: 5 / 3.6; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--sh-lg);
  border: 6px solid var(--cream); background: var(--cream-2);
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--black-2); border: 1px solid rgba(194, 150, 60, .25);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--tr), border-color var(--tr);
}
.review:hover { transform: translateY(-4px); border-color: var(--gold); }
.stars { color: var(--gold-light); font-size: 1.05rem; letter-spacing: 4px; }
.review > p { color: rgba(250, 247, 241, .82); font-size: .93rem; flex-grow: 1; }
.review footer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; flex-shrink: 0;
  font-family: var(--font-display);
}
.review footer strong { display: block; font-size: .95rem; color: var(--white); }
.review footer small { color: rgba(250, 247, 241, .6); font-size: .78rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color var(--tr), box-shadow var(--tr); }
.faq-item.open { border-color: var(--gold); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 24px; font-size: 1rem; font-weight: 600; color: var(--black);
  text-align: start; transition: color var(--tr);
}
.faq-q:hover { color: var(--gold-dark); }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--gold-dark); border-radius: 2px; transition: transform var(--tr);
}
.faq-icon::before { width: 14px; height: 2.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.c-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 17px 22px;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
a.c-card:hover { border-color: var(--gold); transform: translateX(5px); box-shadow: var(--sh-sm); }
html[dir="rtl"] a.c-card:hover { transform: translateX(-5px); }
.c-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--black); color: var(--gold-light);
  display: grid; place-items: center; flex-shrink: 0;
}
.c-card strong { display: block; font-size: .92rem; }
.c-card span:not(.c-icon) { display: block; color: var(--muted); font-size: .88rem; }

.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--line);
  min-height: 400px; background: var(--cream-2);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(250, 247, 241, .7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr 1.15fr; gap: 44px; padding-bottom: 52px; }

.f-logo {
  width: 190px; margin-bottom: 20px;
  background: var(--cream); border-radius: var(--radius); padding: 16px 20px;
}
.f-about p { font-size: .9rem; margin-bottom: 20px; max-width: 320px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid rgba(194, 150, 60, .4); color: var(--gold-light);
  display: grid; place-items: center;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.f-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.f-col h4 { color: var(--gold-light); font-size: .92rem; margin-bottom: 18px; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-body); }
.f-col ul { display: flex; flex-direction: column; gap: 11px; }
.f-col a, .f-col li { font-size: .89rem; color: rgba(250, 247, 241, .62); transition: color var(--tr); }
.f-col a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.footer-bottom p { font-size: .82rem; color: rgba(250, 247, 241, .5); }
.f-demo { color: var(--gold) !important; }

/* ---------- Floating ---------- */
.float-wa {
  position: fixed; bottom: 26px; inset-inline-end: 26px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45); z-index: 800;
  transition: transform var(--tr); animation: pulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-top {
  position: fixed; bottom: 26px; inset-inline-start: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--gold-light);
  display: grid; place-items: center; box-shadow: var(--sh-md); z-index: 800;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr), background var(--tr), color var(--tr);
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--black); }

.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 850;
  display: none; background: var(--black);
  border-top: 1px solid rgba(194, 150, 60, .4);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
}
.mb-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 8px;
  font-size: .72rem; font-weight: 600; color: var(--cream);
  transition: background var(--tr);
}
.mb-wa { color: var(--wa); }
.mb-quote { background: var(--gold); color: var(--black); }
.mb-item:active { background: rgba(255, 255, 255, .08); }
.mb-quote:active { background: var(--gold-dark); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--black); color: var(--cream);
  border: 1px solid var(--gold); border-radius: 8px;
  padding: 14px 28px; font-size: .92rem; font-weight: 500;
  box-shadow: var(--sh-lg); z-index: 1300;
  opacity: 0; visibility: hidden;
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-wa { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .quote-card { max-width: 640px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-media, .why-media { max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar span { font-size: .72rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; inset-inline-end: 0;
    height: 100vh; height: 100dvh; width: min(340px, 84vw);
    background: var(--black);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: calc(var(--topbar-h) + var(--header-h) + 20px) 30px 40px; gap: 30px;
    transform: translateX(105%); transition: transform .35s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
    overflow-y: auto; z-index: 1000;
  }
  html[dir="rtl"] .nav { transform: translateX(-105%); }
  .nav.open { transform: translateX(0) !important; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 13px 0; font-size: 1.05rem; color: rgba(250, 247, 241, .85); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link:hover, .nav-link.active { color: var(--gold-light); }
  .nav-link::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; }
  .nav-actions .btn { width: 100%; }
  .lang-btn { color: var(--cream); border-color: rgba(250, 247, 241, .4); }
  .lang-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .wrap, .wrap-narrow { width: calc(100% - 34px); }

  .topbar span:first-child { display: none; }
  .topbar-inner { justify-content: center; }

  .brand-text strong { font-size: 1.15rem; letter-spacing: 3px; }
  .brand-text small { font-size: .56rem; }
  .brand-logo { width: 44px; }

  .hero { padding-top: calc(var(--topbar-h) + var(--header-h) + 40px); padding-bottom: 60px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .stat strong { font-size: 1.6rem; }
  .quote-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .trust-inner { justify-content: center; }

  .services-grid, .gallery-grid, .process-grid { grid-template-columns: 1fr; }
  .g-item { aspect-ratio: 16 / 10; }
  .about-badges { grid-template-columns: 1fr; }
  .urgent-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .wrap { flex-direction: column; text-align: center; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .float-wa { bottom: 96px; inset-inline-end: 16px; width: 54px; height: 54px; }
  .back-top { bottom: 96px; inset-inline-start: 16px; width: 44px; height: 44px; }
  .toast { bottom: 152px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-nav { width: 42px; height: 42px; }
}

/* RTL fine-tuning */
html[dir="rtl"] .lang-btn { font-family: var(--font-body); }
html[dir="rtl"] .stars { direction: ltr; text-align: end; }
html[dir="rtl"] .brand-text strong { letter-spacing: 0; }
