/********** Custom CSS ************/
:root {
    --blue: #a20449 !important;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #a20449;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: "Poppins", sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.vh-60 {
  height: 60vh;
}
.bottom-0{
  bottom: 0 !important;
}
.top-0{
  top: 0 !important;
}
@media (min-width: 768px) {
  .vh-md-80 {
    height: 80vh;
  }
}

@media (min-width: 992px) {
  .vh-lg-100 {
    height: 100vh;
  }
}

.bg-primary {
    background-color: #a20449 !important;
}
.text-primary{
  color: #a20449 !important;
}
.btn-primary {
    color: #fff;
    background-color: #a20449;
    border-color: #a20449
}

.btn-primary:hover {
    color: #fff;
    background-color: #8d013e;
    border-color: #8d013e;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #a20449;
    border-color: #8d013e;
    box-shadow: 0 0 0 .2rem #a2044980
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #a20449;
    border-color: #a20449
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #8d013e;
    border-color: #8d013e;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem #a2044980
}


a.bg-primary:focus,
a.bg-primary:hover,
button.bg-primary:focus,
button.bg-primary:hover {
    background-color: #a20449 !important;
}

.badge-primary {
    color: #fff;
    background-color: #a20449;
}
a.badge-primary:focus,
a.badge-primary:hover {
    color: #fff;
    background-color: #a20449;
}

a.badge-primary.focus,
a.badge-primary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem #a2044980
}

a{
  color: #a20449;
}
a:hover{
  color: #a20449;
}
*{
  transition: 0.3s;
}


.top-100{
  top:100%;
}
.left-0{
  left: 0; 
}

ul{
  padding-left: 20px;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/* BOTON TOP PAGE */
.back-to-top {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    z-index: 9999;
    transition: all 1.3s ease;
    text-decoration: none !important;
}
.back-to-top:hover {
    transform: translateX(-50%) translateY(-3px);  /* ← Mantiene centrado */
    box-shadow: 0 8px 25px rgba(0,123,186,0.4) !important;
}
.back-to-top i {
    font-size: 18px;
}
.back-to-top span {
    font-size: 10px;
    letter-spacing: 1px;
}
@media (max-width: 767px) {
    .back-to-top span {
        display: none !important;
    }
    .back-to-top {
        width: 55px;
        height: 55px;
        bottom: 20px;
    }
}








/* HOME PAGE ESTILO */
@media (min-width: 992px) {
  /* home page */
  .about-text {
    margin-left: -120px;
  }
}

.team-item {
  transition: .5s;
  box-shadow: 0 0px 25px -10px #CCCCCC;
}
.team-item:hover {
  box-shadow: 0px 20px 30px 5px #CCCCCC;
}

.team-item:hover .team-social {
  background: rgba(0, 0, 0, 0.5);
}

.team-item:hover .team-social a.btn:first-child {
  opacity: 1;
  margin-top: 0;
  transition: .3s 0s;
}
.team-item:hover .team-social a.btn:nth-child(2) {
  opacity: 1;
  margin-top: 0;
  transition: .3s .05s;
}
.team-item:hover .team-social a.btn:nth-child(3) {
  opacity: 1;
  margin-top: 0;
  transition: .3s .1s;
}
.team-item:hover .team-social a.btn:nth-child(4) {
  opacity: 1;
  margin-top: 0;
  transition: .3s .15s;
}
.team-item .team-img img {
  transition: .5s;
  transform-origin: bottom;
}
.team-item:hover .team-img img {
  transform: scale(1.2);
  transform-origin: bottom;
}
.testimonial-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}
.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: #DDDDDD;
  transition: .5s;
}
.testimonial-carousel .owl-dot.active {
  width: 40px;
  background: #a20449;
}
.testimonial-carousel .owl-item.center .text-center {
  box-shadow: 0 0 30px #CCCCCC;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
input,
select,
textarea {
  font-size: 16px !important;
  color: #333;
  border: 1px solid #ccc;
  padding: 15px;
  width: 100%;
  border-radius: 6px;
}
input[type="checkbox"]{
  width: auto;
}
.btn-submit {
  background-color: #a20449;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
}

.btn-submit:hover {
  background-color: #fd920e;
}

.success-message {
  color: #a20449;
  margin-top: 15px;
  text-align: center;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-block;
  width: 60px;
  height: 60px;
}
.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.4);
}

/* HEADER SOCIAL ICONS */
.header-social-icons a{
  transition: 0.3s;
  border-radius: 3px;
}
.header-social-icons a:hover{
  background-color: #ffffff40;
}



/* TOURS ESTILOS */
.tour-tabs-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.tabs-list { display: flex; gap: .5rem; overflow-x: auto; }

.tab-link {
  appearance: none;
  background: transparent;
  cursor: pointer;
  padding: .55rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid #a2044920;
}
.tab-link:hover{
  background-color: #a2044910;
}

.tab-link.active {
  background-color: #a20449;
  color: #fff;
}
.tab-panel[hidden] { display: none !important; }
.tab-panel { scroll-margin-top: 130px; }



/* SINGLE-TOUR STYLES */
.wp-block-accordion-heading__toggle{
  padding: 10px 20px;
  border-radius: 15px;
  margin-top: 5px;
}
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus,  
.wp-block-accordion-heading__toggle[aria-expanded="true"] {
  background-color: #a20449 !important;
  padding: 10px 20px !important;
}
.wp-block-accordion-heading__toggle:hover *, .wp-block-accordion-heading__toggle:focus *{
  color: white;
}
.wp-block-accordion-heading__toggle[aria-expanded="true"]{
  color: white !important;
}
.wp-block-accordion-heading__toggle-title {
  font-size: 1rem;
  text-decoration: none !important;
}
.wp-block-accordion-panel.is-layout-flow.wp-block-accordion-panel-is-layout-flow{
  padding: 20px;
}
.wp-block-media-text.is-stacked-on-mobile{
  grid-template-columns: 40% 1fr;
}
.wp-block-media-text figure img{
  border-radius: 20px;
}

