/* Go Morocco Trek — unified design system */

:root {
  --kech: #ff8c00;
  --gold: #c9a45c;
  --gold-light: #e8d5a8;
  --cta: #c2410c;
  --cta-hover: #9a3412;
  --ink: #0b0b0a;
  --navy: #1e3a5f;
  --brand: #0d9488;
  --font-serif: "Playfair Display", "Cinzel", Georgia, serif;
  --font-sans: "Montserrat", "Inter", sans-serif;
}

/* ========== Cinematic homepage (header + hero) ========== */
.cine-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.cine-header.is-scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201, 164, 92, 0.15);
}

.cine-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.cine-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
  line-height: 1;
}

/* دائرة اللوغو — خلفية محايدة والصورة تملأ الدائرة بالكامل */
.logo-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.cine-header.is-scrolled .logo-area {
  background: none;
  box-shadow: none;
}

.logo-area--missing {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a72 100%);
}

.logo-area--missing .cine-brand__logo {
  opacity: 0;
}

.logo-area--missing::after {
  content: "T";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kech);
}

.cine-brand__logo {
  position: relative;
  display: block;
  width: 140%;
  height: 140%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: none;
  margin: -20%;
  border: 0;
  margin: 0;
  padding: 0;
}

.cine-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.15rem;
  min-height: 2.75rem;
  padding: 0;
  line-height: 1.15;
}

.logo-area--footer {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0;
  background: none;
}

.cine-brand__name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #fff8eb;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.85),
    0 0 2px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.cine-brand__tagline {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.cine-header.is-scrolled .cine-brand__name {
  color: #1e3a5f;
  text-shadow: none;
}

.cine-header.is-scrolled .cine-brand__tagline {
  color: #64748b;
  text-shadow: none;
}

.cine-nav {
  display: none;
  justify-content: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .cine-nav {
    display: flex;
  }
}

.cine-nav__link {
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(201, 164, 92, 0.75);
  border-radius: 0.25rem;
  transition: color 0.2s, background 0.2s, transform 0.25s;
}

.cine-nav__link:hover,
.cine-nav__link.is-active {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.cine-nav-dropdown {
  position: relative;
}

.cine-nav__link--dropdown {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.cine-nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 11rem;
  margin-top: 0;
  padding: 0.35rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

/* جسر صغير بين الزر والقائمة حتى لا تُغلق أثناء تحريك المؤشر */
.cine-nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.5rem;
}

.cine-nav-dropdown:hover .cine-nav-dropdown__menu,
.cine-nav-dropdown:focus-within .cine-nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cine-nav-dropdown__item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(201, 164, 92, 0.85);
  border-radius: 0.35rem;
}

.cine-nav-dropdown__item:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.link-kech {
  color: var(--kech);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.link-kech:hover {
  color: #e67e00;
  text-decoration: underline;
}

.tour-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tour-quick-nav__chip {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tour-quick-nav__chip:hover {
  border-color: var(--kech);
  color: var(--kech);
  background: #fff8f0;
}

.cine-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cine-lang {
  appearance: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 0.35rem;
  cursor: pointer;
}

.cine-btn-book {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--cta);
  border-radius: 0.45rem;
  box-shadow: 0 4px 18px rgba(194, 65, 12, 0.45);
  transition: transform 0.25s, background 0.2s, box-shadow 0.25s;
}

@media (min-width: 768px) {
  .cine-btn-book {
    display: inline-flex;
  }
}

.cine-btn-book:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 65, 12, 0.55);
}

.cine-btn-book--block {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.cine-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 0.35rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .cine-menu-btn {
    display: none;
  }
}

.cine-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(8, 8, 8, 0.96);
  border-top: 1px solid rgba(201, 164, 92, 0.2);
}

.cine-mobile-nav.hidden {
  display: none;
}

.cine-mobile-nav__link {
  padding: 0.65rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-light);
  border-radius: 0.35rem;
}

.cine-mobile-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cine-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.cine-hero__bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}

