/* =================================================================
   Tamkeen v5 — Enhanced UI Layer
   Sits on top of main.css; adds the refined Nafsaji-quality components.
   All new classes are namespaced with -v2 suffix to avoid conflicts.
   ================================================================= */

/* ── New Design Tokens ──────────────────────────────────────── */
:root {
  /* Refined surface tokens — gentler */
  --v2-bg:           #FAFBFD;
  --v2-bg-soft:      #F4F6FB;
  --v2-bg-purple:    #F7F2FF;
  --v2-surface:      #FFFFFF;
  --v2-surface-2:    #F8FAFC;
  --v2-border:       #E6EAF2;
  --v2-border-soft:  #F0F3F8;

  /* Refined text tokens */
  --v2-text:         #14213D;
  --v2-text-2:       #475569;
  --v2-text-3:       #94A3B8;

  /* Brand */
  --v2-primary:      #2B7DBC;
  --v2-primary-2:    #1A5F96;
  --v2-secondary:    #8B5CF6;
  --v2-secondary-2:  #7C3AED;
  --v2-accent:       #4CAF50;
  --v2-amber:        #F59E0B;

  /* Spacing scale — generous */
  --v2-space-section: 6rem;
  --v2-space-section-sm: 3.5rem;

  /* Shadows — soft, calm */
  --v2-shadow-sm:    0 1px 2px rgba(20,33,61,.04), 0 1px 3px rgba(20,33,61,.06);
  --v2-shadow:       0 4px 14px rgba(20,33,61,.06), 0 1px 3px rgba(20,33,61,.04);
  --v2-shadow-md:    0 10px 30px -10px rgba(43,125,188,.18), 0 4px 12px rgba(20,33,61,.06);
  --v2-shadow-lg:    0 20px 50px -15px rgba(43,125,188,.22), 0 8px 20px rgba(20,33,61,.08);

  /* Radii */
  --v2-r-sm:  10px;
  --v2-r:     16px;
  --v2-r-lg:  22px;
  --v2-r-xl:  28px;
  --v2-r-pill: 999px;

  --v2-ease: cubic-bezier(.4, 0, .2, 1);
  --v2-trans: all .25s var(--v2-ease);

  /* RTL flip — used to mirror arrow icons */
  --rtl-flip: -1;
}
[dir="ltr"] { --rtl-flip: 1; }

[data-theme="dark"] {
  --v2-bg:           #0B121E;
  --v2-bg-soft:      #0F1828;
  --v2-bg-purple:    #1A1530;
  --v2-surface:      #15203A;
  --v2-surface-2:    #1B2742;
  --v2-border:       #28344F;
  --v2-border-soft:  #1F2B45;
  --v2-text:         #F1F5F9;
  --v2-text-2:       #94A3B8;
  --v2-text-3:       #64748B;
  --v2-primary:      #5BA3D9;
  --v2-shadow:       0 4px 14px rgba(0,0,0,.4);
  --v2-shadow-md:    0 10px 30px -10px rgba(0,0,0,.5);
  --v2-shadow-lg:    0 20px 50px -15px rgba(0,0,0,.6);
}

/* ── Body baseline (override for v2 pages) ───────────────────── */
body {
  background: var(--v2-bg);
  color: var(--v2-text);
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  background: var(--v2-primary);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--v2-r-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Container ──────────────────────────────────────────────── */
.container-v2 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container-v2 { padding: 0 2rem; }
}

/* ════════════════════════════════════════════════════════════
   NAVBAR V2
   ════════════════════════════════════════════════════════════ */
.nav-v2 {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--v2-border-soft);
  transition: var(--v2-trans);
}
[data-theme="dark"] .nav-v2 {
  background: rgba(11, 18, 30, .85);
  border-bottom-color: var(--v2-border);
}

.nav-v2-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 768px) { .nav-v2-inner { padding: 0 2rem; } }

.nav-v2-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--v2-text);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.nav-v2-logo { height: 38px; width: auto; display: block; flex-shrink: 0; max-width: none; object-fit: contain; }
.nav-v2-brand-text { letter-spacing: .01em; }

.nav-v2-links {
  display: none;
  align-items: center;
  gap: .25rem;
  margin-inline-start: 2rem;
}
@media (min-width: 1024px) { .nav-v2-links { display: flex; } }

.nav-v2-links a {
  padding: .55rem 1rem;
  color: var(--v2-text-2);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--v2-r-sm);
  transition: var(--v2-trans);
  text-decoration: none;
}
.nav-v2-links a:hover,
.nav-v2-links a.is-active {
  color: var(--v2-primary);
  background: var(--v2-bg-soft);
}

.nav-v2-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-inline-start: auto;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--v2-r-sm);
  background: var(--v2-bg-soft);
  border: 1px solid var(--v2-border-soft);
  color: var(--v2-text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--v2-trans);
}
.icon-btn:hover { color: var(--v2-primary); border-color: var(--v2-border); }
.icon-btn .icon-sun { display: none; }
.icon-btn .icon-moon { display: block; }
[data-theme="dark"] .icon-btn .icon-sun { display: block; }
[data-theme="dark"] .icon-btn .icon-moon { display: none; }

/* Buttons v2 */
.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .65rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: var(--v2-r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--v2-trans);
  white-space: nowrap;
  min-height: 44px; /* mobile tap target */
}
.btn-v2-sm  { padding: .45rem .95rem; font-size: .88rem; min-height: 38px; }
.btn-v2-lg  { padding: .85rem 1.5rem; font-size: 1rem; min-height: 50px; }
.btn-v2-xl  { padding: 1rem 2rem; font-size: 1.08rem; min-height: 56px; }

