/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: #1a1410;
  color: #f7efe0;
  overflow-x: hidden;
  position: relative;
}

/* ===== FONDO RUSTICO ===== */
#rustic-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 30% 20%, #2a1f14 0%, #1a1410 40%, #0f0b08 100%);
}

#rustic-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 3px,
      rgba(60, 40, 25, 0.1) 3px,
      rgba(60, 40, 25, 0.1) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 20px,
      rgba(40, 30, 20, 0.08) 20px,
      rgba(40, 30, 20, 0.08) 21px
    ),
    radial-gradient(ellipse at 50% 80%, rgba(80, 50, 30, 0.3), transparent 70%);
  animation: woodGrain 30s linear infinite;
}

@keyframes woodGrain {
  0% { background-position: 0 0; }
  100% { background-position: 100px 50px; }
}

.wood-vein {
  position: absolute;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(60, 40, 25, 0.15) 20%, 
    rgba(80, 50, 30, 0.2) 40%, 
    rgba(60, 40, 25, 0.15) 60%,
    transparent 100%
  );
  height: 2px;
  border-radius: 50%;
  animation: veinFloat 20s ease-in-out infinite alternate;
}

.wood-vein:nth-child(1) { top: 15%; left: -20%; width: 140%; animation-delay: 0s; }
.wood-vein:nth-child(2) { top: 35%; left: -10%; width: 120%; animation-delay: 3s; }
.wood-vein:nth-child(3) { top: 55%; left: -30%; width: 160%; animation-delay: 6s; }
.wood-vein:nth-child(4) { top: 75%; left: -15%; width: 130%; animation-delay: 9s; }
.wood-vein:nth-child(5) { top: 90%; left: -25%; width: 150%; animation-delay: 2s; }

@keyframes veinFloat {
  0% { transform: translateX(0) scaleX(1); opacity: 0.3; }
  50% { transform: translateX(50px) scaleX(1.2); opacity: 0.6; }
  100% { transform: translateX(-30px) scaleX(0.8); opacity: 0.2; }
}

.dust-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(200, 170, 130, 0.6), rgba(200, 170, 130, 0));
  border-radius: 50%;
  animation: dustFloat var(--duration, 15s) ease-in-out infinite alternate;
  box-shadow: 0 0 15px rgba(200, 170, 130, 0.1);
}

@keyframes dustFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(30px, -50px) scale(1.5);
    opacity: 0.4;
  }
  100% {
    transform: translate(-20px, 40px) scale(0.8);
    opacity: 0.15;
  }
}

.warm-ray {
  position: absolute;
  width: 3px;
  height: 120%;
  background: linear-gradient(180deg, 
    rgba(200, 170, 130, 0) 0%,
    rgba(200, 170, 130, 0.04) 20%,
    rgba(200, 170, 130, 0.1) 40%,
    rgba(200, 170, 130, 0.04) 70%,
    rgba(200, 170, 130, 0) 100%
  );
  transform-origin: top center;
  animation: warmRayPulse 6s ease-in-out infinite alternate;
}

.warm-ray:nth-child(1) { left: 10%; animation-delay: 0s; transform: rotate(1deg); }
.warm-ray:nth-child(2) { left: 25%; animation-delay: 0.8s; transform: rotate(-2deg); }
.warm-ray:nth-child(3) { left: 40%; animation-delay: 1.6s; transform: rotate(2deg); }
.warm-ray:nth-child(4) { left: 55%; animation-delay: 2.4s; transform: rotate(-1deg); }
.warm-ray:nth-child(5) { left: 70%; animation-delay: 3.2s; transform: rotate(3deg); }
.warm-ray:nth-child(6) { left: 85%; animation-delay: 4s; transform: rotate(-3deg); }
.warm-ray:nth-child(7) { left: 5%; animation-delay: 4.8s; transform: rotate(0deg); }
.warm-ray:nth-child(8) { left: 95%; animation-delay: 5.6s; transform: rotate(-1deg); }

@keyframes warmRayPulse {
  0% { opacity: 0.2; transform: scaleY(0.7) rotate(var(--rot, 0deg)); }
  100% { opacity: 0.6; transform: scaleY(1.3) rotate(var(--rot, 0deg)); }
}

.stone-texture {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(60, 50, 40, 0.15), transparent 70%);
  animation: stoneGlow 8s ease-in-out infinite alternate;
}

