/* Abaq — luxury salon landing */
:root {
  --purple-deep: #5c3471;
  --purple-mid: #7a4d94;
  --gold: #d4af37;
  --gold-light: #e8c85c;
  --bg-soft: #f7f4fa;
  --bg-lavender: #ede8f2;
  --white: #ffffff;
  --text-muted: #6b5a78;
  --shadow: 0 8px 32px rgba(92, 52, 113, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--purple-deep);
  background: var(--bg-soft);
}

html[dir="rtl"] body {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
}

html[dir="ltr"] body {
  font-family: "Montserrat", system-ui, sans-serif;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] .brand {
  font-family: "Playfair Display", Georgia, serif;
}

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

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

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

.lang-ar {
  display: none;
}

html[dir="rtl"] .lang-ar {
  display: inline;
}

html[dir="rtl"] .lang-en {
  display: none;
}

html[dir="ltr"] .lang-ar {
  display: none;
}

html[dir="ltr"] .lang-en {
  display: inline;
}

/* block-level bilingual */
.block-lang .lang-ar,
.block-lang .lang-en {
  display: none;
}

html[dir="rtl"] .block-lang .lang-ar {
  display: block;
}

html[dir="ltr"] .block-lang .lang-en {
  display: block;
}

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(92, 52, 113, 0.08);
  box-shadow: 0 2px 20px rgba(92, 52, 113, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  height: clamp(38px, 5.5vw, 54px);
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.footer-brand .brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-deep);
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-desktop a:hover {
  opacity: 1;
  color: var(--purple-mid);
}

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

.btn-book-header {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--purple-deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-deep);
  transition: background 0.2s, color 0.2s;
}

.btn-book-header:hover {
  background: var(--purple-deep);
  color: var(--white);
}

.lang-toggle {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-lavender);
  color: var(--purple-deep);
  border: 1px solid rgba(92, 52, 113, 0.15);
}

.lang-toggle:hover {
  background: var(--purple-deep);
  color: var(--white);
  border-color: var(--purple-deep);
}

.lang-toggle .to-en {
  display: none;
}

html[dir="rtl"] .lang-toggle .to-en {
  display: inline;
}

html[dir="rtl"] .lang-toggle .to-ar {
  display: none;
}

html[dir="ltr"] .lang-toggle .to-ar {
  display: inline;
}

html[dir="ltr"] .lang-toggle .to-en {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92, 52, 113, 0.2);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--purple-deep);
  transition: transform 0.2s;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(92, 52, 113, 0.08);
  background: var(--white);
}

.site-header.nav-open .mobile-nav {
  display: flex;
}

.mobile-nav a {
  padding: 12px 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  background: var(--bg-lavender);
}

.mobile-nav .btn-book-header {
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .btn-book-header {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .site-header.nav-open .mobile-nav {
    display: none !important;
  }
}

/* Hero — full-bleed background */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 11vw, 120px);
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-soft);
  background-image: url("hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Soft vignette behind centered copy (woman left, phone right stay visible) */
  background: radial-gradient(
    ellipse min(92%, 720px) min(88%, 640px) at 50% 45%,
    rgba(252, 250, 253, 0.88) 0%,
    rgba(252, 250, 253, 0.45) 42%,
    rgba(252, 250, 253, 0.12) 68%,
    transparent 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-copy {
  max-width: min(560px, 100%);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 640px) {
  .hero-bg {
    background-position: 10% center;
  }

  .hero-overlay {
    background: radial-gradient(
      ellipse 120% 75% at 50% 38%,
      rgba(252, 250, 253, 0.94) 0%,
      rgba(252, 250, 253, 0.55) 48%,
      rgba(252, 250, 253, 0.18) 100%
    );
  }

  .hero-features {
    justify-content: center;
  }

  .hero-feature {
    justify-content: center;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--purple-deep);
  margin: 0 0 16px;
  text-wrap: balance;
}

.hero-copy .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 42ch;
  margin-inline: auto;
  text-wrap: balance;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--purple-deep);
  color: var(--white);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(92, 52, 113, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(92, 52, 113, 0.4);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 32px;
  justify-content: center;
  width: 100%;
}

.hero-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-feature svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Process */
.process {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--purple-deep);
  margin: 0 0 48px;
  max-width: 28ch;
  margin-inline: auto;
}