.btn-v2-primary {
  background: var(--v2-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(43,125,188,.25);
}
.btn-v2-primary:hover {
  background: var(--v2-primary-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(43,125,188,.32);
}

.btn-v2-outline {
  background: transparent;
  color: var(--v2-text);
  border-color: var(--v2-border);
}
.btn-v2-outline:hover {
  border-color: var(--v2-primary);
  color: var(--v2-primary);
  background: var(--v2-bg-soft);
}

.btn-v2-ghost {
  background: transparent;
  color: var(--v2-text-2);
}
.btn-v2-ghost:hover {
  color: var(--v2-primary);
  background: var(--v2-bg-soft);
}

.nav-v2-cta { padding: .65rem 1.25rem; }
@media (max-width: 639px) {
  .nav-v2-cta { display: none; }
}

/* Burger */
.nav-v2-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--v2-bg-soft);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-sm);
  cursor: pointer;
}
.nav-v2-burger span {
  width: 20px;
  height: 2px;
  background: var(--v2-text);
  border-radius: 1px;
  transition: var(--v2-trans);
}
@media (min-width: 1024px) { .nav-v2-burger { display: none; } }

/* Mobile drawer */
/* Drawer — RTL: slides in from right */
.nav-v2-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  background: var(--v2-surface);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(20,33,61,.15);
  overflow-y: auto;
}
[dir="ltr"] .nav-v2-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 8px 0 32px rgba(20,33,61,.15);
}
.nav-v2-drawer.is-open { transform: translateX(0); }

.nav-v2-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--v2-border-soft);
}
.nav-v2-drawer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  overflow-y: auto;
}
.nav-v2-drawer-links a {
  padding: .9rem 1rem;
  color: var(--v2-text);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--v2-r-sm);
  transition: var(--v2-trans);
}
.nav-v2-drawer-links a:hover { background: var(--v2-bg-soft); color: var(--v2-primary); }
.nav-v2-drawer-links a.is-emphasis { color: var(--v2-primary); font-weight: 700; }
.nav-v2-drawer-links a.is-danger { color: #EF4444; }
.nav-v2-drawer-sep { border: 0; border-top: 1px solid var(--v2-border-soft); margin: .5rem 0; }
.nav-v2-drawer-cta { padding: 1.25rem 1.5rem; border-top: 1px solid var(--v2-border-soft); }
.nav-v2-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 33, 61, .35);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 150;
}
.nav-v2-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ════════════════════════════════════════════════════════════
   ALERTS V2
   ════════════════════════════════════════════════════════════ */
.alert-v2 {
  max-width: 900px;
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  border-radius: var(--v2-r);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 500;
  border: 1px solid;
}
.alert-v2-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-v2-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
[data-theme="dark"] .alert-v2-success { background: rgba(16,185,129,.1); color: #6EE7B7; }
[data-theme="dark"] .alert-v2-error   { background: rgba(239,68,68,.1); color: #FCA5A5; }

/* ════════════════════════════════════════════════════════════
   HERO V2
   ════════════════════════════════════════════════════════════ */
.hero-v2 {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(43, 125, 188, .08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 92, 246, .06), transparent 60%),
    var(--v2-bg);
}
@media (min-width: 768px) {
  .hero-v2 { padding: 5rem 0 7rem; }
}
.hero-v2-grain { display: none; } /* reserved */
.hero-v2-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  pointer-events: none;
}
.hero-v2-glow {
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 70%);
  top: -150px; inset-inline-end: -100px;
}
.hero-v2-glow-2 {
  background: radial-gradient(circle, rgba(76,175,80,.3), transparent 70%);
  bottom: -200px; inset-inline-start: -150px;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero-v2-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* Hero text */
.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  background: rgba(43,125,188,.08);
  color: var(--v2-primary);
  border-radius: var(--v2-r-pill);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-v2-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v2-primary);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

.hero-v2-title {
  font-size: clamp(1.85rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--v2-text);
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
}

.hero-v2-lead {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.85;
  color: var(--v2-text-2);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
}

/* Trust strip */
.trust-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-v2 li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--v2-text-2);
  font-size: .92rem;
  font-weight: 500;
}
.trust-v2 li svg { color: var(--v2-accent); flex-shrink: 0; }

/* Hero visual card */
.hero-v2-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-v2-card {
  width: 100%;
  max-width: 380px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  padding: 1.5rem;
  box-shadow: var(--v2-shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-v2-card-tag {
  display: inline-block;
  padding: .3rem .8rem;
  background: linear-gradient(135deg, rgba(43,125,188,.1), rgba(139,92,246,.1));
  color: var(--v2-primary);
  border-radius: var(--v2-r-pill);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-v2-card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--v2-border-soft);
  margin-bottom: 1rem;
}
.hero-v2-card-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--v2-primary), var(--v2-secondary));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-v2-card-title {
  font-weight: 700;
  color: var(--v2-text);
  font-size: 1rem;
}
.hero-v2-card-sub {
  font-size: .82rem;
  color: var(--v2-text-3);
  margin-top: .15rem;
}
.hero-v2-card-status {
  margin-inline-start: auto;
  padding: .25rem .65rem;
  background: rgba(76,175,80,.15);
  color: var(--v2-accent);
  border-radius: var(--v2-r-pill);
  font-size: .75rem;
  font-weight: 700;
}
.hero-v2-card-rows { list-style: none; padding: 0; margin: 0; }
.hero-v2-card-rows li {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px dashed var(--v2-border-soft);
}
.hero-v2-card-rows li:last-child { border-bottom: 0; }
.hero-v2-card-rows li span { color: var(--v2-text-3); }
.hero-v2-card-rows li strong { color: var(--v2-text); font-weight: 600; }

.hero-v2-floater {
  position: absolute;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r);
  padding: .85rem 1.1rem;
  box-shadow: var(--v2-shadow-md);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.hero-v2-floater-num {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--v2-primary);
  line-height: 1;
}
.hero-v2-floater-text {
  font-size: .78rem;
  color: var(--v2-text-3);
}
.hero-v2-floater-1 {
  top: 5%;
  inset-inline-start: -5%;
  animation-delay: 0s;
}
.hero-v2-floater-2 {
  bottom: 8%;
  inset-inline-end: -5%;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 767px) {
  .hero-v2-floater { display: none; }
}

