/* ====== BORDEOS  Y LETRAS ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif, 'Times New Roman', Times, serif;
}

/* ====== BARRA SUPERIOR ====== */
body {
  padding: 0;
  margin: 0;
}

.top-bar {
  background-color: #1c2764;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 50px;    
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1030;
  box-sizing: border-box;
  transition: top 0.3s ease;
}

.top-left span {
  margin-right: 20px;
  background-color: #fff;
  color: #000;
  padding: 3px 10px;
  border-radius: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-left a {
  display: flex;
  align-items: center;
}

.top-left i {
  color: #1c2764;
  font-size: 1rem;
}

.top-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
}

#lang-selector {
  position: relative;
  background-color: #fff;
  color: #000;
  padding: 3px 10px;
  border-radius: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
}

#selected-lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

#lang-options {
  list-style: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 5px 0;
  margin: 0;
  display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 10;
}

#lang-options li {
  padding: 5px 15px;
  text-align: left;
}

#lang-options li a {
  text-decoration: none;
  color: #000;
  display: block;
}

#lang-options li:hover {
  background-color: #f0f0f0;
}

#lang-selector.active #lang-options {
  display: block;
}

/* ====== NAVBAR PRINCIPAL ====== */
.navbar {
  background-color: #f3f3f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 30px;
  border-bottom: 0.7px solid #ccc;
  width: 100%;
  position: fixed;
  top: 40px;
  z-index: 1020;
  transition: top 0.3s ease;
}

.logo {
  display: flex;
  align-items:normal;
}

.logo a {
  display:flex;
  text-decoration: none;
}

.logo a img {
  height: 60px;
}

.nav-links a {
  position: relative;
  margin: 0 20px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 4px;
  background-color: #1c2764;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #1c2764;
}

.nav-links a:hover::after {
  width: 100%;
}

.user-btn1 {
  background-color: #1c2764;
  color: #fff;
  border: none;
  padding: 5px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.6rem;
  margin-left: 10px;
  transition: background 0.3s, transform 0.2s;
}

.user-btn1:hover {
  background-color: #2e3ba7;
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .top-bar,
  .navbar {
    display: none;
  }
}

/* ===== NAVBAR MÓVIL ===== */
.mobile-navbar {
  display: none;
  background-color: #dfe0e6;
  padding: 3px 20px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.mobile-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.mobile-lang {
  margin-left: auto;
  margin-right: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mobile-lang button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-lang button:hover {
  opacity: 0.8;
}

.lang-menu {
  text-align: center;
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background: #d3d0d0;
  color: #000;
  list-style: none;
  padding: 5px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  min-width: 80px;
  z-index: 1500;
}

.lang-menu.show {
  display: block;
}

.lang-menu li a {
  display: block;
  padding: 6px 12px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.lang-menu li a:hover {
  background-color: #eceaea;
}

.menu-toggle {
  background: none;
  border: none;
  color: #000000;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #f3f3f3;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  border-top: 2px solid #616caa;
}

.mobile-menu a {
  color: #000;
  text-decoration: none;
  padding: 12px 0;
  font-weight: 600;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background-color: #ddd;
}

.mobile-logo-img {
  height: 55px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .top-bar,
  .navbar {
    display: none;
  }

  .mobile-navbar {
    display: block;
  }
}

/* === SIDEBAR CONTENEDOR === */
.sidebar {
  position: fixed;
  top: 0;
  right: -270px;
  width: 250px;
  height: 100vh;
  background-color: #f3f3f3;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 20px;
  transition: right 0.3s ease-in-out;
  z-index: 2000;
}

.sidebar.active {
  right: 0;
}

.sidebar-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.sidebar-logo img {
  width: 150px;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
  opacity: 0.95;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #000;
  cursor: pointer;
  transition: 0.3s ease;
}

.close-btn:hover {
  color: #1c2764;
  transform: rotate(90deg);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: start;
  width: 100%;
}

.sidebar-menu a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: 0.25s ease;
}

.sidebar-menu a:hover {
  color: #1c2764;
  padding-left: 5px;
}

.user-btn {
  margin-top: 25px;
  background: #1c2764;
  color: #fff;
  border: none;
  width: 90px;
  height: 45px;
  border-radius: 10%;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  margin-left: auto;
  margin-right: auto;
}


.user-btn:hover {
  background: #2f3a8a;
  transform: scale(1.1);
}


.hero-section {
  position: relative;
  height: 100vh;
  background: url("img/hero1.JPG") center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 25, 50, 0.55),
    rgba(15, 25, 50, 0.75)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 40px;
  background: transparent;
  border: 2px solid #FFEBB7;
  color: #FFEBB7;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.hero-btn:hover {
  background: #FFEBB7;
  color: #2F3972;
  transform: translateY(-2px);
}

.hero-logos {
  margin-top: 60px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  position: relative;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: logosScroll 50s linear infinite;
}

.logos-track img {
  height: 60px;
  width: auto;
  opacity: 0.9;
  flex-shrink: 0; 
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logos-track img:hover {
  transform: scale(1.08);
  opacity: 1;
}

@keyframes logosScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {

  .hero-logos {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .logos-track {
    gap: 35px;
  }

  .logos-track img {
    height: 80px;
    width: 15%;
  }
}

.hero-colors {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  height: 6px;
  z-index: 3;
}

.hero-colors span {
  flex: 1;
}

.c-blue  { background: #2F3972; }
.c-gold  { background: #FFEBB7; }
.c-green { background: #1AA464; }
.c-gray  { background: #F0F2F2; }

@media (max-width: 900px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .logos-track img {
    height: 32px;
  }
}


/*SECCIÒN 2*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800;900&display=swap');


.index-about {
  position: relative;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;

  background-image: url("img/fondo2.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.index-about-overlay {
  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.78) 40%,
    rgba(255,255,255,0.35) 70%,
    rgba(255,255,255,0.15) 100%
  );
}

.index-about-content {
  max-width: 1500px;
  margin: 0 auto;

  padding-top: clamp(60px, 8vw, 100px); 
  padding-left: clamp(20px, 4vw, 50px);
  padding-right: clamp(20px, 4vw, 50px);

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.index-about-text {
  color: #1f2933;
}

.index-eyebrow {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: clamp(1px, 0.4vw, 3px);
  color: #2F3972;
}

.index-divider-gold {
  width: clamp(90px, 12vw, 150px);
  height: 6px;
  background: #9b8243;
  margin: 18px 0 30px;
}

.index-about-text p {
  font-size: clamp(14px, 1vw, 18px);
  line-height: clamp(1.6, 1.8vw, 1.9);
  color: #374151;
  margin-bottom: 18px;
  font-weight: 600;
}

.index-about-logo {
  display: flex;
  justify-content: center;
}

.index-about-logo img {
  width: clamp(260px, 40vw, 600px);
  padding: clamp(20px, 4vw, 45px);

  background: rgba(255,255,255,0.28);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

.color-divider {
  display: flex;
  width: 100%;
  height: 6px;
  margin-top: auto;
}

.color-divider span {
  flex: 1;
}

.c-blue  { background: #2F3972; }
.c-gold  { background: #FFEBB7; }
.c-green { background: #1AA464; }
.c-gray  { background: #F0F2F2; }

@media (max-width: 1200px) {
  .index-about {
    background-position: center right;
  }

  .index-about-content {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (max-width: 992px) {
  .index-about {
    background-position: top center;
  }

  .index-about-overlay {
    background: rgba(255, 255, 255, 0.747);
    justify-content: flex-start;
  }

  .index-about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .index-divider-gold {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {

  .index-about-text p {
    line-height: 1.65;
  }
}

@media (max-width: 530px) {
  .index-about-logo {
    display: none; 
  }
}

/*SECCIÒN 3*/

.index-tours {
  position: relative;

  background-image: url("img/base.jpg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;

  overflow: hidden;
}

.index-tours::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(234, 241, 248, 0.616) 0%,
    rgba(234, 241, 248, 0.411) 45%,
    rgba(10, 41, 71, 0.856) 80%,
    rgba(19, 51, 82, 0.911) 100%
  );

  z-index: 0;
}

.index-tours-inner {
  position: relative;
  z-index: 1;

  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(140px, 18vw, 220px);
}

.index-tours-header {
  max-width: 1500px;
  margin: 0 auto 40px;
  padding: 0 clamp(20px, 4vw, 50px);
}

.index-tours-header .index-eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #1AA464;
}

.index-tours-header h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: #2F3972;
  margin-top: 8px;
}

.tours-carousel-wrapper {
  position: relative;
}

.tours-carousel {
  display: flex;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 50px);

  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.tours-carousel::-webkit-scrollbar {
  display: none;
}

.tours-carousel .tour-card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;

  background: rgba(255, 255, 255, 0.95);
  font-size: 30px;
  cursor: pointer;

  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 3;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-btn:hover {
  background: #2F3972;
  color: #ffffff;
}

.index-tours .color-divider {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 6px;
  display: flex;

  z-index: 5;
}

.index-tours .color-divider span {
  flex: 1;
}

@media (max-width: 768px) {

  /* Sección general */
  .index-tours {
    background-size: cover;
    background-position: center bottom;
  }

  .index-tours-inner {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .index-tours-header {
    margin-bottom: 40px;
  }

  .index-tours-header h2 {
    font-size: 36px;
    line-height: 1.35;
  }

  .tours-carousel {
    padding: 0 20px;
    gap: 16px;
  }

  .tours-carousel .tour-card {
    min-width: 85vw;
    max-width: 85vw;
  }

  /* Botones */
  .carousel-btn {
    display: none;
  }

  /* Overlay */
  .index-tours::before {
    background: linear-gradient(
      to bottom,
      rgba(234,241,248,0.95) 0%,
      rgba(234,241,248,0.88) 60%,
      rgba(13,79,139,0.65) 100%
    );
  }
}

  /*FOOTER*/
#footer {
  position: relative;
  width: 100%;
  background: #f1f1f1;
  padding: 30px 20px;
  border-top: 3px solid #1c2764;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1c2764;
  margin-bottom: 10px;
}

.footer-section a,
.footer-section p {
  text-decoration: none;
  color: #000;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: block;
}

.footer-section a:hover {
  color: #1c2764;
}

.footer-logo {
  padding-top: 20px;
  width: 100%;
  height: 100px;
}

.social-icons img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.section.fp-auto-height {
  display: flex;
  justify-content: center;
  align-items: flex-end; 
  min-height: auto;   
}

@media screen and (max-width: 900px) {

  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;  
    gap: 10px;
  }

  .footer-section {
    display: none;
  }

  .footer-section:first-child {  
    display: block;
    align-items: center;
  }

  .footer-logo {
    width: 220px;
    height: auto;
    margin: auto;
    align-self: center ;
  }

  .footer-section:nth-child(3) h3 {
    margin-bottom: 6px;
    font-size: 1rem;
  }

}




/*CONOCENOS.HTML*/
.hero-us {
  position: relative;
  width: 100%;
  height: 60vh; 
  min-height: 460px;
  background: url("img/herous.JPG") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-us {
    height: 50vh;
    min-height: 340px;
  }
}

.hero-us-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}

.hero-us-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-us-eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFEBB7;
  text-transform: uppercase;
}

.hero-us-title {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 10px 25px rgba(0,0,0,0.65);
  font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 900px) {
  .hero-us-title {
    font-size: 44px;
  }

  .hero-us-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
  }
}

