/* ==========================================================================
   Egyptian Estate — Brand Design Tokens & Base Styles
   Identity: warm, approachable, trustworthy. Terracotta / off-white / brown.
   Typeface: Cairo (Arabic + Latin, geometric & friendly)
   ========================================================================== */

:root {
  /* Color tokens */
  --color-bg:            #FBF6EF; /* warm off-white paper */
  --color-bg-soft:       #F3E7D8; /* sand */
  --color-surface:       #FFFFFF;
  --color-ink:           #34241C; /* deep warm brown, near-black */
  --color-ink-soft:      #6B5645;
  --color-ink-faint:     #9C8975;

  --color-primary:       #C1622D; /* terracotta */
  --color-primary-dark:  #9C4C21;
  --color-primary-light: #E9A874;
  --color-secondary:     #7A4B32; /* warm brown */

  --color-border:        #E6D5C0;
  --color-whatsapp:      #25D366;

  /* Radii & shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(52, 36, 28, .06);
  --shadow-md: 0 12px 32px rgba(52, 36, 28, .12);

  /* Type */
  --font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.3; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary-dark);
  background: var(--color-bg-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--color-ink-soft); font-size: 17px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* -------------------------------------------------------------------- */
/* Buttons                                                              */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { filter: brightness(.94); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 800; color: var(--color-ink); }
.brand-text span { font-size: 12px; color: var(--color-ink-soft); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink-soft);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--color-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(193, 98, 45, .12), transparent 70%),
    var(--color-bg);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero p.lead {
  font-size: 18px;
  color: var(--color-ink-soft);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink-soft);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

.hero-visual {
  background: linear-gradient(155deg, var(--color-primary-light), var(--color-primary));
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 55%);
}
.hero-visual-card {
  position: relative;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.hero-visual-card strong { display: block; font-size: 20px; margin-bottom: 4px; }
.hero-visual-card span { font-size: 13px; color: var(--color-ink-soft); }

.hero-stat-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-stat {
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.hero-stat strong { display: block; font-size: 24px; color: var(--color-primary-dark); margin-bottom: 4px; }
.hero-stat span { font-size: 12.5px; font-weight: 700; color: var(--color-ink-soft); }

/* -------------------------------------------------------------------- */
/* Feature / area cards                                                 */
/* -------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card .icon-badge svg { width: 26px; height: 26px; color: var(--color-primary-dark); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--color-ink-soft); font-size: 15px; }

.section-alt { background: var(--color-bg-soft); }

/* -------------------------------------------------------------------- */
/* Project cards                                                        */
/* -------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.project-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-soft);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.project-thumb:hover img { transform: scale(1.04); }

.thumb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  transition: background .15s ease;
}
.thumb-nav-btn:hover { background: rgba(0,0,0,.7); }
.thumb-prev { inset-inline-start: 10px; }
.thumb-next { inset-inline-end: 10px; }

.thumb-count {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.project-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-dev {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project-body h3 { font-size: 20px; }
.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--color-ink-soft);
  font-weight: 600;
}
.project-location svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.project-meta .label { display: block; color: var(--color-ink-faint); font-size: 12px; margin-bottom: 2px; }
.project-meta .value { display: block; font-weight: 700; color: var(--color-ink); font-size: 14px; }
.project-meta .value small { font-weight: 600; color: var(--color-ink-soft); font-size: 12px; }

.project-points { font-size: 13.5px; color: var(--color-ink-soft); line-height: 1.7; }

.project-cta { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; align-items: stretch; }
.project-cta .btn-whatsapp { flex: 1; padding: 12px 16px; font-size: 14px; }
.project-cta .btn-call-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* -------------------------------------------------------------------- */
/* Budget Matcher                                                       */
/* -------------------------------------------------------------------- */
.matcher {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .matcher { grid-template-columns: 1fr; padding: 32px 24px; } }

.matcher-info h2 { font-size: 28px; margin-bottom: 14px; }
.matcher-info p { color: var(--color-ink-soft); margin-bottom: 20px; }
.matcher-steps { display: flex; flex-direction: column; gap: 14px; }
.matcher-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.matcher-steps .num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-ink);
}
.field .input-wrap { position: relative; }
.field input {
  width: 100%;
  padding: 15px 60px 15px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-ink);
  transition: border-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--color-primary); }