/* ════════════════════════════════════════════════════════════
   TRUST BAR V2
   ════════════════════════════════════════════════════════════ */
.trustbar-v2 {
  background: var(--v2-surface);
  border-top: 1px solid var(--v2-border-soft);
  border-bottom: 1px solid var(--v2-border-soft);
  padding: 2.5rem 0;
}
.trustbar-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.trustbar-v2-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trustbar-v2-icon {
  width: 48px; height: 48px;
  border-radius: var(--v2-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trustbar-v2-icon-blue   { background: rgba(43,125,188,.12);  color: var(--v2-primary); }
.trustbar-v2-icon-purple { background: rgba(139,92,246,.12);  color: var(--v2-secondary); }
.trustbar-v2-icon-green  { background: rgba(76,175,80,.14);   color: var(--v2-accent); }
.trustbar-v2-icon-amber  { background: rgba(245,158,11,.14);  color: var(--v2-amber); }
.trustbar-v2-item h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .15rem; color: var(--v2-text); }
.trustbar-v2-item p  { font-size: .85rem; color: var(--v2-text-3); margin: 0; }

/* ════════════════════════════════════════════════════════════
   SECTION V2
   ════════════════════════════════════════════════════════════ */
.section-v2 {
  padding: var(--v2-space-section-sm) 0;
}
@media (min-width: 768px) {
  .section-v2 { padding: var(--v2-space-section) 0; }
}
.section-v2-alt { background: var(--v2-bg-soft); }
.section-v2-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-v2-eyebrow {
  display: inline-block;
  padding: .35rem .9rem;
  background: rgba(43,125,188,.1);
  color: var(--v2-primary);
  border-radius: var(--v2-r-pill);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.section-v2-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: var(--v2-text);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.section-v2-lead {
  font-size: 1.05rem;
  color: var(--v2-text-2);
  line-height: 1.7;
}
.section-v2-foot {
  text-align: center;
  margin-top: 2.5rem;
}

/* ════════════════════════════════════════════════════════════
   SERVICES V2 CARDS
   ════════════════════════════════════════════════════════════ */
.services-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-v2-card {
  display: block;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: var(--v2-trans);
  position: relative;
  overflow: hidden;
}
.service-v2-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, currentColor 100%);
  opacity: 0;
  transition: var(--v2-trans);
  pointer-events: none;
}
.service-v2-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--v2-shadow-md);
}
.service-v2-icon {
  width: 52px; height: 52px;
  border-radius: var(--v2-r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-v2-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--v2-text);
  margin: 0 0 .55rem;
}
.service-v2-card p {
  color: var(--v2-text-2);
  font-size: .94rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.service-v2-link {
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: var(--v2-trans);
}
.service-v2-card:hover .service-v2-link { gap: .65rem; }

/* Card color variants */
.service-v2-card-purple .service-v2-icon { background: rgba(139,92,246,.14); color: var(--v2-secondary); }
.service-v2-card-purple .service-v2-link  { color: var(--v2-secondary); }
.service-v2-card-blue   .service-v2-icon { background: rgba(43,125,188,.12); color: var(--v2-primary); }
.service-v2-card-blue   .service-v2-link  { color: var(--v2-primary); }
.service-v2-card-green  .service-v2-icon { background: rgba(76,175,80,.14); color: var(--v2-accent); }
.service-v2-card-green  .service-v2-link  { color: var(--v2-accent); }
.service-v2-card-amber  .service-v2-icon { background: rgba(245,158,11,.14); color: var(--v2-amber); }
.service-v2-card-amber  .service-v2-link  { color: var(--v2-amber); }
.service-v2-card-pink   .service-v2-icon { background: rgba(236,72,153,.12); color: #EC4899; }
.service-v2-card-pink   .service-v2-link  { color: #EC4899; }
.service-v2-card-teal   .service-v2-icon { background: rgba(20,184,166,.12); color: #14B8A6; }
.service-v2-card-teal   .service-v2-link  { color: #14B8A6; }

/* ════════════════════════════════════════════════════════════
   STEPS V2 (How it works)
   ════════════════════════════════════════════════════════════ */
.steps-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.step-v2 {
  background: var(--v2-surface);
  padding: 2rem 1.75rem;
  border-radius: var(--v2-r-lg);
  border: 1px solid var(--v2-border-soft);
  text-align: center;
  position: relative;
  transition: var(--v2-trans);
}
.step-v2:hover {
  transform: translateY(-3px);
  box-shadow: var(--v2-shadow-md);
}
.step-v2-num {
  position: absolute;
  top: -16px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 36px; height: 36px;
  background: var(--v2-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(43,125,188,.3);
}
[dir="rtl"] .step-v2-num { transform: translateX(50%); }
[dir="ltr"] .step-v2-num { transform: translateX(-50%); }

.step-v2-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(43,125,188,.1), rgba(139,92,246,.1));
  border-radius: var(--v2-r);
  display: flex; align-items: center; justify-content: center;
  margin: .75rem auto 1rem;
  color: var(--v2-primary);
}
.step-v2 h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--v2-text); }
.step-v2 p  { font-size: .9rem; color: var(--v2-text-2); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════════════════════
   COMPANIES V2
   ════════════════════════════════════════════════════════════ */
.companies-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .companies-v2-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}
.companies-v2-text .section-v2-eyebrow { margin-bottom: 1rem; }
.companies-v2-text .section-v2-title   { text-align: start; margin-bottom: 1.25rem; }
.companies-v2-text .section-v2-lead    { text-align: start; margin-bottom: 1.75rem; }

.companies-v2-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: .85rem;
}
.companies-v2-bullets li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--v2-text);
  font-weight: 500;
  font-size: 1rem;
}
.companies-v2-bullets svg {
  flex-shrink: 0;
  color: var(--v2-accent);
  background: rgba(76,175,80,.14);
  padding: 5px;
  border-radius: 50%;
  width: 24px; height: 24px;
}