.hero-color-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  display: flex;
  z-index: 3;
}

.hero-color-lines .line {
  flex: 1;
}

.hero-color-lines .blue  { background: #2F3972; }
.hero-color-lines .gold  { background: #FFEBB7; }
.hero-color-lines .green { background: #1AA464; }
.hero-color-lines .gray  { background: #d1d1d1; }

.section-guide {
  min-height: 85vh;
  background: #cecdcd3f; 
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.guide-layout {
  flex: 1;
  width: 100%;
  max-width: 1600px;  
  margin: 0 auto; 
  margin-top: 70px;
  display: grid;
  grid-template-columns: 55% 45%;
  column-gap: 45px;
  align-items: start;
}

.guide-text {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2px;

  animation: fadeSlideLeft .9s ease forwards;
}

.guide-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #1AA464;
}

.guide-text h2 {
  font-size: 46px;
  font-weight: 900;
  color: #2F3972;
  margin: 6px 0 24px;
  line-height: 1.6;
}

.guide-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #FFEBB7;
  margin-top: 18px;
}

.guide-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-top: 26px;
}

/* Logo */
.guide-logo {
  margin-top: 35px;
  width: 480px;
  opacity: 0.9;
  align-self: center;
}

.guide-media {
  display: grid;
  grid-template-rows: 1.5fr 0.5fr;
  gap: 24px;
  height: 70vh; 
  max-height: 720px;
  min-height: 560px;

  animation: fadeSlideUp 1s ease forwards;
}

.guide-card {
  position: relative;
  width: 100%;
  height: 100%;  
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0,0,0,.35);
}

.guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.88),
    rgba(0,0,0,.5),
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transform: translateY(100%);
  transition: .45s cubic-bezier(.4,0,.2,1);
}

.guide-card:hover .guide-overlay {
  transform: translateY(0);
}

.guide-overlay h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guide-overlay p {
  font-size: 14px;
  color: #e5e7eb;
}

.guide-certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  height: 100%;
}

.certificate-card {
  position: relative;
  background: #ffffff;
  padding: 26px 22px 44px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transition: .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 65px rgba(0,0,0,.28);
}

.certificate-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.certificate-card span {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}

.certificate-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(
    to right,
    #2F3972 0%,
    #2F3972 34%,
    #FFEBB7 34%,
    #FFEBB7 67%,
    #1AA464 67%,
    #1AA464 100%
  );
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.color-divider {
  display: flex;
  height: 6px;
  width: 100%;
}

.color-divider span { flex: 1; }

.c-blue  { background: #2F3972; }
.c-gold  { background: #FFEBB7; }
.c-green { background: #1AA464; }

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {

  .section-guide {
    position: relative;
    min-height: auto;
    padding: 40px 0 60px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    row-gap: 50px;
    margin-top: 40px;
    padding: 0 16px;
    text-align: center;
  }

  .guide-text {
    max-width: 100%;
    align-items: center;
  }

  .guide-text h2 {
    font-size: 34px;
    line-height: 1.3;
  }

  .guide-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .guide-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .guide-logo {
    width: 260px;
    margin: 30px auto 0;
  }

  .guide-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
  }

  .guide-card {
    width: 100%;
    max-width: 560px;
    height: 640px;
  }

  .guide-certs {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .certificate-card {
    padding: 14px 12px 26px;
    border-radius: 14px;
  }

  .certificate-card img {
    max-height: auto;   
    margin-bottom: 10px;
  }

  .certificate-card span {
    font-size: 13px;  
    line-height: 1.3;
  }

  .color-divider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    display: flex;
    z-index: 5;
  }

  .color-divider span {
    flex: 1;
  }
}

@media (max-width: 1550px) {

  .guide-layout {
    max-width: 1150px;
    column-gap: 32px;
    padding: 0 24px;
    padding-bottom: 30px;
  }
  .guide-text {
    max-width: 600px;
  }

  .guide-text h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .guide-text p {
    font-size: clamp(15px, 1.05vw, 16px);
    line-height: 1.65;
    margin-top: 20px;
  }

  .guide-logo {
    width: clamp(220px, 28vw, 200px);
    margin-top: 28px;
  }

  .guide-media {
    height: auto;
    min-height: 520px;
    max-height: 620px;
    gap: 20px;
  }

  .guide-card {
    border-radius: 20px;
  }

  .guide-certs {
    gap: 18px;
  }

  .certificate-card {
    padding: 20px 18px 34px;
  }

  .certificate-card img {
    max-height: 170px;
  }

  .certificate-card span {
    font-size: 14px;
  }
}

.section-conocenos {
  padding: 70px 0;         
  background-color: #f9f9f9;
  font-family: 'Manrope', sans-serif;
}

.conocenos-container {
  display: flex;
  align-items: center;
  max-width: 1800px; 
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);   
  gap: 20px; 
  flex-wrap: wrap;
}

.conocenos-image {
  flex: 1 1 380px;       
  display: flex;
  justify-content: flex-start;
}

.conocenos-image-inner {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 380px;       
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 22px 45px rgba(0,0,0,0.30);
}

.conocenos-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.conocenos-image-inner:hover img {
  transform: scale(1.08);
}

.conocenos-logo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240, 240, 240, 0.678);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 2;
}