.tab-panel-faqs .wp-block-accordion-heading__toggle:hover, .tab-panel-faqs .wp-block-accordion-heading__toggle:focus,  
.tab-panel-faqs .wp-block-accordion-heading__toggle[aria-expanded="true"]{
  background-color: #a2044920 !important;
  color: #a20449 !important;
}
.tab-panel-faqs .wp-block-accordion-heading__toggle:hover *, .tab-panel-faqs .wp-block-accordion-heading__toggle:focus *{
  color: #a20449 !important;
}





/* included-not-included columns */
.included-dual-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.col-included h3,
.col-not-included h3{
  padding: 10px 15px;
}
.col-included h3{
  background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
  border-left: 4px solid #28a745;
}
.col-not-included h3{
  background: linear-gradient(135deg, #fff5f5, #ffe8e8);
  border-left: 4px solid #dc3545;
}
.col-included h3,
.col-not-included h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .included-dual-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.tab-panel-faqs p{
  display: grid;
  margin-bottom: 2rem;
}
.tab-panel-faqs p strong{
  border-left: 2px solid #a20449;
  padding: 0px 10px;
}


.price-columns {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.price-table {
  max-width: 400px;
  width: 100%;
}
.price-table strong {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  color: #1c1c1c;
}
.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table th, .price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}
.price-table th {
  background-color: #f5f5f5;
  color: #333;
}
.price-table tr:nth-child(even) {
  background-color: #fafafa;
}




/* card tour style */
.tour-card.v2 {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid#e8e8e8;
}

.tour-card.v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.tour-card__media {
  position: relative;
  display: block;
}

.tour-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.tour-card__img--placeholder {
  height: 240px;
  background: linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.02));
}

.tour-card__badges {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: .78rem;
  font-weight: 600;
  padding: .28rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.badge--light {
  background: rgba(255,255,255,.92);
  color: #1b1b1b;
}

.badge--accent {
  background: rgba(242,168,29,.92);
  color: #1b1b1b;
}

.tour-card__body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.tour-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.tour-card__title a {
  text-decoration: none;
}

.tour-card__excerpt {
  margin: 0;
  color: var(--color-text-muted);
  font-size: .75rem;
  flex: 1; /* empuja footer abajo */
}

.tour-card__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  bottom: 0;
  background-color: #00000070;
  padding: 5px 3px;
  width: 100%;
}

.meta-pill {
  font-size: .90rem;
  color: #fff;
  padding: .28rem .55rem;
  border-radius: 999px;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .6rem;
  border-top: 1px solid #e8e8e8;
}

.tour-card__price .from {
  display: block;
  font-size: .78rem;
  color: var(--color-text-muted);
}

.tour-card__price .amount {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #4f4f4f;
}

.tour-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: white;
  border: 1px solid #a2044940;
  color: #a20449;
  text-decoration: none;
  font-weight: 300;
  font-size: .9rem;
  white-space: nowrap;
  transition: 0.3s;
}

.tour-card__btn:hover {
  background-color: #a20449;
  color: #fff;
  text-decoration: none;
}





/* archive tours styles */

.tour-archive-hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.tour-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.tour-card:hover {
  transform: translateY(-5px);
}
.tour-card .badge {
  background: #fff;
  color: var(--color-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 100;
}


/* filtro tour archive */
.tour-sidebar-filter {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1;
  background: transparent;
  margin: 0 0 1.25rem 0;
}

.filter-widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 1rem;
}

.filter-widget h3 {
  margin: 0 0 .75rem 0;
  font-size: 1.1rem;
}

/* Layout: 3 columnas (Tipo, Días, Buscar) */
#tour-filter-form {
  display: grid;
  grid-template-columns: 220px 220px 220px 1fr;
  gap: .9rem;
  align-items: end;
}
fieldset.filter-group {
  background-color: #f3f3f3;
  padding: revert;
}
fieldset.filter-group legend{
  margin-bottom: 0px;
}
fieldset.filter-group legend p{
  margin-bottom: 0px;
}

@media (max-width: 992px) {
  #tour-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  #tour-filter-form .filter-group:nth-child(1), #tour-filter-form .filter-group:nth-child(2){
    width: 50%;
  }
  #tour-filter-form .filter-group:last-child{
    width: 100%;
  }
}


.filter-summary__hint {
  font-size: .75rem;
  color: var(--color-text-muted);
}



/* loading state */
#tour-grid.is-loading { opacity: .55; pointer-events: none; }


/* PAGINACION TOURS */
.tour-pagination {
  margin-top: 2.75rem;
  text-align: center;
  padding: 1rem 0;
}

.tour-pagination .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tour-pagination .page-numbers li {
  margin: 0;
}

/* Botones base */
.tour-pagination .page-numbers a,
.tour-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1px solid #a2044940;
  background: #fff;
  color: #a2044990;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover */
.tour-pagination .page-numbers a:hover {
  background: #a2044980;
  border-color: #a2044960;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* Página actual */
.tour-pagination .page-numbers .current {
  background: #a20449;
  border-color: #a20449;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 124, 124, 0.3);
}

/* Anterior/Siguiente */
.tour-pagination .page-numbers .prev,
.tour-pagination .page-numbers .next {
  font-weight: 600;
  min-width: 48px;
  padding: 0 1.1rem;
}

/* Responsive */
@media (max-width: 640px) {
  .tour-pagination .page-numbers {
    gap: .3rem;
  }
  
  .tour-pagination .page-numbers a,
  .tour-pagination .page-numbers span {
    min-width: 38px;
    height: 38px;
    padding: 0 .75rem;
    font-size: .9rem;
  }
  
  .tour-pagination .page-numbers .prev,
  .tour-pagination .page-numbers .next {
    min-width: 44px;
    padding: 0 .9rem;
  }
}




/* MENU DE WORDPRESS */

/* ===== Header capsule ===== */
.site-header-custom{
  position: relative;
  z-index: 50; /* arriba del hero */
  position: sticky;
  top: 0;
}
.single.single-tour .site-header-custom, .post-type-archive-tour .site-header-custom{
  position: relative;
}

/* IMPORTANTE: permitir que el dropdown salga del contenedor */
.site-header-custom,
.header-inner,
.main-nav{
  overflow: visible;
}

.site-header-custom .header-inner{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0px 22px;
  background: #fff;
  border-radius: 100px;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.site-header-custom .site-logo img{
  display: block;
  height: 44px;
  width: auto;
}

/* ===== Menu base ===== */
.site-header-custom .main-nav{
  z-index: 60; /* que el dropdown no quede detrás */
}

.site-header-custom .main-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header-custom .main-menu > li{
  /*position: relative;  referencia del submenu */
  padding: 14px 0px;
}

.site-header-custom .main-menu > li > a{
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  color: #111;
  border-radius: 5px;
}

/* ===== Dropdown (2 columnas) ===== */
.site-header-custom .main-menu .sub-menu{
  display: none;
  list-style: none;
  margin: 0;
  padding: 18px;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  width: 100%;
  max-width: calc(100vw - 24px);
  z-index: 9999;
  display: none;
  grid-template-columns: 50%;
  align-items: start;
}

.site-header-custom .main-menu li.menu-item-has-children:hover > .sub-menu{
  display: grid;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* columna links */
.site-header-custom .main-menu .sub-menu > li:not(.menu-item--submenu-media){
  grid-column: 1;
}

.site-header-custom .main-menu .sub-menu a{
  display: block;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  color: #111;
  padding-left: 25px;
}

ul.sub-menu > li.menu-item-type-post_type::before {
    content: "\f105";  /* Icono flecha derecha → */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;  /* Para solid icons */
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 12px;
    color: #666;
    font-size: 1em;
}

ul.sub-menu > li.menu-item-type-post_type {
    position: relative;
}

/* columna bloque ACF */
.site-header-custom .main-menu .sub-menu > li.menu-item--submenu-media{
  grid-column: 2;
  grid-row: 1;
  position: absolute;
  top: -19px;
  width: 100%;
}
.site-header-custom .submenu-media__btn{
  background-color: transparent;
  padding: 5px 15px !important;
  width: fit-content;
  border: 1px solid #a20449;
}
.site-header-custom .main-menu ul.sub-menu li:last-child a{
  padding: 0;
}
.site-header-custom .main-menu ul.sub-menu li:last-child a:hover{
  background-color: transparent !important;
  color: #000 !important;
}

.site-header-custom .submenu-media{
  background: #fff;
  border-radius: 16px;
  padding: 40px;
}

.site-header-custom .submenu-media__img{
  width: 100%;
  height: 250px;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
  object-fit: cover;
}

.site-header-custom .submenu-media__title{
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.site-header-custom .submenu-media__text{
  font-size: 14px;
  opacity: .85;
}

/* ===== Evitar que se salga por la derecha en items del final ===== */
.site-header-custom .main-menu > li:last-child > .sub-menu,
.site-header-custom .main-menu > li:nth-last-child(2) > .sub-menu, .site-header-custom .main-menu > li:nth-last-child(3) > .sub-menu{
  left: auto;
  right: 0;
}


/* Base link */
.site-header-custom .main-menu > li > a{
  position: relative;
  color: #111;
  background: transparent;
}

/* Línea (oculta por defecto) */
.site-header-custom .main-menu li.current-menu-ancestor > a::after{
  content: "";
  position: absolute;
  right: 50%;
  bottom: 6px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background: #a20449;
  transition: transform .18s ease;
}

/* Hover: color + línea */
.site-header-custom .main-menu > li > a:hover,
.site-header-custom .main-menu > li > a:focus{
  color: #a20449;
}
.site-header-custom .main-menu > li:hover > a,
.site-header-custom .main-menu > li:focus > a{
  color: #a20449;
}

/* Activo: item actual */
.site-header-custom .main-menu li.current-menu-item > a,
.site-header-custom .main-menu li.current_page_item > a{
  color: #a20449;
  background-color: #a204491f;
  border-left: 2px solid #a20449;
}


/* Activo: si estás en un submenu, el padre/ancestor también */
.site-header-custom .main-menu li.current-menu-ancestor > a,
.site-header-custom .main-menu li.current-menu-parent > a,
.site-header-custom .main-menu li.current_page_ancestor > a,
.site-header-custom .main-menu li.current_page_parent > a{
  color: #a20449;
}
.site-header-custom .main-menu li.current-menu-ancestor a::after,
.site-header-custom .main-menu li.current-menu-parent a::after,
.site-header-custom .main-menu li.current_page_ancestor a::after,
.site-header-custom .main-menu li.current_page_parent a::after{
  transform: translateX(50%) scaleX(1);
  
}




/* ===== Mobile (<= 959px) ===== */
@media (max-width: 959px){

  .site-header-custom .header-inner{
    border-radius:0;
    width:100%;
    margin:0;
    padding: 10px 20px;
  }

}

/* ERROR 404 ESTILOS */
.container-404{
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
}

.error-content{
  max-width:600px;
}

.error-code{
  font-size:clamp(4rem, 15vw, 12rem);
  color:#a20449;
  font-weight:900;
  margin-bottom:16px;
  line-height:1;
}

.error-title{
  font-size:2.5rem;
  color:#111;
  margin-bottom:16px;
}

.error-text{
  font-size:1.2rem;
  color:#666;
  margin-bottom:32px;
  max-width:500px;
  margin-left:auto;
  margin-right:auto;
}

.error-search{
  margin-bottom:32px;
}

.error-search h3{
  margin-bottom:16px;
  color:#111;
}

/* Formulario búsqueda */
.error-search .search-form{
  max-width:400px;
  margin:0 auto;
}

.error-search input[type="search"]{
  width:100%;
  padding:14px 20px;
  border:2px solid #eee;
  border-radius:999px;
  font-size:16px;
}

.error-search input[type="submit"]{
  display:none; /* se activa con JS o CSS */
}

.error-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}

.error-links a{
  display:inline-block;
  padding:12px 24px;
  background:#a20449;
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  font-weight:600;
  transition: .2s ease;
}

.error-links a:hover{
  background:#8a033c;
}




/* SEARCH ESTILOS */
.search-page{
  max-width:1200px;
  margin:0 auto;
  padding:40px 20px;
}

.search-header{
  text-align:center;
  margin-bottom:48px;
}

.search-title{
  font-size:clamp(2rem, 5vw, 3rem);
  margin-bottom:24px;
}

.search-title strong{
  color:#a20449;
}

.search-again{
  max-width:500px;
  margin:0 auto;
}

.search-again p{
  margin-bottom:16px;
  color:#666;
}

.search-again .search-form input[type="search"]{
  width:100%;
  padding:16px 24px;
  border:2px solid #eee;
  border-radius:999px;
  font-size:16px;
}

/* Resultados */
.search-results{
  display:grid;
  margin-bottom:48px;
}

.search-result-item{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  align-items:start;
  padding:24px;
  border:1px solid #f0f0f0;
  border-radius:16px;
  transition:box-shadow .2s ease;
}

.search-result-item:hover{
  box-shadow:0 8px 32px rgba(0,0,0,.08);
}

.search-result-thumb img{
  width:100%;
  height:100px;
  object-fit:cover;
  border-radius:12px;
}

.search-result-content h2{
  margin:0 0 12px 0;
  font-size:1.4rem;
}

.search-result-content h2 a{
  color:#111;
  text-decoration:none;
}

.search-result-meta{
  margin-bottom:16px;
  font-size:14px;
  color:#666;
}

.post-type{
  display:inline-block;
  background:#a20449;
  color:#fff;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  margin-right:12px;
}

.search-result-link{
  display:inline-block;
  color:#a20449;
  font-weight:600;
  text-decoration:none;
}

/* Sin resultados */
.no-results{
  text-align:center;
  padding:60px 20px;
}

.no-results h2{
  color:#a20449;
  margin-bottom:16px;
}

.search-suggestions ul{
  list-style:none;
  padding:0;
  max-width:300px;
  margin:0 auto;
}

.search-suggestions li{
  margin-bottom:8px;
}

.search-suggestions a{
  color:#666;
  text-decoration:none;
}

.search-suggestions a:hover{
  color:#a20449;
}

/* Paginación */
.pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:48px;
}

.pagination a,
.pagination .current{
  padding:12px 20px;
  border:2px solid #eee;
  border-radius:999px;
  text-decoration:none;
  color:#666;
  font-weight:500;
}

.pagination .current{
  background:#a20449;
  color:#fff;
  border-color:#a20449;
}

.pagination a:hover{
  border-color:#a20449;
  color:#a20449;
}

/* Responsive */
@media (max-width: 768px){
  .search-result-item{
    grid-template-columns:1fr;
    gap:16px;
  }
}




/* PAGE STYLE CUSTOM */



/* estilos formulario Contact form 7 */
/* CF7 Two Columns Fix */
/* Contact Form Custom - Colors #a20449 #fc9310 */

.cf7-contact-wrapper br{
  display: none;
}

.cf7-contact-wrapper label {
  display: block !important;
  font-weight: 600 !important;
  margin-bottom: 0px !important;
  color: #a20449 !important;
  font-size: 14px;
}

.cf7-contact-wrapper .form-control:not(select) {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  background: #fff;
}

.cf7-contact-wrapper .form-control:focus {
  border-color: #fc9310 !important;
  box-shadow: 0 0 10px rgba(252, 147, 16, 0.2) !important;
  outline: none !important;
}

.wpcf7 .required {
  color: #e74c3c !important;
  font-weight: bold;
}

.checkbox-row {
  margin-top: 15px;
}

.checkbox-row input[type="checkbox"] {
  margin-right: 10px;
}



/* 
SINGLE TOUR ESTILOS */
/* Tour Main Section */

.tour-main {
  backdrop-filter: blur(3px);
}

.tour-summary {
  max-width: 1200px;
  margin: 0 auto;
}

/* Features List */
.tour-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.tour-feature-item {
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.tour-feature-item strong {
  min-width: 85px;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
}

.tour-feature-item span {
  color: #f8f9fa;
  font-weight: 400;
}

/* Price and Button */
.tour-price-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 100%;
  justify-content: flex-end;
}

.tour-price {
  font-size: 1.5rem;
  padding: 0px 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-btn {
  background: linear-gradient(135deg, #a20449 0%, #F7931E 100%);
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.6);
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: #fff !important;
  text-decoration: none;
}

.contact-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .tour-features {
    gap: 1rem;
  }
  
  .tour-price {
    font-size: 1.8rem;
  }
  
  .contact-btn {
    min-width: 140px;
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .tour-main {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .tour-price {
    font-size: 1.6rem;
    padding: 0px 3px;
  }
  
  .tour-feature-item strong {
    min-width: 70px;
  }
  
  .contact-btn {
    min-width: 120px;
    padding: 10px 20px;
  }
}

/* Animación suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-main {
  animation: fadeInUp 0.6s ease-out;
}


/* estilos de modal tours */
.hidden-modal:not([open]) {
  display: none !important;
}
body:has(.modal-content[open]) {
  overflow: hidden;
}
/* Fallback para navegadores sin :has() */
.test-form[open] ~ body,
.test-form[open] + body {
  overflow: hidden;
}

.modal-content {
  border: none;
  border-radius: 12px;
  max-height: 90vh;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  margin: auto;
}

.modal-content::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  line-height: 1.4;
  word-break: break-word;
}

.modal-title i {
  color: #28a745;
  font-size: 1.1em;
}

@media (max-width: 576px) {
  .modal-title {
    font-size: 1rem;
    max-width: 250px;
  }
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-modal:hover {
  background: #f8f9fa;
  color: #dc3545;
  transform: scale(1.05);
}

.modal-body {
  padding: 0 24px 24px;
  overflow: auto;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content[open] {
  animation: fadeInScale 0.45s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px auto;
  }
  
  .modal-header {
    padding: 16px 20px 0;
  }
  
  .modal-body {
    padding: 0 20px 20px;
  }
}



/* acordeon tours estilos */
.wp-block-accordion-item{
  box-shadow: 4px 7px 20px -12px #afafaf;
  border-radius: 15px;
  margin-bottom: 10px;
}
.wp-block-accordion-item ul.wp-block-list{
  list-style: none;

}
.wp-block-accordion-item ul.wp-block-list li{
  position: relative;
  margin: 5px 0px;
}
.wp-block-accordion-item ul.wp-block-list li i{
  position: absolute;
  top: 5px;
  left: -25px;
}
.wp-block-accordion-item ul.wp-block-list li i.fas.fa-circle{
  font-size: 0.5rem;
  top: 0;
  left: -15px;
  transform: translateY(7px);
}


.footer-main{
  background: linear-gradient(0deg, #343a40, #000);
  padding: 20px 0;
}
.footer-main p strong, .footer-main  .widget-title{
  color:white;
}
.footer-main p{
  color: rgba(255, 255, 255, .5);
}
.footer-main .wp-block-list{
  list-style: none;
}
.footer-main .wp-block-list li, .footer-main .wp-block-list a{
  color: rgba(255, 255, 255, .5);
}




/* Estilos de archive post */


/* archive entradas */
/* Cards como imagen adjunta */
.pit-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.pit-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.pit-post-card .pit-post-image {
    height: 280px;
}

.pit-post-card .pit-post-img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pit-post-card .pit-post-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.pit-post-card .pit-post-img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pit-post-card .pit-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .pit-post-card .pit-post-image {
        height: 220px;
    }
}





/* estilo dorado servicio privado */
body.single-tour.tour-private-services {
    --bg-primary-private: #020B13;      /* Fondo negro lujo [page:2] */
    --accent-gold-private: #DAAB2D;     /* Dorado principal [page:2] */
    --gold-secondary-private: #A57A03;  /* Dorado mate [page:2] */
    --text-main-private: #F5F5F5;       /* Texto claro */
    --link-gold-private: #DAAB2D;
}

body.single-tour.tour-private-services a {
    color: var(--link-gold);
    transition: color 0.3s ease;
}


body.tour-private-services .site-logo, body.tour-private-services .footer-image-wrapper{
    position: relative;  /* Para posicionar ::before */
    font-size: 0;  /* Oculta img original */
}

body.tour-private-services .site-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Ajusta al ancho exacto de tu logo */
    height: 100%;  /* Ajusta al alto exacto */
    background-image: url('https://peruinkastop.com/dev/wp-content/uploads/2026/01/logo_private_service.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    z-index: 1;
}
body.tour-private-services .footer-image-wrapper::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /* Ajusta al ancho exacto de tu logo */
  height: 100%;  /* Ajusta al alto exacto */
  background-image: url('https://peruinkastop.com/dev/wp-content/uploads/2026/01/footer-private-image.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  z-index: 1;
}

body.tour-private-services .site-logo img, body.tour-private-services .footer-image-wrapper img{
    opacity: 0;  /* Backup: oculta img si ::before no basta */
    visibility: hidden;
}



body.single-tour.tour-private-services a:hover {
    color: #FFD700;  /* Dorado brillante en hover */
}

body.single-tour.tour-private-services {
    background: var(--bg-primary);
    color: var(--text-main);
}

body.single-tour.tour-private-services h1, 
body.single-tour.tour-private-services h2 {
    color: var(--accent-gold);
}


body.single-tour.tour-private-services .site-header-custom .header-inner, body.single-tour.tour-private-services .tour-tabs-nav, body.single-tour.tour-private-services .mega-sub-menu, body.single-tour.tour-private-services ul.mega-menu{
  background-color: var(--bg-primary-private) !important;
}

body.single-tour.tour-private-services .mega-menu-item a{
  color: var(--accent-gold-private) !important;
  border-bottom: 0px solid white !important;
}
body.single-tour.tour-private-services .mega-menu-item.mega-toggle-on > a, body.single-tour.tour-private-services .mega-menu-item > a:hover{
  background-color: rgba(162, 4, 73, 0.12) !important;
}

body.single-tour.tour-private-services ul.mega-menu > li.mega-menu-item.mega-current-menu-ancestor > a{
  background-color: #daab2d30 !important;
}

body.single-tour.tour-private-services .contact-header, body.single-tour.tour-private-services .site-header-custom, body.single-tour.tour-private-services .wp-block-accordion-item{
  background-color: #000 !important;
}
body.single-tour.tour-private-services .wp-block-accordion-item{
  box-shadow: 4px 7px 20px -12px #081725;
}
body.single-tour.tour-private-services .content-tour-single, body.single-tour.tour-private-services .site-footer{
  background-color: var(--bg-primary-private) !important;
}

body.single-tour.tour-private-services .tab-content .wp-block-accordion-heading__toggle-title, body.single-tour.tour-private-services .tab-content p, body.single-tour.tour-private-services .tab-content li{
  color: #fff;
}

body.single-tour.tour-private-services .wp-block-accordion-heading__toggle:hover, body.single-tour.tour-private-services .wp-block-accordion-heading__toggle:focus, body.single-tour.tour-private-services .wp-block-accordion-heading__toggle[aria-expanded="true"]{
  background-color: var(--link-gold-private) !important;
}
body.single-tour.tour-private-services .tab-link{
  border: 1px solid var(--link-gold-private);
  color: var(--link-gold-private);
}
body.single-tour.tour-private-services .tab-link:hover{
  background-color: #daab2d10;
}
body.single-tour.tour-private-services .tab-link.active{
  background-color: var(--link-gold-private);
  color: #fff;
}
body.single-tour.tour-private-services .modal-content{
  background-color: var(--bg-primary-private);
  margin: auto;
}
body.single-tour.tour-private-services .modal-header, body.single-tour.tour-private-services .btn-submit{
  background-color: var(--link-gold-private) !important;
}
body.single-tour.tour-private-services .modal-header .modal-title{
  color: #fff;
}
body.single-tour.tour-private-services .cf7-contact-wrapper label, body.single-tour.tour-private-services .wpcf7-not-valid-tip, .required{
  color: var(--link-gold-private) !important;
}
body.single-tour.tour-private-services .cf7-contact-wrapper input, body.single-tour.tour-private-services  select, body.single-tour.tour-private-services textarea{
  background:#ffffff24;
  color: #fff;
}
body.single-tour.tour-private-services .cf7-contact-wrapper option{
  background-color: var(--bg-primary-private);
}
body.single-tour.tour-private-services .carousel-caption{
  background-color: rgb(0 0 0 / 19%);
}

body.single-tour.tour-private-services .submenu-media{
  background-color: #000 !important;
}
body.single-tour.tour-private-services ul.sub-menu li:last-child > *{
  color: var(--text-main-private) !important;
}
body.single-tour.tour-private-services .related-tour-title{
  color: var(--link-gold-private);
}
body.single-tour.tour-private-services .nav-toggle span{
  background-color: #fff;
}
body.single-tour.tour-private-services .tab-panel-prices strong{
  color: #fff;
}
.tab-panel.tab-panel-prices{
  padding: 20px;
}
body.single-tour.tour-private-services table tr, body.single-tour.tour-private-services table th{
  background-color: transparent;
  color: #fff;
}
body.single-tour.tour-private-services .tab-panel-recommendations thead{
  background-color: #515151;
}
body.single-tour.tour-private-services .breadcrumbs{
  color: #7d7d7d;
}


.tab-panel-recommendations td, .tab-panel-recommendations th{
  border: 1px solid #a7a7a7;
  padding: 5px 10px;
}

.tab-panel-recommendations thead{
  background-color: #dfdfdf;
}
.tab-panel-faqs p br{
  display: none;
}



.related-tours {
  padding: 60px 20px;
  background: var(--bg-primary-private);
}

.related-tours .related-tour-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.related-tours .tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .related-tours .tours-grid { grid-template-columns: repeat(3, 1fr); } /* 3 en tablet */
}

@media (max-width: 768px) {
  .related-tours .tours-grid { 
      grid-template-columns: repeat(2, 1fr); /* 2 en móvil */
      gap: 20px;
  }
}

@media (max-width: 480px) {
  .related-tours .tours-grid { grid-template-columns: 1fr; } /* 1 en pequeño */
}



.prices-tabs-content{
  border: 1px solid #fd920e;
}
.prices-tabs-content p{
  position: relative;
}
.prices-tabs-content p i{
  padding: 0px 10px 0px 0px;
  font-size: 1.3rem;
}
.prices-tabs-list {
  display: flex;
  flex-wrap: wrap;
}

.prices-tab-link {
  border: 1px solid #fd920e;
  background: transparent;
  padding: 1rem 1.4rem;
  cursor: pointer;
  border-radius: 10px 10px 0px 0px;
  outline: none;
  color: #fd920e;
}
.prices-tab-link:focus{
  outline: none;
}
.prices-tab-link.active {
  background: #fd920e;
  border: 1px solid #fd920e;
  color: #fff;
}

.prices-tab-panel {
  display: none;
}

.prices-tab-panel.is-active {
  display: block;
}
.prices-tabs-section .prices-tabs-content{
  padding: 1rem 1.3rem;
}
.price-table{
  display: inline-block;
  padding: 15px;
}


/* Estilos contact-us */
.page-contact-hero {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.page-contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay para mejorar legibilidad */
    z-index: 1;
}

.page-contact-hero .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    z-index: 2;
    flex-wrap: wrap;
}
.page-contact-hero .contact-container .wp-block-columns{
  gap: 5em;
}
body.page-template-page-contact-us .wp-block-column{
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
}
form{
  position: relative;
}
form p, .wp-block-column form .row{
  margin-bottom: 0px;
}
form p:has(input.has-spinner){
  position: relative;
}
form .wpcf7-spinner{
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50% 0);
}

.wpcf7 form.sent .wpcf7-response-output{
  border-color: #46b450;
  background: #46b450;
  color: white;
  margin: 0;
}
form .wpcf7-response-output{
  position: absolute;
  bottom: 10px;
  margin: 0;
  background-color: #DAAB2D;
}


.contact-form {
  flex: 1;
  min-width: 300px;
  color: white;
}

@media (max-width: 768px) {
  .page-contact-hero .contact-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .page-contact-hero {
    background-attachment: scroll; /* Fixed no funciona bien en mobile */
    padding: 1rem;
  }
}


/* Whatsapp flotante */
#whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 40px;
  z-index: 1000;
}