.companies-v2-visual {
  position: relative;
  min-height: 360px;
}
.companies-v2-stat {
  position: absolute;
  background: var(--v2-surface);
  padding: 1.5rem 1.75rem;
  border-radius: var(--v2-r-lg);
  border: 1px solid var(--v2-border-soft);
  box-shadow: var(--v2-shadow);
  text-align: center;
}
.companies-v2-stat-1 { top: 10%; inset-inline-start: 5%;  animation: float 4s ease-in-out infinite 0s; }
.companies-v2-stat-2 { top: 35%; inset-inline-end: 8%;    animation: float 4s ease-in-out infinite 1s; box-shadow: var(--v2-shadow-md); }
.companies-v2-stat-3 { bottom: 8%; inset-inline-start: 25%; animation: float 4s ease-in-out infinite 2s; }
.companies-v2-stat-num {
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--v2-primary);
  line-height: 1;
}
.companies-v2-stat-2 .companies-v2-stat-num { color: var(--v2-secondary); }
.companies-v2-stat-3 .companies-v2-stat-num { color: var(--v2-accent); }
.companies-v2-stat-lbl {
  font-size: .82rem;
  color: var(--v2-text-3);
  margin-top: .35rem;
  font-weight: 500;
}
@media (max-width: 1023px) {
  .companies-v2-visual { min-height: 300px; }
}

/* ════════════════════════════════════════════════════════════
   VIDEOS V2 GRID (preview on home)
   ════════════════════════════════════════════════════════════ */
.videos-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-v2-card {
  display: block;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--v2-trans);
}
.video-v2-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--v2-shadow-md);
  border-color: transparent;
}
.video-v2-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--v2-primary), var(--v2-secondary));
  overflow: hidden;
}
.video-v2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-v2-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
}
.video-v2-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v2-primary);
  box-shadow: var(--v2-shadow-md);
  transition: var(--v2-trans);
}
.video-v2-card:hover .video-v2-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}
.video-v2-body { padding: 1.25rem; }
.video-v2-title { font-size: 1.05rem; font-weight: 700; color: var(--v2-text); margin: 0 0 .4rem; line-height: 1.4; }
.video-v2-desc  { font-size: .88rem; color: var(--v2-text-2); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════════════════════════
   ABOUT V2 + FINAL CTA
   ════════════════════════════════════════════════════════════ */
.about-v2 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.about-v2 .section-v2-eyebrow { margin-bottom: 1rem; }
.about-v2-text {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--v2-text-2);
  margin: 0;
}

.finalcta-v2 {
  padding: 4rem 0 5rem;
}
.finalcta-v2-card {
  background: linear-gradient(135deg, var(--v2-primary) 0%, var(--v2-secondary) 100%);
  padding: 3.5rem 2.5rem;
  border-radius: var(--v2-r-xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.finalcta-v2-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.1), transparent 50%);
}
.finalcta-v2-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  position: relative;
  color: #fff;
}
.finalcta-v2-text {
  font-size: 1.05rem;
  margin: 0 0 2rem;
  opacity: .92;
  position: relative;
  color: #fff;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.finalcta-v2-card .btn-v2 {
  background: #fff;
  color: var(--v2-primary);
  position: relative;
}
.finalcta-v2-card .btn-v2:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* ════════════════════════════════════════════════════════════
   FOOTER V2
   ════════════════════════════════════════════════════════════ */
.footer-v2 {
  background: var(--v2-surface);
  border-top: 1px solid var(--v2-border-soft);
  padding: 4rem 0 1.5rem;
}
[data-theme="dark"] .footer-v2 { background: var(--v2-surface); }

.footer-v2-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-v2-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-v2-inner { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; padding: 0 2rem; }
}
.footer-v2-brand { max-width: 320px; }
.footer-v2-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--v2-text);
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-v2-logo img { height: 34px; }
.footer-v2-tagline { color: var(--v2-text-2); font-size: .95rem; line-height: 1.7; margin: 0 0 1.25rem; }
.footer-v2-social { display: flex; gap: .6rem; }
.footer-v2-social-link {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--v2-bg-soft);
  color: var(--v2-text-2);
  border-radius: var(--v2-r-sm);
  transition: var(--v2-trans);
}
.footer-v2-social-link:hover { background: var(--v2-primary); color: #fff; }
.footer-v2-h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--v2-text);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-v2-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-v2-list a {
  color: var(--v2-text-2);
  text-decoration: none;
  font-size: .92rem;
  transition: var(--v2-trans);
}
.footer-v2-list a:hover { color: var(--v2-primary); }
.footer-v2-contact-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--v2-text-2);
}
.footer-v2-contact-list svg { color: var(--v2-primary); flex-shrink: 0; }
.footer-v2-bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--v2-border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--v2-text-3);
}
.footer-v2-bottom p { margin: 0; }
.footer-v2-made { color: var(--v2-primary); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE GUARDS
   ════════════════════════════════════════════════════════════ */

/* Tap targets — minimum 44px (Apple HIG / Material) */
@media (max-width: 767px) {
  .btn-v2 { min-height: 44px; }
  a, button { min-height: 44px; }
}

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; }

/* Lock body when drawer open */
body.is-drawer-open { overflow: hidden; }