.field .unit {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink-faint);
}
.field small { display: block; margin-top: 6px; color: var(--color-ink-faint); font-size: 13px; }
.field.error input { border-color: #C0392B; }
.field .error-msg { display: none; color: #C0392B; font-size: 13px; margin-top: 6px; }
.field.error .error-msg { display: block; }

/* -------------------------------------------------------------------- */
/* Process steps                                                        */
/* -------------------------------------------------------------------- */
.process { display: flex; justify-content: space-between; gap: 16px; }
@media (max-width: 900px) { .process { flex-direction: column; } }
.process-step { flex: 1; text-align: center; position: relative; }
.process-step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--color-ink-soft); }

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-weight: 700;
  font-size: 16px;
  text-align: start;
}
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-primary); transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--color-ink-soft);
  font-size: 15px;
}
.faq-a-inner { padding: 0 4px 22px; }
.faq-item.open .faq-a { max-height: 300px; }

/* -------------------------------------------------------------------- */
/* CTA banner                                                            */
/* -------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-ink));
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: 28px; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.cta-banner .hero-cta { justify-content: center; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  font-size: 13px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  max-width: 900px;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------------------------------------------------- */
/* WhatsApp floating button                                             */
/* -------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* -------------------------------------------------------------------- */
/* Cookie consent banner                                                */
/* -------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  width: min(340px, calc(100% - 40px));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  z-index: 70;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

.cookie-banner-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-faint);
  border-radius: 50%;
}
.cookie-banner-close:hover { background: var(--color-bg-soft); color: var(--color-ink); }
.cookie-banner-close svg { width: 14px; height: 14px; }

.cookie-banner p {
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.6;
  margin: 4px 22px 14px 0;
}
.cookie-banner p a { color: var(--color-primary-dark); text-decoration: underline; font-weight: 700; }
.cookie-banner .btn { width: 100%; padding: 10px 16px; font-size: 14px; }

@media (max-width: 420px) {
  .cookie-banner { inset-inline-start: 12px; bottom: 12px; width: calc(100% - 24px); }
}

/* -------------------------------------------------------------------- */
/* Gallery lightbox                                                     */
/* -------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,14,10,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 64px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.lightbox.show { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.24); }

.lightbox-close { top: 20px; inset-inline-end: 20px; width: 44px; height: 44px; font-size: 17px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 18px; }
.lightbox-prev { inset-inline-start: 16px; }
.lightbox-next { inset-inline-end: 16px; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lightbox { padding: 56px 8px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 15px; }
  .lightbox-prev { inset-inline-start: 6px; }
  .lightbox-next { inset-inline-end: 6px; }
}

/* -------------------------------------------------------------------- */
/* Simple content pages (privacy / contact / thank-you)                 */
/* -------------------------------------------------------------------- */
.page-hero {
  padding: 64px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.page-hero p { color: var(--color-ink-soft); }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 36px 0 14px; }
.prose p, .prose li { color: var(--color-ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.prose ul { padding-inline-start: 20px; list-style: disc; }
.prose .updated { color: var(--color-ink-faint); font-size: 13px; margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}
.contact-card .icon-badge { margin: 0 auto 18px; }
.contact-card h3 { margin-bottom: 8px; font-size: 19px; }
.contact-card p { color: var(--color-ink-soft); font-size: 14.5px; margin-bottom: 20px; }

.thankyou-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}
.thankyou-box .icon-badge {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  margin: 0 auto 24px;
}
.thankyou-box .icon-badge svg { width: 36px; height: 36px; color: var(--color-whatsapp); }
.thankyou-summary {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 14px;
  text-align: start;
  display: none;
}
.thankyou-summary.show { display: block; }
.thankyou-summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.thankyou-summary strong { color: var(--color-ink); }
/* ====================================================================
   Mobile fix — منع السكرول الأفقي + ضبط سكشن الـ CTA على الموبايل
   يُضاف في نهاية ملف assets/css/style.css
   ==================================================================== */

/* 1) حماية عامة: أي عنصر يعدّي عرض الشاشة ميعملش سكرول أفقي */
html, body {
  max-width: 100%;
  overflow-x: clip; /* لا يكسر position: sticky للهيدر */
}
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

/* 2) الزراير: نسمح للنص الطويل يكسر سطر بدل ما يعدّي الشاشة */
@media (max-width: 640px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  /* 3) سكشن الـ CTA في آخر الصفحة: padding أصغر وزراير بالعرض الكامل */
  .cta-banner {
    padding: 40px 20px;
  }
  .cta-banner h2 {
    font-size: 23px;
  }
  .cta-banner .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner .hero-cta .btn {
    width: 100%;
  }

  /* 4) زراير الهيرو برضه أوسع من الشاشة أحيانًا على الموبايلات الصغيرة */
  .hero-cta .btn-lg {
    padding: 14px 20px;
    font-size: 15.5px;
  }
}

/* 5) كابشن اللايت بوكس فيها nowrap وممكن تعدّي عرض الشاشة */
.lightbox-caption {
  max-width: calc(100% - 24px);
  white-space: normal;
  text-align: center;
}