.cine-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cine-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.cine-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 4rem;
  width: 100%;
}

.cine-hero__title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.cine-hero__title-line {
  display: block;
  color: #fff;
}

.cine-hero__gold {
  color: var(--gold);
  font-style: italic;
}

.cine-hero__subtitle {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.cine-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}

.cine-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--cta);
  border-radius: 0.5rem;
  box-shadow: 0 8px 28px rgba(194, 65, 12, 0.5);
  transition: transform 0.28s, background 0.2s, box-shadow 0.28s;
}

.cine-hero__btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(194, 65, 12, 0.6);
}

.cine-hero__wa-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.cine-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 164, 92, 0.45);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s, transform 0.25s;
}

.cine-hero__btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateX(4px);
}

[dir="rtl"] .cine-hero__btn-ghost:hover {
  transform: translateX(-4px);
}

.cine-hero__arrow {
  font-size: 1.1rem;
}

[dir="rtl"] .cine-hero__content {
  text-align: right;
}

[dir="rtl"] .cine-hero__overlay {
  background: linear-gradient(
    -90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

@media (max-width: 1023px) {
  .cine-header__inner {
    grid-template-columns: 1fr auto;
  }

  .cine-brand__tagline {
    display: none;
  }

  .cine-hero__content {
    text-align: center;
    padding-top: 6.5rem;
  }

  .cine-hero__title {
    margin-inline: auto;
  }

  .cine-hero__subtitle {
    margin-inline: auto;
  }

  .cine-hero__ctas {
    justify-content: center;
  }

  .cine-hero__overlay {
    background: rgba(0, 0, 0, 0.62);
  }
}

/* WhatsApp float — دائري واضح */
.whatsapp-float--round {
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.whatsapp-float--round .whatsapp-float-logo {
  width: 3.6rem;
  height: 3.6rem;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s, transform 0.3s;
}

.whatsapp-float--round .whatsapp-float-text {
  display: none !important;
}

.whatsapp-float--round .whatsapp-float-badge {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.whatsapp-float--round:hover {
  transform: translateY(-4px) scale(1.1);
  background: none !important;
  box-shadow: none !important;
}

.whatsapp-float--round:hover .whatsapp-float-badge {
  transform: none;
  background: transparent !important;
}

.whatsapp-float--round:hover .whatsapp-float-logo {
  filter: drop-shadow(0 5px 16px rgba(37, 211, 102, 0.5));
}

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== Layout sections ========== */
.section {
  padding: 5rem 0;
}

.section--light {
  background: #f8fafc;
}

.section--white {
  background: #fff;
}

.section-head {
  margin-bottom: 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

/* ========== Header ========== */
.site-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.site-header.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

.site-header .nav-link {
  opacity: 0.92;
  transition: opacity 0.2s, color 0.2s;
}

.site-header .nav-link:hover {
  opacity: 1;
}

.site-header.nav-scrolled .nav-link {
  color: #334155;
}

.site-header.nav-scrolled .nav-link:hover {
  color: var(--navy);
}

.site-header.nav-scrolled .nav-phone {
  color: #334155;
}

.lang-select {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: inherit;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.site-header.nav-scrolled .lang-select {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  transition: background 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== Square icons (hover lift) ========== */
.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.28s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
}

.icon-square:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}

.site-header.nav-scrolled .icon-square {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
}

.site-header.nav-scrolled .icon-square:hover {
  border-color: var(--kech);
  background: #fff7ed;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(255, 140, 0, 0.2);
}

.icon-square--brand {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.icon-square--brand img {
  border-radius: 0.25rem;
}

.icon-square--header {
  background: #25d366;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.icon-square--header:hover {
  background: #20bd5a;
  border-color: #fff;
}

.icon-square--header .icon-wa-svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-square--menu {
  border: none;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.nav-scrolled .icon-square--menu {
  background: #f1f5f9;
}

.icon-square--feature {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.35rem;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: var(--kech);
  font-size: 1.35rem;
}

.feature-card:hover .icon-square--feature {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 10px 24px rgba(255, 140, 0, 0.22);
  border-color: var(--kech);
}

.icon-wa-svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ========== Buttons ========== */
.btn-kech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--kech);
  color: #fff;
  transition: filter 0.2s, transform 0.2s;
}

.btn-kech:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-light:hover {
  background: #fff;
  color: #1e293b;
}

/* ========== Hero (homepage) ========== */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
}


@media (min-width: 768px) {
  .hero-zellige {
    background-size: 500px 500px;
  }
}

.hero-zellige-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-copy {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.icon-square--hero-logo {
  width: 7rem;
  height: 7rem;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: hero-logo-in 0.7s ease-out both;
}

@media (min-width: 640px) {
  .icon-square--hero-logo {
    width: 8rem;
    height: 8rem;
  }
}

.hero-logo {
  border-radius: 0.3rem;
}

@keyframes hero-logo-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
}

.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  line-height: 1.12;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-stat {
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-stat-value {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--kech);
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

[dir="rtl"] .hero-stat-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.7rem;
}

.hero-visual-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-visual-img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-price-pill {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: 9rem;
}

.hero-price-pill strong {
  font-size: 1rem;
  color: var(--kech);
}

.hero-price-pill--1 {
  top: 12%;
  left: -4%;
}

.hero-price-pill--2 {
  top: 42%;
  right: -6%;
}

.hero-price-pill--3 {
  bottom: 10%;
  left: 8%;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  animation: hero-bounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--kech);
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* شريط الرحلات السريع — أسفل Hero مباشرة */
.home-quick-tours {
  position: relative;
  z-index: 20;
  margin-top: -3rem;
  padding-bottom: 2rem;
}

.home-quick-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

.home-quick-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.home-quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--kech);
  box-shadow: 0 20px 48px rgba(255, 140, 0, 0.15);
}

.home-quick-card img {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  border-radius: 0.65rem;
  object-fit: cover;
}

.home-quick-card h3 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.home-quick-card p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #64748b;
}

.home-quick-card strong {
  color: var(--kech);
  font-size: 1rem;
}

[dir="rtl"] .home-quick-card {
  text-align: right;
}

@media (max-width: 1023px) {
  .hero-section {
    padding-bottom: 4rem;
  }

  .home-quick-tours {
    margin-top: -1.5rem;
  }
}

/* ========== Features ========== */
.feature-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  margin-bottom: 1rem;
}