/* Print: hide nav/footer */
@media print {
  .nav-v2, .footer-v2, .nav-v2-drawer, .nav-v2-overlay, .alert-v2 { display: none !important; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-v2-floater, .companies-v2-stat { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (navbar)
   ════════════════════════════════════════════════════════════ */
.nav-lang {
  display: flex;
  gap: 2px;
  background: var(--v2-bg-soft);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-sm);
  padding: 3px;
}
.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--v2-text-3);
  border-radius: 6px;
  text-decoration: none;
  transition: var(--v2-trans);
  letter-spacing: .04em;
}
.nav-lang-btn:hover { color: var(--v2-primary); background: var(--v2-surface); }
.nav-lang-btn.is-active {
  background: var(--v2-primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(43,125,188,.3);
}
/* Drawer lang section */
.nav-v2-drawer-lang {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--v2-border-soft);
}
.nav-v2-drawer-lang > span {
  display: block;
  font-size: .8rem;
  color: var(--v2-text-3);
  margin-bottom: .6rem;
}
.drawer-lang-btns {
  display: flex;
  gap: .5rem;
}
.drawer-lang-btns .nav-lang-btn {
  min-height: 38px;
  flex: 1;
  border: 1px solid var(--v2-border-soft);
  background: var(--v2-surface);
  color: var(--v2-text-2);
}
.drawer-lang-btns .nav-lang-btn.is-active {
  background: var(--v2-primary);
  border-color: var(--v2-primary);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
   ════════════════════════════════════════════════════════════ */
.dash-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
  background: var(--v2-bg-soft);
}
@media (max-width: 1023px) {
  .dash-wrap { grid-template-columns: 1fr; }
}

/* Sidebar */
.dash-sidebar {
  background: var(--v2-surface);
  border-inline-end: 1px solid var(--v2-border-soft);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
@media (max-width: 1023px) { .dash-sidebar { display: none; } }

.dash-user-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  background: linear-gradient(135deg, rgba(43,125,188,.08), rgba(139,92,246,.08));
  border-radius: var(--v2-r);
  margin-bottom: .5rem;
}
.dash-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--v2-primary), var(--v2-secondary));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.dash-user-info strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--v2-text);
}
.dash-user-info span {
  font-size: .78rem;
  color: var(--v2-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  display: block;
}

/* Sidebar nav */
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  color: var(--v2-text-2);
  font-size: .95rem;
  font-weight: 500;
  border-radius: var(--v2-r-sm);
  text-decoration: none;
  transition: var(--v2-trans);
  position: relative;
}
.dash-nav-link:hover { background: var(--v2-bg-soft); color: var(--v2-primary); }
.dash-nav-link.is-active {
  background: rgba(43,125,188,.1);
  color: var(--v2-primary);
  font-weight: 700;
}
.dash-nav-link svg { flex-shrink: 0; }
.dash-badge {
  margin-inline-start: auto;
  background: var(--v2-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
}

.dash-book-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.dash-logout {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  color: #EF4444;
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--v2-r-sm);
  text-decoration: none;
  transition: var(--v2-trans);
  margin-top: .25rem;
}
.dash-logout:hover { background: rgba(239,68,68,.08); }

/* Content area */
.dash-content {
  padding: 2rem 1.5rem;
  max-width: 900px;
}
@media (min-width: 1024px) { .dash-content { padding: 2.5rem 2rem; } }
@media (max-width: 767px)  { .dash-content { padding: 1.25rem 1rem; } }

/* Dashboard page heading */
.dash-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.dash-page-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--v2-text);
  margin: 0;
}
.dash-page-sub { color: var(--v2-text-3); font-size: .88rem; margin: .2rem 0 0; }
.dash-page-badge {
  background: rgba(76,175,80,.12);
  color: var(--v2-accent);
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: var(--v2-r-pill);
  font-size: .88rem;
}

/* Stat cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-stat-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--v2-trans);
}
.dash-stat-card:hover { box-shadow: var(--v2-shadow); transform: translateY(-2px); }
.dash-stat-icon {
  width: 46px; height: 46px;
  border-radius: var(--v2-r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-stat-icon-blue   { background: rgba(43,125,188,.12); color: var(--v2-primary); }
.dash-stat-icon-purple { background: rgba(139,92,246,.12); color: var(--v2-secondary); }
.dash-stat-icon-amber  { background: rgba(245,158,11,.14); color: var(--v2-amber); }
.dash-stat-icon-green  { background: rgba(76,175,80,.14);  color: var(--v2-accent); }
.dash-stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--v2-text); line-height: 1; }
.dash-stat-lbl { display: block; font-size: .8rem; color: var(--v2-text-3); margin-top: .25rem; }

/* Two-column */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .dash-two-col { grid-template-columns: 1fr 1fr; } }

/* Generic dashboard card */
.dash-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  padding: 1.5rem;
}
.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dash-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--v2-text);
  margin: 0;
}
.dash-card-more { font-size: .85rem; color: var(--v2-primary); font-weight: 600; text-decoration: none; }
.dash-card-more:hover { text-decoration: underline; }
.dash-card-count {
  font-size: .8rem;
  font-weight: 700;
  background: var(--v2-bg-soft);
  color: var(--v2-text-3);
  padding: .2rem .7rem;
  border-radius: var(--v2-r-pill);
}

/* Empty state */
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 2.5rem 1rem;
  color: var(--v2-text-3);
  text-align: center;
}
.dash-empty p { margin: 0; font-size: .95rem; }

/* ── Next session card ───── */
.next-session { }
.next-session-badge { display: inline-block; margin-bottom: 1rem; }
.next-session-service { font-size: 1.15rem; font-weight: 700; color: var(--v2-text); margin: 0 0 1rem; }
.next-session-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.next-session-rows li { display: flex; align-items: center; gap: .6rem; color: var(--v2-text-2); font-size: .95rem; }
.next-session-rows svg { color: var(--v2-primary); flex-shrink: 0; }
.next-session-rows a { color: var(--v2-primary); font-weight: 600; }