.conocenos-logo-overlay img {
  width: 420px;                    /* 🔥 más grande */
  max-width: 80%;
  height: auto;
  transform: scale(0.85);
  transition: transform 0.45s ease;
}

.conocenos-image-inner:hover .conocenos-logo-overlay {
  opacity: 1;
}

.conocenos-image-inner:hover .conocenos-logo-overlay img {
  transform: scale(1);         
}

.conocenos-color-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  display: flex;
  z-index: 3;
}

.conocenos-color-line span { flex: 1; }

.c-blue  { background: #2F3972; }
.c-gold  { background: #FFEBB7; }
.c-green { background: #1AA464; }

.conocenos-text {
  flex: 1 1 560px;
  color: #002d5b;
}

.conocenos-text h1 {
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.conocenos-text h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: #FFEBB7;
  margin-top: 14px;
}

.conocenos-text p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.conocenos-text strong {
  font-weight: 800;
}

@media (max-width: 1050px) {

  .section-conocenos {
    padding: 40px 0 30px;
  }

  .conocenos-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .conocenos-image {
    width: 100%;
    justify-content: center;
    flex: 1 1 180px;
  }

  .conocenos-image-inner {
    width: 100%;
    max-width: 100%;
    height: 260px;
    border-radius: 18px;
  }

  .conocenos-logo-overlay img {
    width: 380px;
    max-width: 70%;
  }

  .conocenos-text h1 {
    font-size: 32px;
  }

  .conocenos-text h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  .conocenos-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .conocenos-divider {
    margin-top: 20px;
  }

  .conocenos-text{
    flex: 1 1 160px;
  }
}


/*SECCIÓN DE MISION VISION*/
.mision-vision-section {
  position: relative;
  width: 100%;
  padding: 70px 20px;
  display: flex;
  justify-content: center;

  background-image: url("img/fondomision.JPG"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}


.mision-vision-section {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.mision-vision-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.65) 0%,
      rgba(15, 23, 42, 0.55) 45%,
      rgba(15, 23, 42, 0.45) 100%
    ),
    linear-gradient(
      to right,
      rgba(0,0,0,0.12),
      rgba(0,0,0,0.0),
      rgba(0,0,0,0.12)
    );

  z-index: 0;
}

.mv-grid {
  position: relative;
  z-index: 1;
}


.mv-grid {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mv-card {
  position: relative;
  background: rgba(245, 245, 245, 0.92);
  padding: 35px 30px;
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.35);
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(.4,0,.2,1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.mv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    0 20px 45px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.mv-card h2 {
  color: #000;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.1;
}

.mv-card p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.mv-card-image {
  background: rgba(230, 241, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  margin: 0 auto 18px;
  border-radius: 14px;
}

.mv-card-image img {
  width: 85%;
  max-width: 320px;
  height: auto;
}



@media (max-width: 900px) {
  .mv-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .mv-card {
    width: 100%;
    text-align: center;
  }

  .mv-card-image {
    order: -1;
    width: 100%;
    margin-bottom: 20px;
  }

  .mv-card-image img {
    width: 70%;
    max-width: 260px;
  }
}

@media (max-width: 500px) {
  .mision-vision-section {
    padding: 30px 15px;
  }

  .mv-card {
    padding: 25px 20px;
  }

  .mv-card h2 {
    font-size: 1.8rem;
  }

  .mv-card p {
    font-size: 0.95rem;
  }
}

/* ===== SECCIÓN GALERÍA ===== */
.galeria-section {
    padding-top: 60px;
    padding-bottom: 40px;
    align-items: center;
}

.galeria-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1c2764;
}

.galeria-subtitle {
    font-size: 1.3rem;
    margin-top: -10px;
    color: #4a4a4a;
}

.galeria-title,
.galeria-subtitle {
    text-align: center;
    padding-bottom: 25px;
}

.galeria-carousel {
    position: relative;
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

.galeria-track {
    display: flex;
    transition: transform 0.5s ease;
}

.galeria-slide {
    flex: 0 0 calc(100% / 3);
    padding: 10px;
}

.galeria-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.galeria-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.galeria-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 2px; }
.next { right: 2px; }
@media (max-width: 900px) {
    .galeria-slide {
        flex: 0 0 100%;
    }

    .galeria-img {
        height: 360px;
    }
}

/*SECCIÓN DE CONTACTO*/

.contacto-section {
    padding: 40px 0;
    text-align: center;
}

.contacto-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1c2764;
    margin-bottom: 5px;
}

.contacto-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
}

.contacto-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1300px;
    margin: auto;
}

.contacto-info {
    padding-top: 100px;
    text-align: left;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacto-logo {
    width: 220px;
    margin: 20px 0;
}

.copyright {
    font-size: 0.9rem;
    margin-top: 10px;
}

.contacto-form {
    width: 550px;
    text-align: left;
}

.contacto-form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 1rem;
}

.contacto-form textarea {
    height: 230px;
    resize: none;
}

.btn-contacto {
    margin-top: 20px;
    background: #1c2764;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-contacto:hover {
    background: #2f3e88;
}

.alerta-exito {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadein .4s ease;
}


.map-container {
  width: 100%;
  height: 60vh;  
  min-height: 400px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media(max-width: 900px) {
    .contacto-title {
      padding-top: 40px;
      font-size: 2.4rem;
      font-weight: 800;
      color: #1c2764;
      margin-bottom: 5px;
    }

    .contacto-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contacto-form {
        width: 90%;
        text-align: left;
    }

    .contacto-info {
        text-align: center;
    }

    .contacto-info {
      padding-top: 10px;
      text-align: left;
      font-size: 1.1rem;
    }
}

/*TOURS.PHP*/

.hero-tours {
  position: relative;
  width: 100%;
  height: 55vh; 
  min-height: 420px; 
  background: url("img/hero-tours.JPG") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-tours {
    height: 45vh;
    min-height: 320px;
  }
}

.hero-tours-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-tours-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-tours-title {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 8px 20px rgba(0,0,0,0.6);
  font-family: 'Bebas Neue', sans-serif;
}

.hero-tours-subtitle {
  display: block;
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-color-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  height: 6px;
  z-index: 3;
}

.hero-color-lines .line {
  flex: 1;
}

.hero-color-lines .blue {
  background: #2F3972;
}

.hero-color-lines .gold {
  background: #FFEBB7;
}

.hero-color-lines .green {
  background: #1AA464;
}

.hero-color-lines .gray {
  background: #d1d1d1;
}

@media (max-width: 900px) {
  .hero-tours-title {
    font-size: 46px;
  }

  .hero-tours-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

.public-tours {
  padding: 70px 6%;
  background: #fafafa;
}

.public-tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1200px) {
  .public-tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .public-tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .public-tours-grid {
    grid-template-columns: 1fr;
  }
}


.tour-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tour-card-img {
  position: relative;
  height: 540px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tour-card-base {
  width: 100%;
  padding: 18px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0)
  );
  color: #fff;
  z-index: 3;
  transition: transform 0.35s ease;
}

.tour-card-base h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 700;
}

