/* Homepage v2: call-first layout. Loaded only by the homepage (body.home2), on top of styles.css. */

/* ---------- hero ---------- */
.home2 .hero { padding-bottom: 56px; }
.home2 .hero-shell { grid-template-columns: minmax(0, 1fr); }
.home2 .hero-copy { max-width: 700px; padding-bottom: 0; }
.home2 .hero h1 { font-size: clamp(2.5rem, 4.7vw, 3.8rem); }
.home2 .hero h1 .h2-accent { color: #ff5a60; }
.home2 .hero-lede { max-width: 520px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.5; }
.home2 .h2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.home2 .h2-big { min-height: 58px; padding: 0 28px; font-size: 1.06rem; }
.home2 .h2-wa { min-height: 58px; padding: 0 24px; font-size: 1.06rem; background: #1fa855; color: #fff; box-shadow: 0 14px 30px rgba(31, 168, 85, 0.26); }
.home2 .h2-wa:hover, .home2 .h2-wa:focus-visible { background: #178a45; }
.home2 .h2-micro { margin: 14px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.home2 .h2-chips { list-style: none; margin: 30px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.home2 .h2-chips strong { color: #fff; font-family: var(--font-display); font-weight: 700; margin-inline-end: 4px; }

/* ---------- trust bar ---------- */
.h2-trust { background: var(--ink); color: #fff; }
.h2-trust-inner { width: min(var(--max), calc(100vw - 32px)); margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 32px; align-items: center; }
.h2-trust-who { margin: 0; display: grid; gap: 2px; }
.h2-trust-who strong { font-family: var(--font-display); font-size: 1.12rem; }
.h2-trust-who span { color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; }
.h2-trust-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.h2-trust-nums a { display: grid; gap: 2px; padding: 4px 22px; border-inline-start: 1px solid rgba(255, 255, 255, 0.16); color: #fff; }
.h2-trust-nums strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.h2-trust-nums span { color: rgba(255, 255, 255, 0.66); font-size: 0.86rem; line-height: 1.35; }
.h2-trust-nums a:hover strong { color: #ff5a60; }

/* ---------- the call ---------- */
.home2 .section { padding: 84px 0; }
.h2-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.h2-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 24px; }
.h2-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; }
.h2-steps h3 { margin: 16px 0 6px; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.2; }
.h2-steps p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.h2-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.h2-cta-row > span { color: var(--muted); font-size: 0.95rem; }

/* ---------- doors ---------- */
.home2 .h2-doors { padding-top: 0; }
.h2-door-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.h2-door { display: grid; gap: 6px; align-content: start; padding: 22px 20px; border-radius: 14px; background: var(--paper-2); border: 1px solid transparent; color: var(--ink); transition: border-color 160ms ease, transform 160ms ease, background 160ms ease; }
.h2-door:hover, .h2-door:focus-visible { border-color: var(--red); background: #fff; transform: translateY(-2px); }
.h2-door svg { width: 24px; height: 24px; color: var(--red); margin-bottom: 6px; }
.h2-door strong { font-family: var(--font-display); font-size: 1.1rem; }
.h2-door span { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.4; }
.h2-more { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.95rem; }
.h2-more a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* ---------- video ---------- */
.h2-video { background: var(--ink); }
.h2-video-inner { width: min(var(--max), calc(100vw - 32px)); margin: 0 auto; padding: 72px 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
.h2-video-copy h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; color: #fff; }
.h2-video-copy p { color: rgba(255, 255, 255, 0.74); margin: 0 0 18px; }
.h2-video-copy .eyebrow { color: rgba(255, 255, 255, 0.7); }
.h2-video-copy .text-link { color: #fff; }
.h2-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
.h2-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- book ---------- */
.home2 .h2-book { text-align: center; gap: 22px; }
.home2 .h2-book .book-copy { max-width: 620px; margin: 0 auto; }
.home2 .h2-book .book-copy .eyebrow { justify-content: center; }
.h2-book-wa { max-width: 440px; width: 100%; margin: 0 auto; }
.h2-wa-wide { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 800; font-size: 1.08rem; box-shadow: 0 8px 22px rgba(31, 168, 85, 0.28); }
.h2-wa-wide:hover { background: #178a45; }
.h2-wa-wide svg { width: 22px; height: 22px; }
.h2-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.h2-or::before, .h2-or::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.3; }

/* ---------- sticky mobile bar ---------- */
.h2-sticky { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .h2-trust-inner { grid-template-columns: 1fr; gap: 18px; }
  .h2-trust-nums a:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .h2-door-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2-video-inner { grid-template-columns: 1fr; gap: 26px; padding: 56px 0; }
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {
  /* hero: photo on top with the face clear, copy below on solid dark */
  .home2 .hero { min-height: 0; display: block; padding: 0 0 30px; background: #08090e; }
  .home2 .hero::before, .home2 .hero::after { display: none; }
  .home2 .hero-bg { position: relative; inset: auto; height: calc(44vh + 62px); min-height: 350px; max-height: 470px; padding-top: 62px; background: #08090e; }
  .home2 .hero-bg img { transform: none; object-position: 56% 18%; }
  .home2 .hero-overlay { inset: 0 0 auto 0; height: calc(44vh + 62px); min-height: 350px; max-height: 470px; background: linear-gradient(0deg, #08090e 0%, rgba(8, 9, 14, 0.5) 24%, rgba(8, 9, 14, 0) 52%), linear-gradient(180deg, #08090e 0, #08090e 62px, rgba(8, 9, 14, 0) 110px); }
  .home2 .hero-shell { display: block; width: auto; margin: -64px 0 0; padding: 0 20px; }
  .home2 .hero .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .home2 .hero h1 { font-size: clamp(1.8rem, 8.2vw, 2.6rem); line-height: 1.04; margin: 0; }
  .home2 .hero-lede { font-size: 1.04rem; margin-top: 14px; }
  .home2 .h2-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .home2 .h2-actions .button { width: 100%; }
  .home2 .h2-micro { text-align: center; margin-top: 12px; }
  .home2 .h2-chips { margin-top: 22px; padding-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 0.95rem; }

  .h2-trust-inner { padding: 22px 0; }
  .h2-trust-nums { grid-template-columns: 1fr; gap: 12px; }
  .h2-trust-nums a { border-inline-start: 0; padding: 0; grid-template-columns: 118px 1fr; align-items: baseline; gap: 12px; }
  .h2-trust-nums strong { font-size: 1.2rem; }

  .home2 .section { padding: 56px 0; }
  .h2-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .h2-steps li { padding: 20px; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start; }
  .h2-steps .h2-num { grid-row: span 2; }
  .h2-steps h3 { margin: 6px 0 4px; font-size: 1.1rem; }
  .h2-steps p { grid-column: 2; }
  .h2-cta-row { display: grid; gap: 10px; text-align: center; }
  .h2-cta-row .button { width: 100%; }

  .h2-door-grid { gap: 10px; margin-top: 22px; }
  .h2-door { padding: 16px 14px; }
  .h2-door span { font-size: 0.86rem; }
  .h2-more { gap: 8px 16px; }

  .h2-video-inner { padding: 48px 0; }

  /* sticky action bar replaces the floating WhatsApp bubble */
  .home2 .whatsapp-fab { display: none; }
  .h2-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 56px; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 9, 14, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.12); transition: transform 220ms ease; }
  .h2-sticky.is-hidden { transform: translateY(110%); }
  .home2:has(.h2-sticky.is-hidden) .whatsapp-fab { display: none; }
  .h2-sticky a { min-height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; color: #fff; }
  .h2-sticky-book { background: var(--red); font-size: 1.02rem; }
  .h2-sticky-wa { background: #1fa855; }
  .h2-sticky svg { width: 21px; height: 21px; }
  .home2 .site-footer { padding-bottom: 96px; }
}

/* ---------- header: labelled "Book a call" button on mobile (not just an icon) ---------- */
@media (max-width: 860px) {
  .home2 .nav-cta { width: auto; min-width: 0; padding: 0 14px; gap: 7px; background: var(--red); color: #fff; font-size: 0.86rem; white-space: nowrap; }
  .home2 .nav-cta span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  .home2 .nav-cta svg { width: 16px; height: 16px; }
  .home2 .brand-signature { max-width: 150px; height: auto; }
}
@media (max-width: 360px) {
  .home2 .brand-signature { max-width: 118px; }
  .home2 .nav-cta { padding: 0 11px; font-size: 0.8rem; }
}

/* ---------- Arabic (RTL) ---------- */
html[dir="rtl"] .home2 .hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
html[dir="rtl"] .home2 .h2-book, html[dir="rtl"] .home2 .h2-book .book-copy { text-align: center; }
html[dir="rtl"] .h2-or { letter-spacing: 0; }
html[dir="rtl"] .h2-sticky { direction: rtl; }
@media (max-width: 700px) {
  html[dir="rtl"] .home2 .hero-copy h1 { font-size: clamp(1.8rem, 8.4vw, 2.6rem); line-height: 1.3; }
  html[dir="rtl"] .home2 .h2-micro { text-align: center; }
}