/* ── Notifications ───────── */
.notif-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--v2-border-soft);
  position: relative;
}
.notif-item:last-child { border-bottom: 0; }
.notif-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--v2-border);
  margin-top: .35rem;
  flex-shrink: 0;
}
.notif-item.is-unread .notif-dot { background: var(--v2-primary); }
.notif-body strong { display: block; font-size: .95rem; font-weight: 700; color: var(--v2-text); }
.notif-body p { font-size: .88rem; color: var(--v2-text-2); margin: .2rem 0 .35rem; }
.notif-body time { font-size: .78rem; color: var(--v2-text-3); }
.notif-new { margin-inline-start: auto; background: var(--v2-primary); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.notif-list-full .notif-item { padding: 1.1rem 0; }

/* ── Status badges ─────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: var(--v2-r-pill);
  font-size: .78rem;
  font-weight: 700;
}
.status-pending   { background: rgba(245,158,11,.14);  color: #B45309; }
.status-confirmed { background: rgba(16,185,129,.14);  color: #065F46; }
.status-rejected  { background: rgba(239,68,68,.12);   color: #991B1B; }
.status-completed { background: rgba(99,102,241,.12);  color: #3730A3; }
.status-cancelled { background: rgba(148,163,184,.15); color: #475569; }

/* ── Booking table ──────────── */
.booking-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.booking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.booking-table th {
  text-align: start;
  padding: .65rem 1rem;
  font-weight: 700;
  color: var(--v2-text-3);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--v2-border-soft);
  white-space: nowrap;
}
.booking-table td {
  padding: .85rem 1rem;
  color: var(--v2-text);
  border-bottom: 1px solid var(--v2-border-soft);
}
.booking-table tr:last-child td { border-bottom: 0; }
.booking-table tr:hover td { background: var(--v2-bg-soft); }

/* ── Booking cards (mobile view of upcoming) */
.booking-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .booking-cards { grid-template-columns: 1fr 1fr; } }
.booking-card {
  border: 1px solid var(--v2-border-soft);
  border-radius: var(--v2-r-lg);
  padding: 1.25rem;
  background: var(--v2-bg-soft);
}
.booking-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.booking-card-service { font-weight: 700; font-size: .95rem; color: var(--v2-text); }
.booking-card-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.booking-card-rows li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--v2-text-2); }
.booking-card-rows svg { color: var(--v2-primary); }
.booking-card-rows a { color: var(--v2-primary); font-weight: 600; }
.booking-card-note {
  margin-top: .85rem;
  padding: .75rem;
  background: rgba(43,125,188,.07);
  border-radius: var(--v2-r-sm);
  font-size: .88rem;
  color: var(--v2-text-2);
  border-inline-start: 3px solid var(--v2-primary);
}

/* ── Profile tabs ─────────── */
.profile-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.profile-tab {
  padding: .6rem 1.25rem;
  border-radius: var(--v2-r-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  background: var(--v2-surface);
  border: 1px solid var(--v2-border-soft);
  color: var(--v2-text-2);
  transition: var(--v2-trans);
  min-height: 44px;
}
.profile-tab:hover { color: var(--v2-primary); }
.profile-tab.is-active { background: var(--v2-primary); color: #fff; border-color: var(--v2-primary); }

.profile-avatar-row {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--v2-border-soft);
}
.profile-avatar-big {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--v2-primary), var(--v2-secondary));
  color: #fff; font-weight: 800; font-size: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-avatar-row h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; color: var(--v2-text); }
.profile-avatar-row p { margin: 0 0 .5rem; }
.role-badge { display: inline-block; background: rgba(43,125,188,.1); color: var(--v2-primary); font-size: .78rem; font-weight: 700; padding: .2rem .65rem; border-radius: 99px; }

/* ── Profile form ─────────── */
.profile-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--v2-text-2); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  background: var(--v2-bg-soft);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-sm);
  color: var(--v2-text);
  font-family: inherit;
  font-size: .95rem;
  transition: var(--v2-trans);
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--v2-primary);
  box-shadow: 0 0 0 3px rgba(43,125,188,.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* ── Video element inside thumb (for HTML5 thumbnail) ── */
.video-v2-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-v2-thumb .video-v2-play {
  z-index: 2;
}

/* ── Video card as button ── */
.video-v2-card[role="button"] { cursor: pointer; }
.video-v2-card[role="button"]:focus-visible {
  outline: 3px solid var(--v2-primary);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — COMPLETE OVERHAUL
   Breakpoints: 480px · 640px · 768px · 1024px
   ════════════════════════════════════════════════════════════ */

/* ── 1. NAVBAR ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Hide lang switcher text to save space, keep buttons */
  .nav-v2-inner { gap: .75rem; }
}

@media (max-width: 767px) {
  .nav-v2-inner { height: 60px; padding: 0 1rem; }
  .nav-v2-logo  { height: 30px; width: auto; }
  .nav-v2-brand-text { font-size: 1rem; }

  /* Collapse lang + some icon-btns to save space */
  .nav-lang { display: none; }
  .icon-btn  { width: 36px; height: 36px; }

  /* Notification bell stays visible, admin/dashboard/logout hidden */
  .nav-v2-actions .btn-v2-ghost.btn-v2-sm { display: none; }
}

@media (max-width: 479px) {
  .nav-v2-brand-text { font-size: .85rem; }
}

/* ── 2. HERO ────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-v2 { padding: 2.5rem 0 3rem; }

  .hero-v2-title { font-size: 1.75rem; line-height: 1.3; }
  .hero-v2-lead  { font-size: .97rem; line-height: 1.75; margin-bottom: 1.5rem; }

  .hero-v2-actions { gap: .65rem; }
  .hero-v2-actions .btn-v2-lg { padding: .75rem 1.1rem; font-size: .95rem; }

  .trust-v2 { gap: .85rem 1.25rem; }
  .trust-v2 li { font-size: .85rem; }

  /* Compact card on mobile */
  .hero-v2-card { padding: 1.1rem; }
  .hero-v2-card-rows li { font-size: .82rem; padding: .5rem 0; }
  .hero-v2-visual { min-height: 0; }
}

@media (max-width: 479px) {
  .hero-v2 { padding: 2rem 0 2.5rem; }
  .hero-v2-title { font-size: 1.5rem; }
  .hero-v2-actions { flex-direction: column; }
  .hero-v2-actions .btn-v2 { width: 100%; justify-content: center; }
}

/* ── 3. TRUST BAR ──────────────────────────────────────────── */
@media (max-width: 767px) {
  .trustbar-v2 { padding: 1.5rem 0; }
  .trustbar-v2-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .trustbar-v2-icon { width: 38px; height: 38px; }
  .trustbar-v2-item h4 { font-size: .88rem; }
  .trustbar-v2-item p  { font-size: .78rem; }
}

