:root {
  --primary: #CD1915;
  --secundary: #9e1311;
  --bg-light: #f8f9fa;
  --text-dark: #333;
  --text-light: #666;
  --radius: 15px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.4);
  --transition: 0.3s ease;
}
 /* ult-mod:24-11-2025  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* NAVIGATION */

nav {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#container-logo-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#logo-img-nav {
  width: 280px;
  height: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}

.nav-links li:hover {
  transform: scale(1.1);
  transition: 0.3s ease-out;
}

/* HERO SECTION */

.hero {
  /* margin-top: 65px; */
  padding: 2rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://lacasadelviaje.com.mx/wp-content/uploads/2025/11/hero.png") center/cover;
  min-height: auto;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 7rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-text p {
  font-weight: 100;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* FORM */

.form-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-container h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  padding-left: 15px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
  padding-left: 15px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(114, 30, 30, 0.4);
}

/* EXPERIENCE SECTION */

.experience-section {
  padding: 0;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: auto;
  background: white;
}

.experience-content {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  order: 2;
}

.experience-title {
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.experience-description {
  font-size: 0.95rem;
  color: #2c2c2c;
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

.experience-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-features li {
  font-size: 0.9rem;
  color: #2c2c2c;
  padding: 0.5rem 0 0.5rem 1rem;
  position: relative;
  line-height: 1.5;
}

.text-bold {
  font-weight: bolder;
  font-size: 1.2rem;
}

.experience-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #2c2c2c;
  font-size: 1.6rem;
  line-height: 0.8;
  top: 0.3rem;
  font-weight: bold;
}

.experience-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: white;
  order: 1;
  width: max-content;
  height: max-content;
  margin: 0 auto;
  margin-block: auto;
}

.experience-image {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 280px;
  border-radius: 50px;
  overflow: hidden;
  transform: rotate(-5deg);
  box-shadow: rgba(0, 0, 0, 0.35) 9px 8px 9px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(5deg) scale(1.1);
}

.experience-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 1.2rem;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 9px 8px 9px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.badge-years {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.badge-text {
  font-size: 0.7rem;
  line-height: 1.1;
  font-weight: 500;
}


/* ITINERARY CAROUSEL */

.itinerary {
  padding: 2rem 1rem;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  padding: 0 1rem;
}

.itinerary > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  padding: 0 1rem;
}

.swiper {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0 3rem !important;
  position: relative;
}

.swiper::before,
.swiper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.swiper::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.swiper::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.itinerary-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.swiper-slide:not(.swiper-slide-active) .itinerary-card {
  transform: scale(0.85);
  opacity: 0.5;
}

.swiper-slide-active .itinerary-card {
  transform: scale(1);
  opacity: 1;
}

.itinerary-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.itinerary-content {
  padding: 1.2rem;
}

.day-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
}

.itinerary-content h3 {
  color: #1a1a1a;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.itinerary-content ul {
  list-style: none;
  padding: 0;
}

.itinerary-content li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  color: #666;
  font-size: 0.85rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  line-height: 1.4;
  text-align: justify;
}

.itinerary-content li:last-child {
  border-bottom: none;
}

.itinerary-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 0.9rem;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 26px;
  border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
  color: var(--primary) !important;
  width: 35px;
  height: 35px;
  z-index: 100000000 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 900;
}

/* MAP SECTION */

.map-section {
  padding: 2rem 0.5rem;
  background: white;
}

.map-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0.5rem;
}

.route-wrapper {
  position: relative;
  padding: 1rem 0;
}

.route-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  right: auto;
  width: 4px;
  height: calc(100% - 2rem);
  transform: none;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary) 50%, var(--primary) 100%);
  margin-top: 2rem;
  z-index: 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-left: 60px;
}

.point {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  cursor: pointer;
  position: relative;
}