#whatsapp-float #whatsapp-link {
  display: block;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

#whatsapp-float #whatsapp-link:hover {
  transform: scale(1.1);
  background: #128C7E;
}

@media (max-width: 768px) {
  #whatsapp-float #whatsapp-link {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

/* whatsapp contact */
.whatsapp-contact-btn{
  cursor: pointer;
  height: 20px;
  width: 20px;
  background: green;
  padding: 20px;
  border-radius: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}
#whatsapp-modal {
  max-width: 650px;
  width: 95%;
  max-height: 90vh;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  margin: auto;
}

#whatsapp-modal::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

#whatsapp-modal .whatsapp-container {
  display: flex;
  background: #fff;
}

#whatsapp-modal .whatsapp-preview {
  flex: 1;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

#whatsapp-modal .whatsapp-thumb {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

#whatsapp-modal #whatsapp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#whatsapp-modal .whatsapp-preview h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
}

#whatsapp-modal .whatsapp-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#whatsapp-modal .whatsapp-form h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #25D366;
  font-weight: 700;
}


#whatsapp-modal #whatsapp-message {
  width: 100%;
  padding: 14px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.3s;
  box-sizing: border-box;
  color: rgb(29, 29, 29);
}

#whatsapp-modal #whatsapp-message:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}

#whatsapp-modal #whatsapp-send {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