@media (max-width: 479px) {
  .trustbar-v2-grid { grid-template-columns: 1fr; gap: .85rem; }
}

/* ── 4. SECTION HEADINGS ───────────────────────────────────── */
@media (max-width: 767px) {
  .section-v2 { padding: 2.5rem 0; }
  .section-v2-head { margin-bottom: 2rem; }
  .section-v2-title { font-size: 1.5rem; }
  .section-v2-lead { font-size: .95rem; }
}

/* ── 5. SERVICES GRID ──────────────────────────────────────── */
@media (max-width: 767px) {
  .services-v2-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .service-v2-card { padding: 1.25rem; }
  .service-v2-icon { width: 42px; height: 42px; margin-bottom: .85rem; }
  .service-v2-card h3 { font-size: 1rem; }
  .service-v2-card p  { font-size: .85rem; margin-bottom: .85rem; }
}

@media (max-width: 479px) {
  .services-v2-grid { grid-template-columns: 1fr; gap: .85rem; }
}

/* ── 6. HOW IT WORKS STEPS ─────────────────────────────────── */
@media (max-width: 767px) {
  .steps-v2 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .step-v2 { padding: 1.5rem 1rem; }
  .step-v2-icon { width: 46px; height: 46px; }
  .step-v2 h3 { font-size: 1rem; }
  .step-v2 p  { font-size: .85rem; }
}

@media (max-width: 479px) {
  .steps-v2 { grid-template-columns: 1fr; }
}

/* ── 7. COMPANIES SECTION ──────────────────────────────────── */
@media (max-width: 1023px) {
  /* Hide decorative floating stats — show simple row instead */
  .companies-v2-visual { display: none; }
  .companies-v2-grid { gap: 2rem; }
}

@media (max-width: 767px) {
  .companies-v2-text .section-v2-title { font-size: 1.45rem; }
  .companies-v2-bullets li { font-size: .9rem; }
  .companies-v2-text .btn-v2-lg { width: 100%; justify-content: center; }
}

/* ── 8. VIDEOS GRID ────────────────────────────────────────── */
@media (max-width: 767px) {
  .videos-v2-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-v2-body { padding: 1rem; }
  .video-v2-title { font-size: .95rem; }
  .video-v2-desc  { font-size: .82rem; }
  .video-v2-play  { width: 44px; height: 44px; }
}

/* ── 9. VIDEO MODAL — always centered ─────────────────────── */
@media (max-width: 767px) {
  #home-vid-modal {
    padding: .75rem !important;
    align-items: center !important;
  }
  #home-vid-modal > div:last-child {
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ── 10. ABOUT & FINAL CTA ─────────────────────────────────── */
@media (max-width: 767px) {
  .about-v2-text { font-size: .97rem; line-height: 1.85; }

  .finalcta-v2 { padding: 2.5rem 0; }
  .finalcta-v2-card { padding: 2rem 1.25rem; border-radius: var(--v2-r-lg); }
  .finalcta-v2-title { font-size: 1.4rem; }
  .finalcta-v2-text  { font-size: .95rem; }
  .finalcta-v2-card .btn-v2 { width: 100%; justify-content: center; }
}

/* ── 11. FOOTER ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .footer-v2 { padding: 2.5rem 0 1rem; }
  .footer-v2-inner { gap: 1.75rem; }
  .footer-v2-tagline { font-size: .88rem; }
  .footer-v2-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
}

/* ── 12. NOTIFICATION BELL DROPDOWN ───────────────────────── */
@media (max-width: 479px) {
  .notif-dropdown {
    width: calc(100vw - 2rem) !important;
    inset-inline-end: -4rem !important;
  }
}

/* ── 13. DASHBOARD (user) ──────────────────────────────────── */
@media (max-width: 767px) {
  .dash-content { padding: 1rem .85rem; }
  .dash-page-head { margin-bottom: 1.25rem; }
  .dash-page-title { font-size: 1.3rem; }

  .dash-stats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .dash-stat-card { padding: 1rem; }
  .dash-stat-num { font-size: 1.25rem; }

  .booking-table th, .booking-table td { padding: .65rem .75rem; font-size: .82rem; }

  .profile-tabs { flex-wrap: wrap; }
  .profile-tab  { flex: 1; min-width: 80px; text-align: center; font-size: .88rem; padding: .55rem .75rem; }
  .profile-avatar-row { flex-direction: column; text-align: center; }
  .profile-avatar-big { margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .dash-stats { grid-template-columns: 1fr; }
  .booking-cards { grid-template-columns: 1fr; }
}

/* ── 14. ADMIN PANEL ───────────────────────────────────────── */
@media (max-width: 767px) {
  .admin-content { padding: 1rem .75rem; }
  /* Tables scroll horizontally */
  .table-wrapper, .booking-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Stat cards 2-col */
  .stat-cards { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-card  { padding: 1rem; }
  .stat-value { font-size: 1.4rem; }
  /* CMS grid single col */
  .card-body [style*="grid-template-columns"] { display: flex !important; flex-direction: column !important; gap: 1rem !important; }
}

@media (max-width: 479px) {
  .stat-cards { grid-template-columns: 1fr; }
}

/* ── 15. BOOKING / CONTACT FORMS ───────────────────────────── */
@media (max-width: 767px) {
  /* Generic form full-width inputs */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevent iOS zoom */ }

  /* Contact grid stacks */
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── 16. GLOBAL HELPERS ────────────────────────────────────── */
@media (max-width: 767px) {
  /* Prevent ANY element from breaking viewport */
  img, video, iframe, table { max-width: 100%; }

  /* Container padding tighter on small screens */
  .container-v2 { padding: 0 1rem; }

  /* Section foot buttons full-width */
  .section-v2-foot .btn-v2 { min-width: 0; }

  /* Alert full width */
  .alert-v2 { margin: .75rem 1rem; }
}

/* ── 17. SAFE AREA INSETS (iPhone notch) ───────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
  .nav-v2-drawer { padding-bottom: env(safe-area-inset-bottom); }
  .finalcta-v2   { padding-bottom: max(5rem, calc(2.5rem + env(safe-area-inset-bottom))); }
  footer         { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
}
/* ═══════════════════════════════════════════════════
   MOBILE FIXES — Paste at end of enhanced.css
   ═══════════════════════════════════════════════════ */

/* ── 1. Hide hero visual card on mobile ─────────── */
@media (max-width: 1023px) {
  .hero-v2-visual   { display: none !important; }
  .hero-v2-floater  { display: none !important; }
}

/* ── 2. Hero text — tighter on small screens ────── */
@media (max-width: 767px) {
  .hero-v2 { padding: 2.5rem 0 3rem; }
  .hero-v2-title { font-size: 1.75rem; }
  .hero-v2-lead  { font-size: .97rem; margin-bottom: 1.5rem; }
  .hero-v2-actions { gap: .65rem; }
  .hero-v2-actions .btn-v2-lg { padding: .8rem 1.2rem; font-size: .95rem; }
  .trust-v2 { gap: .85rem 1.25rem; }
  .trust-v2 li { font-size: .82rem; }
}

/* ── 3. Admin stat cards ─────────────────────────── */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
}
@media (max-width: 360px) {
  .admin-stat-grid { grid-template-columns: 1fr; }
}

.admin-stat-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #E6EAF2);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  transition: box-shadow .2s, transform .2s;
}
.admin-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.07); }

