/*
Theme Name: Guiding Cusco
Description: Estilos Base - Identidad Visual v2.0 - Guiding Cusco Expeditions
*/

/* ==========================================================================
   1. VARIABLES & CONFIGURACIÓN GLOBAL
   ========================================================================== */
:root {
  --color-primary: #000000;
  --color-primary-light: #222222;
  --color-secondary: #00aed6;
  --color-secondary-hover: #008cb0;
  --color-accent: #d96c32;
  --color-accent-hover: #ce5a1c;

  --color-bg-body: #ffffff;
  --color-bg-card: #f8f9fa;
  --color-overlay: rgba(0, 0, 0, 0.75);

  --color-text: #2d2d2d;
  --color-text-light: #666666;
  --color-white: #ffffff;

  --color-whatsapp: #25d366;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --container-width: 1280px;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition: all 0.3s var(--ease-out-expo);

  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 25px rgba(250, 157, 28, 0.2);
}

/* ==========================================================================
   2. RESET & BOX SIZING
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 140px;
}

html,
body {
  overflow-x: clip;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: 0 !important;
}

/* ==========================================================================
   3. TIPOGRAFÍA BASE
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   4. UTILIDADES GLOBALES
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   5. BOTONES BASE
   ========================================================================== */
.button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: none;
  text-align: center;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out-expo),
    box-shadow 0.2s var(--ease-out-expo),
    background-color 0.3s;
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(250, 157, 28, 0.3);
}

.button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 157, 28, 0.5);
  color: #ffffff;
}

.button:active {
  transform: scale(0.98);
}

/* --- Botón Outline --- */
.button.button-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.button.button-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Icono Contacto Móvil (Barra Superior) --- */
.icon-contact-blue {
  color: var(--color-secondary); /* Azul */
  font-size: 1.3rem; /* Un poco más grande para destacar */
}

/* Opcional: Ajuste para el botón dentro del drawer */
.drawer-footer .button-outline-orange.button-contact-drawer:hover {
  background-color: var(--color-secondary) !important;
  color: #fff !important;
  border-color: var(--color-secondary) !important;
}

/* ==========================================================================
   HEADER DESKTOP STYLES
   ========================================================================== */

/* --- 1. Top Bar --- */
.header-top-bar {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.header-top-bar p {
  margin: 0;
}
.header-top-bar strong {
  color: var(--color-accent);
}

/* --- 2. Middle Section --- */
.header-main {
  background-color: #fff;
  padding: 15px 0;
}

.header-main-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.site-branding img {
  max-height: 80px;
  width: auto;
}

.header-right-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.header-row-top {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  padding-bottom: 5px;
  border-bottom: 1px solid #f0f0f0;
}

.top-links a {
  color: var(--color-text-light);
  font-weight: 600;
  transition: color 0.2s;
}
.top-links a:hover {
  color: var(--color-secondary);
}
.top-links .sep {
  margin: 0 10px;
  color: #ddd;
}

.top-socials {
  display: flex;
  gap: 12px;
  padding: 0 15px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.top-socials a {
  color: var(--color-secondary);
  font-size: 1rem;
  transition: transform 0.2s, color 0.2s;
}
.top-socials a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Polylang Switcher --- */
.pll-custom-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}
.pll-custom-switcher ul li {
    display: inline-block;
}
.pll-custom-switcher ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    transition: opacity 0.3s;
}
.pll-custom-switcher ul li a:hover {
    opacity: 0.7;
}
.pll-custom-switcher img {
    margin-top: -2px;
    vertical-align: middle;
    width: 18px; /* Tamaño estandarizado para las banderas */
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-row-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
}
.contact-item i {
  color: var(--color-accent);
  font-size: 1.1rem;
}
.contact-item a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.button-enquire-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-whatsapp);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.button-enquire-whatsapp:hover {
  background-color: #128c7e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* --- 3. Navigation Bar --- */
.header-nav-bar {
  background-color: var(--color-primary);
}

.desktop-nav > ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav > ul > li {
  position: relative;
}

.desktop-nav > ul > li > a {
  display: block;
  padding: 18px 24px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s;
}

.desktop-nav > ul > li:hover > a {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.desktop-nav > ul > li.menu-item-has-children > a {
  padding-right: 40px;
}
.desktop-nav > ul > li.menu-item-has-children > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s;
}

.desktop-nav > ul > li.menu-item-has-children:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--color-accent);
}

/* --- Submenus --- */
.desktop-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
}

.desktop-nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-nav ul ul li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  transition: padding-left 0.2s, color 0.2s;
}
.desktop-nav ul ul li:last-child a {
  border-bottom: none;
}

.desktop-nav ul ul li a:hover {
  background-color: #f9f9f9;
  color: var(--color-primary);
  padding-left: 28px;
}

/*--------------------------------------------------------*/
/* --- Botón Contacto (Header) --- */
.button-enquire-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-secondary);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-right: 10px; 
}

.button-enquire-contact:hover {
  background-color: var(--color-secondary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .button-enquire-contact {
    padding: 10px;
    width: 40px;
    height: 40px;
    justify-content: center;
    font-size: 0;
  }
  .button-enquire-contact span {
    display: none;
  }
  .button-enquire-contact i {
    font-size: 1.2rem;
    margin: 0;
  }
}
/*--------------------------------------------------------*/

/* ==========================================================================
   MOBILE HEADER STYLES
   ========================================================================== */
.header-mobile {
  display: none;
}

@media (max-width: 992px) {
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: block;
  }
}