/* ========== Tour cards ========== */
.tour-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.tour-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.tour-card-details {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.tour-card-details:hover {
  background: #FF8C00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
}

.tour-card-details svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.tour-card-details:hover svg {
  transform: translate(2px, -2px);
}

/* ========== Auto-rotating image gallery (4 photos per activity) ========== */
.img-rotator {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e2e8f0;
}

.img-rotator__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
  will-change: opacity;
}

.img-rotator__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.tour-card:hover .img-rotator__slide.is-active {
  transform: scale(1.04);
  transition: opacity 0.85s ease-in-out, transform 0.5s ease;
}

.trek-panel__hero-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 1;
}

.trek-panel__hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 1s ease;
}

.trek-panel__hero-media img.is-active {
  opacity: 1;
  z-index: 1;
}

.price-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.price-compare {
  color: #dc2626;
  text-decoration: line-through;
  font-weight: 600;
  font-size: 1rem;
}

.price-sale {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--kech);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 0.375rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
  white-space: nowrap;
}

.tour-price .price-sale {
  font-size: 1.35rem;
}

.trek-panel__price .price-compare {
  font-size: 1.05rem;
}

.trek-panel__price .price-sale {
  font-size: 1.5rem;
}

.tour-price strong {
  font-size: 1.35rem;
  color: var(--kech);
}

#tours,
#toubkal-treks,
#berber-villages-programs,
#paragliding-programs,
#agafay-programs,
#sahara-programs {
  scroll-margin-top: 5rem;
}