.point-circle {
  width: 40px;
  height: 40px;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.point:hover .point-circle {
  transform: scale(1.15);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(255, 54, 49, 0.3);
}

.point-circle i {
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.point:hover .point-circle i {
  color: var(--primary);
}

.point-name {
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0;
}

.point-tooltip {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 20px;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 340px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 0;
  overflow: hidden;
  z-index: 100;
}

.point-tooltip::after {
  display: none;
}

.point:hover .point-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.tooltip-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.tooltip-content {
  padding: 0.7rem;
}

.tooltip-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tooltip-time {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tooltip-time i {
  color: var(--secundary);
}

.tooltip-list {
  list-style: none;
  padding: 0;
  font-size: 0.8rem;
  color: #555;
}

.tooltip-list li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.tooltip-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secundary);
  font-weight: bold;
}

.map-section > h2 {
  margin-top: 6rem;
}

   /* FEATURED DESTINATIONS - SEASONS */

.featured-destinations {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.featured-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-image {
  transform: scale(1.05);
}

.featured-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.featured-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secundary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.featured-card h3 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.featured-card p {
  color: #555;
  line-height: 1.7;
  font-size: 0.85rem;
  margin-top: auto;
}

.featured-card:hover .featured-icon {
  transform: rotate(8deg) scale(1.05);
  transition: transform 0.3s ease;
}

/* DESTINATIONS */

.destinations {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

.destinations-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  /* Se adapta automáticamente al número de tarjetas */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.destination-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.destination-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.destination-info {
  padding: 1.5rem;
}

.destination-info h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 600;
}

.destination-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.meta-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

.destination-route {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* REVIEWS */

.reviews {
  padding: 5rem 2rem;
  background: #fafafa;
}

.reviewsSwiper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.review-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
}

.stars {
  color: #FFD700;
  font-size: 0.9rem;
}

.review-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.reviews-btn {
  text-align: center;
  margin-top: 2rem;
}

.google-btn {
  display: inline-block;
  background: #CD1915;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.google-btn:hover {
  background: #a81412;
}

/* FOOTER */

.footer {
  font-family: 'Arial', sans-serif;
  color: #555;
}

.footer-top {
  background-color: #c20e1a;
  padding: 20px 0;
}

.footer-top h2 {
  text-align: center;
  color: #fff;
}

.footer-logos {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 2rem;
}

.footer-logos img {
  width: 155px;
  object-fit: contain;
}

.footer-bottom {
  background-color: white;
  text-align: center;
  padding: 25px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom .social-icons {
  margin-bottom: 10px;
}

.footer-bottom .social-icons a {
  color: #777;
  margin: 0 10px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom .social-icons a:hover {
  color: #c20e1a;
}

.footer-bottom p {
  font-size: 14px;
  margin: 0;
}

/* SCROLL TO TOP BUTTON */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff5a56 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 54, 49, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  display: none;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 54, 49, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

/* ====================================
   RESPONSIVE - 375px
   ==================================== */
@media (min-width: 375px) {
  .logo {
    font-size: 1rem;
  }

  #logo-img-nav {
    width: 280px;
  }

  .itinerary-card {
    max-width: 340px;
  }

  .itinerary-card img {
    height: 190px;
  }
}

/* ====================================
   RESPONSIVE - 768px Tablets
   ==================================== */
@media (min-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
    justify-content: space-between;
  }

  .nav-links {
    display: flex;
  }

  #logo-img-nav {
    width: 322px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    padding-top: 70px;
    padding: 3rem 0;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    gap: 3rem;
  }

  .hero-text h1 {
    margin-bottom: 1.5rem;
  }

  .hero-text p {
    font-size: 1.3rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .btn-submit {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .experience-content {
    padding: 3rem 2rem;
  }

  .experience-title {
    font-size: 1.9rem;
  }

  .experience-description {
    font-size: 1rem;
  }

  .experience-image-wrapper {
    padding: 3rem 2rem;
  }

  .experience-image {
    max-width: 380px;
    height: 380px;
  }

  .experience-badge {
    width: 120px;
    height: 120px;
  }

  .badge-years {
    font-size: 1.4rem;
  }

  .badge-text {
    font-size: 0.85rem;
  }

  .itinerary {
    padding: 3rem 1rem;
  }

  .swiper {
    max-width: 700px;
    padding: 1.5rem 0 2.5rem;
  }

  .itinerary-card {
    max-width: 550px;
  }

  .itinerary-card img {
    height: 240px;
  }

  .itinerary-content {
    padding: 1.8rem;
  }

  .itinerary-content h3 {
    font-size: 1.5rem;
  }

  .itinerary-content li {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 2rem;
    padding: 0;
  }

  .map-section {
    padding: 5rem 2rem;
  }

  .map-container {
    padding: 3rem 1rem;
  }

  .route-line {
    left: 20px;
    height: calc(100% - 3rem);
  }

  .points-grid {
    padding-left: 70px;
    gap: 2.5rem;
  }

  .point-circle {
    width: 45px;
    height: 45px;
  }

  .point-circle i {
    font-size: 1.1rem;
  }

  .point-name {
    font-size: 1.2rem;
  }

  .tooltip-image {
    height: 120px;
  }

  .tooltip-content {
    padding: 1rem;
  }

  .tooltip-title {
    font-size: 1rem;
  }

  .tooltip-list {
    font-size: 0.85rem;
  }

  .featured-destinations {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 900px;
  }

  .featured-image {
    height: 180px;
  }

  .featured-content {
    padding: 1.5rem;
  }

  .featured-card h3 {
    font-size: 1.1rem;
  }

  .featured-card p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-around;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }

  .swiper-button-next {
    right: -20px;
  }

  .swiper-button-prev {
    left: -20px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    font-size: 1rem;
  }
}

/* ====================================
   RESPONSIVE - 1024px Small Desktops
   ==================================== */
@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  #logo-img-nav {
    width: 325px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero {
    padding-top: 80px;
    min-height: 90vh;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
  }

  .hero-text {
    text-align: left;
    width: max-content;
  }

  .hero-text h1 {
    margin-bottom: 0;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .form-container {
    width: 400px;
    padding: 2rem;
  }

  .form-container h3 {
    font-size: 1.5rem;
  }

  .experience-container {
    grid-template-columns: 1fr 1fr;
  }

  .experience-content {
    padding: 4rem 2.5rem;
    order: 1;
  }

  .experience-title {
    font-size: 2rem;
  }

  .experience-image-wrapper {
    order: 2;
  }

  .experience-image {
    max-width: 400px;
    height: 400px;
  }

  .experience-badge {
    width: 130px;
    height: 130px;
  }

  .badge-years {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .itinerary {
    padding: 4rem 2rem;
  }

  .swiper {
    max-width: 750px;
  }

  .swiper::before,
  .swiper::after {
    width: 100px;
  }

  .itinerary-card {
    max-width: 600px;
  }

  .itinerary-card img {
    height: 260px;
  }

  .itinerary-content {
    padding: 2rem;
  }

  .itinerary-content h3 {
    font-size: 1.6rem;
  }

  .itinerary-content li {
    font-size: 0.98rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 20px;
  }

  .route-wrapper {
    padding: 2rem 0;
  }

  /* MAPA: Cambio a horizontal en desktop */
  .route-line {
    top: 50%;
    left: 5%;
    right: 5%;
    width: auto;
    height: 4px;
    transform: translateY(-50%);
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, var(--primary) 100%);
    margin-top: 0;
  }

  .points-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    padding-left: 0;
  }

  .point {
    flex-direction: column;
    gap: 0;
  }

  .point-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .point-circle i {
    font-size: 1.3rem;
  }

  .point-name {
    text-align: center;
    max-width: 120px;
  }

  .point-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    width: 250px;
    max-width: none;
    margin-bottom: 1rem;
  }

  .point-tooltip::after {
    display: block;
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
  }

  .point:hover .point-tooltip {
    transform: translateX(-50%);
  }

  .featured-destinations {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
  }

  .featured-image {
    height: 200px;
  }

  .destination-card img {
    height: 280px;
  }
}


   /* RESPONSIVE - 1440px Large Desktops */