.process-track {
  position: relative;
  display: grid;
  gap: 32px;
  max-width: 1000px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .process-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
  }
}

.process-line {
  display: none;
}

@media (min-width: 768px) {
  .process-line {
    display: block;
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 40px;
    pointer-events: none;
    z-index: 0;
  }

  .process-line svg {
    width: 100%;
    height: 100%;
  }

  html[dir="rtl"] .process-line svg {
    transform: scaleX(-1);
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  color: var(--purple-deep);
}

.process-step h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.35;
}

/* Packages */
.packages {
  position: relative;
  padding: clamp(56px, 9vw, 100px) 0;
  overflow: hidden;
}

.packages-bg {
  position: absolute;
  inset: 0;
  background-image: url("3.webp");
  background-size: cover;
  background-position: center;
}

.packages-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(247, 244, 250, 0.92) 0%,
    rgba(237, 232, 242, 0.88) 50%,
    rgba(247, 244, 250, 0.9) 100%
  );
}

.packages .container {
  position: relative;
  z-index: 1;
}

.packages .section-title {
  color: var(--purple-deep);
}

.package-cards {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

@media (min-width: 900px) {
  .package-cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.package-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card.featured {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

.package-ribbon {
  position: absolute;
  top: 16px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--purple-deep);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

html[dir="rtl"] .package-ribbon {
  left: 16px;
  right: auto;
}

html[dir="ltr"] .package-ribbon {
  right: 16px;
  left: auto;
}


.package-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--purple-deep);
}

.package-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.package-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-deep);
  margin-bottom: 16px;
}

.package-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.package-card li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

html[dir="rtl"] .package-card li::before {
  right: 0;
  left: auto;
}

html[dir="ltr"] .package-card li::before {
  left: 0;
  right: auto;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--purple-deep);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-deep);
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--purple-deep);
  color: var(--white);
}

/* Features */
.features {
  display: grid;
  min-height: 480px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.features-visual {
  min-height: 280px;
  background-image: url("1.webp");
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  transform: scale(1.05);
}

.features-panel {
  background: var(--white);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.features-panel h2 {
  margin: 0 0 32px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--purple-deep);
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-cell {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-cell svg {
  flex-shrink: 0;
  color: var(--purple-deep);
}

.feature-cell h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.feature-cell p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--bg-soft);
}

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.testimonial-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: start;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-deep);
  line-height: 1.65;
  margin: 0 0 24px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-footer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.testimonial-meta strong {
  display: block;
  font-size: 1rem;
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(92, 52, 113, 0.25);
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dots button.active {
  background: var(--purple-deep);
  transform: scale(1.15);
}

/* CTA bar */
.cta-bar {
  background: linear-gradient(100deg, #4a2858 0%, var(--purple-deep) 45%, #7a4d94 100%);
  padding: clamp(28px, 5vw, 44px) 0;
  color: var(--white);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: start;
    gap: 32px;
  }
}

.cta-inner p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  max-width: 36ch;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--purple-deep);
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--bg-lavender);
  padding: 56px 0 0;
  color: var(--purple-deep);
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32ch;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--purple-deep);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-row a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple-deep);
  border: 1px solid rgba(92, 52, 113, 0.12);
  transition: background 0.2s, color 0.2s;
}

.social-row a:hover {
  background: var(--purple-deep);
  color: var(--white);
}

.social-row a svg {
  display: block;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(92, 52, 113, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.icon-cal {
  width: 18px;
  height: 18px;
}