#whatsapp-modal #whatsapp-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
}

@media (max-width: 768px) {
  #whatsapp-modal .whatsapp-container { flex-direction: column; height: auto; }
  #whatsapp-modal .whatsapp-preview, .whatsapp-form { padding: 25px; }
  #whatsapp-modal .whatsapp-thumb { width: 120px; height: 90px; }
}








/* landing-page estilos */

.landing-content .hero-img img{
  width: 100%;
  height: 100%;
}
.landing-content  .wp-block-heading{
  text-shadow: 3px 3px 6px #000000;
}


.site-header-custom.transparent{
  z-index: 50; /* arriba del hero */
  height: 0;
  width: 100%;
}

/* IMPORTANTE: permitir que el dropdown salga del contenedor */
.site-header-custom.transparent,
.header-inner,
.main-nav{
  overflow: visible;
}

.site-header-custom.transparent .header-inner{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0px 22px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.site-header-custom.transparent .site-logo img{
  display: block;
  height: 44px;
  width: auto;
}

/* ===== Menu base ===== */
.site-header-custom.transparent .main-nav{
  z-index: 60; /* que el dropdown no quede detrás */
}

.site-header-custom.transparent .main-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header-custom.transparent .main-menu > li{
  /*position: relative;  referencia del submenu */
  padding: 14px 0px;
  position: relative;
}

.site-header-custom.transparent .main-menu > li > a{
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  color: #111;
  border-radius: 5px;
}
.site-header-custom.transparent .main-menu > li > a:hover{
  background-color: rgba(255, 255, 255, 0.452);
  backdrop-filter: blur(10px);
  color: #2c2c2c;
  transition: 0.3s;
  text-shadow: none;
}
/* ===== Dropdown (2 columnas) ===== */
.site-header-custom.transparent .main-menu .sub-menu{
  display: none;
  list-style: none;
  margin: 0;
  padding: 18px;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  width: max-content;
  z-index: 9999;
  display: none; /* se prende en hover */
  grid-template-columns: 100%;
  align-items: start;
}

.site-header-custom.transparent .main-menu li.menu-item-has-children:hover > .sub-menu{
  display: block;
}


.site-header-custom.transparent .main-menu .sub-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none;
  color: #111;
}

