/*!
 * Theme Name: Agency Theme 4 SEO
 * Theme URI: https://danteoviedo.com
 * Author: Dante Oviedo
 * Author URI: https://danteoviedo.com
 * Description: A clean, SEO-optimized WordPress theme for agencies.
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: agencytheme4seo
 */
 :root {
    --color-cta1: #527c75;
    --color-cta2: #b17f49;
    --color-cta3: #ffb833;
    
    /* Variables para modo claro */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

/* Variables para modo oscuro */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #404040;
}

 *{margin: 0; padding: 0; font-family: "Open Sans", sans-serif; font-weight: 400; transition: all 0.3s ease;}
 html{scroll-behavior: smooth;}
 .flex{display: flex;}
 .topweb{justify-content: space-between; font-size: 14px;padding: 0 5%;}

.topweb-info{
    background-color: #333 !important;
    color: #fff !important;
    padding: 10px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Toggle del tema */
.theme-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle .icon {
    font-size: 16px;
}

.widget-topweb-info{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;font-weight: 400;
}
 .topweb i{font-size: 12px; line-height: 0;}

.topwebhome{
    position: sticky;
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 11;
    border-bottom: solid 1px transparent;
    background-color: transparent !important;
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.topwebhome.scrolled {
    background-color: var(--bg-primary) !important;
    border-bottom: solid 1px var(--border-color);
}

/* Cambiar color de enlaces cuando el header está scrolleado */
.topwebhome.scrolled .navright ul li a {
    color: var(--text-primary) !important;
}
.navandlogo{padding: 0 7%; justify-content: space-between; align-items: center; z-index: 2; }
.logoleft{ width:110px; position: relative; height: 90px;} 

.logo{}
.logo img{width: auto; height:80px;}

.logo-white, .logo-colors { opacity: 0; visibility: hidden; transform: scale(0.8); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s; position: absolute; top: 0; left: 0;}
.logo-white.visible, .logo-colors.visible { opacity: 1; visibility: visible; transform: scale(1);}

.navright{display: flex; align-items: center;}
.navright ul{display: flex; justify-content: right;align-items: center; list-style: none;}
.navright ul li{font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing:1px;}
.navright ul li a{color: #fff; padding: 15px 15px; display:block; text-decoration: none;}
.navright ul li:nth-child(3n+1) a:hover { background-color: var(--color-cta1); }
.navright ul li:nth-child(3n+2) a:hover { background-color: var(--color-cta2); }
.navright ul li:nth-child(3n+3) a:hover { background-color: var(--color-cta3); }

/* Estilos para menú desplegable */
.navright ul li {
    position: relative;
}

.navright ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.navright ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navright ul li ul li {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    border-bottom: 1px solid #f0f0f0;
}

.navright ul li ul li:last-child {
    border-bottom: none;
}

.navright ul li ul li a {
    color: #333;
    padding: 12px 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.navright ul li ul li a:hover {
    background-color: var(--color-cta1);
    color: #fff;
}


.sliderhome{position: relative; margin-top: -95px;}


.slider { position: relative; width: 100%; height: 100vh; background-color: #000; }
.slider:hover .progress { animation-play-state: paused; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; overflow: hidden; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 8s ease; }
.slide.active img { transform: scale(1.2); }
.slide-overlay { position: absolute; bottom: 20%; left: 10%; color: white; z-index: 5; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.slide-overlay .title { font-size: 3rem; margin-bottom: 0.5rem; transform: translateX(-100%); opacity: 0; transition: transform 1s ease, opacity 1s ease; }
.slide-overlay .subtitle { font-size: 1.5rem; margin-bottom: 1rem; transform: translateY(100%); opacity: 0; transition: transform 1s ease, opacity 1s ease; }
.slide.active .slide-overlay .title { transform: translateX(0); opacity: 1; }
.slide.active .slide-overlay .subtitle { transform: translateY(0); opacity: 1; }
.slide-overlay .cta a { display: inline-block; padding: 0.75rem 1.5rem; background: rgba(255,255,255,0.8); color: #333; text-decoration: none; font-weight: bold; border-radius: 4px; transition: background 0.3s; }
.slide-overlay .cta a:hover { background: rgba(255,255,255,1); }
.progress-container { position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: rgba(255,255,255,0.3); z-index: 5; }
.progress { width: 0; height: 100%; background: white; }
@keyframes load { from { width: 0; } to { width: 100%; } }
.progress.animate { animation: load 5s linear forwards; }
.nav-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: none; color: white; font-size: 2rem; padding: 0.5rem 1rem; cursor: pointer; z-index: 10; }
.nav-button.prev { left: 1rem; }
.nav-button.next { right: 1rem; }



.offershome{background-color: var(--bg-secondary); padding: 50px 0;}
.homecarousel{padding: 0 7%; background-color: var(--bg-secondary); color: var(--text-primary);}
.homecarousel .widget-title{font-size: 24px; color: var(--color-cta2); font-weight: 600;}
.homecarousel a{color: var(--color-cta2); text-decoration: none; font-size: 18px;}
.carousel-tour-horizontal-container {position: relative; width: 100%; overflow: hidden; padding:10px 0}
.carousel-tour-horizontal-track { display: flex; }
.carousel-tour-horizontal-item { background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border-color); box-sizing: border-box; display: flex; flex-direction: column-reverse; align-items:center; justify-content: space-between; box-shadow:0 0 10px #c8c8c8;}
.carousel-tour-horizontal-header { text-align: center; color: var(--text-primary);}
.carousel-tour-horizontal-duracion-tour { padding:0 0 10px; color: var(--color-cta2); font-weight: 600;}
.carousel-tour-horizontal-image { width:100%;}
.carousel-tour-horizontal-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; padding: 10px; cursor: pointer; border-radius: 50%; font-size: 1.2rem; z-index: 10; }
.carousel-tour-horizontal-control.prev { left: 10px; }
.carousel-tour-horizontal-control.next { right: 10px; }
.carousel-tour-horizontal-price{background-color: var(--color-cta1); color: #fff; padding: 10px; display: inline-block;}

.columns{display: flex; flex-direction: row-reverse;}
.columns>div{width: 50%;}
.textscolumns{display: flex; align-items: center; padding: 0 7% 0 3%; box-sizing: border-box}
.parallax-section {  position: relative; overflow: hidden; height:70vh;}
.parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 150%; background: url('images/paralax-machu-picchu-uyuni.webp') center/cover no-repeat; will-change: transform;}
.section-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); background: rgba(0,0,0,0.2);}
.following-content { background: #f5f5f5; padding: 4rem 2rem; color: #333;}

.h1title{font-size: 18px; color: var(--color-cta2); font-weight: 300;}
.maintitle{font-size: 34px; color: var(--color-cta1); font-weight: 600; line-height:40px; padding: 20px 0;}
.maintitle strong{color: var(--color-cta2); font-weight: 600;}
.paragraphts{font-size: 14px; text-align: justify; line-height: 24px;}

.homeone{padding: 70px 7%; background-color: var(--bg-secondary);}

.categories-tour-item{ background-color: var(--bg-primary); color: var(--text-primary); padding-bottom:20px; position: relative; overflow: hidden; border-bottom:solid 5px var(--color-cta2);}
.categories-tour-item:hover{border-bottom: solid 5px var(--color-cta1);}
.categories-tour-item img{width: 100%; min-height: 400px; max-height:400px;}
.categories-tour-item:hover img{filter: brightness(0.5);}
.categories-tour-widget-title{font-size: 20px; font-weight: 400; padding: 10px 20px 0; color: var(--text-primary);}
.categories-tour-widget-title a{color: var(--color-cta1); text-decoration: none;}
.categories-tour-widget-personalized-excerpt{ padding: 10px 20px; font-size:14px; font-weight: 400; color: var(--text-secondary);}
.categories-tour-widget-tour-days-nights{ padding: 5px 10px; margin: 0 20px; color: var(--color-cta2); border: solid 1px; display: inline-block;}
.categories-tour-widget-tour-precio{background-color: var(--color-cta2); border:solid 1px; color: #fff; display: inline-block;padding: 5px 10px; font-weight: 600; letter-spacing: 1;}
.categories-tour-widget-redmore{position: absolute; left: -200px; top: 20px;}
.categories-tour-item:hover .categories-tour-widget-redmore{ left: 0;}
.categories-tour-widget-redmore a{color:#fff; background-color: var(--color-cta1); display: inline-block; padding: 10px 20px; text-decoration: none;}

.hometwo{background-color:#052c43; color: #fff; padding: 90px 7%;}
.hometwo p{font-size: 18px; text-align: center;}
.hometwo ul{display:flex; list-style: none; text-align: center;}
.hometwo ul li{ width: 33.3%; padding: 0 30px; box-sizing: border-box; font-size: 16px; }
.hometwo ul li img{width: 120px; height: auto;}
.hometwo ul li strong{color: var(--color-cta1); font-weight:400; font-size: 18px;}

.homefour{padding: 80px 7%; background-color: #00a568; display: flex; color: #fff;}
.tripintro{width: 30%; text-align: center; font-size: 16px;  font-weight: 300;  padding:70px 0 0 0; box-sizing: border-box; background: url(images/logo-tripadvisor-h40px.webp) center top no-repeat; background-size: auto 50px;}
.tripcommentscontent{width: 70%;}
.ta-carousel-item{ padding:0 20px; border-radius: 10px;}
.ta-carousel-item-content{color: #000; background: #fff; padding: 20px 30px; border-radius: 10px;}
.ta-title{font-size: 18px; font-weight: 600; font-style: italic; padding-bottom: 20px;}
.ta-title a{color: var(--color-cta2); text-decoration: none; background: url(images/bullets-tripadvisor.webp) left bottom+40px no-repeat; background-size: auto 16px; padding: 0 0 60px;}
.ta-content{font-size: 16px; font-weight: 300; padding: 10px 0 0 0;}
.ta-author{font-size:12px; font-weight: 900; letter-spacing: 1px; color: var(--color-cta2);}

.homefive{padding: 80px 7%;}

.intern-page{
    background-color: var(--color-cta1);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.intern-page .logo-white{visibility: visible !important;}

.margins{margin: 0 7%;}
.cfp-category-posts{ display: flex; gap:40px; margin: 40px 0; flex-wrap: wrap;}
.cfp-post-thumbnail{overflow: hidden; height:280px;}
.cfp-post-item{background-color: var(--bg-primary); color: var(--text-primary); padding: 15px 0; position: relative; overflow: hidden; width: 31%; border: 1px solid var(--border-color); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease;}
.cfp-post-item:hover{transform: scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);}
.cfp-post-item img{width: 100%; height: auto; transition: transform 0.3s ease;}
.cfp-post-item:hover img{animation: float 1.5s ease-in-out infinite;}

@keyframes float {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.10) }
}
.cfp-post-title{font-size: 20px; font-weight: 400; padding: 0 120px 0 25px; color: var(--text-primary);}
.cfp-post-title a{color: var(--color-cta1); text-decoration: none;}
.cfp-days-nights{ border-bottom:solid 1px; color:var(--color-cta2); display: inline-block;padding: 5px 10px; font-weight: 600; margin: 5px 0 20px 20px;}
.cfp-price{background-color: var(--color-cta2); border:solid 1px; color: #fff; font-size: 12px; font-weight: 300; text-align: center; display: inline-block;padding:15px 10px; font-weight: 600; letter-spacing: 1px;position: absolute;top: 0; right: 0;}
.cfp-price strong{font-size: 16px; font-weight: 600;}
.cfp-post-excerpt{padding: 10px 25px; color: var(--text-secondary);}
.cfp-post-item:hover .cfp-readmore{right: 0;}
.cfp-post-item:hover .cfp-price{background-color: var(--color-cta1);}
.cfp-post-item:hover .cfp-post-title a{color: var(--color-cta2); text-decoration: none;}
.cfp-post-item:hover .cfp-days-nights{color: var(--color-cta1);}
.cfp-readmore{position: absolute; right:-115px; bottom: 140px; background-color: var(--color-cta1);}
.cfp-readmore a{font-size: 16px; display: inline-block; padding: 10px 15px; color: #fff; text-decoration: none;}

.no-price-tour{background-color: var(--color-cta1); text-align: center;}
.no-price-tour a{color: #fff; font-size: 16px; text-decoration: none; display: block; padding: 10px 20px;}

.site-main{ padding: 50px 0; background-color: #f8f8f8;}
.site-main p{font-size: 14px; font-weight: 400; line-height: 22px; padding: 5px 0;}
.site-main h1{background: url(images/icon-enigmas.webp) center top no-repeat; color: var(--color-cta2); text-align: center; background-size: 30px; padding: 30px 0 0; font-weight: 600;}
.site-main h2{font-size: 20px; color: var(--color-cta2); font-weight: 600; padding: 20px 0;}
.site-main ul{margin: 0 0 0 30px;}
.site-main ul li{font-size: 14px; padding:3px 0; font-weight: 400;}
.site-main-categories{padding: 50px 0; background-color: #f8f8f8;}
.site-main-categories p{font-size: 14px; font-weight: 400; line-height: 22px; padding: 5px 0;}
.site-main-categories h1{background: url(images/icon-enigmas.webp) center top no-repeat; color: var(--color-cta2); text-align: center; background-size: 30px; padding: 30px 0 0; font-weight: 600;}

.site-main-general-info{padding: 50px 0; background-color: #f8f8f8;}
.site-main-general-info p{font-size: 14px; font-weight: 400; line-height: 22px; padding: 5px 0;}
.site-main-general-info h1{background: url(images/icon-enigmas.webp) center top no-repeat; color: var(--color-cta2); text-align: center; background-size: 30px; padding: 30px 0 0; font-weight: 600;}
.site-main-general-info h2{font-size: 20px; color: var(--color-cta2); font-weight: 600; padding: 20px 0;}
.site-main-general-info h3{font-size: 18px; color: var(--color-cta1); font-weight: 600; padding: 15px 0;}
.site-main-general-info h4{font-size: 16px; color: var(--color-cta1); font-weight: 600; padding: 10px 0;}
.site-main-general-info ul{margin: 0 0 0 30px;}
.site-main-general-info ul li{font-size: 14px; padding:3px 0; font-weight: 400;}


.slideandintrotour{padding: 30px 7%; display: flex; border-bottom: dashed 1px var(--color-cta2);}
.slidetour{width: 70%;}
.intro-one{width: 30%;}
.intro-one{ box-sizing: border-box; padding: 0 0 0 30px;}
.intro-one p{font-size: 16px; text-align: justify; padding: 20px 0;}
.intro-one ul{list-style: none; margin: 0 0 0 30px;}
.intro-one ul li{font-size:16px;position:relative; padding: 3px 0;}
.intro-one ul li::before{content:"\f058";font-family:"Font Awesome 6 Free";position:absolute;left:-1.5em;top:50%;transform:translateY(-50%);font-size:14px;color:var(--color-cta1);}
.header-tour{display: flex; margin: 30px 7% 0; justify-content: space-between; padding-bottom: 10px; border-bottom: solid 1px var(--color-cta2);}
.tours-title{background: url(images/icon-enigmas.webp) left center no-repeat; font-size: 32px; line-height: 30px; color: var(--color-cta2); background-size: 50px; padding: 0 0 0 60px; font-weight: 600;}
.tours-title strong{font-size: 20px;}
.precio-tour-details{background-color: var(--color-cta2); color: #fff; padding: 10px 20px; text-align: center; font-size: 12px;}
.precio-tour-details strong{font-size:18px;}

.columns-tours{display: flex; padding: 50px 7%; background-color: #f8f8f8; justify-content: space-between;}
.tourdetails{ width:72%;}
.intro-two{margin:20px 7%; display: flex; font-size: 14px; justify-content: space-around; background-color: var(--color-cta2); color: #fff; padding: 20px; gap: 40px}
.intro-two strong{font-size: 14px;}
.intro-two-item{padding: 0 0 0 40px;}
.iconduration{background: url(images/icon-duration60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}
.iconlocation{background: url(images/icon-location60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}
.icontype{background: url(images/icon-type60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}
.iconaltitude{background: url(images/icon-altitude60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}
.icondifficulty{background: url(images/icon-difficulty60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}
.icongroup{background: url(images/icon-grouptour60x60.webp) left center no-repeat; background-size: 40px; padding: 0 0 0 50px;}

.itinerary-tabs{display: flex;gap: 10px; padding: 10px; margin-bottom: 15px; background-color: var(--color-cta1);}
.itinerary-tabs a{display: inline-block; padding: 10px 20px; color:#fff; border-bottom: solid 3px var(--color-cta1); text-decoration:none; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
.itinerary-tabs .active{color: var(--color-cta3); border-bottom: solid 3px var(--color-cta3);}
.entry-content{padding: 30px; background-color: #fff;}
.entry-content h2{background: url(images/icon-enigmas.webp) left+10px center no-repeat #f8f8f8; border-bottom: solid 1px; background-size:20px; font-size: 20px; color: var(--color-cta1); padding: 10px 0 10px 40px;}
.entry-content h3{font-size: 16px; color: var(--color-cta2); padding: 10px 0;}
.entry-content p{font-size: 16px;padding: 10px 0; line-height: 24px; font-weight: 400;}
.entry-content ul {margin: 0 0 0 30px;}
.entry-content ul li{font-size: 14px; padding:3px 0; font-weight: 400;}

/* Estilos para el formulario */
.rowformtour {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.titleinput {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.inputitem input,
.inputitem textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.inputitem input:focus,
.inputitem textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.inputitem input::placeholder,
.inputitem textarea::placeholder {
    color: #999;
}

.inputitem textarea {
    min-height: 100px;
    resize: vertical;
}

.inputitem input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 14px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.inputitem input[type="submit"]:hover {
    background-color: #0056b3;
}

.top-whatsapp{
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.top-whatsapp a{
    background: #25D366 url(images/icon-whatsapp-white-59x60.webp) left+13px center no-repeat;
    background-size: 20px;
    color: #fff;
    padding: 8px 15px 8px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.top-whatsapp a:hover{
    background: #25D366 url(images/icon-whatsapp-black-59x60.webp) left+13px center no-repeat;
    background-size: 20px;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    color: #000;
}

/* Footer WhatsApp */
.footer-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.footer-whatsapp a {
    display: flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite, bounce 3s infinite;
    position: relative;
    overflow: hidden;
}

.footer-whatsapp a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.footer-whatsapp a:hover::before {
    left: 100%;
}

.footer-whatsapp a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    animation: none;
    color: #000 !important;
}

.footer-whatsapp a:hover * {
    color: #000 !important;
}

.whatsapp-status {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    overflow: hidden;
}

.status-text {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.notification-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    animation: slideIn 7s infinite;
    animation-delay: 1s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whatsapp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-icon-white {
    opacity: 1;
}

.whatsapp-icon-black {
    opacity: 0;
}

.footer-whatsapp a:hover .whatsapp-icon-white {
    opacity: 0;
}

.footer-whatsapp a:hover .whatsapp-icon-black {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    14% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    71% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .rowformtour {
        margin-bottom: 16px;
    }
    
    .inputitem input,
    .inputitem textarea {
        padding: 10px 14px;
        font-size: 16px; /* Evita zoom en iOS */
    }
}

/* Estilos para página de contacto */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Estilos para página de contacto - versión anterior (eliminada) */

/* Contact Form Styles */
.contact-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.contact-content {
    flex: 0 0 40%;
    padding-right: 15px;
}

.contact-form-wrapper {
    flex: 0 0 60%;
}

.contact-message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 0;
}

.form-row.three-columns {
    flex-direction: row;
    gap: 15px;
}

.form-row.three-columns .form-group {
    flex: 1;
}

.form-group {
    flex: 1;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-cta1);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(82,124,117,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-cta1) 0%, #3a5a54 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--color-cta2) 0%, #8f6a3a 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(177,127,73,0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Custom Tour Form Styles */
.custom-tour-form .form-step {
    display: block;
}

.custom-tour-form .form-step h3 {
    color: var(--color-cta1);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta1);
}

/* Progress Tabs Styles */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 6px;
    min-width: 80px;
}

.progress-tab:hover {
    background: rgba(82, 124, 117, 0.1);
}

.progress-tab.active {
    background: var(--color-cta1);
    color: white;
}

.progress-tab.active .step-number {
    background: white;
    color: var(--color-cta1);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.prev-btn,
.next-btn {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prev-btn:hover,
.next-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.next-btn {
    background: var(--color-cta1);
}

.next-btn:hover {
    background: var(--color-cta2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .contact-content,
    .contact-form-wrapper {
        flex: 1;
        padding-right: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row.three-columns {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .prev-btn,
    .next-btn {
        width: 100%;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .form-progress::before {
        display: none;
    }
    
    .progress-tab {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px;
        min-width: auto;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .step-title {
        text-align: left;
    }
}

.rightours{width: 26%;}
.right-tour-form{ position: sticky; top:100px;padding:20px; background-color: #fff; box-shadow: 0 0 5px #c8c8c8;}
.titleformtour{margin:0 0 10px;}
.titleformtour p{background-color: var(--color-cta2); color: #fff; padding: 10px 0; text-align: center; font-size: 20px; font-weight: 400;}
.titleformtour p strong{font-size: 14px; font-weight: 600; color: var(--color-cta1);}
.inputs-form{margin:0 0 3px 0;}
.inputs-form input,.inputs-form textarea{width: 100%; box-sizing: border-box; padding: 10px;}
.inputs-form textarea{max-height: 120px;}
.buttom-form p{text-align: center; text-transform: uppercase; font-weight: 600; letter-spacing: 1px;}
.buttom-form input{padding: 10px 15px; border:none; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; background-color: var(--color-cta1); color: #fff; border-radius: 10px;}

.wpcf7-spinner{display: inherit !important;}


.footerlogos{padding: 390px 7% 20px; background: url(images/footer-bg.webp) center top no-repeat #527c75; background-size: 100% auto; display: flex; gap: 30px; justify-content: space-between;}
.footerlogos img{height: 30px !important; width: auto;}

footer{background-color:#0c3341; padding: 40px 7%; display: flex; justify-content: space-between; color: #fff; font-size: 14px; line-height: 28px;}
footer ul{list-style: none;}
footer ul li{font-size: 14px; line-height: 16px;}
footer ul li a{color: #fff; text-decoration: none; padding:10px 0; display: inline-block;}
footer ul li a:hover{color: var(--color-cta1); text-decoration: underline;}
footer strong{color: var(--color-cta1); font-weight: 400;}
.logofooter{ text-align: center;}
.logofooter i{padding: 10px 5px; color:#246984; display: inline-block; border: solid 1px; min-width: 30px; border-radius: 5px;}
.logofooter i:hover{color: #fff;}
.logofooter img{ width: 200px !important; height: auto;}

.marginbottom50px{margin-bottom: 50px;}

.copyright{color:#898989; border-top: solid 1px #c8c8c8; background-color: #061e26; padding: 20px 7%;}
.designer{font-size: 13px; font-weight: 300; color:#898989}
.designer a{color:#898989}
.mobile-languajes, #do-responsive-menu-container{display: none;}

@media (max-width: 768px) {
    #do-responsive-menu-container{display: inherit;}
.topweb, .main-navigation-left, .main-navigation-right, .parallax-section, .categories-tour-widget-personalized-excerpt,.intro-two, .topweb-info, .rightours,.whatsapp-status,.top-whatsapp{display: none;}
.logoleft{height:60px;}
.logoleft img{width: 80px; height: auto;}
.logo img{width: 200px;}
.homecarousel p, .homeone p, .intro-one p{display: none;}
.columns>div{width: 100%; box-sizing: border-box; padding: 0 7%;}
.categories-tour-grid{display: inherit;}
.categories-tour-item{margin-bottom: 40px;}
.homeone{padding: 30px 7%;}
.hometwo ul{flex-direction: column;}
.hometwo ul li{width: 100%;}
.homefour{flex-direction: column;}
.homefive{padding:20px 7%;}
.tripintro, .tripcommentscontent{width: 100%;}
.footerlogos{flex-wrap: wrap; justify-content: center; padding: 100px 0 30px;}
footer{flex-direction: column; text-align: center;}
.cfp-category-posts{flex-direction: column;}
.cfp-post-item{width: 100%;}
.cfp-post-item img{min-height: 250px; max-height: 250px;}
.slideandintrotour{flex-direction: column; padding: 20px 7%;}
.slidetour, .intro-one{width: 100%;}
.intro-one{padding: 20px 0;}
.tours-title{font-size:20px; line-height: 18px;}
.tours-title strong{font-size: 16px;}
.carrusel-galeria__slide{height: 280px !important;}
.carrusel-galeria__viewport{height: 280px !important;}
.columns-tours{padding: 20px 7%; flex-direction: column;}
.tourdetails{width: 100%;}
.entry-content{padding: 10px;}
.itinerary-tabs{overflow-y: scroll;white-space: nowrap; background-image: url('images/left-arrow.webp'), url('images/right-arrow.webp'); background-position: left+5px center,   right+5px center; background-size: 15px auto, 15px auto;  background-repeat: no-repeat, no-repeat;}
.footer-whatsapp{left:20px; right: inherit;}
.mobile-languajes{display: block;}
}

/* Elementos que no deben tener transición */
img, svg, video, canvas, iframe, embed, object {
    transition: none;
}

/* Estilos para modo oscuro/claro */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.site-main,
.site-main-categories,
.site-main-general-info {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.entry-content {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.entry-content h2 {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.right-tour-form {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.inputs-form input,
.inputs-form textarea {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Aplicar variables a elementos específicos que podrían no estar cambiando */

/* Asegurar que los enlaces también cambien */
/* Removido regla general de 'a' que afectaba todo el sitio */

/* Mantener colores específicos para elementos que no deben cambiar */

.navright ul li a {
    color: #fff;
}

footer {
    background-color: #0c3341;
    color: #fff;
}

.copyright {
    background-color: #061e26;
    color: #898989;
}

/* Estilos específicos para category-for-page */

.intern-page .top-whatsapp a {
    color: #fff;
}

/* Asegurar que el contenido de category-for-page use las variables de tema */
.site-main-categories {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.site-main-categories h1,
.site-main-categories h2,
.site-main-categories h3,
.site-main-categories h4,
.site-main-categories h5,
.site-main-categories h6 {
    color: var(--text-primary);
}

.site-main-categories p {
    color: var(--text-primary);
}

/* Estilos para modo oscuro/claro - columns-tours y right-tour-form */
.columns-tours {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.right-tour-form {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.right-tour-form label {
    color: var(--text-primary);
}

/* Estilos para centrar imágenes en WordPress */
.wp-block-image {
    text-align: center;
}

.wp-block-image img {
    margin: 0 auto;
    display: block;
}

.wp-block-image figcaption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Centrar imágenes con clases específicas de WordPress */
.aligncenter {
    text-align: center;
}

.aligncenter img {
    margin: 0 auto;
    display: block;
}