.tour-skill {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.85;
}

.tour-card-hover {
  position: absolute;
  inset: 0;
  padding: 22px;
  background: rgba(0,0,0,0.88);
  color: #fff;
  display: flex;
  align-items: flex-end;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 2;
}

.tour-card-hover p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.tour-card-img:hover .tour-card-hover {
  transform: translateY(0);
}

.tour-card-img:hover .tour-card-base {
  transform: translateY(-200px);
    background: linear-gradient(
    to top,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.0),
    rgba(0,0,0,0)
  );
}

@media (max-width: 600px) {

  .tour-card-img {
    height: 320px;
  }

}

@media (max-width: 900px) {

  .tour-card-img {
    height: 460px;
  }

}
@media (max-width: 1550px) {

  .tour-card-img {
    height: 440px;
  }

}


/*FLOTANTE WPP*/
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.pt-hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.pt-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.pt-hero-content {
  position: relative;
  max-width: 680px;
  color: #fff;
  z-index: 2;
}

.pt-skill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  opacity: 0.9;
  margin-bottom: 14px;
}

.pt-hero-content h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.pt-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.pt-hero-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #fff;
  color: #000;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pt-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  background: #ffcc00;
}

.pt-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 90px 8%;
  background: #fafafa;
}

.pt-info-main h2 {
  font-family: "Manrope", sans-serif;
  font-style: italic;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 18px;
}



.pt-info-main p {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}


.pt-card {
  background: #f1f1f1;
  padding: 28px;
  border-radius: 18px;
  margin-bottom: 26px;
}

.pt-card {
  position: relative;
  background: #f1f1f1;
  padding: 28px;
  border-radius: 18px;
  margin-bottom: 26px;
  overflow: hidden;
}

.pt-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;

  background: linear-gradient(
    90deg,
    #0e2566 0%,
    #0e2566 33%,
    #e7e78a 33%,
    #e7e78a 66%,
    #1f7f4c 66%,
    #1f7f4c 100%
  );

  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.pt-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.pt-card p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pt-info {
    grid-template-columns: 1fr;
    padding: 70px 6%;
  }

  .pt-hero {
    padding: 0 6%;
  }

  .pt-hero-content p {
    font-size: 16px;
  }
}

.pt-gallery {
  padding: 80px 10%;
}

.pt-gallery-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 5vw, 45px);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.pt-gallery-wrapper {
  position: relative;
}

.pt-gal-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pt-gal-track::-webkit-scrollbar {
  display: none;
}

.pt-gal-item {
  flex: 0 0 calc(25% - 16px);
}

.pt-gal-item img {
  width: 100%;
  height: 660px; 
  object-fit: cover;
  border-radius: 18px;
}

.pt-gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
}

.pt-gal-btn.left {
  left: -14px;
}

.pt-gal-btn.right {
  right: -14px;
}

@media (max-width: 1200px) {
  .pt-gal-item {
    flex: 0 0 calc(33.333% - 16px);
  }

  .pt-gal-item img {
    height: 380px;
  }
}

@media (max-width: 900px) {
  .pt-gal-item {
    flex: 0 0 calc(50% - 14px);
  }

  .pt-gal-item img {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .pt-gal-item {
    flex: 0 0 80%;
  }

  .pt-gal-item img {
    height: 280px;
  }

  .pt-gal-btn {
    display: none;
  }
}

.pt-related {
  padding: 80px 8%;
  background: #fafafa;
}

.pt-related-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 5vw, 40px);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 1.5px; 
}

.pt-related-wrapper {
  position: relative;
}

.pt-related-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pt-related-track::-webkit-scrollbar {
  display: none;
}

.pt-related-track .tour-card {
  flex: 0 0 320px;
}

.pt-related-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
}

.pt-related-btn.left {
  left: -14px;
}

.pt-related-btn.right {
  right: -14px;
}

@media (max-width: 900px) {
  .pt-related-track .tour-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 600px) {
  .pt-related-track .tour-card {
    flex: 0 0 80%;
  }

  .pt-related-btn {
    display: none;
  }
}





/*LOGIN.PHP*/
.login-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    background: url('img/fondologin.jpg') no-repeat center center/cover;
    position: relative;
}

.login-page::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.25);
}

/* CARD */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: rgba(230, 230, 230, 0.90);
    padding: 50px 35px;
    border-radius: 25px;
    width: 380px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    z-index: 2;
    text-align: center;
    color: #000;
}

.login-container img {
    width: 260px;
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    text-align: left;
    font-size: 15px;
    margin-top: 10px;
    color: #000;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #bfbfbf;
    outline: none;
    font-size: 14px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background: #FFD43B;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    margin-top: 20px;
}

.aviso {
    margin-top: 15px;
    font-size: 12px;
    color: #333;
    opacity: 0.8;
}

.login-container a {
    margin-top: 10px;
    display: block;
    color: #1c2764;
    font-size: 14px;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

.mensaje {
    background: rgba(255, 100, 100, 0.2);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    color: #a00000;
    font-size: 14px;
}

.google-btn {
    display: block;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    color: #444;
    transition: 0.2s;
}

.google-btn i {
    margin-right: 8px;
}

.google-btn:hover {
    background: #f3f3f3;
}

/*DASHBOARD.PHP*/
.tours-title2 {
    font-size: 32px;
    color: #003366;
    text-align: center;
    font-weight: 800;
    margin-bottom: 25px;
    margin-top: 20px;
}

.tour-item {
    width: 100%;
    background: #fff;
    display: flex;
    gap: 20px;
    border-radius: 12px;
    padding: 18px;
    min-height: 165px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 22px;
}

.tour-img {
    flex: 0 0 20%;
}

.tour-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.tour-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 20px;
    padding-bottom: 5px;
}

.tour-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
}

.tour-title {
    font-size: 25px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 6px;
}

.tour-price {
    color: #003366;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.tour-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-right: 10px;
}