/* columna bloque ACF */
.site-header-custom.transparent .main-menu .sub-menu > li.menu-item--submenu-media{
  display: none;
}



/* Base link */
.site-header-custom.transparent .main-menu > li > a{
  position: relative;
  color: #fff;
  background: transparent;
  text-shadow: 0px 0px 10px black;
}

/* Línea (oculta por defecto) */
.site-header-custom.transparent .main-menu li.current-menu-ancestor > a::after{
  content: "";
  position: absolute;
  right: 50%;
  bottom: 6px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background: #a20449;
  transition: transform .18s ease;
}



/* Activo: si estás en un submenu, el padre/ancestor también */
.site-header-custom.transparent .main-menu li.current-menu-ancestor > a,
.site-header-custom.transparent .main-menu li.current-menu-parent > a,
.site-header-custom.transparent .main-menu li.current_page_ancestor > a,
.site-header-custom.transparent .main-menu li.current_page_parent > a{
  color: #a20449;
}
.site-header-custom.transparent .main-menu li.current-menu-ancestor a::after,
.site-header-custom.transparent .main-menu li.current-menu-parent a::after,
.site-header-custom.transparent .main-menu li.current_page_ancestor a::after,
.site-header-custom.transparent .main-menu li.current_page_parent a::after{
  transform: translateX(50%) scaleX(1);
  
}