@media (min-width: 1440px) {
  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero-content {
    gap: 4rem;
  }

  .hero-text p {
    font-size: 1.9rem;
  }

  .experience-container {
    grid-template-columns: 55% 45%;
    min-height: 550px;
  }

  .experience-content {
    padding: 5rem 3rem 5rem 5rem;
  }

  .experience-title {
    font-size: 2.3rem;
    margin-bottom: 2rem;
  }

  .experience-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .experience-features li {
    font-size: 0.95rem;
    padding-left: 1.2rem;
  }

  .experience-features li::before {
    font-size: 2rem;
  }

  .experience-image-wrapper {
    padding: 3rem;
  }

  .experience-image {
    max-width: 480px;
    height: 480px;
  }

  .experience-badge {
    width: 150px;
    height: 150px;
  }

  .badge-years {
    font-size: 2.5rem;
  }

  .badge-text {
    font-size: 0.7rem;
  }

  .itinerary {
    padding: 5rem 2rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .swiper {
    max-width: 850px;
  }

  .itinerary-card {
    max-width: 700px;
  }

  .itinerary-card img {
    height: 300px;
  }

  .itinerary-content h3 {
    font-size: 1.8rem;
  }

  .itinerary-content li {
    font-size: 1.02rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 45px;
    height: 45px;
  }

  .swiper-button-next {
    right: -30px;
  }

  .swiper-button-prev {
    left: -30px;
  }

  .featured-destinations {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1440px;
    gap: 2rem;
  }

  .featured-image {
    height: 220px;
  }

  .featured-content {
    padding: 1.8rem;
  }

  .featured-card h3 {
    font-size: 1.25rem;
  }

  .featured-card p {
    font-size: 0.95rem;
  }

  .destination-card img {
    height: 300px;
  }

  .destination-info h3 {
    font-size: 1.4rem;
  }
}


   /* RESPONSIVE - 1920px Extra Large */

@media (min-width: 1920px) {
  .section-title {
    font-size: 3rem;
  }

  .experience-title {
    font-size: 2.8rem;
  }

  .experience-description {
    font-size: 1.2rem;
  }

  .experience-features li {
    font-size: 1.1rem;
  }

  .swiper {
    max-width: 950px;
  }

  .itinerary-card {
    max-width: 800px;
  }

  .itinerary-card img {
    height: 340px;
  }

  .itinerary-content {
    padding: 2.5rem;
  }

  .itinerary-content h3 {
    font-size: 2rem;
  }

  .itinerary-content li {
    font-size: 1.08rem;
  }

  .destinations-grid {
    max-width: 1800px;
  }

  .destination-card img {
    height: 320px;
  }

  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 30px;
  }
}


   /* MOBILE EXTRA PEQUEÑO - 480px y menos */