.mobile-bar {
  background: var(--color-bg-body);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.mobile-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo img {
  max-height: 50px;
  width: auto;
}

.mobile-icons-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-text);
}

.icon-orange {
  color: var(--color-accent);
}
.icon-whatsapp {
  color: var(--color-whatsapp);
  font-size: 1.4rem;
}
.icon-hamburger {
  color: var(--color-primary);
  font-size: 1.5rem;
  width: 30px;
}

.mobile-icon-item .close-icon {
  display: none;
}
.mobile-icon-item.active .open-icon {
  display: none;
}
.mobile-icon-item.active .close-icon {
  display: block;
  color: var(--color-accent);
}

/* --- Drawer --- */
.mobile-drawer-content {
  position: fixed;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--color-bg-body);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out-expo);
  padding-bottom: 40px;
}

.mobile-drawer-content.active {
  transform: translateX(0);
}

.drawer-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav > ul > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav li a {
  display: block;
  padding: 15px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.mobile-nav li a:hover {
  color: var(--color-accent);
}

.mobile-nav li.menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  float: right;
  font-size: 0.8rem;
  color: var(--color-text-light);
  transition: transform 0.3s;
}

.mobile-nav li.menu-item-has-children > a.open::after {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.mobile-nav ul ul {
  background: var(--color-bg-card);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-nav ul ul li a {
  text-transform: none;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 12px 15px;
  font-family: var(--font-body);
}

.drawer-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.button-outline-orange {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 12px;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.3s;
  background: transparent;
  font-family: var(--font-heading);
}

.button-outline-orange:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 5px 15px rgba(250, 157, 28, 0.3);
}

.drawer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.drawer-contact-block .label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 5px;
}
.drawer-contact-block .phone-big {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}
.drawer-contact-block .phone-big i {
  color: var(--color-accent);
}
.drawer-contact-block .sub-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* Modificación para las banderas en Móvil */
.drawer-lang-section {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.drawer-lang-section .label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.drawer-flags ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   STICKY HEADER (DESKTOP)
   ========================================================================== */
.header-sticky-wrapper {
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.header-sticky-wrapper.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.admin-bar .header-sticky-wrapper.is-sticky {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .header-sticky-wrapper.is-sticky {
    top: 46px;
  }
}

/* ==========================================================================
   MOBILE STICKY
   ========================================================================== */
.mobile-bar.is-fixed-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: solid 2px var(--color-accent);
}

@media screen and (max-width: 600px) {
  body.admin-bar .mobile-bar.is-fixed-mobile {
    top: 0;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
  background-color: #000000;
  color: #b0b0b0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-main {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-heading {
  color: #888;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition:
    color 0.3s,
    padding-left 0.3s;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-info-block p {
  margin-bottom: 10px;
  color: #ccc;
}
.footer-info-block .highlight {
  color: #fff;
  font-weight: 600;
}
.footer-info-block .note {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

.contact-row {
  margin-bottom: 15px;
}
.contact-link {
  color: #fff;
  display: block;
  margin-bottom: 3px;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-link:hover {
  color: var(--color-accent);
}
.contact-row.secondary {
  border-top: 1px dashed #333;
  padding-top: 10px;
  margin-top: 10px;
}

.button-footer-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 15px;
  text-align: center;
  width: 100%;
  border: none;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.button-footer-cta:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(250, 157, 28, 0.2);
}

.footer-social-bar {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}
.social-icons-wrapper {
  display: inline-flex;
  gap: 15px;
  background: #111;
  padding: 10px 25px;
  border-radius: 50px;
  border: 1px solid #333;
}
.social-icons-wrapper a {
  color: #fff;
  font-size: 1.2rem;
  transition:
    transform 0.3s,
    color 0.3s;
}
.social-icons-wrapper a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-copyright {
  padding: 25px 0;
  background-color: #000;
  font-size: 0.8rem;
  color: #777;
}
.copyright-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.copy-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-logo-text strong {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}
.copy-text p {
  margin: 0;
  line-height: 1.3;
}
.copy-right a {
  color: #fff;
  margin: 0 5px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.copy-right a:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .copyright-flex {
    flex-direction: column;
    text-align: center;
  }
  .copy-left {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==========================================================================
   FOOTER COPYRIGHT & CREDITS
   ========================================================================== */
.footer-copyright {
  padding: 25px 0;
  background-color: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.copyright-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copy-left p {
  margin: 0;
  opacity: 0.7;
  line-height: 1.4;
}

.copy-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.legal-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.legal-links a:hover {
  opacity: 1;
}

.legal-links .sep {
  margin: 0 8px;
  opacity: 0.3;
}

.developer-credit {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 5px;
}

.developer-credit a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.developer-credit a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .copyright-flex {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .copy-right {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   DRAWER LANGUAGE FLAGS
   ========================================================================== */
.drawer-lang-section {
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  width: 100%;
}
.drawer-lang-section .label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.drawer-flags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.drawer-flags .gtranslate_wrapper,
.drawer-flags div {
  display: flex;
  gap: 20px;
}

.drawer-flags img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.drawer-flags a:hover img {
  transform: scale(1.1);
  border-color: var(--color-accent);
  box-shadow: 0 6px 15px rgba(250, 157, 28, 0.3);
}

/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin-top: -80px;
  padding-top: 80px;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.button-hero-primary {
  background-color: var(--color-accent);
  color: #fff;
  padding: 16px 40px;
  font-size: 1rem;
  border: 2px solid var(--color-accent);
}

.button-hero-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-3px);
}

.button-hero-secondary {
  background-color: transparent;
  color: #fff;
  padding: 16px 40px;
  font-size: 1rem;
  border: 2px solid #fff;
}

.button-hero-secondary:hover {
  background-color: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* --- Trust Bar --- */
.hero-trust-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* --- Indicador de Scroll (Flecha Animada) --- */
.scroll-down-indicator {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.scroll-down-indicator:hover {
  opacity: 0.7;
}

.scroll-down-indicator i {
  color: #ffffff;
  font-size: 2rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-down-indicator .animated-arrow {
  animation: bounceDown 2s infinite;
}

/* --- Animaciones --- */
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .hero-trust-bar {
    display: none;
  }
}

/* ==========================================================================
   FIX: SMOOTH VIDEO LOOP
   ========================================================================== */
.hero-bg-video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1;
  pointer-events: none;
  animation: smoothLoop 20s linear infinite;
}

@keyframes smoothLoop {
  0% {
    opacity: 1;
  }
  8% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   SECTION: PARTNERS CAROUSEL
   ========================================================================== */
.section-partners {
  background-color: #fff;
  padding: 30px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.partners-slider .splide__track {
  padding: 10px 0;
}

.partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-slide img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
  cursor: pointer;
  display: block;
}

.partner-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .partner-slide img {
    height: 40px;
  }
}

/* ==========================================================================
   SECTION: INTRO (White Background)
   ========================================================================== */
.section-intro {
  padding: 100px 0 80px;
  background-color: #fff;
  text-align: center;
}

.intro-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-subtitle {
  display: block;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.section-title .text-highlight {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.section-title .text-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(250, 157, 28, 0.2);
  z-index: -1;
}

.intro-content p {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.intro-badges img {
  height: 300px;
  border-radius: 10px;
  width: auto;
  transition: transform 0.3s ease;
}
.intro-badges img:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   SECTION: WHY US (Light Grey Background)
   ========================================================================== */
.section-why-us {
  padding: 80px 0 100px;
  background-color: var(--color-bg-card);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.section-title-center {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  color: var(--color-primary);
}

.section-title-center .text-blue {
  color: var(--color-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--color-accent);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .section-why-us,
  .section-intro {
    padding: 60px 0;
  }
}

/* ==========================================================================
   ELEGANT TOUR CARD (Reference Design)
   ========================================================================== */

.elegant-card {
  background-color: #fff;
  border-radius: 4px; /* Bordes ligeramente redondeados, no mucho */
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08); /* Sombra suave y difusa */
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.elegant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* --- Header & Image --- */
.elegant-card-header {
  position: relative;
  height: 240px; /* Imagen alta */
  overflow: hidden;
}

.elegant-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.elegant-card:hover .elegant-card-header img {
  transform: scale(1.05);
}

/* Badge estilo TripAdvisor (Amarillo) */
.owl-badge {
  position: absolute;
  top: 20px;
  left: 0; /* Pegado al borde izquierdo */
  background-color: #f2b203; /* Amarillo TripAdvisor */
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 12px 6px 10px;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

/* --- Body con textura --- */
.elegant-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;

  /* Simulación de patrón topográfico sutil */
  background-color: #fff;
  background-image:
    repeating-linear-gradient(
      45deg,
      #fcfcfc 25%,
      transparent 25%,
      transparent 75%,
      #fcfcfc 75%,
      #fcfcfc
    ),
    repeating-linear-gradient(
      45deg,
      #fcfcfc 25%,
      #fff 25%,
      #fff 75%,
      #fcfcfc 75%,
      #fcfcfc
    );
  background-position:
    0 0,
    10px 10px;
  background-size: 20px 20px;
}

/* Fila 1: Meta Top */
.elegant-meta-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.text-highlight {
  color: #d65a18; /* Naranja quemado elegante */
}

/* Fila 2: Título */
.elegant-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.elegant-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.elegant-title a:hover {
  color: #d65a18;
}

/* Fila 3: Ruta */
.elegant-route {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Fila 4: Excerpt */
.elegant-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Empuja el footer hacia abajo */
}

.elegant-divider {
  height: 1px;
  background-color: #eee;
  margin-bottom: 20px;
  width: 100%;
}

/* --- Fila 5: Footer GRID Layout --- */
.elegant-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Columna derecha un poco más ancha para el botón */
  gap: 15px;
  align-items: end;
}

/* Specs (Izquierda) */
.footer-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-row i {
  width: 16px;
  text-align: center;
}

.rating-row span {
  font-weight: 700;
  color: #333;
}
.text-star {
  color: #f2b203; /* Amarillo estrella */
}

/* Action (Derecha) */
.footer-action {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-box {
  margin-bottom: 10px;
}

.price-box .label {
  font-size: 0.75rem;
  color: #888;
  margin-right: 5px;
}

.price-box .amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #222;
}

.price-box .per-person {
  display: block;
  font-size: 0.7rem;
  color: #999;
  margin-top: -3px;
}

/* Botón Naranja */
.button-view-itinerary {
  display: inline-block;
  background-color: #d65a18; /* Naranja fuerte como la foto */
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(214, 90, 24, 0.2);
}

.button-view-itinerary:hover {
  background-color: #b5450c;
  color: #fff;
}

/* Responsive móvil */
@media (max-width: 576px) {
  .elegant-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-action {
    align-items: flex-start; /* Alinear precio a la izquierda en móvil */
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .button-view-itinerary {
    width: auto;
  }
}

/* ==========================================================================
   SECTION: TOUR EXPLORER (TABS)
   ========================================================================== */
.section-tours-explorer {
  padding: 100px 0;
  background-color: #fff;
}

.tours-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.tours-description {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-top: 20px;
  line-height: 1.6;
}

.tours-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-light);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-accent);
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-pane {
  display: none;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.no-tours {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-light);
  font-style: italic;
  padding: 40px;
}

@media (max-width: 992px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }
  .tours-tabs-nav {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-bottom: none;
  }
  .tab-btn::after {
    display: none;
  }
  .tab-btn.active {
    background-color: rgba(250, 157, 28, 0.1);
    border-radius: 20px;
  }
}

/* ==========================================================================
   LOGICA HIBRIDA: SPLIDE (Mobile) vs GRID (Desktop)
   ========================================================================== */
.tour-slider .splide__slide {
  height: auto;
}

.tour-slider .splide__pagination {
  bottom: -30px;
}
.tour-slider .splide__pagination__page.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

@media (min-width: 992px) {
  .tour-slider .splide__list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tour-slider .splide__slide {
    width: auto !important;
    margin: 0 !important;
  }

  .tour-slider .splide__pagination {
    display: none;
  }
}

/* ==========================================================================
   SECTION: STATS COUNTER
   ========================================================================== */
.section-stats {
  padding: 80px 0;
  background-color: var(--color-bg-card);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 10px;
}

.stat-number-wrapper {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-symbol {
  color: var(--color-accent);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-number-wrapper {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   SECTION: TRENDING ADVENTURES (Carousel)
   ========================================================================== */
.section-trending {
  padding: 100px 0;
  background-color: #fff;
}

.header-icon-top {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}
.header-icon-top i {
  display: inline-block;
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 10px;
}

.section-desc-center {
  max-width: 800px;
  margin: 20px auto 50px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}

/* --- Card Taxonomy --- */
.tax-card {
  display: block;
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.tax-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tax-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.tax-card:hover .tax-card-bg {
  transform: scale(1.1);
}

.tax-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.85) 90%
  );
  z-index: 1;
}

.tax-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tax-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: #fff;
}

.tax-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.tax-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  margin-top: 15px;
}

.meta-count {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.meta-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.tax-card:hover .meta-arrow {
  transform: translateX(5px);
}

.trending-slider .splide__pagination {
  bottom: -40px;
}
.trending-slider .splide__pagination__page.is-active {
  background: var(--color-accent);
}

/* ==========================================================================
   SECTION: SOCIAL GALLERY (Bento Grid)
   ========================================================================== */
.section-social-gallery {
  padding: 100px 0;
  background-color: var(--color-bg-card);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
}

.social-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #000;
}

.item-wide {
  grid-column: span 2;
}

.social-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.social-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  color: #fff;
  z-index: 2;
}

.social-icon {
  font-size: 1.8rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.social-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.social-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 80%;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.social-item:hover .social-bg {
  transform: scale(1.1);
}

.social-item:hover .social-overlay {
  background: rgba(0, 30, 40, 0.7);
}

.social-item:hover .social-icon {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-10px);
}

.social-item:hover .social-content p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
  .item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .social-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .item-wide {
    grid-column: auto;
  }
}

/* ==========================================================================
   SECTION: REVIEWS (TripAdvisor Widget)
   ========================================================================== */
.section-reviews {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.reviews-intro {
  margin-bottom: 50px;
}

.trustindex-widget-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

.trustindex-widget-wrapper .ti-widget {
  font-family: var(--font-body) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.trustindex-widget-wrapper .ti-review-item {
  border-radius: 12px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.3s ease !important;
}

.trustindex-widget-wrapper .ti-review-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.trustindex-widget-wrapper .ti-name {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
}

/* ==========================================================================
   SECTION: FAQ (Accordion)
   ========================================================================== */
.section-faq {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  padding-right: 15px;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-question {
  background-color: rgba(250, 157, 28, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 25px 25px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   COMPONENT: FOOTER SEPARATOR
   ========================================================================== */
.footer-separator {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: #f9f9f9;
  margin-bottom: -2px;
  z-index: 10;
}

.separator-svg {
  display: block;
  width: calc(100% + 2px);
  height: 250px;
}

@media (max-width: 992px) {
  .separator-svg {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .separator-svg {
    height: 120px;
  }
}

/* ==========================================================================
   PAGE: 404 ERROR
   ========================================================================== */

.error-404-section {
  position: relative;
  padding: 150px 0 100px; /* Espacio amplio arriba/abajo */
  text-align: center;
  background-color: #1a1a1a; /* Fondo oscuro de respaldo */
  color: #fff;
  min-height: 80vh; /* Ocupa buena parte de la pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -80px; /* Para que quede detrás del header transparente si aplica */
  padding-top: 150px;
}

/* Imagen de fondo opcional */
.error-404-section .error-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Puedes poner una imagen de montañas aquí */
  background-image: url("../img/Hero-predeterminado.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.error-404-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Oscurecer para leer texto */
  z-index: 1;
}

.error-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* El número gigante */
.error-number {
  font-family: var(--font-heading);
  font-size: 10rem; /* Gigante */
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent); /* Naranja */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  animation: float 6s ease-in-out infinite;
}

.error-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.error-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

/* Acciones */
.error-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Estilo simple para el buscador por defecto de WP en esta página */
.error-search {
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.error-search input[type="search"] {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  border: none;
  text-align: center;
}

/* Animación Flotante para el 404 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .error-number {
    font-size: 6rem;
  }
  .error-title {
    font-size: 1.8rem;
  }
  .error-404-section {
    padding: 120px 0 80px;
  }
}

/* ==========================================================================
   PAGE: ABOUT US STYLES
   ========================================================================== */

/* --- 1. Page Hero (Generico para paginas internas) --- */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: -80px; /* Detrás del header */
  padding-top: 80px;
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .hero-title {
  font-size: 3.5rem;
  margin: 0;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-subtitle {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 15px;
}

/* --- 2. Intro Section --- */
.section-about-intro {
  padding: 100px 0;
  background-color: #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.intro-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.exp-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--color-accent);
  color: #fff;
  padding: 20px 30px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
}

.exp-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-badge .text {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

/* --- 3. Founders Story (Zig Zag) --- */
.section-founders {
  padding: 100px 0;
  background-color: var(--color-bg-card); /* Gris claro */
}

.founder-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.founder-row:last-child {
  margin-bottom: 0;
}

/* Reverse Layout (Imagen a la derecha) */
.founder-row.reverse-layout {
  flex-direction: row-reverse;
}

.founder-img {
  flex: 1;
  position: relative;
}

.founder-img img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid #fff;
}

/* Decoración detrás de la foto */
.founder-img::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  z-index: 0;
  transform: translate(15px, 15px);
}
.founder-img img {
  position: relative;
  z-index: 1;
}

.founder-bio {
  flex: 1;
}

.founder-name {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.founder-name .role {
  display: block;
  font-size: 1rem;
  color: var(--color-secondary); /* Azul */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.founder-bio p {
  color: var(--color-text);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* --- 4. Mission, Vision, Values --- */
.section-mvv {
  padding: 100px 0;
  background-color: #111; /* Fondo oscuro para contraste */
  color: #fff;
  text-align: center;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.mvv-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.mvv-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.mvv-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.mvv-card p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

/* Values List */
.values-title {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.value-item {
  background: #fff;
  color: var(--color-primary);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.value-item i {
  color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-intro-grid,
  .founder-row,
  .founder-row.reverse-layout,
  .mvv-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 40px;
  }

  .founder-img::before {
    display: none; /* Simplificar en tablet */
  }

  .exp-badge {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: -20px;
    width: fit-content;
  }
}

@media (max-width: 768px) {
  .page-hero .hero-title {
    font-size: 2.5rem;
  }
  .founder-name {
    font-size: 1.8rem;
  }
}

/* --- 5. Legal Section (SUNAT) --- */
.section-legal {
  padding: 80px 0;
  background-color: #f4f6f8; /* Un gris azulado muy suave para diferenciar */
  text-align: center;
}

.legal-doc-wrapper {
  max-width: 800px; /* Ancho máximo para que no se vea gigante */
  margin: 40px auto 0;
  background: #fff;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Sombra elegante */
  transition: transform 0.3s ease;
}

.legal-doc-wrapper:hover {
  transform: translateY(-5px); /* Efecto flotante al pasar el mouse */
}

.legal-doc-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #f0f0f0; /* Borde fino interno */
}

/* Ajuste móvil */
@media (max-width: 768px) {
  .legal-doc-wrapper {
    padding: 10px;
  }
}

/* ==========================================================================
   PAGE: CONTACT STYLES
   ========================================================================== */

.section-contact-main {
  padding: 100px 0;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* La columna del formulario un poco más ancha */
  gap: 60px;
}

/* --- Columna Información --- */
.contact-intro {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.info-box {
  display: flex;
  gap: 20px;
}

.info-box .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(250, 157, 28, 0.1); /* Naranja suave */
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-box .details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--color-primary);
}

.info-box .details p,
.info-box .details a {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

.info-box .details a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Mapa */
.contact-map iframe {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* --- Columna Formulario (CF7 Styling) --- */
.form-card {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-card h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
}

/* Estructura Grid del Formulario */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
  width: 100%;
}
.form-group.half {
  width: 50%;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* Inputs y Textareas */
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-control:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 157, 28, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- Estilos para Really Simple CAPTCHA --- */
.captcha-group {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #eee;
}

.captcha-flex {
  display: flex;
  gap: 15px;
  align-items: center;
}

.captcha-img-box {
  flex-shrink: 0;
  border: 1px solid #ddd;
  padding: 2px;
  border-radius: 4px;
  background: #fff;
}

.captcha-input-box {
  flex-grow: 1;
}

.captcha-input-box input {
  letter-spacing: 2px; /* Espaciar caracteres para legibilidad */
  text-transform: uppercase;
}

/* Botón Submit */
.button-full {
  width: 100%;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1rem;
}

/* Mensajes de error/éxito de CF7 */
.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  margin-top: 5px;
}
.wpcf7-response-output {
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Columna única */
    gap: 50px;
  }
  .form-card {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-group.half {
    width: 100%;
  }
  .captcha-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .captcha-input-box {
    width: 100%;
  }
}

/* ==========================================================================
   PAGE: ESNNA CODE STYLES
   ========================================================================== */

/* --- 1. Intro Section --- */
.section-esnna-intro {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.esnna-intro-box {
  max-width: 800px;
  margin: 0 auto;
}

.esnna-icon-top {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.section-esnna-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* --- 2. Action Grid --- */
.section-esnna-actions {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-heading-center {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 50px;
  color: var(--color-primary);
}

.esnna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.esnna-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-top: 4px solid var(--color-primary); /* Borde negro elegante */
}

.esnna-card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: rgba(250, 157, 28, 0.1); /* Naranja suave */
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.esnna-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.esnna-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- 3. Emergency Contacts (Highlighted) --- */
.section-esnna-contacts {
  padding: 60px 0;
  background-color: #fff;
}

.emergency-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff0f0; /* Rojo muy pálido para alerta sutil */
  border: 1px solid #ffcccc;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.emergency-wrapper h3 {
  color: #d32f2f; /* Rojo ESNNA */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.emergency-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.e-item {
  display: flex;
  flex-direction: column;
}

.e-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 5px;
  font-weight: 700;
}

.e-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d32f2f;
  text-decoration: none;
}
.e-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.e-note {
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  margin: 0;
}

/* --- 4. Legal Split Section --- */
.section-esnna-legal {
  padding: 100px 0;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.legal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.legal-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-quote {
  background: #f4f6f8;
  border-left: 5px solid var(--color-accent);
  padding: 25px;
  font-style: italic;
  color: #444;
  margin: 25px 0;
  font-size: 1.05rem;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
}

.legal-sign {
  font-weight: 700;
  margin-top: 20px;
  font-family: var(--font-heading);
}

.poster-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {
  .esnna-grid,
  .legal-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-split {
    /* Poner la imagen arriba en móvil para impacto */
    display: flex;
    flex-direction: column-reverse;
  }

  .emergency-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ==========================================================================
   PAGE: TOUR ARCHIVE & SIDEBAR
   ========================================================================== */

.section-archive-layout {
  padding: 80px 0;
  background-color: #f8f9fa;
  /* Importante: Si algún padre tiene overflow: hidden, sticky NO funciona. */
  overflow: visible;
}

.layout-grid-sidebar {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  /* CLAVE 1: Eliminamos 'align-items: start' para que la columna
       del sidebar (aside) se estire hasta abajo junto con el contenido */
  position: relative;
}

/* --- SIDEBAR STYLES --- */

.sidebar-area {
  /* CLAVE 2: Esta columna ahora es alta (100% del grid) */
  height: 100%;
}

.universal-sidebar-wrapper {
  /* CLAVE 3: El sticky se aplica aquí */
  position: -webkit-sticky; /* Safari */
  position: sticky;

  /* Ajusta este valor: Altura de tu Header Fijo + 30px de aire */
  top: 200px;

  z-index: 5;
}

/* Resto de estilos del Widget (Sin cambios) */
.sidebar-widget {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  color: var(--color-primary);
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
}

/* Lista de Filtros */
.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: 12px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 12px;
}
.filter-list li:last-child {
  border: none;
  margin: 0;
  padding: 0;
}

.filter-list a {
  display: flex;
  justify-content: space-between;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.filter-list a:hover,
.filter-list li.active a {
  color: var(--color-accent);
  font-weight: 600;
}

.filter-list .count {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: #888;
}

/* Buscador Sidebar */
.tour-search-form {
  display: flex;
  position: relative;
}
.tour-search-form input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.tour-search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  font-size: 1.1rem;
}

/* CTA Widget */
.widget-cta {
  background: var(--color-primary); /* Fondo oscuro */
  color: #fff;
  text-align: center;
  border: none;
}
.widget-cta h4 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}
.cta-phone {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- CONTENT AREA --- */
.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.result-count {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* Grid de Tours (Usando las cards existentes) */
.tours-grid-archive {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* 2 Columnas en el contenido principal */
  gap: 30px;
}

/* Paginación */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #eee;
  color: var(--color-text);
  margin: 0 5px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .layout-grid-sidebar {
    grid-template-columns: 1fr; /* 1 columna */
  }

  /* Mover el sidebar abajo del contenido en móviles */
  .sidebar-area {
    order: 2;
  }
  .content-area {
    order: 1;
  }

  .tours-grid-archive {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columnas */
  }
}

@media (max-width: 600px) {
  .tours-grid-archive {
    grid-template-columns: 1fr; /* Móvil: 1 columna */
  }
}

/* --- Sidebar Blog Widgets --- */

/* Mini Post Card (Recent Posts) */
.mini-post-card {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.mini-post-card:last-child {
  margin-bottom: 0;
}

.mini-post-thumb {
  width: 80px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}

.mini-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mini-post-thumb:hover img {
  transform: scale(1.1);
}

.placeholder-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.5rem;
}

.mini-post-content {
  flex: 1;
}

.mini-post-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.mini-post-title a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.mini-post-title a:hover {
  color: var(--color-accent);
}

.mini-post-date {
  font-size: 0.8rem;
  color: #999;
  display: block;
}

/* ==========================================================================
   PAGE: BLOG INDEX STYLES
   ========================================================================== */

.blog-grid-archive {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Columnas */
  gap: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.05);
}

.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}
.blog-meta i {
  color: var(--color-accent);
  margin-right: 5px;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
.blog-title a {
  color: var(--color-primary);
  transition: color 0.2s;
}
.blog-title a:hover {
  color: var(--color-accent);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Empuja el footer hacia abajo */
}

.blog-footer {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.link-read-more {
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.link-read-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-grid-archive {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
}

/* ==========================================================================
   PAGE: FAQ STYLES
   ========================================================================== */

.faq-category-group {
  margin-bottom: 50px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
}

.faq-category-header .cat-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.faq-category-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* Accordion Item */
.faq-accordion-item {
  border-bottom: 1px solid #f0f0f0;
}
.faq-accordion-item:last-child {
  border-bottom: none;
}

/* Trigger Button */
.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.faq-trigger:hover,
.faq-trigger.active {
  color: var(--color-accent);
}

.faq-indicator {
  color: #ccc;
  transition: transform 0.3s ease;
}

.faq-trigger.active .faq-indicator {
  transform: rotate(180deg);
  color: var(--color-accent);
}

/* Content Area */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content-inner {
  padding-bottom: 25px;
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-content-inner strong {
  color: #333;
}

.faq-content-inner ul {
  padding-left: 20px;
  margin-top: 10px;
}
.faq-content-inner li {
  margin-bottom: 5px;
}

/* Footer CTA */
.faq-footer-cta {
  text-align: center;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  margin-top: 20px;
}
.faq-footer-cta h3 {
  margin-bottom: 10px;
}
.faq-footer-cta p {
  margin-bottom: 20px;
  color: #666;
}

/* ==========================================================================
   PAGE: SINGLE PAGE & LEGAL CONTENT STYLES
   ========================================================================== */

.section-page-content {
  padding: 80px 0;
  background-color: #f8f9fa; /* Gris muy suave para descanso visual */
  overflow: visible; /* CRÍTICO: Necesario para que el sticky funcione */
}

/* --- 1. GRID LAYOUT & SIDEBAR LOGIC --- */

/* Grid Base (Definido en main.css globalmente, pero reforzamos aquí) */
.layout-grid-sidebar {
  display: grid;
  gap: 40px;
  position: relative;
  align-items: stretch; /* Importante para que el sidebar tenga altura completa */
}

/* Variante Sidebar a la Derecha (Usada en page.php) */
.layout-grid-sidebar.sidebar-right {
  /* Columna 1: Contenido (Flexible) | Columna 2: Sidebar (300px Fijo) */
  grid-template-columns: 1fr 300px;
}

/* Área del Sidebar */
.sidebar-area {
  height: 100%;
  min-width: 0;
}

/* Wrapper Sticky (El que se pega) */
.sidebar-sticky-inner {
  position: -webkit-sticky;
  position: sticky;
  top: 200px; /* Altura de tu Header + 20px de aire */
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 30px; /* Espacio entre widgets */
}

/* Ajuste para widgets dentro del sticky */
.sidebar-sticky-inner .sidebar-widget {
  margin-bottom: 0; /* El gap del flex se encarga del espacio */
}

/* --- 2. LEGAL CONTENT TYPOGRAPHY --- */
/* Estilos específicos para el texto denso de páginas legales */

.legal-content {
  background: #fff;
  padding: 50px; /* Buen espacio interno */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #eee;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-primary);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  font-weight: 700;
}
/* El primer h2 no debe tener margen superior extra */
.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
  position: relative;
}

/* Estilo personalizado para bullets */
.legal-content ul li::marker {
  color: var(--color-accent);
}

.legal-content strong {
  color: #000;
  font-weight: 700;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--color-primary);
}

/* --- 3. MINI CARDS WIDGET (Sidebar) --- */
/* Para los widgets de Tours y Blogs recientes */

.mini-list-widget {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mini-card-item {
  display: flex;
  gap: 15px;
  align-items: flex-start; /* Alinear arriba si el título es largo */
  text-decoration: none;
  transition: transform 0.2s ease;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.mini-card-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.mini-card-item:hover {
  transform: translateX(5px);
}

.mini-thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.mini-card-item:hover .mini-thumb img {
  transform: scale(1.1);
}

.mini-details {
  flex: 1;
}

.mini-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.mini-details h5 {
  margin: 0 0 5px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-primary);
  font-weight: 600;
}

.mini-card-item:hover h5 {
  color: var(--color-accent);
}

.mini-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #555;
  display: block;
}

.mini-date {
  font-size: 0.75rem;
  color: #999;
  display: block;
  margin-bottom: 3px;
}

/* --- 4. RESPONSIVE --- */

@media (max-width: 992px) {
  .layout-grid-sidebar.sidebar-right {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 40px;
  }

  /* En móvil, invertimos el orden visual: Contenido primero, Sidebar abajo */
  .sidebar-area {
    order: 2;
  }

  .legal-content {
    padding: 30px 20px; /* Menos padding en móvil */
    order: 1;
  }

  /* Desactivar sticky en móvil para evitar comportamientos raros */
  .sidebar-sticky-inner {
    position: static;
  }
}

/* ==========================================================================
   PAGE: SINGLE BLOG POST
   ========================================================================== */

/* --- 1. HERO META & AUTHOR --- */
.single-hero .hero-content {
  text-align: center; /* Centrado para mejor estética editorial */
  max-width: 900px;
  margin: 0 auto;
}

p a {
  color: var(--color-accent);
}

.single-hero-meta {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.hero-cat {
  background: var(--color-accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.hero-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-author .author-avatar img {
  border-radius: 50%;
  border: 2px solid #fff;
}

.hero-author .author-name {
  font-weight: 600;
  font-size: 1rem;
}

/* --- 2. ARTICLE CONTENT (Typography) --- */
.section-single-content {
  padding: 60px 0;
  background-color: #fff;
}

/* Ajuste específico para que el sidebar esté a la izquierda (como en la foto)
   Si tu grid por defecto es 300px 1fr, ya está bien. */

.single-article-body {
  background: #fff;
  /* Sin borde ni sombra para que se sienta limpio e integrado */
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 40px;
}

.entry-content h2,
.entry-content h3 {
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
}
.entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.entry-content blockquote {
  border-left: 5px solid var(--color-accent);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

/* Tags Footer */
.entry-footer-meta {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 40px;
}

.tag-label {
  font-weight: 700;
  color: #333;
  margin-right: 10px;
}

.entry-tags a {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 5px;
  margin-bottom: 5px;
  transition: all 0.2s;
}

.entry-tags a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Navigation (Next/Prev) */
.post-navigation-box .nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 20px;
}

.post-navigation-box .nav-previous,
.post-navigation-box .nav-next {
  width: 50%;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.post-navigation-box a {
  text-decoration: none;
  display: block;
}

.post-navigation-box:hover .nav-previous:hover,
.post-navigation-box:hover .nav-next:hover {
  background: #f9f9f9;
  transform: translateY(-3px);
}

.nav-subtitle {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 5px;
  font-weight: 700;
}

.nav-title {
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

/* --- 3. RELATED BLOGS SECTION --- */
.section-related-blogs {
  padding: 80px 0;
  background-color: #f4f6f8; /* Color de fondo suave diferente al contenido */
}

.related-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas como la referencia */
  gap: 25px;
}

.related-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-thumb {
  display: block;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-card:hover .related-thumb img {
  transform: scale(1.1);
}

/* Botón "Read Article" que aparece en hover (estilo UX moderno) */
.read-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s;
}

.related-card:hover .read-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.related-info {
  padding: 15px;
}

.related-info h4 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.related-info h4 a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.related-info h4 a:hover {
  color: var(--color-accent);
}

.related-date {
  font-size: 0.8rem;
  color: #999;
}

/* Responsive Related */
@media (max-width: 992px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
  }
}
@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
  .post-navigation-box .nav-links {
    flex-direction: column;
  }
  .post-navigation-box .nav-previous,
  .post-navigation-box .nav-next {
    width: 100%;
  }
}

/* ==========================================================================
   SECTION: UNIQUE DESTINATIONS
   ========================================================================== */
.section-unique-destinations {
  padding: 90px 0 110px;
  background-color: #1a1a1a;
  color: #fff;
  overflow: hidden;
}

/* Contenedor principal centrado */
.unique-header {
  margin-bottom: 50px;
  max-width: 800px; /* Un poco más ancho para que la descripción se vea mejor */
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Centra el texto de la descripción */
}

/* Alineación de Icono + Título en una fila centrada */
.unique-title-group {
  display: flex;
  justify-content: center; /* Centra la fila horizontalmente */
  align-items: center;     /* Centra verticalmente icono y texto entre sí */
  gap: 15px;
  margin-bottom: 20px;
}

.unique-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.unique-title {
  font-size: 2.5rem;
  color: #fff;
  margin: 0;
}

.unique-title .highlight {
  color: var(--color-accent);
  font-style: italic;
}

/* Descripción centrada */
.unique-desc {
  color: #ccc;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 auto; /* Asegura que el bloque p esté centrado si tuviera un width menor */
  text-align: center; 
}

/* Ajuste responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .unique-title-group {
    flex-direction: row; /* Mantiene la fila en móviles si el texto es corto */
    flex-wrap: wrap;     /* Si no cabe, baja el título pero se mantiene centrado */
  }
  
  .unique-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   SECTION: INTRO CERTIFICATES (Hybrid Slider)
   ========================================================================== */

.intro-badges-wrapper {
  margin-top: 40px;
  padding: 0 20px;
}

.cert-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.cert-img-box img {
  height: 300px; /* Altura base */
  width: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.cert-img-box a.glightbox {
    display: block;
    cursor: zoom-in; /* Cambia el cursor a una lupa */
}

/* --- ESTILOS MÓVIL (Por defecto Splide toma el control) --- */
.intro-cert-slider .splide__pagination {
  bottom: -30px; /* Bajar los puntos de paginación */
}
.intro-cert-slider .splide__pagination__page.is-active {
  background: var(--color-accent);
}

/* --- ESTILOS ESCRITORIO (Cuando Splide se destruye) --- */
@media (min-width: 992px) {
  /* Forzamos a la lista a comportarse como Flexbox normal */
  .intro-cert-slider .splide__list {
    display: flex !important;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    transform: none !important; /* Anula transformaciones de JS */
    width: auto !important;
  }

  .intro-cert-slider .splide__slide {
    width: auto !important;
    margin: 0 !important;
  }

  /* Ocultar elementos de navegación del slider si quedaran activos */
  .intro-cert-slider .splide__pagination,
  .intro-cert-slider .splide__arrows {
    display: none !important;
  }

  /* Efecto Hover solo en Desktop */
  .cert-img-box img {
    transition: transform 0.3s ease;
  }
  .cert-img-box img:hover {
    transform: scale(1.05);
  }
}

/* Ajuste específico para móviles muy pequeños */
@media (max-width: 576px) {
  .cert-img-box img {
    height: 350px; /* Un poco más pequeño en celular */
  }
}

/* ==========================================================================
   SECTION: REVIEWS
   ========================================================================== */
.section-reviews {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.reviews-intro {
    margin-bottom: 40px;
}

.review-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-top: 4px solid var(--color-accent);
}

.review-stars {
    color: #ffc107; /* Color dorado para las estrellas */
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.review-icon-quote {
    color: #f0f0f0;
    font-size: 2.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 0;
}

.review-text {
    font-size: 1rem;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.author-country {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Ajustes de Splide para esta sección */
.reviews-slider {
    padding-bottom: 40px; /* Espacio para los puntos de paginación */
}

.reviews-slider .splide__slide {
    padding: 15px; /* Espaciado entre tarjetas */
}