.tour-btn {
    padding: 8px 14px;
    background: #efcf32;
    color: #003366;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

@media (max-width: 800px) {

    .tour-item {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
    }

    .tour-img {
        flex: none;
        width: 100%;
    }

    .tour-img img {
        height: 200px;
    }

    .tour-info {
        padding-right: 0;
    }

    .tour-bottom {
        margin-top: 15px;
    }

    .tour-btn {
        align-self: flex-end;
    }
}


.admin-topbar {
    height: 60px;
    background: #1e2a38;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.admin-brand {
    font-size: 22px;
    margin: 0;
}

.admin-logout-btn {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.admin-sidebar {
    position: fixed;
    top: 60px;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #243447;
    padding-top: 25px;
    transition: left 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-sidebar.active {
    left: 0;
}

.admin-sidebar-logo {
    width: 230px;
    height: auto;
    margin-bottom: 25px;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.admin-sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    gap: 15px;
    transition: background 0.2s ease;
}

.admin-sidebar ul li a i {
    font-size: 22px;
}

.admin-sidebar ul li a:hover {
    background: #90a4c8;
    color: black;
}

.admin-content {
    padding: 20px;
    margin-top: 5px;
    box-sizing: border-box;
}

.dashboard-header {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.clock-container {
    text-align: center;
    margin-top: 30px;
}

.clock {
    display: flex;
    gap: 15px;
    background: #f2f2f2;
    padding: 25px 35px;
    border-radius: 15px;
}

.clock span {
    font-size: 55px;
    font-weight: 800;
    background: white;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    min-width: 70px;
    text-align: center;
}

#fecha-actual {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
}

.admin-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-card {
    background: #ffffff;
    padding: 45px;
    width: 210px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 6px solid #0078ff;
    text-align: center;
    transition: transform .2s;
}

.admin-card:hover {
    transform: translateY(-5px);
}

.admin-card-number {
    font-size: 38px;
    font-weight: bold;
    color: #0078ff;
    margin: 0;
}

.admin-card-number i {
    color: #ffcf32;
    margin-right: 5px;
}

.admin-card h3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }

    .clock-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clock {
        padding: 20px;
    }

    .clock span {
        font-size: 45px;
        min-width: 60px;
    }

    .admin-cards {
        width: 80%;
        justify-content: center;
    }

    .admin-card {
        width: 90%;
    }
}

@media (max-width: 900px) {
    .admin-topbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
        height: auto;
        text-align: left;
    }

    .admin-topbar-left {
        gap: 10px;
    }

    .admin-brand {
        font-size: 18px;
    }

    .admin-logout-btn {
        font-size: 0;
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
    }

    .admin-logout-btn i {
        font-size: 22px;
    }

    .admin-sidebar {
        width: 80%;
        left: -80%;
        top: 50px;
    }

    .admin-sidebar.active {
        left: 0;
    }

    .admin-sidebar-logo {
        width: 210px;
        margin-bottom: 20px;
    }

    .admin-sidebar ul li a {
        font-size: 18px;
        padding: 14px 22px;
    }

    .admin-sidebar ul li a i {
        font-size: 30px;
    }

    .admin-content {
        padding: 10px;
    }

    .admin-consulta-card {
        flex-direction: column;
    }
}

.dashboard-two-cards {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    margin-top: 40px;
}

@media(max-width: 900px) {
    .dashboard-two-cards {
        grid-template-columns: 1fr;
    }
}

.activity-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.activity-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 3px solid #dce577;
}

.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 3px solid #eee;
}

.activity-info {
    max-width: 80%;
}

.activity-info strong {
    font-size: 16px;
}

.activity-info small {
    display: block;
    font-size: 13px;
    color: #777;
}

.eye-btn {
    background: #faee48;
    border: none;
    color: rgb(32, 32, 32);
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.eye-btn:hover {
    background: #005fcc;
}

.chart-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
}