.trek-programs--single .trek-tabs {
  display: none;
}

/* ========== Toubkal program detail ========== */
.trek-programs {
  scroll-margin-top: 5rem;
}

.trek-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.trek-tab {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.trek-tab:hover {
  border-color: var(--kech);
  color: var(--kech);
}

.trek-tab.is-active {
  background: var(--kech);
  border-color: var(--kech);
  color: #fff;
}

.trek-panel {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .trek-panel {
    padding: 2rem 2.25rem;
  }
}

.trek-panel.hidden {
  display: none;
}

.trek-panel__hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .trek-panel__hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.trek-panel__hero-media .img-rotator__slide {
  border-radius: 1rem;
}

.trek-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.trek-panel__route {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--kech);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trek-panel__price strong {
  font-size: 1.5rem;
  color: var(--kech);
}

.trek-panel__price .price-inline {
  margin-left: 0.15rem;
}

.trek-panel__overview {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.trek-panel__subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.trek-days {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trek-day {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border-inline-start: 3px solid var(--kech);
}

.trek-day__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--kech);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.trek-day__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.trek-day__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

.trek-panel__cols {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .trek-panel__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.trek-list {
  margin: 0;
  padding-inline-start: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

.trek-list li + li {
  margin-top: 0.35rem;
}

.trek-list--muted {
  color: #94a3b8;
}

.trek-list--compact {
  font-size: 0.85rem;
}

[id^="tour-"] {
  scroll-margin-top: 5.5rem;
}

/* ========== Activities (catalog) ========== */
.activities-section {
  scroll-margin-top: 5rem;
}

.activities-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.activity-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  padding: 1rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    var(--cat-bg) center / cover no-repeat;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-cat span {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.activity-cat:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.activity-group {
  scroll-margin-top: 5.5rem;
}

.activity-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--kech);
}

.activity-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.activity-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.activity-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.activity-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.25rem;
}

.activity-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

.activity-card__price {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.activity-card__price strong {
  font-size: 1.15rem;
  color: var(--kech);
}

.activity-card .btn-kech {
  margin-top: auto;
  align-self: flex-start;
}

/* ========== Premium showcase ========== */
.premium-showcase {
  background-color: var(--ink);
  padding: 5rem 0;
}

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1.5rem;
}

.showcase-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.showcase-header h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
}

.header-line {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 1rem auto 0;
}

.showcase-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 480px;
  margin-bottom: 2rem;
  background-color: #111110;
}

.showcase-row.reverse {
  flex-direction: row-reverse;
}

[dir="rtl"] .showcase-row.reverse {
  flex-direction: row;
}

[dir="rtl"] .showcase-row:not(.reverse) {
  flex-direction: row-reverse;
}

.showcase-image {
  flex: 1.2;
  height: 480px;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-row:hover .showcase-image img {
  transform: scale(1.04);
}

.showcase-text {
  flex: 1;
  padding: 3rem 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.showcase-text h3 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.showcase-text p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.showcase-link {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.showcase-row:hover .showcase-link {
  color: var(--gold);
  border-color: var(--gold);
}

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ========== Gallery Modal ========== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.gallery-modal.hidden {
  display: none;
}

.gallery-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  animation: galleryFadeIn 0.3s ease;
}

@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.gallery-modal__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}

.gallery-modal__close {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gallery-modal__close:hover {
  background: #ff4444;
  color: #fff;
}

.gallery-modal__grid {
  padding: 1.5rem;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-modal__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem;
  }
}

.gallery-item {
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========== Testimonials ========== */
.testimonial-track {
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
  }
}

.testimonial-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 1.25rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card footer {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}

.testimonial-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 1.25rem;
  color: #334155;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.testimonial-nav:hover {
  border-color: var(--kech);
  color: var(--kech);
}

.testimonial-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dot.is-active {
  background: var(--kech);
  transform: scale(1.15);
}

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fafaf9;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: start;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e2e8f0;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--kech);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: #64748b;
  line-height: 1.7;
}