/* Submenu hover (solo color, sin fondo) */
.site-header-custom.transparent .main-menu .sub-menu a{
  color:#111;
}
.site-header-custom.transparent .main-menu .sub-menu a:hover,
.site-header-custom.transparent .main-menu .sub-menu a:focus{
  color: #a20449;
  background-color: #a204491f;
}
.page-template-page-landing .site-footer, .page-template-page-contact-us .site-footer{
  background-color: transparent !important;
}


.honeymoon-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  color: #333 !important;
}

.honeymoon-form h3 {
  color: #333 !important;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.honeymoon-form input,
.honeymoon-form select,
.honeymoon-form textarea {
  font-size: 16px !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  background-color: #fff !important;
  padding: 15px;
}

.honeymoon-form textarea {
  min-height: 100px !important;
  resize: vertical;
}

.honeymoon-form input::placeholder,
.honeymoon-form textarea::placeholder {
  color: #666 !important;
}

.honeymoon-form label {
  color: #333 !important;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.honeymoon-form .wpcf7-submit {
  background-color: #a20449 !important;
  border-color: #a20449 !important;
  color: white !important;
  font-weight: bold !important;
  padding: 12px 30px !important;
  width: 100% !important;
  font-size: 18px !important;
}

.honeymoon-form .wpcf7-submit:hover {
  background-color: #fd7e14 !important;
  border-color: #fd7e14 !important;
  color: white !important;
}

@media (max-width: 768px) {
  .honeymoon-form .row > div[class^="col-"] {
    margin-bottom: 15px !important;
  }
}






/* Hero Slider styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.show {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* animation: heroZoomOut 8s ease-out forwards; */
  transform: scale(1.12);
}
/* Solo el slide visible anima el zoom */
.hero-slide.show img {
  animation: heroZoomOut 8s ease-out forwards;
}