@media (max-width: 480px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    left: 15px;
    font-size: 0.9rem;
  }

  .form-container {
    padding: 1rem;
  }
}


   /* CLASES HELPER PARA AGREGAR MANUALMENTE */


/* Usar estas clases en el HTML para casos especiales */

/* Hacer una tarjeta de temporada destacada (ocupa más espacio) */
.featured-card--hero {
  /* En móvil: normal */
  grid-column: span 1;
}

@media (min-width: 768px) {
  .featured-card--hero {
    /* En tablet+: ocupa 2 columnas */
    grid-column: span 2;
  }
  
  .featured-card--hero .featured-image {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .featured-card--hero {
    /* En desktop: ocupa 2 columnas y 2 filas */
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .featured-card--hero .featured-image {
    height: 100%;
    min-height: 400px;
  }
}

/* Ocultar elementos en móvil */
.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: block;
  }
}

/* Ocultar elementos en desktop */
.mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

/* Espaciado extra entre secciones */
.section-spacing {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Contenedor centrado con máximo ancho */
.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

h2.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

section {
  padding: 5rem 2rem;
}

/* === PRECIOS === */
.precios {
  background: var(--bg-light);
}

.price-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.price-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}



.price {
  font-size: 2rem;
  font-weight: bold;
}

.popular {
  border: 3px solid var(--primary);
  position: relative;
}

.badge {
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.subtext {
  font-size: 0.9rem;
  color: var(--text-light);
}

/*SUPLEMENTOS */
.suplementos {
  max-width: 800px;
  margin: 3rem auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.suplementos h3 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.suplementos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.suplemento {
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  text-align: center;
  padding: 1rem;
}

.extra {
  font-size: 1.5rem;
  font-weight: bold;
}

/* === NOTAS === */
.notas {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff3cd;
  border-left: 4px solid var(--secundary);
  border-radius: 8px;
  color: #856404;
  line-height: 1.6;
}

/*INCLUYE */
.incluye {
  background: white;
}

.destinos-grid {
  max-width: 1200px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.destino {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.destino:hover {
  transform: translateY(-5px);
}

.destino-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secundary));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.destino ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-light);
  line-height: 2;
}

.destino li {
  position: relative;
  padding-left: 1.5rem;
}

.destino li i {
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--primary);
}

