*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  --primary: #a2d2ff;
  --secondary: #C0FF3E;
  --accent: #d4af37;
  --gold: rgb(255 193 7);
  --red: #c41e3a;
  --green: #00aa6c;
  --orange: #f39c12;
  --blue: #0062a1;
  --blue-dark: #213745;
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray: #6c757d;
  --gray-light: #f1f3f5;
  --black: #212529;
  --maxw: 1200px;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  font-size: 0.88rem;
  color: var(--dark);
  background-color: var(--gray-light);
  isolation: isolate;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.94rem 0;
  line-height: 1.3;
  color: var(--blue);
  text-wrap: pretty;
}

p {
  margin: 0 0 0.94rem 0;
  line-height: 1.6;
}

ul,
ol {
  margin: 0 0 0.94rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

ul.vineta li::before {
  content: "✦";
  color: var(--blue);
  font-size: 1em;
  margin-right: .5rem;
}

ol {
  list-style: decimal;
}

li {
  margin-block-start: .5rem;
}

a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

hr {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 20px 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

section+section {
  margin-block-start: 4rem;
}

.tit {
  text-align: center;
}

h1 {
  font-size: 2rem;
}

.blue {
  color: var(--blue);
  font-weight: 500;
}

.banner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  height: auto;
  padding: 0.31rem 0;
  box-sizing: border-box;
  background-color: var(--dark);
}

.promo {
  display: flex;
  width: 95%;
  margin: 0% auto;
  align-items: center;
  justify-content: center;
  max-width: var(--maxw);
  font-size: 0.88rem;
  color: var(--white);
}

.promo p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-align: center;
}

.promo a {
  color: var(--secondary) !important;
  font-weight: 500;
  white-space: nowrap;
  margin: 0 0.25rem;
}

.promo a:hover {
  opacity: 0.9;
}

.promo span {
  color: var(--secondary);
  font-weight: bold;
  white-space: nowrap;
}

.box-line {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  background-color: var(--primary);
  position: sticky;
  top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.btn-contact {
  background-color: var(--secondary);
  color: var(--black);
  padding: 0;
  width: 6rem;
  height: 1.5rem;
  border: none;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out, background-color 0.2s;
  z-index: 999;
}

.btn-contact:hover {
  outline: dashed 1px var(--secondary);
  background-color: transparent;
  transform: scale(1.05);
}

.nav-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.31rem;
}

.nav-blog a {
  color: var(--white);
}

.box-line p {
  margin: 0;
}

.idiomas {
  width: 24px;
  height: 24px;
  z-index: 15;
}

.header {
  padding: 1.56rem;
  background-image: url("../../blog-img/blog-header.webp");
  background-size: cover;
  background-position: center;
}

.box-logo {
  display: grid;
  place-content: center;
  width: 250px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin: 0 auto;
  background-color: var(--white);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.box-logo img {
  width: 85%;
  margin: auto;
}

.container {
  width: 98%;
  max-width: var(--maxw);
  margin: 0% auto;
  margin-block-start: 4rem;
}

.tour-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 20px;
  margin: 0 auto;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-block-end: 3rem;
}

.zero img {
  border-radius: 5px;
}

img+h2 {
  margin-block-start: 1rem;
}

.popular {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular>h3 {
  background-color: var(--secondary);
  align-self: center;
  padding: .4rem 3rem;
  border-radius: 8px 8px 0 0;
}


.popular>article>a {
  display: grid;
  grid-template-columns: 100px auto;
  gap: 1rem;
  align-items: center;
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 500;
}

.popular>article>a>img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 7px;
}

.cards {
  display: grid;
  grid-template-columns: 6fr 5fr;
  background-color: var(--primary);
  border-radius: 5px;
  overflow: hidden;
}

.cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cards-txt {
  padding: .9rem;
  display: flex;
  /* Activamos Flexbox */
  flex-direction: column;
  /* Ponemos los elementos uno debajo de otro */
  justify-content: center;
  /* Centrado vertical del bloque */
}

.cards-txt h2 {
  color: var(--blue);
  font-size: 18px;
}

.cards-txt p {
  font-weight: 500;
  color: var(--blue-dark);
}

.cards-txt>a {
  color: var(--primary);
  background-color: var(--blue);
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 500;
  align-self: center;
}

.cards-txt>a:hover {
  outline: dashed 2px var(--blue);
  color: var(--blue);
  background-color: transparent;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 2rem 0 0.94rem;
}

footer a {
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0% auto;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  margin-bottom: 0.94rem;
  padding-bottom: 0.5rem;
  font-size: 1.13rem;
}

.footer-section h3::after {
  content: "";
  width: 50px;
  height: 2px;
}

.footer-links li {
  margin-bottom: 8px;
}

.contact-info a {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin-bottom: 12px;
  align-content: center;
}

.social-links {
  display: flex;
  align-items: center;
  margin-top: 0.94rem;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.icon {
  width: 17px;
  height: 17px;
  color: var(--dark);
}

.icon20 {
  width: 20px;
  height: 20px;
}

.icon30 {
  width: 30px;
  height: 30px;
}

.icon-big {
  width: 3.5rem;
  height: 3.5rem;
}

/* ++++++++++++++++++ Reserva +++++++++++++++++++ */
.book-x {
  display: flex;
  flex-direction: row;
  gap: 15px;
  max-width: 340px;
  margin: 20px auto;
  padding: 5px;
  place-items: center;
  outline: solid 2px var(--secondary);
  border-radius: 8px 25px 25px 8px;
}

.book-x img {
  width: 40px;
  aspect-ratio: 1/1;
}

.btnWhatsapp {
  display: flex;
  flex-direction: row;
  color: var(--white);
  background: radial-gradient(#a9ff39, #61ac07);
  border-radius: 25px;
  outline: solid 1px var(--secondary);
  width: 135px;
  margin: 0% auto;
  padding: 5px 15px 5px 5px;
  gap: 10px;
  color: var(--dark);
  font-weight: bold;
}

.btnWhatsapp img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

/* Estilos del botón flotante WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 90px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Estilos del modal compacto */
.whatsapp-modal {
  position: fixed;
  bottom: 95px;
  right: 95px;
  background: var(--white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  width: auto;
  text-align: center;
  animation: modalAppear 0.3s ease-out;
  display: none;
  z-index: 1001;
  border: 1px solid #e0e0e0;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-title {
  color: #25D366;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.whatsapp-btn {
  background-color: #25D366;
  color: var(--white);
  border: none;
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  padding: 2px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  background-color: #f5f5f5;
  color: #333;
}

.modal-arrow {
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

@media (width >=768px) {
  .tour-container {
    max-width: var(--maxw);
    grid-template-columns: 3fr 2fr;
    margin: 60px auto;
  }

  .two-cols {
    display: grid;
    grid-template-columns: repeat(2, 5fr);
    gap: 1.4rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (width >=992px) {
  .tour-container {
    grid-template-columns: 7fr 3fr;
  }

  #over,
  #iti,
  #inclu,
  #fq {
    scroll-margin-top: 90px;
  }

  .black-f {
    max-width: var(--maxw);
    margin: 60px auto;
    background: var(--primary);
  }
}

.price-table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
}

.price-table caption {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.price-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2d3748;
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* Responsive: en pantallas pequeñas, apilar como tarjetas */
@media (max-width: 600px) {

  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table th,
  .price-table td,
  .price-table tr {
    display: block;
  }

  .price-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .price-table tr {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #fff;
  }

  .price-table td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  .price-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    top: 0.75rem;
    font-weight: 600;
    color: #4a5568;
  }
}