@keyframes heroZoomOut {
  from { transform: scale(1.2); }
  to { transform: scale(1); }
}

/* Overlay degradado oscuro para mejorar contraste */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

/* Contenido fijo centrado */
.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 90%;
  max-width: 700px;
}

.hero-slide-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
  letter-spacing: 1px;
}

.hero-slide-text {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.5);
}

.hero-slide-btn {
  display: inline-block;
  padding: 16px 45px;
  background: #fff;
  color: #222;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-slide-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .hero-slide-title { font-size: 2.5rem; }
  .hero-slide-text { font-size: 1.1rem; }
  .hero-slide-btn { padding: 12px 30px; font-size: 1rem; }
}



.wpcf7-response-output {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 90%;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

/* Cuando el mensaje esté visible (CF7 le quita la clase wpcf7-display-none) */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  opacity: 1;
  bottom: 40px;
  pointer-events: auto;
}






.slider-container {
    overflow: hidden;
    border-radius: 12px;
  }
  .slider-wrapper {
    position: relative;
    transition: transform 0.4s ease;
  }
  .slider-group {
    display: none;
  }
  .slider-group.active {
    display: block;
  }
  .destino-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
  }
  .image-card {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }
  .image-card:hover {
    transform: translateY(-4px);
  }


  .carousel-control-prev,
.carousel-control-next {
    width: 6%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;
    width: 45px;
    height: 45px;
    border: 3px solid #a20449;
    background-color: #a20449;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background: #a20449 !important;
    border-color: white;
    transform: scale(1.1);
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::after {
    content: '‹';
    font-size: 22px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    transition: color 0.3s ease;
}

.carousel-control-next-icon::after {
    content: '›';
}

.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::after {
    color: white !important;
}



/* Ajax Search */

.pit-search-results-box {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    z-index: 2;
    max-height: 500px;
    overflow-y: auto;
    display: none;
}

.pit-search-results-box.is-open {
    display: block;
}

.pit-search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pit-search-item {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.pit-search-item:hover {
    background: #f9fafb;
}

.pit-search-item:last-child {
    border-bottom: none;
}

.pit-search-link {
    display: flex;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.pit-search-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.pit-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pit-search-content {
    flex: 1;
    min-width: 0; /* Para que el texto se corte correctamente */
}

.pit-search-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}

.pit-search-price {
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 6px 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
}

.pit-search-destinos {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Para header (más angosto) */
@media (max-width: 768px) {
    .pit-search-image {
        width: 80px;
        height: 80px;
    }
    
    .pit-search-link {
        padding: 12px;
        gap: 12px;
    }
}


.country-select .flag{
  box-shadow: 0 0 1px 0 #888;
  background-image: url(https://peruinkastop.com/wp-content/plugins/country-phone-field-contact-form-7/assets/img/flags.png);
  background-repeat: no-repeat;
  background-color: #dbdbdb;
  background-position: 20px 0;
  width: 20px;
}
.country-select .flag.es{
  height: 14px;
  background-position: -1555px 0;
}
.country-select .flag.br{
  height: 14px;
   background-position: -680px 0;
}

.open-modal-search a{
  padding: 0 !important;
}
.open-modal-search a div{
  padding: 10px 15px;
}

dialog.sidebar-dialog { display: none; }
dialog.sidebar-dialog:target { display: flex; }




/*Menu Estilos*/
ul.mega-sub-menu .wp-block-list li:hover{
  background-color: #a204491f;
}



/* menu nad submneu new styles */
/* Ítem NEW directo: fondo suave */
.menu-item.new > a, li.mega-menu-item.new > a {
  background: linear-gradient(135deg, rgba(255,193,7,0.12), rgba(255,152,0,0.08)) !important;
}

/* BADGE "NEW" SOLO en submenús new */
.menu-item.new > a::after, li.mega-menu-item.new > a::after{
  content: 'NEW';
  position: relative;
  top: -6px;
  left: 5px;
  background: #ff4757;
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
}

/* PADRE con submenú new: PUNTITO ROJO SUAVE */
.menu-item:has(.sub-menu .new) > a::before, #mega-menu-menu_principal > li.mega-menu-item:has(li.mega-menu-item.new) > a::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 8px;
  width: 4px;
  height: 4px;
  background: #ff4757;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 1px 4px rgba(255,71,87,0.4);
  animation: dotBlink 3s infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}


li.pll-parent-menu-item ul.sub-menu{
  width: auto !important;
  max-width: auto;
}
.site-header-custom .main-menu li.menu-item-has-children.pll-parent-menu-item:hover > .sub-menu{
  display: block !important;
}
li.pll-parent-menu-item ul.sub-menu li.current-lang{
  display: none !important;
}


.mega-sub-menu ul.wp-block-list li{
  list-style: none;
}
.mega-sub-menu ul.wp-block-list li > a {
  position: relative;
  padding: 4px 10px 4px 20px;
  border-radius: 3px;
}

.mega-sub-menu ul.wp-block-list li > a::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: currentColor;
  font-size: 0.7em;
  line-height: 1;
}