.admin-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.admin-stat-amber .admin-stat-icon { background: rgba(245,158,11,.14); color: #D97706; }
.admin-stat-green .admin-stat-icon { background: rgba(16,185,129,.14); color: #059669; }
.admin-stat-blue  .admin-stat-icon { background: rgba(59,130,246,.14); color: #2563EB; }
.admin-stat-purple.admin-stat-icon,
.admin-stat-purple .admin-stat-icon { background: rgba(99,102,241,.14); color: #6366F1; }
.admin-stat-red   .admin-stat-icon { background: rgba(239,68,68,.14);  color: #DC2626; }

.admin-stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary, #14213D);
}
.admin-stat-lbl {
  font-size: .78rem;
  color: var(--text-muted, #94A3B8);
  margin-top: .25rem;
  font-weight: 500;
}

/* ── 4. Admin middle grid ────────────────────────── */
.admin-mid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) {
  .admin-mid-grid { grid-template-columns: 1fr; }
}

/* ── 5. Booking bars ─────────────────────────────── */
.booking-bar-row { margin-bottom: .85rem; }
.booking-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .3rem;
  font-size: .85rem;
  color: var(--text-primary, #14213D);
}
.booking-bar-label strong { font-weight: 700; font-size: .9rem; }
.booking-bar-track {
  height: 7px;
  background: var(--surface-2, #F4F6FB);
  border-radius: 99px;
  overflow: hidden;
}
.booking-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .6s ease;
  min-width: 4px;
}

/* ── 6. Quick actions ────────────────────────────── */
.admin-quick-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.admin-quick-actions .btn {
  justify-content: flex-start;
  gap: .65rem;
}

/* ── 7. Nav lang — smaller on mobile ────────────── */
@media (max-width: 480px) {
  .nav-lang { display: none; }        /* hidden in mobile — shown in drawer */
  .nav-v2-inner { gap: .5rem; }
  .nav-v2-brand-text { display: none; }
  .nav-v2-logo { height: 32px; width: auto; }
}
@media (max-width: 360px) {
  .icon-btn { width: 36px; height: 36px; }
  .btn-v2-sm { padding: .45rem .75rem; font-size: .82rem; }
}

/* ── 8. Videos grid — 1 col on very small ──────── */
@media (max-width: 480px) {
  .videos-v2-grid { grid-template-columns: 1fr; }
  .vid-grid       { grid-template-columns: 1fr; }
  .services-v2-grid { grid-template-columns: 1fr; }
}

/* ── 9. Steps — 1 col on mobile ─────────────────── */
@media (max-width: 640px) {
  .steps-v2 { grid-template-columns: 1fr; }
  .step-v2-num { inset-inline-start: 50%; transform: translateX(-50%); }
}

/* ── 10. Section spacing ────────────────────────── */
@media (max-width: 767px) {
  .section-v2 { padding: 2.5rem 0; }
  .section-v2-head { margin-bottom: 2rem; }
  .section-v2-title { font-size: 1.4rem; }
  .container-v2 { padding: 0 1rem; }
  .trustbar-v2 { padding: 1.5rem 0; }
  .trustbar-v2-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .companies-v2-visual { display: none; }
  .finalcta-v2-card { padding: 2rem 1.25rem; border-radius: 16px; }
  .finalcta-v2-title { font-size: 1.35rem; }
}

/* ── 11. Dashboard sidebar — bottom nav on mobile ─ */
@media (max-width: 1023px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-content { padding: 1.25rem 1rem; }
}

/* ── 12. Admin content padding on mobile ─────────── */
@media (max-width: 767px) {
  .admin-content { padding: 1.25rem 1rem !important; }
  .card-body { padding: 1rem !important; }
  .table-wrapper { font-size: .8rem; }
  th, td { padding: .6rem .5rem !important; }
}

/* ── 13. Floating card fix on homepage ───────────── */
.hero-v2-card {
  max-width: 100%;
  box-sizing: border-box;
}
/* ── Video Modal — display fix ─────────────────────────────── */
/* vid-modal in videos/index.php */
.vid-modal         { display: none; }
.vid-modal.is-open { display: flex; }

/* home-vid-modal in home/index.php — controlled via JS style.display */
#home-vid-modal { display: none; }

/* Video player proper sizing */
.vid-modal-player video,
#home-vid-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  background: #000;
}