.extra-info {
  background: #fff;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === TREN === */
.tren {
  max-width: 900px;
  margin: 3rem auto;
  background: linear-gradient(135deg, var(--primary), var(--secundary));
  padding: 2.5rem;
  border-radius: var(--radius);
  color: white;
  text-align: center;
}

.tren i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tren h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.tren .sub {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* NO INCLUYE */
.no-incluye {
  background: var(--bg-light);
  padding: 3rem 2rem;
}

.no-card {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.no-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.no-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-light);
  line-height: 2;
}

.no-card li {
  padding-left: 1.5rem;
  position: relative;
}

.no-card li i {
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
}

/*  RESPONSIVE  */
@media (max-width: 768px) {
  .suplementos-grid {
    grid-template-columns: 1fr;
  }
}

   /* BOTÓN FLOTANTE DE RESERVA */

.btn-reservar-flotante {
  position: fixed;
  bottom: 75%;
  left: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secundary) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(205, 25, 21, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-reservar-flotante:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(205, 25, 21, 0.6);
}

.btn-reservar-flotante i {
  font-size: 1.3rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(205, 25, 21, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(205, 25, 21, 0.7);
  }
}

   /* MODAL DEL FORMULARIO */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Contenedor del modal */
.modal-container {
  background: white;
  border-radius: 25px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(-50px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(205, 25, 21, 0.1);
  transform: rotate(90deg);
}

.modal-close i {
  font-size: 1.2rem;
  color: #fff;
}

.modal-close:hover i {
  transform: scale(1.2);
}

/* Header del modal */
.modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secundary) 100%);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-radius: 25px 25px 0 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* No se comprime */
}

.modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.modal-header h2 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.modal-header p {
  font-size: clamp(0.8rem, 3vw, 0.95rem);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Body del modal */
.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-body .form-group {
  margin-bottom: 1rem;
}

.modal-body label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-body label i,
#bookingForm > div > label > i {
  color: var(--primary);
  font-size: 1rem;
}

.modal-body input,
.modal-body select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.modal-body input:focus,
.modal-body select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(205, 25, 21, 0.1);
  transform: translateY(-2px);
}

/* Botón submit del modal */
.btn-submit-modal {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secundary) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-submit-modal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit-modal:hover::before {
  width: 400px;
  height: 400px;
}

.btn-submit-modal:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(205, 25, 21, 0.4);
}

.btn-submit-modal:active {
  transform: translateY(-1px);
}

.btn-submit-modal i {
  position: relative;
  z-index: 1;
}

/* Footer del modal */
.modal-footer {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0 0 25px 25px;
  text-align: center;
  flex-shrink: 0;
}

.modal-footer p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-footer i {
  color: #28a745;
}

   /* VARIACIÓN: Botón inline para usar en cualquier parte */

.btn-reservar-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secundary) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(205, 25, 21, 0.3);
  text-decoration: none;
}

.btn-reservar-inline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(205, 25, 21, 0.5);
}

.btn-reservar-inline i {
  font-size: 1.1rem;
}

   /* RESPONSIVE */

