/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --color-primary: #1B4332;
  --color-primary-light: #2D6A4F;
  --color-primary-dark: #0F2A1D;
  --color-gold: #C9A227;
  --color-gold-light: #E8D9A0;
  --color-bg: #FAF6EE;
  --color-bg-alt: #F1E9D8;
  --color-text: #2B2B2B;
  --color-text-light: #5C5C5C;
  --color-white: #FFFFFF;
  --color-error: #B3261E;

  --font-heading: 'Amiri', serif;
  --font-body: 'Poppins', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.12);
  --shadow-lg: 0 16px 40px rgba(27, 67, 50, 0.16);

  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 112.5%;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 760px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background-color: #B08F1F;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-bg-alt);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
}

.footer-logo .logo-img {
  background-color: var(--color-white);
  padding: 4px;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-left: 0.6rem;
  border-left: 1px solid var(--color-bg-alt);
}

.footer-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.2);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
  position: relative;
}

.nav-desktop a:hover {
  color: var(--color-primary);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.nav-dropdown-toggle i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--color-primary);
}

.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-bg-alt);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.burger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-bg-alt);
}

.nav-mobile a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-bg-alt);
  font-weight: 500;
}

.nav-mobile .btn {
  margin-top: var(--space-sm);
  border-bottom: none;
  text-align: center;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: url('../img/Murshid_hp_hero_bg-scaled.webp') center 65% / cover no-repeat;
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    background-image: url('../img/Murshid_hp_hero_bg_mobile.webp');
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 42, 29, 0.94) 0%, rgba(27, 67, 50, 0.9) 55%, rgba(45, 106, 79, 0.85) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(201, 162, 39, 0.14), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.eyebrow {
  color: var(--color-gold-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
}

.hero-trust {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust i {
  color: var(--color-gold-light);
  margin-right: 0.3rem;
}

.hero-badge {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
}

.hero-badge-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 6px;
}

/* ==========================================================================
   SECTIONS (generic)
   ========================================================================== */
.section {
  padding: var(--space-2xl) 0;
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: var(--space-sm);
}

.section-lead {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  font-size: 1.02rem;
}

/* ==========================================================================
   SPLIT INTRO (texte + image)
   ========================================================================== */
.split-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.split-intro-reverse .split-intro-media {
  order: -1;
}

.section-title-left,
.section-lead-left {
  text-align: left;
  margin-left: 0;
}

.section-lead-left {
  margin-right: 0;
  max-width: none;
}

.split-intro-media img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .split-intro {
    grid-template-columns: 1fr;
  }

  .split-intro-reverse .split-intro-media {
    order: 0;
  }
}

/* ==========================================================================
   QU'EST-CE QUE LA OMRA BADAL — Cases
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.case-card {
  background-color: var(--color-white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.case-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.case-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   COMMENT ÇA MARCHE — Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* ==========================================================================
   FORMULAIRE DE RÉSERVATION
   ========================================================================== */
#reservation {
  position: relative;
  background:
    linear-gradient(rgba(250, 246, 238, 0.94), rgba(250, 246, 238, 0.94)),
    url('../img/Murshid_booking_bg_img.webp') center / cover no-repeat;
}

.booking-form {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary-dark);
}

.req {
  color: var(--color-error);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.input-error {
  border-color: var(--color-error) !important;
}

.error-msg {
  color: var(--color-error);
  font-size: 0.82rem;
}

.booking-form .btn {
  align-self: center;
  margin-top: var(--space-sm);
  min-width: 220px;
}

.form-success {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.form-success h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.form-success p {
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto var(--space-md);
}

/* ==========================================================================
   TARIFS
   ========================================================================== */
#tarifs {
  background-image: url('../img/murshid_seg_2_bg-scaled.webp');
  background-size: cover;
  background-position: center;
}

.pricing-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pricing-showcase-main {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  color: var(--color-white);
}

.pricing-showcase-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 12%, rgba(201, 162, 39, 0.22), transparent 45%),
    radial-gradient(circle at 8% 95%, rgba(201, 162, 39, 0.16), transparent 40%);
  pointer-events: none;
}

.pricing-showcase-main>* {
  position: relative;
}

.pricing-showcase-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--color-gold-light);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.pricing-showcase-eyebrow {
  color: var(--color-gold-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.pricing-showcase-main h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.pricing-showcase-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.pricing-showcase .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.pricing-showcase .price span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-gold-light);
}

.pricing-showcase-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.pricing-showcase-features {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
}

.pricing-showcase-features h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.price-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem var(--space-md);
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.price-feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-primary-light);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .pricing-showcase {
    grid-template-columns: 1fr;
  }

  .pricing-showcase-main,
  .pricing-showcase-features {
    padding: var(--space-lg);
  }

  .price-features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.testimonials-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-media img {
    max-height: 260px;
  }
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

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

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background-color: var(--color-gold);
  transform: scale(1.25);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-primary-dark);
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-text-light);
  font-size: 0.94rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background:
    linear-gradient(rgba(15, 42, 29, 0.93), rgba(15, 42, 29, 0.93)),
    url('../img/murshid_footer_cta_bg-scaled.webp') center / cover no-repeat;
  color: rgba(255, 255, 255, 0.85);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.footer-logo {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-gold-light);
}

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: var(--space-sm);
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.social-links a:hover {
  background-color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   GALERIE MAKKAH
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item {
    height: 260px;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {

  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    gap: var(--space-xs);
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float-wrapper.open .whatsapp-float {
  animation: none;
}

.whatsapp-menu {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  min-width: 200px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.whatsapp-float-wrapper.open .whatsapp-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.whatsapp-menu a:hover {
  background-color: var(--color-bg-alt);
}

.whatsapp-menu a i {
  color: #25D366;
  font-size: 1.2rem;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 640px) {
  .whatsapp-float-wrapper {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
}