.modal-content {
    background: #fff;
    margin: 50px auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-asunto {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 6px;
    margin-top: 12px;
    border: 1px solid #ddd;
    line-height: 1.7; 
}

.close-modal {
    background: #e77b6f;
    border: none;
    padding: 8px 12px;
    color: white;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover {
    background: #d96d61;
}

@media (max-width: 900px) {
    .modal-content {
        margin: 20px auto;
        padding: 20px;
        max-height: 85vh;
    }

    .modal-asunto {
        max-height: 160px;
    }
}

@media (max-width: 900px) {
    .consulta-item {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .consulta-nombre {
        font-size: 15px;
    }

    .consulta-fecha {
        font-size: 13px;
    }

    .consulta-ver {
        align-self: flex-end;
    }
}

@media (max-width: 900px) {
    .consulta-item {
        padding: 12px;
    }

    .consulta-nombre {
        font-size: 14px;
    }

    .consulta-fecha {
        font-size: 12px;
    }

    .modal-content {
        width: 96%;
        padding: 16px;
    }
}

.saludo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.saludo-text {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.emoji {
    font-size: 2rem;
}

.audit-box {
    background: #ffffff;
    padding: 18px 20px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-bottom: 22px;
    max-height: 260px;
    overflow-y: auto;
}

.audit-row {
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
}

.audit-row:last-child {
    border-bottom: none;
}

.audit-row strong {
    color: #333;
}

.admin-flex {
    display: flex;
    width: 100%;
    gap: 24px;
    margin-top: 25px;
}

.admin-left, 
.admin-right {
    width: 50%;
}

.admin-card2 {
    background: #ffffff;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: box-shadow .2s ease, transform .15s ease;
}

.admin-card2:hover {
    box-shadow: 0 8px 26px rgba(0,0,0,0.10);
    background: #c5d8eb28;
}

.admin-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 3px solid #ececec;
    transition: background .15s ease;
}

.admin-user-row:last-child {
    border-bottom: none;
}

.admin-user-row:hover {
    background: #f8f9ff;
}

.admin-actions a {
    margin-left: 10px;
    font-size: 20px;
    color: #333;
    padding: 6px;
    border-radius: 6px;
    transition: background .2s ease, color .2s ease;
}

.admin-actions a:hover {
    background: #eef3ff;
    color: #1f6fff;
}

.admin-form label {
    font-weight: 600;
    margin-top: 12px;
    display: block;
    color: #333;
}

.admin-form input {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    background: #fafafa;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.admin-form input:focus {
    border-color: #2b7cff;
    box-shadow: 0 0 0 3px rgba(43,124,255,0.2);
    outline: none;
}

.admin-btn-main {
    background: #2b4876;
    border: none;
    color: #fff;
    padding: 12px 18px;
    font-size: 15.5px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 18px;
    width: 100%;
    font-weight: 600;
    letter-spacing: .3px;
    transition: background .2s ease, transform .1s ease;
}

.admin-btn-main:hover {
    background: #182a46;
}

.admin-btn-main:active {
    transform: scale(.97);
}

.admin-title-small {
    font-size: 21px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2b2b2b;
}

@media (max-width: 900px) {
    .admin-flex {
        flex-direction: column;
    }

    .admin-left,
    .admin-right {
        width: 100%;
    }

    .admin-card2 {
        padding: 20px;
    }

    .admin-user-row {
        padding: 12px 0;
    }

    .admin-actions a {
        font-size: 18px;
        margin-left: 6px;
        padding: 4px;
    }

    .admin-form input {
        padding: 10px;
    }

    .admin-btn-main {
        padding: 12px;
        font-size: 15px;
    }
    .limite-scroll {
      min-height: 100px !important;
      max-height: 200px;
      overflow-y: auto;
    }
}

.limite-scroll {
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
}

.admin-logo-form {
    text-align: center;
    margin-top: 25px;
}

.admin-logo-form img {
    width: 100%;
    opacity: 0.85;
    transition: opacity .2s ease, transform .2s ease;
}

.admin-logo-form img:hover {
    opacity: 1;
    transform: scale(1.02);
}

/*GESTION DE TOURS*/
.admin-card3-tour {
    width: 100%;  
    max-width: 600px;
    min-width: 0;  
    overflow: hidden;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
    overflow: visible;
    flex: 0 0 auto;
}


.admin-card3-tour h3 {
    text-align: center;
}
.main-img-wrapper {
    width: 100%;
    height: 240px;
    position: relative;
    margin-bottom: 15px;
}

.main-img-box {
    width: 100%;
    height: 100%;
    border: 2px dashed #bfbfbf;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    transition: 0.2s ease;
    position: relative;
}

.main-img-box:hover {
    border-color: #5a7cff;
    background: #f8faff;
}

.main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img-plus {
    font-size: 55px;
    color: #999;
    font-weight: 300;
}

.main-img-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3b3b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.main-img-box.has-img .main-img-delete {
    display: flex;
}

.main-img-box.empty {
    border-style: dashed;
}

.form-layout {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-col-left {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-preview {
    width: 100%;
    height: 240px;
    background: #f0f0f0;
    border-radius: 14px;
    border: 2px dashed #bfbfbf;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.form-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #d4d4d4;
    background: #fafafa;
    transition: .2s;
    margin-bottom: 14px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #5a7cff;
    background: #fff;
}

.form-precios-box {
    margin-top: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    width: 100%;
    box-sizing: border-box;
}

.form-precios-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}

.form-precio-item {
    background: #fff;
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid #e4e4e4;
    transition: .18s;
}

.form-precio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.form-precio-item input {
    width: 155px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 2px solid #cfcfcf;
    background: #f8f8f8;
    font-size: 15px;
    transition: .25s;
}

.form-precio-item input:focus {
    background: #fff;
    border-color: #2b5eff;
    box-shadow: 0 0 8px rgba(43, 94, 255, 0.35);
}

.form-btn-main {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    background: #2d4eba;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .2s;
}

.form-btn-main:hover {
    background: #101b46;
}

.alert-success {
    display: block;
    background: #4CAF50;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    font-weight: 600;
}

.form-section-hidden {
    height: 0 0  auto;
    overflow: hidden;
    transition: height 0.4s ease;
}

.form-section-hidden.show {
    height: auto;
    overflow: visible;
}

.form-expand-toggle {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.form-expand-toggle i {
    transition: transform 0.3s ease;
}

.form-section-visible {
    margin-bottom: 10px;
}

.galeria-grid-create {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    box-sizing: border-box;
    max-width: calc(110px * 4 + 12px * 3); 
}

.galeria-grid-create::-webkit-scrollbar {
    height: 6px;
}

.galeria-grid-create::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.25);
    border-radius: 4px;
}

.galeria-grid-create::-webkit-scrollbar-track {
    background: transparent;
}
.admin-card3-tour,
.form-layout,
.form-col-left {
    min-width: 0;
}

.galeria-item {
    position: relative;
    width: 110px;
    height: 100px;
    background: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeria-item.add-new {
    background: #e8e8e8;
    border: 2px dashed #bfbfbf;
    font-size: 36px;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria-item.add-new:hover {
    background: #dcdcdc;
}

.galeria-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.galeria-delete-btn:hover {
    background: #d62828;
}

.galeria-item.nuevo {
    outline: 2px solid #4aa3ff;
}


@media (max-width: 900px) {
    .admin-card3-tour {
        width: 100%;
        max-width: 100%;
    }

    .form-col-left {
        max-width: 100%;
    }

    .form-preview {
        height: 200px;
    }
}

@media (max-width: 900px) {

    .admin-card3-tour {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box;
    }

    .form-col-left {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .main-img-wrapper {
        height: 180px !important;
    }

    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 10px;
        margin-bottom: 12px;
    }

    .form-precios-box {
        padding: 18px;
    }

    .form-precio-item {
        padding: 12px 15px;
    }

    .form-btn-main {
        padding: 12px;
        font-size: 16px;
    }

}

@media (max-width: 600px) {

    .galeria-grid-create {
        max-width: calc(110px * 3 + 12px * 1) !important;
        overflow-x: auto !important;
        overflow-y: hidden;
    }

    .galeria-grid-create .galeria-item {
        width: 90px !important;
        height: 80px !important;
    }

    .galeria-item.add-new {
        font-size: 28px !important;
    }
}

@media (max-width: 420px) {

    .main-img-wrapper {
        height: 150px !important;
    }

    .galeria-grid-create {
        max-width: calc(90px * 3 + 10px) !important;
    }

    .galeria-grid-create .galeria-item {
        width: 85px !important;
        height: 75px !important;
    }

    .form-input,
    .form-textarea {
        font-size: 13px;
        padding: 9px;
    }

    .form-precios-title {
        font-size: 17px;
    }
}

.panel-right-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.panel-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    overflow: visible !important;
}

.panel-activity-list {
    margin-top: 15px;
    max-height: 390px;
    overflow-y: auto;
    padding-right: 5px;
}

.panel-activity-list::-webkit-scrollbar {
    width: 6px;
}

.panel-activity-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.panel-activity-list::-webkit-scrollbar-track {
    background: transparent;
}

.panel-activity-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.panel-activity-item:last-child {
    border-bottom: none;
}

.panel-stat-card {
    text-align: center;
    border-left: 6px solid #2a7be4;
}

.panel-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #2a7be4;
}

.panel-stat-label {
    margin-top: -10px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.panel-columns-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.panel-columns-layout .panel-stat-card {
    flex: 1;
    max-width: 50%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .panel-columns-layout {
        flex-direction: column;
        gap: 15px;
    }

    .panel-columns-layout .panel-stat-card {
        max-width: 100%;
    }

  .stats-row {
      display: flex !important;
      flex-direction: row !important;
      gap: 10px;
  }

  .stats-row .panel-stat-card {
      width: 50% !important;
      max-width: 50% !important;
  }
}

.seccion-tours-doble {
    width: 100%;
    padding: 20px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
}

.tours-columna {
    width: 100%;
    min-width: 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 25px;
}

.tours-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    min-width: 0;
}

.tour-card-large {
    background: #e9e9e962;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    max-height: 350px;
    overflow-y: hidden;
    height: 200px;
    width: 100%;
    min-width: 160px;
}

.tour-card-large:hover {
    transform: scale(1.02);
    background: #f0f7ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-color: #dbeafe;
}

.tour-card-left {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
}

.tour-card-photo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.tour-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 70px;
    min-width: 0;
    overflow: hidden;
}

.tour-card-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e40af;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-width: 0;
}

.tour-card-text {
    font-size: 17px;
    color: #374151;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-width: 0; 
}

.tour-card-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-ver,
.btn-editar,
.btn-desactivar,
.btn-activar,
.btn-eliminar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.btn-ver {
    background: #164471;
    color: white;
}

.btn-editar {
    background: #efcf32;
    color: white;
}

.btn-desactivar {
    background: #dc2626;
    color: white;
}

.btn-activar {
    background: #06532f;
    color: white;
}

.btn-eliminar {
    background: #991b1b;
    color: white;
}

@media (max-width: 900px) {
    .seccion-tours-doble {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px !important;
    }

    .tour-card-large {
        flex-direction: row;
        max-height: 150px;
        overflow: visible;
        padding: 15px;
        margin: 0 5px;
        gap: 15px;
    }

    .tour-card-left {
        width: 35% !important;
        min-width: 35% !important;
        max-width: 35% !important;
    }

    .tour-card-photo {
        width: 100% !important;
        height: 120px !important;
        object-fit: cover !important;
    }

    .tour-card-right {
        width: 65% !important;
        flex: none !important;
        padding-right: 50px !important;
        position: relative;
    }

    .tour-card-title {
        font-size: 18px !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 8px !important;
        line-height: 1.3;
    }

    .tour-card-text {
        font-size: 14px !important;
        -webkit-line-clamp: 3 !important;
        line-height: 1.4;
        margin-bottom: 0 !important;
    }

    .tour-card-actions {
        flex-direction: column;
        gap: 6px;
        position: absolute;
        top: 0;
        right: 0;
        width: 45px;
    }

    .btn-ver,
    .btn-editar,
    .btn-desactivar,
    .btn-activar,
    .btn-eliminar {
        width: 35px !important;
        height: 35px !important;
        font-size: 15px !important;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 740px;
    height: 150px;
    margin-top: 10px;
    overflow: hidden;
}


.carousel-track {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.carousel-item {
    min-width: 130px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    width: 35px;
    height: 35px;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn.left {
    left: -8px;
}

.carousel-btn.right {
    right: -8px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

.modal-ver,
.modal-editar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
    backdrop-filter: blur(3px);
}

.modal-inner,
.modal-inner-editar {
    background: #fff;
    border-radius: 14px;
    max-width: 1250px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    box-shadow: 0 6px 28px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: modalFade 0.28s ease-out;
}

@keyframes modalFade {
    from { transform: translateY(-25px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close-x {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #002b5c;
    z-index: 20;
    transition: 0.2s;
}

.modal-close-x:hover {
    transform: scale(1.15);
    color: #ff4444;
}

.modal-left {
    flex: 0 0 38%;
    background: #f7f9fc;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    border-right: 2px solid #eef0f4;
    text-align: left; 
}

.modal-left-editar {
    flex: 0 0 40%;
    background: #f5f7fa;
    padding: 26px 24px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid #eef0f4;
    text-align: center;
}

.modal-left-editar #previewBox2 {
    width: 100%;
    height: 330px;
    border: 2px dashed #c8cdd6;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #f2f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-left-editar #previewBox2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.modal-left-editar .modal-logo {
    width: 190px;
    opacity: 0.90;
    margin-bottom: 14px;
}

.modal-left-editar .modal-titulo {
    font-size: 28px; 
    font-weight: 800;
    color: #003366;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-titulo {
    font-size: 32px;
    font-weight: 800;
    color: #003366;
    margin: 16px 0 20px 0;
    text-align: center;
    line-height: 1.25;
}

.modal-left .info-label {
    font-size: 20px;
    font-weight: 700;
    color: #002b5c;
    margin-top: 12px;
    margin-bottom: 4px;
}

.modal-left .info-text {
    font-size: 18px;
    line-height: 1.55;
    color: #333;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 4px solid #003366;
    width: 100%;
    box-sizing: border-box;
}
.modal-left .info-block {
    width: 100%;
    margin-bottom: 18px;
}

.modal-logo {
    width: 230px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.modal-tour-img {
    width: 100%;
    max-height: 330px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    border: 3px solid #ffffff;
    margin-bottom: 25px;
}

.modal-right{
    flex: 0 0 60%;
    padding: 30px;
    max-height: 100vh;
    overflow-y: auto;
}

.modal-right-editar {
    flex: 0 0 60%;
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-field {
    margin-bottom: 22px;
}

.modal-field strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 17px;
    color: #003366;
}

.modal-field p {
    margin: 0;
    color: #1b1b1b;
    line-height: 1.6;
    background: #f5f7fb;
    padding: 12px;
    border-radius: 10px;
    border-left: 4px solid #003366;
}

.modal-field input,
.modal-field textarea,
.modal-field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 2px solid #d1d1d1;
    background: #fafafa;
    transition: .2s;
}

.modal-field input:focus,
.modal-field textarea:focus,
.modal-field select:focus {
    border-color: #276ef1;
    background: #fff;
    box-shadow: 0 0 6px rgba(39,110,241,.35);
}


#previewBox2 {
    width: 100%;
    height: 380px;
    border: 2px dashed #bfc4cc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f3f8;
    margin-bottom: 20px;
}

#previewBox2 img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.btn-editar-tour {
    width: 100%;
    padding: 14px;
    background: #ffc107;
    border: none;
    border-radius: 12px;
    color: #1f1f1f;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.btn-editar-tour:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

@media (max-width: 900px) {

    .modal-inner,
    .modal-inner-editar {
        flex-direction: column;
        max-height: none;
    }

    .modal-left,
    .modal-left-editar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #eef0f4;
        padding: 20px;
    }

    .modal-right,
    .modal-right-editar {
        width: 100%;
        padding: 20px;
        max-height: none;
    }

    .modal-tour-img {
        max-height: 220px;
    }

    .modal-titulo {
        font-size: 24px;
    }

    #previewBox2 {
        height: 240px;
    }
}

.galeria-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.galeria-grid::-webkit-scrollbar {
    height: 8px;
}

.galeria-grid::-webkit-scrollbar-thumb {
    background: #c3c3c3;
    border-radius: 4px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background: rgba(255,255,255,0.75);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    border: none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition: 0.2s;
}

.carousel-btn:hover { background: white; }

.carousel-left { left: -15px; }
.carousel-right { right: -15px; }

#sidebar {
    z-index: 9999 !important;
}

/*TOURS PUBLICADOS*/
.tours-public-wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

.tours-public-main-title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.1;
}

.tour-public-card {
    display: flex;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    gap: 25px;
    align-items: flex-start;
    position: relative;
    min-height: 240px;
}

.tour-public-img img {
    width: 350px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.tour-public-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 50px;
}

.tour-public-title {
    line-height: 1;
    font-size: 28px;
    font-weight: 800;
    color: #003366;
    margin-bottom: 10px;
}

.tour-public-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-public-price {
    font-size: 25px;
    font-weight: 800;
    color: #000;
    margin-top: auto;     
}

.tour-public-btn {
    position: absolute;
    right: 25px;
    bottom: 25px;
    padding: 10px 25px;
    background: #efcf32;
    color: #003366;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.tour-public-btn:hover {
    background: #ffe45c;
}

@media (max-width: 850px) {
    .tour-public-card {
        flex-direction: column;
        align-items: center;
        padding-bottom: 80px;
    }

.tour-public-img img {
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    display: block;
}

    .tour-public-content {
        padding-right: 0;
        text-align: center;
    }

    .tour-public-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    .tours-public-main-title {
      padding-top: 40px;
    }
}

.boton-reservar-modal {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.boton-reservar-modal:hover {
    background-color: #FFC300;
    transform: scale(1.05);
}

/*KAYAK.PHP*/
.ks-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 460px;

  background: url("img/kayakhero.JPG") center / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  font-family: 'Manrope', sans-serif;
}

@media (max-width: 900px) {
  .ks-hero {
    height: 50vh;
    min-height: 340px;
  }
}

.ks-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}

