@charset "UTF-8";

html, body {
    position: relative;
    height: 100%;
    box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 0;
}

figcaption {
  margin-top: .5rem;
  font-size: .9rem;
  color: #555;
}

a {
  /*color: #0A66C2;*/
  color: #084a8e;  
}
a:hover {
  color: #0a66c2;
}

/*Ajusta la separación entre items*/
ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

li {
  display: block;
}

/*Ajusta el tipo de viñeta y la posición*/
ul {
  padding-left: 0;
  margin: 0;
}

li {
  position: relative;
  padding-left: 30px; /* espacio para la estrella */
  line-height: 1.4;   /* ayuda a centrar visualmente */
}

li::before {
  content: "⭐";
  color: #F58E03;
  font-size: 1em;   /* tamaño de la estrella */
  position: absolute;
  left: 0;
  top: 50%;           /* la movemos al centro */
  transform: translateY(-50%); /* la centramos perfectamente */
}

/*ENCABEZADO*/
.top-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px; /* alto de la franja superior */
    background-color: #FFFFFF; /* mismo color que el header */
    z-index: 900; /* debajo del header */
}
.encabezado {
    position: fixed;
    top: 0.5px;
    left: 50%;
    transform: translateX(-50%);
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 99%;
    background-color: #12395b;
    border: 1px solid #24323d;
    border-radius: 15px;
    z-index: 1000;
    overflow: hidden;
}
.encabezado h1 {
    color: white;
    font-size: 2em;
    font-weight: 550;
    margin-right: 1.5em;
}
.encabezado img {
    margin-left: 1.5em;
}
body {
    /*background-color: #2D364E;*/
    font-family: Helvetica Neue, Helvetica;
    font-size: 1em;
    margin: 0;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
body h2 {
    font-size: 1.5em;
    font-weight: 550;
    padding-left: 0.8em;
}

body p {
    font-size: 1em;
    letter-spacing: 0.03em;
    line-height: 1.3em;
    margin-left: 1em;
    margin-right: 1em;
    text-align: justify;
}

.eyebrow {
    margin-top: 7.4em;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 0.8em;
    font-weight: 400;
    color: #b35f00; 
    margin-bottom: 0.3em;
}

.hero {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.hero-carousel {
    position: relative;
    width: 95%;
    max-width: 1500px;
    aspect-ratio: 21 / 9;
    height: auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
/* Slides */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Nombre de la foto */
.slide-name {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}
/* Dots */
.hero-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.dot.active {
    background: #FF7F35;
    transform: scale(1.25);
}
.hub-hero {
    grid-area: hero;
}

.cta-buttons{
	display:flex;
	justify-content: space-around;
	
}

.cta-button {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  background-color: #F58E03;
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cta-button:hover {
  background-color: #b35f00;
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-button:visited,
.cta-button:active {
  color: #ffffff;
}

header {
    grid-area: header;
}
main {
    grid-area: main;    
    padding: 0.5em;
}
aside {
    grid-area: aside;
    border: 1px solid #ccc;    /*#b35f00*/
    border-radius: 15px;
    /*padding: 0.5em;*/	
}

footer {
    grid-area: footer
}

.container {
	width: 95%;
	margin: auto;
    display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1.25fr;
    grid-template-areas:
        'hero hero hero hero hero'
        'header header header header header'
        'main main main main aside'
        'footer footer footer footer footer';
    gap: 1em;
}


/*DISTRIBUCION DENTRO DE LAS SECCIONES DENTRO DEL MAIN*/
.discover-real-yucatan {
    grid-area: discoverRealYucatan;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.tours-at-a-glance{
    grid-area: toursAtGlance;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.why-travel-yucatan{
    grid-area: whyTravelYucatan; 
}
.yucatan-complete-region{
    grid-area: yucatanCompleteRegion;
}
.featured-multiday-tours{
    grid-area: featuredMultidayTours;    
}

/*TOUR CARD*/

.tour-card-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    /* Definimos la estructura vertical que todos los articles compartirán */   
}

.tour-card-grid h3{
	margin-left: 0;	
}

.tour-card h3 {
  margin-top: 1em;        /* espacio superior */
  margin-left: 0;         /* corregimos desplazamiento heredado */
  text-align: center;     /* centrado del contenido */
  text-wrap: balance;     /* líneas equilibradas */
  max-width: 22rem;       /* opcional, mejora el balance */
  margin-right: auto;
  margin-left: auto;
}

.tour-card h3 a {
  display: inline-block;  /* permite centrado real */
}


.tour-card {
    display: flex;
    flex-direction: column;
    height: 100%;
	gap: 10px;
	padding-left: 0.6em;
	padding-right: 0.6em;
	border: 1px solid #ccc;
    border-radius: 10px;	
}

.tour-card p {
    margin: 0;
	text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto; /* ← permite guiones automáticos */
}

.tour-card p + p {
	margin-top: 6px;} /* separación mínima entre párrafos */

.tour-card img {
    width: 100%;
    height: 180px;      /* ajusta según tu diseño */
    object-fit: cover;  /* evita deformación */
    border-radius: 8px;
	border: 1px solid #ddd;
}

.ghost-card {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */	
	border: 0px solid #FFF;
}

.ghost-card img{border: 0px solid #FFF;}

.tour-card .cta {
    margin-top: auto;
}


.cta{
	width: fit-content;
    margin: 0 auto;
}

.cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.otherMultidaysTours{
    grid-area: otherMultidaysTours;
}
.private-one-day-tours{
    grid-area: privateOneDayTours;
    }
.archaeological-tours{
    grid-area: archaeologicalTours;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.colonial-culture-local-life{
    grid-area: colonialCultural;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.haciendas-cenotes{
    grid-area: haciendasCenotes;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.nature-beaches-coastal-tours{
    grid-area: beachesTours;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.choose-your-yucatan-experience{
    grid-area: yucatanExperience;    
}
.final-cta{
    grid-area: finalCTA;
}
.faq-section{
    grid-area: faq;
}

main{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        'discoverRealYucatan toursAtGlance'
        'whyTravelYucatan whyTravelYucatan'
        'yucatanCompleteRegion yucatanCompleteRegion'
        'featuredMultidayTours featuredMultidayTours'
        'otherMultidaysTours otherMultidaysTours'
        'privateOneDayTours privateOneDayTours'
        'archaeologicalTours colonialCultural'
        'haciendasCenotes beachesTours'
        'yucatanExperience yucatanExperience'
        'finalCTA finalCTA'
        'faq faq';
	grid-auto-rows: auto;
    column-gap: 1em;   /* solo columnas */
  	row-gap: 1em;        /* opcional, pero recomendado */
	margin: 0;
	padding: 0;
}

.tours-at-a-glance h3{
    margin-left: 1em;
    border-bottom: 0.5em;
    border-top: 0.5em;
    padding: 0em;
} 

.why-travel-yucatan h3{
	margin-top: 0em;
	margin-bottom: 0em;
	margin-left: 1em;
}

.yucatan-complete-region figure, .why-travel-yucatan figure, .otherMultidaysTours figure {
    width: fit-content; /* o un ancho fijo si lo prefieres */
	margin: 0 auto;
}
.yucatan-complete-region h2, .featured-multiday-tours h2{
	margin-top: 0em;
}

.archaeological-tours h3, .colonial-culture-local-life h3, .haciendas-cenotes h3, .nature-beaches-coastal-tours h3{
margin-left: 1em
}

.final-cta{
    border: 1px solid #ccc;
    border-radius: 15px;
}

.final-cta h2, .faq-section h2{
    text-align: center;
}


/*FAQ SECTION*/
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: system-ui, sans-serif;
}
.faq-title {
    text-align: center;
    font-size: 2em;
    margin-top: -1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.faq-question {
    width: 100%;
    background-color: #FFFFFF;
    border: none;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color:#F58E03;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: #FFFFFF;
}
.faq-answer p {
    margin: 15px 0 0;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}
.faq-item.active .faq-icon {
    background-color: #FFFFFF;
    transform: rotate(45deg);
}
/*ASIDE*/
aside{
	padding-left: 0.3em;
	padding-right: 0.3em;
	text-justify: inter-word;
    hyphens: auto;	
}

.destination-item{
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
}

.destination-item h3{
	margin-top: 0px;
	margin-bottom: 0px;
}

.destination-item p{
	margin-top: 0px;
	margin-bottom: 1em;
	margin-left: 0.2em;
	margin-right: 0.2em;
	text-align: left;
}

.destination-item img{
	display: inline-block;
	width: 100%;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	border: 1px solid #ccc;
    border-radius: 10px;
}


/*MAPA*/
/* Imagen con lupa */
.map-popup {
  cursor: zoom-in;
  position: relative;
  max-width: 100%;
}

.map-popup:hover::after {
  content: "🔍";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
}

.encabezado-map{
	margin-top: 2em;
}

/*MAPA - Modal */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;

  z-index: 9999;
}

/* Estado visible */
.modal.show {
  opacity: 1;
  visibility: visible;
}

/* Contenedor interno que controla el tamaño */
.modal-inner {
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden; /* ← evita que la imagen se deforme */
  border-radius: 12px;
}

/* Imagen */
.modal-content {
  width: 100%;
  height: auto;
  display: block;

  transform: scale(0.9);
  transition: transform 0.5s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

/* Botón cerrar */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* ========================= */
    /* FOOTER */
    /* ========================= */
    .contenedor{max-width:1180px; margin:0 auto; padding:0 18px}
    .site-footer{
      background:#0f2a40;
      color:#FFFFFF;
      padding:36px 0;
	  border-radius:8px;
	  margin-top:40px;
    }
    .footer-grid{
      display:grid;
	  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
      gap:24px;
    }
    .footer-grid h3{
	 color:#F58E03;
	 margin-bottom:10px
	}
    .footer-bottom{
      margin-top:24px;
	  border-top:1px solid rgba(255,255,255,.12);
      padding-top:14px;
	  display:flex;
	  justify-content:space-between;
      flex-wrap:wrap;
	  gap:12px;
    }

	.footer-bottom span a{
	color: #F58E03 !important;
	font-weight: 700;
	opacity: 1 !important;    
	}
    
/* Boton circular tipo app reducido */
	.mobile-fab-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #F58E03; /* color de marca */
    color: #fff;
    width: 52px;      /* más pequeño */
    height: 52px;     /* más pequeño */
    border-radius: 50%;
    display: none;    /* oculto en desktop */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 13px;  /* texto más compacto */
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    padding: 0 4px;   /* ajuste fino */
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    z-index: 9999;
	}

@media (max-width: 768px) {
	body {
        padding-left: 0.3em;
        padding-right: 0.3em;
    }
	
    .encabezado {
        display: flex;
        align-items: left;
        border-radius: 0px;
		width: 100%;
		height: 75px;
    }
    .encabezado h1 {
        font-size: 1.4em;
        text-align: end;
        margin-left: 1em;
    }
    .social img {
        display: none;
    }
    
	main img {
        width: 95%;
        padding-left: 0.5em;
        padding-right: 0.5em;
        padding-bottom: 0.5em;
        margin: auto;
    }
    .eyebrow {
        margin-top: 6.3em;
        text-align: center;
        font-size: 0.8em;
	}
		
	.cta-buttons{
	flex-direction: column;
	align-items: center;
	justify-content: center;	
    }	
	
	.cta-button {
    	margin-top: 0.5em;
		margin-bottom: 0.5em;
		margin-left: 0.5em;
		margin-right: 0.5em;
		width: 80%;
		text-align: center;
     }
    
    body h2 {
        font-size: 1.5em;
        text-align: center;
		margin: auto;
		padding: 0.4em
    }
	
	.container {
	width: 100%;
	grid-template-columns: 1fr !important;
	grid-template-areas:
        'hero'
        'header'
        'main' 
		'aside'
        'footer';
    gap: 0.5em;
}
	
 main{
	grid-template-columns: 1fr !important;
	grid-template-areas:
        'discoverRealYucatan'
		'toursAtGlance'
        'whyTravelYucatan'
        'yucatanCompleteRegion'
        'featuredMultidayTours'
        'otherMultidaysTours'
        'privateOneDayTours'
        'archaeologicalTours'
		'colonialCultural'
        'haciendasCenotes'
		'beachesTours'
        'yucatanExperience'
        'finalCTA'
        'faq';
	 gap:0.5em;
   }
	
	.slide-name {
        top: 10px;
        left: 10px;
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
	
	.tour-card-grid{  
    grid-template-columns: 1fr;   
   }
	
	.tour-card p img{ 
  	margin: 0;
	padding: 0;	
	}
	
	.otherMultidaysTours h3{
		text-align: center;
		font-size: 1.25em;
	}
	
    .pie-pagina {
        width: 95%;
        margin: auto;
    }
    .seccion ol li {
        margin-left: -1.5em;
    }
    .seccion ol li ul li {
        margin-left: -1.5em;
    }
    #vacio {
        display: none;
    }
	
	/* Botón circular tipo app reducido */
	.mobile-fab-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #F58E03; /* color de marca */
    color: #fff;
    width: 52px;      /* más pequeño */
    height: 52px;     /* más pequeño */
    border-radius: 50%;
    display: none;    /* oculto en desktop */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 13px;  /* texto más compacto */
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    padding: 0 4px;   /* ajuste fino */
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    z-index: 9999;
	}

	/* Mostrar solo en pantallas móviles */

    .mobile-fab-circle {
        display: flex;
    }
}



	
	
	
	
	
	