/* ========== Contact ========== */
.contact-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  padding: 5rem 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.form-field {
  display: block;
  margin-bottom: 1rem;
}

.form-field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--kech);
}

.form-field select option {
  background: #1a1918;
  color: #fff;
}

/* ========== Footer ========== */
.site-footer {
  background: #0a0a09;
  color: #94a3b8;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.footer-brand .font-display {
  margin-inline-start: 0.5rem;
  color: #fff;
  text-shadow: none;
  white-space: nowrap;
}

.social-btn {
  background: #1e293b;
  color: #fff;
  border: 1px solid #334155;
}

.social-btn:hover {
  background: var(--kech);
  border-color: var(--kech);
  color: #fff;
}

.icon-square--wa-footer {
  background: #25d366;
  border-color: #25d366;
}

.icon-square--wa-footer:hover {
  background: #20bd5a;
  border-color: #fff;
}

.icon-square--wa-footer .icon-wa-svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* ========== WhatsApp float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: #25d366;
  color: #fff;
  border-radius: 0.5rem;
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1),
    box-shadow 0.32s ease;
}

.whatsapp-float:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 16px 48px rgba(37, 211, 102, 0.65),
    0 0 0 4px rgba(255, 255, 255, 0.35);
}

.whatsapp-float-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.4rem;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(37, 211, 102, 0.15);
  transition: transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.whatsapp-float:hover .whatsapp-float-badge {
  transform: scale(1.08) rotate(-3deg);
}

.whatsapp-float-logo {
  width: 2.35rem;
  height: 2.35rem;
  display: block;
}

.whatsapp-float-text {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding-inline-end: 0.25rem;
}

[dir="rtl"] .whatsapp-float.right-6 {
  right: auto;
  left: 1.5rem;
  flex-direction: row-reverse;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .showcase-row,
  .showcase-row.reverse,
  [dir="rtl"] .showcase-row,
  [dir="rtl"] .showcase-row.reverse {
    flex-direction: column;
    min-height: auto;
  }

  .showcase-image {
    width: 100%;
    height: 280px;
  }

  .showcase-text {
    padding: 2rem 1.5rem;
  }

  .premium-showcase {
    padding: 3.5rem 0;
  }
}

/* ========== Focus-visible (keyboard accessibility) ========== */
:focus-visible {
  outline: 3px solid #166534;
  outline-offset: 2px;
  border-radius: 4px;
}

.btn-kech:focus-visible,
.cine-hero__btn-primary:focus-visible,
.cine-hero__btn-ghost:focus-visible {
  outline-color: #FF8C00;
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.3);
}

.trek-tab:focus-visible {
  outline-color: #166534;
  outline-offset: -2px;
}

.testimonial-nav:focus-visible,
.testimonial-dot:focus-visible {
  outline-color: #166534;
}

.faq-trigger:focus-visible {
  outline-offset: -2px;
}

.gallery-item:focus-visible {
  outline-color: #166534;
  transform: scale(1.03);
}

.cine-nav__link:focus-visible,
.cine-mobile-nav__link:focus-visible,
.cine-nav-dropdown__item:focus-visible {
  outline-color: #fff;
}

/* ========== Blog ========== */
.feature-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.blog-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__category {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: #166534;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.blog-card__body {
  padding: 1.25rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: #64748b;
}

.blog-card__title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #166534;
}

.blog-card__excerpt {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

.blog-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #166534;
  text-decoration: none;
}

.blog-card__link:hover {
  color: #ff8c00;
}

.blog-article__hero {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 1.5rem;
}

.blog-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.blog-article__meta .blog-card__category {
  position: static;
}

.blog-article__meta time {
  font-size: 0.875rem;
  color: #64748b;
}

.blog-article__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.blog-article__content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #334155;
  font-size: 1.05rem;
}

.blog-article__cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .img-rotator__slide,
  .showcase-image img,
  .gallery-grid img {
    transition: none;
  }
}