@media (max-width: 768px) {
  .btn-reservar-flotante {
    right: 20px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .btn-reservar-flotante span {
    display: none;
  }

  .btn-reservar-flotante {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .modal-container {
    max-width: 95%;
    border-radius: 20px;
  }

  .modal-header {
    padding: 2.5rem 1.5rem 1.5rem;
    border-radius: 20px 20px 0 0;
  }

  .modal-header h2 {
    font-size: 1.6rem;
  }

  .modal-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-footer {
    padding: 1.2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn-reservar-flotante {
    bottom: 80%;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .modal-header h2 {
    font-size: 1.4rem;
  }

  .modal-body input,
  .modal-body select {
    padding: 0.8rem;
    font-size: 0.95rem;
  }
}

/* Scroll suave para el modal */
.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 25px 25px 0;
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--secundary);
}


/* Para dispositivos con altura limitada */
@media (max-height: 800px) {
  .modal-container {
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  .modal-header p {
    font-size: 0.85rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-body .form-group {
    margin-bottom: 0.8rem;
  }
  
  .modal-body label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .modal-body input,
  .modal-body select {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-submit-modal {
    padding: 0.9rem;
    font-size: 1rem;
  }
  
  .modal-footer {
    padding: 0.8rem 1rem;
  }
  
  .modal-footer p {
    font-size: 0.8rem;
  }
}

@media (max-height: 600px) {
  .modal-container {
    max-height: 98vh;
    border-radius: 15px;
  }
  
  .modal-header {
    padding: 1rem 1rem 0.8rem;
    border-radius: 15px 15px 0 0;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }
  
  .modal-header p {
    font-size: 0.8rem;
  }
  
  .modal-body {
    padding: 0.8rem;
  }
  
  .modal-body .form-group {
    margin-bottom: 0.6rem;
  }
  
  .modal-body label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  
  .modal-body input,
  .modal-body select {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .btn-submit-modal {
    padding: 0.8rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
  
  .modal-footer {
    padding: 0.6rem 0.8rem;
  }
  
  .modal-footer p {
    font-size: 0.75rem;
  }
}

#list-important {
  padding-left: 15px;
}


   /* ESTILOS PARA CONTACT FORM 7 */


/* Contenedor principal del formulario CF7 */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  width: 100%;
  color: #000;
  font-weight: 600;
}

/* Grupos de campos (equivalente a .form-group) */
.wpcf7-form p {
  margin-bottom: 1rem;
}

/* Labels del formulario */
.wpcf7-form label {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
  padding-left: 15px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Inputs y selects */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Focus en inputs */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(205, 25, 21, 0.1);
  transform: translateY(-2px);
}

/* Botón de envío */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(114, 30, 30, 0.4);
}

/* Mensajes de validación */
.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  padding-left: 15px;
}

/* Mensajes de respuesta */
.wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.wpcf7-spam-blocked {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

/* Spinner de carga */
.wpcf7-spinner {
  margin: 0 auto;
  display: block;
}

/* Campos inválidos */
.wpcf7-form .wpcf7-not-valid {
  border-color: #dc3545 !important;
}

/* Textarea específico */
.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkboxes y radios */
.wpcf7-form .wpcf7-list-item {
  margin: 0 0 0.5rem 0;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
}


   /* ESTILOS ESPECÍFICOS PARA EL MODAL */


/* En el modal, ajustar padding y tamaños */
.modal-body .wpcf7-form input[type="text"],
.modal-body .wpcf7-form input[type="email"],
.modal-body .wpcf7-form input[type="tel"],
.modal-body .wpcf7-form input[type="url"],
.modal-body .wpcf7-form input[type="number"],
.modal-body .wpcf7-form input[type="date"],
.modal-body .wpcf7-form textarea,
.modal-body .wpcf7-form select {
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

.modal-body .wpcf7-form label {
  color: #333;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-body .wpcf7-form input[type="submit"],
.modal-body .wpcf7-form button[type="submit"] {
  padding: 1.1rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

/* Efecto del botón en el modal */
.modal-body .wpcf7-form input[type="submit"]::before,
.modal-body .wpcf7-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modal-body .wpcf7-form input[type="submit"]:hover::before,
.modal-body .wpcf7-form button[type="submit"]:hover::before {
  width: 400px;
  height: 400px;
}

.modal-body .wpcf7-form input[type="submit"]:hover,
.modal-body .wpcf7-form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(205, 25, 21, 0.4);
}


   /* RESPONSIVE PARA CF7 */


@media (min-width: 768px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form input[type="date"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-form button[type="submit"] {
    padding: 1rem;
    font-size: 1.1rem;
  }
}

@media (max-height: 800px) {
  .modal-body .wpcf7-form p {
    margin-bottom: 0.8rem;
  }

  .modal-body .wpcf7-form label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .modal-body .wpcf7-form input[type="text"],
  .modal-body .wpcf7-form input[type="email"],
  .modal-body .wpcf7-form input[type="tel"],
  .modal-body .wpcf7-form input[type="url"],
  .modal-body .wpcf7-form input[type="number"],
  .modal-body .wpcf7-form input[type="date"],
  .modal-body .wpcf7-form textarea,
  .modal-body .wpcf7-form select {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  .modal-body .wpcf7-form input[type="submit"],
  .modal-body .wpcf7-form button[type="submit"] {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

@media (max-height: 600px) {
  .modal-body .wpcf7-form p {
    margin-bottom: 0.6rem;
  }

  .modal-body .wpcf7-form label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .modal-body .wpcf7-form input[type="text"],
  .modal-body .wpcf7-form input[type="email"],
  .modal-body .wpcf7-form input[type="tel"],
  .modal-body .wpcf7-form input[type="url"],
  .modal-body .wpcf7-form input[type="number"],
  .modal-body .wpcf7-form input[type="date"],
  .modal-body .wpcf7-form textarea,
  .modal-body .wpcf7-form select {
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  .modal-body .wpcf7-form input[type="submit"],
  .modal-body .wpcf7-form button[type="submit"] {
    padding: 0.8rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form input[type="date"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

/* Ocultar el párrafo vacío que genera CF7 */
.wpcf7-form p:empty {
  display: none;
}