.stone-texture:nth-child(1) { width: 300px; height: 300px; top: 10%; left: 5%; }
.stone-texture:nth-child(2) { width: 400px; height: 400px; bottom: 10%; right: 5%; }
.stone-texture:nth-child(3) { width: 250px; height: 250px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

@keyframes stoneGlow {
  0% { opacity: 0.1; transform: scale(1); }
  100% { opacity: 0.3; transform: scale(1.1); }
}

/* ===== BARRA SUPERIOR FIJA CON IMAGEN DE FONDO ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-image: url('https://ik.imagekit.io/u08srvey7/Mirador%20Prendas/Dise%C3%B1o%20sin%20t%C3%ADtulo%20(9).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border-bottom: 1px solid #8b7355;
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.7);
  z-index: 0;
  pointer-events: none;
}

.top-bar > * {
  position: relative;
  z-index: 1;
}

.language-selector {
  position: relative;
  display: inline-block;
  list-style: none;
  flex-shrink: 0;
  z-index: 99999;
}

.lang-btn {
  background: rgba(30, 22, 16, 0.95);
  border: 1px solid #8b7355;
  color: #f7efe0;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: relative;
  z-index: 99999;
}

.lang-btn:hover {
  background: rgba(50, 40, 30, 0.95);
  border-color: #b8956a;
  transform: scale(1.03);
}

.lang-btn i {
  color: #b8956a;
  font-size: 13px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(30, 22, 16, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid #8b7355;
  border-radius: 20px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999999;
  list-style: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown li {
  padding: 10px 20px;
  cursor: pointer;
  color: #eeddcc;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  list-style: none;
}

.lang-dropdown li:hover {
  background: rgba(200, 170, 130, 0.1);
  border-left-color: #b8956a;
  color: white;
}

.lang-dropdown li .flag {
  font-size: 20px;
  line-height: 1;
}

.lang-dropdown li .lang-name {
  flex: 1;
}

.lang-dropdown li .check {
  color: #b8956a;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-dropdown li.active .check {
  opacity: 1;
}

.lang-dropdown li.active {
  background: rgba(180, 139, 75, 0.15);
  border-left-color: #b8956a;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: rgb(0 0 0 / 15%) 0 2px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.5s ease;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links a i {
  color: #7a5f3e;
  transition: color 0.5s ease;
  font-size: 12px;
}

.nav-links a:hover {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a:hover i {
  color: white;
}

.nav-links a:active {
  letter-spacing: 2px;
  background-color: #6b4c2a;
  color: white;
  box-shadow: none;
  transform: translateY(6px);
  transition: 100ms;
}

.nav-links a:active i {
  color: white;
}

.nav-links a.active {
  background-color: #6b4c2a;
  color: white;
  box-shadow: rgba(139, 115, 85, 0.5) 0px 7px 29px 0px;
}

.nav-links a.active i {
  color: white;
}

.main-wrapper {
  padding-top: 75px;
  position: relative;
  z-index: 1;
}

.parallax-hero {
  position: relative;
  height: 65vh;
  background: url('https://ik.imagekit.io/u08srvey7/Mirador%20Prendas/galeria/WhatsApp%20Image%202026-08-06%20at%204.33.54%20PM.jpeg?updatedAt=1786055794477') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.parallax-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.6);
}

.parallax-hero .content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease;
}

.parallax-hero h1 {
  font-size: 4.5rem;
  font-family: 'Georgia', serif;
  letter-spacing: 4px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.parallax-hero p {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  font-style: italic;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.tours-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tours-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tours-section .section-header h2 {
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.tours-section .section-header p {
  opacity: 0.7;
  font-style: italic;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: rgba(30, 22, 16, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #6b4c2a;
  transition: 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.tour-card:hover {
  transform: translateY(-10px);
  border-color: #b8956a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.tour-card .tour-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.tour-card .tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.08);
}

.tour-card .tour-image .tour-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(107, 76, 42, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid #b8956a;
}

.tour-card .tour-content {
  padding: 1.8rem 1.8rem 2rem;
}

.tour-card .tour-content h3 {
  font-family: 'Georgia', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #eeddcc;
}

.tour-card .tour-content .tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.tour-card .tour-content .tour-meta i {
  color: #b8956a;
  margin-right: 6px;
}

.tour-card .tour-content p {
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

.tour-card .tour-content .tour-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tour-card .tour-content .tour-features span {
  background: rgba(20, 15, 10, 0.5);
  padding: 0.2rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  border: 1px solid #6b4c2a;
}

.btn-12,
.btn-12 *,
.btn-12 :after,
.btn-12 :before,
.btn-12:after,
.btn-12:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-12 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-12:disabled {
  cursor: default;
}

.btn-12:-moz-focusring {
  outline: auto;
}

.btn-12 svg {
  display: block;
  vertical-align: middle;
}

.btn-12 [hidden] {
  display: none;
}

.btn-12 {
  border-radius: 99rem;
  border-width: 2px;
  overflow: hidden;
  padding: 0.8rem 3rem;
  position: relative;
}

.btn-12 span {
  mix-blend-mode: difference;
}

.btn-12:after,
.btn-12:before {
  background: linear-gradient(
    90deg,
    #fff 25%,
    transparent 0,
    transparent 50%,
    #fff 0,
    #fff 75%,
    transparent 0
  );
  content: "";
  inset: 0;
  position: absolute;
  transform: translateY(var(--progress, 100%));
  transition: transform 0.2s ease;
}

.btn-12:after {
  --progress: -100%;
  background: linear-gradient(
    90deg,
    transparent 0,
    transparent 25%,
    #fff 0,
    #fff 50%,
    transparent 0,
    transparent 75%,
    #fff 0
  );
  z-index: -1;
}

.btn-12:hover:after,
.btn-12:hover:before {
  --progress: 0;
}

.btn-12 i {
  color: #fff;
  font-size: 1rem;
  mix-blend-mode: difference;
}

.experiences-section {
  padding: 4rem 2rem;
  background: rgba(30, 22, 16, 0.6);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
  border-top: 1px solid #6b4c2a;
  border-bottom: 1px solid #6b4c2a;
}

.experiences-section h2 {
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 1px solid #6b4c2a;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.9));
  color: white;
}

.carousel-slide .caption h3 {
  font-size: 1.8rem;
  font-family: 'Georgia', serif;
}

.carousel-slide .caption p {
  opacity: 0.8;
  font-size: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 15, 10, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid #8b7355;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: #6b4c2a;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots span.active {
  background: #b8956a;
  transform: scale(1.2);
}

.parallax-mid {
  height: 35vh;
  background: url('https://ik.imagekit.io/u08srvey7/Mirador%20Prendas/galeria/WhatsApp%20Image%202026-08-06%20at%204.23.06%20PM.jpeg?updatedAt=1786055049148') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.parallax-mid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.5);
}

.parallax-mid .content {
  position: relative;
  z-index: 2;
}

.parallax-mid h2 {
  font-family: 'Georgia', serif;
  font-size: 3rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.parallax-mid p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.cards-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cards-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cards-section .section-header h2 {
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.cards-section .section-header p {
  opacity: 0.7;
  font-style: italic;
}

.wrap_card {
  position: relative;
  overflow: hidden;
  width: var(--w-wrap-card);
  height: calc(var(--h-card) / 1.25);
  display: flex;
  align-items: center;
  justify-content: center;
  --w-card: 150px;
  --h-card: 200px;
  --rotate-card: 15deg;
  --insetX-card: 28px;
  --t-card: calc(var(--insetX-card) * 1.25);
  --w-wrap-card: calc(var(--w-card) + calc(calc(var(--w-card) / 2) * 2));
  margin: 0 auto;
}

.wrap_card .content {
  background-color: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  width: calc(100% - calc(var(--pd) * 2));
  height: calc(100% - calc(var(--pd) * 2));
  border-radius: calc(var(--round) - var(--pd));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.wrap_card .content > span {
  font-size: 300px;
  font-weight: 800;
  line-height: 0.75;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 50% 0 0 50%;
  transform: translate(-50%, -50%);
  background-clip: text;
  -webkit-text-stroke-width: 3px;
  color: transparent;
  opacity: 0;
  background-image: linear-gradient(-45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.3) 100%);
  animation: opacity 0s cubic-bezier(1, 0, 0, 1) forwards var(--delay) reverse;
}

.wrap_card .content > svg {
  height: 66px;
  width: 66px;
  position: absolute;
  inset: 50% 0 0 50%;
  opacity: 1;
  animation: opacity 8.4s cubic-bezier(1, 0, 0, 1) forwards calc(var(--delay) - 4.3s);
  transform: translate(-50%, -50%);
}

.wrap_card .card .card-text {
  color: white;
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  z-index: 10;
  text-align: center;
  padding: 0.5rem;
  letter-spacing: 1px;
  position: relative;
}

.wrap_card .card .card-text .icon-text {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.wrap_card .card:nth-child(1) {
  --delay: 4.3s;
}
.wrap_card .card:nth-child(2) {
  --delay: 7.3s;
}
.wrap_card .card:nth-child(3) {
  --delay: 10.3s;
}

@keyframes opacity {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.wrap_card .card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
  animation: rotating 9s cubic-bezier(0.75, 0, 0, 1.01) infinite 0s;
  border-radius: var(--round);
  background: var(--bg);
  order: var(--order);
  width: var(--w-card);
  height: var(--h-card);
  z-index: var(--z1);
  top: var(--t1);
  left: var(--l1);
  right: var(--r1);
  transform: var(--trans1);
  --pd: 4px;
  --round: 16px;
  --x1: var(--insetX-card);
  --x2: calc(var(--w-wrap-card) - calc(var(--w-card) + var(--insetX-card)));
  --to-left: rotate(calc(var(--rotate-card) * -1));
  --to-center: calc(var(--w-card) / 2);
  --to-right: rotate(calc(var(--rotate-card) * 1));
  border: 2px solid rgba(139, 115, 85, 0.3);
}

.wrap_card .card:nth-child(1) {
  --order: 2;
  --bg: radial-gradient(
    circle,
    rgba(180, 150, 110, 1) 0%,
    rgba(139, 115, 85, 1) 40%,
    rgba(80, 60, 40, 1) 100%
  );
  --z1: 2;
  --t1: 0;
  --l1: var(--to-center);
  --r1: var(--to-center);
  --trans1: rotate(calc(var(--rotate-card) * 0));
  --z2: 0;
  --t2: var(--t-card);
  --l2: var(--x1);
  --r2: var(--x2);
  --trans2: var(--to-left);
  --z3: 0;
  --t3: var(--t-card);
  --l3: var(--x2);
  --r3: var(--x1);
  --trans3: var(--to-right);
}

.wrap_card .card:nth-child(2) {
  --order: 3;
  --bg: radial-gradient(
    circle,
    rgba(160, 130, 100, 1) 0%,
    rgba(120, 95, 70, 1) 40%,
    rgba(60, 45, 30, 1) 100%
  );
  --z1: 0;
  --t1: var(--t-card);
  --l1: var(--x2);
  --r1: var(--x1);
  --trans1: var(--to-right);
  --z2: 2;
  --t2: 0;
  --l2: var(--to-center);
  --r2: var(--to-center);
  --trans2: rotate(calc(var(--rotate-card) * 0));
  --z3: 0;
  --t3: var(--t-card);
  --l3: var(--x1);
  --r3: var(--x2);
  --trans3: var(--to-left);
}

.wrap_card .card:nth-child(3) {
  --order: 1;
  --bg: radial-gradient(
    circle,
    rgba(200, 170, 130, 1) 0%,
    rgba(150, 120, 90, 1) 40%,
    rgba(90, 65, 45, 1) 100%
  );
  --z1: 0;
  --t1: var(--t-card);
  --l1: var(--x1);
  --r1: var(--x2);
  --trans1: var(--to-left);
  --z2: 0;
  --t2: var(--t-card);
  --l2: var(--x2);
  --r2: var(--x1);
  --trans2: var(--to-right);
  --z3: 2;
  --t3: 0;
  --l3: var(--to-center);
  --r3: var(--to-center);
  --trans3: rotate(calc(var(--rotate-card) * 0));
}

@keyframes rotating {
  0%,
  99.99% {
    z-index: var(--z1);
    top: var(--t1);
    left: var(--l1);
    right: var(--r1);
    transform: var(--trans1);
  }
  33.33% {
    z-index: var(--z2);
    top: var(--t2);
    left: var(--l2);
    right: var(--r2);
    transform: var(--trans2);
  }
  66.66% {
    z-index: var(--z3);
    top: var(--t3);
    left: var(--l3);
    right: var(--r3);
    transform: var(--trans3);
  }
}

.lines {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.lines::after {
  content: "";
  width: 100%;
  height: 0px;
  position: absolute;
  z-index: 2;
  inset: 0;
  --mask-bg: #e8e8e8;
  background: var(--mask-bg);
  mask-image: radial-gradient(
    50% 200px at top,
    transparent 20%,
    var(--mask-bg)
  );
}

.line {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line::before,
.line::after {
  content: "";
  position: absolute;
  inset: auto;
  background: linear-gradient(
    to right,
    var(--gradient-a-line, #0000),
    var(--gradient-b-line, #0000),
    var(--gradient-c-line, #0000)
  );
  filter: var(--blur-line);
  width: var(--w-line);
  height: var(--h-line);
}

.line:nth-child(1)::before {
  --blur-line: blur(4px);
  --w-line: 100%;
  --h-line: 5px;
  --gradient-b-line: #8b7355;
}
.line:nth-child(1)::after {
  --w-line: 100%;
  --h-line: 1px;
  --gradient-b-line: #b8956a;
}
.line:nth-child(2)::before {
  --blur-line: blur(4px);
  --w-line: 50%;
  --h-line: 5px;
  --gradient-b-line: #6b4c2a;
}
.line:nth-child(2)::after {
  --w-line: 50%;
  --h-line: 1px;
  --gradient-b-line: #8b7355;
}

.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #6b4c2a;
  color: rgba(220, 200, 170, 0.6);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.icon-rustic {
  display: inline-block;
  animation: iconRusticFloat 4s ease-in-out infinite;
  transform-origin: center;
  color: #b8956a;
  filter: drop-shadow(0 0 20px rgba(184, 149, 106, 0.3));
}

@keyframes iconRusticFloat {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 0 20px rgba(184, 149, 106, 0.3));
  }
  25% {
    transform: translateY(-8px) rotate(5deg) scale(1.05);
    filter: drop-shadow(0 0 30px rgba(184, 149, 106, 0.5));
  }
  50% {
    transform: translateY(4px) rotate(-3deg) scale(0.95);
    filter: drop-shadow(0 0 15px rgba(184, 149, 106, 0.2));
  }
  75% {
    transform: translateY(-5px) rotate(4deg) scale(1.03);
    filter: drop-shadow(0 0 25px rgba(184, 149, 106, 0.4));
  }
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 0 20px rgba(184, 149, 106, 0.3));
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    padding: 0.5rem 0.8rem;
    gap: 0.4rem;
  }
  .nav-links {
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-links a {
    padding: 5px 10px;
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .nav-links a i {
    font-size: 9px;
  }
  .language-selector {
    align-self: flex-end;
  }
  .lang-btn {
    padding: 5px 10px;
    font-size: 10px;
    gap: 4px;
  }
  .lang-btn i {
    font-size: 11px;
  }
  .lang-dropdown {
    min-width: 170px;
    right: -5px;
  }
  .lang-dropdown li {
    font-size: 12px;
    padding: 8px 14px;
    gap: 8px;
  }
  .lang-dropdown li .flag {
    font-size: 17px;
  }
  .main-wrapper {
    padding-top: 100px;
  }
  
  .parallax-hero h1 { font-size: 2.8rem; }
  .parallax-hero p { font-size: 1rem; }
  
  .tours-section .section-header h2 { font-size: 2rem; }
  .tours-grid { grid-template-columns: 1fr; }
  .experiences-section h2 { font-size: 2rem; }
  .parallax-mid h2 { font-size: 2rem; }
  .carousel-slide .caption h3 { font-size: 1.2rem; }
  
  .cards-section .section-header h2 { font-size: 2rem; }
  .wrap_card {
    --w-card: 120px;
    --h-card: 160px;
    --rotate-card: 12deg;
    --insetX-card: 22px;
  }
  .wrap_card .content > span {
    font-size: 200px;
  }
  .wrap_card .card .card-text {
    font-size: 1.1rem;
  }
  .wrap_card .card .card-text .icon-text {
    font-size: 2rem;
  }
  
  .btn-12 {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0.4rem 0.5rem;
  }
  .nav-links a {
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .nav-links a i {
    font-size: 8px;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 9px;
    gap: 3px;
  }
  .lang-btn i {
    font-size: 9px;
  }
  .lang-dropdown {
    min-width: 150px;
    right: -8px;
    top: calc(100% + 6px);
  }
  .lang-dropdown li {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
  }
  .lang-dropdown li .flag {
    font-size: 15px;
  }
  .main-wrapper {
    padding-top: 85px;
  }
  
  .tour-card .tour-content { padding: 1.2rem; }
  .parallax-hero h1 { font-size: 2rem; }
  
  .wrap_card {
    --w-card: 100px;
    --h-card: 130px;
    --rotate-card: 10deg;
    --insetX-card: 18px;
  }
  .wrap_card .content > span {
    font-size: 150px;
  }
  .wrap_card .card .card-text {
    font-size: 0.9rem;
  }
  .wrap_card .card .card-text .icon-text {
    font-size: 1.5rem;
  }
  
  .btn-12 {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
  }
  .btn-12 i {
    font-size: 0.8rem;
  }
}