.ks-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.ks-hero-eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFEBB7;
  text-transform: uppercase;
}

.ks-hero-title {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 10px 25px rgba(0,0,0,0.65);
}

@media (max-width: 900px) {
  .ks-hero-title {
    font-size: 44px;
  }

  .ks-hero-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
  }
}

.ks-hero-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  display: flex;
  z-index: 3;
}

.ks-line {
  flex: 1;
}

.ks-blue  { background: #2F3972; }
.ks-gold  { background: #FFEBB7; }
.ks-green { background: #1AA464; }
.ks-gray  { background: #d1d1d1; }

.ks-overview {
  width: 100%;
  background: #ffffff;
  font-family: 'Manrope', sans-serif;
}

.ks-overview-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.ks-overview-image {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.ks-overview-logo img {
  width: 360px;
  opacity: 0.9;
}

.ks-overview-image > img {
  width: 100%;
  max-width: 680px;
  height: 380px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  transition: transform .5s ease;
}

.ks-overview-image > img:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {

  .ks-overview-logo img {
    width: 120px;
  }

  .ks-overview-image > img {
    height: 300px;
  }
}

.ks-overview-content {
  color: #1f2933;
}

.ks-overview-title {
  font-size: clamp(32px, 4.5vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  color: #2F3972;
  margin-bottom: 26px;
}

.ks-overview-divider {
  width: 120px;
  height: 6px;
  background: #FFEBB7;
  margin-bottom: 32px;
}

.ks-overview-intro {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
  font-weight: 400;
  color: #374151;
  margin-bottom: 36px;
}

.ks-overview-subtitle {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: #2F3972;
  margin-bottom: 18px;
}

.ks-overview-text {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: #374151;
}

@media (max-width: 900px) {

  .ks-overview-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ks-overview-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .ks-overview-image img {
    max-height: 420px;
  }
}


.ks-tabs-section {
  background: #f8f9fb;
  font-family: 'Manrope', sans-serif;
}

.ks-tabs-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(80px, 8vw, 130px) 20px;
}

.ks-tabs-header {
  text-align: center;
  margin-bottom: 60px;
}

.ks-tabs-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  color: #2F3972;
}

.ks-tabs-divider {
  width: 110px;
  height: 6px;
  background: #FFEBB7;
  margin: 26px auto 0;
}

.ks-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.ks-tab-btn {
  padding: 16px 42px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 40px;
  background: #eef1f5;
  color: #2F3972;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}

.ks-tab-btn:hover {
  background: #dde3ec;
}

.ks-tab-btn.active {
  background: #2F3972;
  color: #ffffff;
  border-color: #FFEBB7;
}

.ks-tab-panel {
  display: none;
  animation: ks-fade .45s ease;
}

.ks-tab-panel.active {
  display: block;
}

.ks-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.ks-tab-media {
  width: 100%;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.ks-tab-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ks-tab-text h3 {
  font-size: 36px;
  font-weight: 900;
  color: #2F3972;
  margin-bottom: 10px;
}

.ks-tab-text p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 10px;
  color: #374151;
}

.ks-level-list {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.ks-level-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color: #374151;
}

.ks-level-list strong {
  color: #1AA464;
}

.ks-includes,
.ks-not-includes {
  margin-bottom: 15px;
}

.ks-includes h4,
.ks-not-includes h4 {
  font-size: 16px;
  font-weight: 800;
  color: #2F3972;
  margin-bottom: 5px;
}

.ks-includes ul,
.ks-not-includes ul {
  padding-left: 20px;
}

.ks-includes li,
.ks-not-includes li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
}

@keyframes ks-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .ks-tabs-nav {
    gap: 18px;
  }

  .ks-tab-btn {
    padding: 14px 30px;
  }
}

@media (max-width: 900px) {

  .ks-tab-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ks-tab-media {
    order: 1;
    height: 260px;
  }

  .ks-tab-text {
    order: 2;
  }

  .ks-tab-text h3 {
    font-size: 26px;
    text-align: center;
  }

  .ks-tab-text p {
    font-size: 15px;
    text-align: center;
  }

  .ks-level-list {
    margin-bottom: 24px;
  }

  .ks-includes,
  .ks-not-includes {
    text-align: left;
  }
}

.ks-tab-cta {
  margin-top: 36px;
}

.ks-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 40px;

  background: #2F3972;
  color: #ffffff;

  font-size: 16px;
  font-weight: 700;
  text-decoration: none;

  border: 2px solid #2F3972;
  transition: all .3s ease;
}

.ks-cta-btn:hover {
  background: #FFEBB7;
  color: #2F3972;
  border-color: #FFEBB7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}


@media (max-width: 900px) {

  .ks-tab-cta {
    text-align: center;
  }

  .ks-cta-btn {
    width: 100%;
    max-width: 220px;
  }
}




/*MODALES Y PAGOS*/
/*PAYPAL*/
/* ===== RESERVE MODAL (PRO) ===== */
.reserve-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 18px;
}

.reserve-modal.active {
  display: flex;
}

.reserve-box {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  overflow: hidden;
}

.reserve-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.reserve-close:hover {
  background: #f4f6f7;
}

.reserve-head {
  margin-bottom: 18px;
  padding-right: 52px;
}

.reserve-title {
  margin: 0 0 6px 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111;
}

.reserve-title span {
  display: inline-block;
  margin-left: 6px;
  color: #2F3972; /* tu azul */
}

.reserve-sub {
  margin: 0;
  color: #666;
  font-size: .95rem;
}

.reserve-form {
  width: 100%;
}

.reserve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 14px;
}

.field label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: .95rem;
  background: #fff;
  outline: none;
  transition: border .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus {
  border-color: rgba(47,57,114,.55);
  box-shadow: 0 0 0 4px rgba(47,57,114,.12);
}

.hint {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: .78rem;
}

.reserve-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-paypal {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  background: #FFEBB7; /* tu dorado */
  color: #111;
  transition: transform .08s ease, filter .2s ease;
}

.btn-paypal:hover {
  filter: brightness(.98);
}

.btn-paypal:active {
  transform: translateY(1px);
}

.btn-mercado {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  background: #FFEBB7; /* tu dorado */
  color: #111;
  transition: transform .08s ease, filter .2s ease;
}

.btn-mercado:hover {
  filter: brightness(.98);
}

.btn-mercado:active {
  transform: translateY(1px);
}

.reserve-note {
  margin: 0;
  font-size: .88rem;
  color: #666;
  text-align: center;
}

/* Responsive - Modal deslizable completo */
@media (max-width: 640px) {

  .reserve-modal {
    align-items: flex-end; /* estilo bottom sheet */
  }

  .reserve-box {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;          /* altura máxima del modal */
    padding: 18px 16px 20px;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;          /* 🔥 SCROLL AQUÍ */
    -webkit-overflow-scrolling: touch;
  }

  /* Quitamos comportamientos sticky */
  .reserve-head,
  .reserve-actions {
    position: static;
    background: transparent;
    z-index: auto;
  }

  .reserve-grid {
    grid-template-columns: 1fr;
  }

  .reserve-title {
    font-size: 1.25rem;
  }

  /* Scroll bonito para todo el modal */
  .reserve-box::-webkit-scrollbar {
    width: 6px;
  }

  .reserve-box::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.25);
    border-radius: 10px;
  }
}





/*RESERVAS.PHP*/
.admin-content {
  margin-left: 10px;
  padding: 30px;
}

.section-title1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* FullCalendar overrides */
.fc {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
}

/* Evento personalizado */
.fc-event {
  background: transparent !important;
  border: none !important;
  padding: 4px 2px;
}

.fc-event-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2F3972;
}

/* Línea azul debajo del título */
.fc-event::after {
  content: "";
  display: block;
  margin-top: 3px;
  height: 3px;
  background: #2F3972;
  border-radius: 2px;
}



/* ===============================
   RESERVAS – CONTENEDOR GENERAL
================================ */
.reservas-full {
  margin-top: 50px;
}

/* ===============================
   TÍTULOS DE BLOQUE
================================ */
.block-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2F3972;
  margin: 40px 0 20px;
}

.block-title.muted {
  color: #999;
}

/* ===============================
   GRID 50 / 50
================================ */
.reservas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .reservas-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CARD RESERVA
================================ */
.reserva-card-full {
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-left: 6px solid #2F3972;
}

.reserva-card-full.past {
  opacity: 0.6;
}

/* ===============================
   HEADER CARD
================================ */
.reserva-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.reserva-top h3 {
  font-size: 1.35rem;
  margin: 0;
  color: #2F3972;
  font-weight: 800;
}

.reserva-fecha {
  display: inline-block;
  margin-top: 6px;
  background: #2F3972;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.reserva-precio {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1AA464;
}

/* ===============================
   GRID DE DETALLE
================================ */
.reserva-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 26px;
}

.reserva-grid strong {
  font-size: 0.85rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reserva-grid p {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 4px 0 0;
  color: #222;
}

/* ===============================
   BADGES PASARELA
================================ */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  width: fit-content;
}

.badge.paypal {
  background: #003087;
  color: #fff;
}

.badge.mercadopago {
  background: #009EE3;
  color: #fff;
}

/* ===============================
   EMPTY STATE
================================ */
.empty-msg {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 20px;
}

/* ===============================
   FOOTER / ACCIONES
================================ */
.reserva-actions {
  margin-top: 22px;
  text-align: right;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2F3972;
  color: #fff;
  padding: 10px 18px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-pdf:hover {
  background: #1f285a;
}

/* ===============================
   ESTADO DE PAGO
================================ */
.status {
  font-weight: 800;
  font-size: 0.9rem;
}

.status.approved {
  color: #1AA464;
}

.status.pending {
  color: #E6A700;
}

.status.rejected {
  color: #D9534F;
}


#formExtra{
  height: 0;
  overflow: hidden;
  transition: height .35s ease;
}
