:root {
  --fondo-blanco: #fcf9e8;
  --hueso: #efead3;
  --verde-oscuro: #35382c;
  --terracota: #a35a38;
  --naranja: #cc612f;
  --amarillo: #f5d633;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Regular */    
    background: var(--fondo-blanco);
    color: #333;
}


/* ==========================================
   CONTENEDOR GENERAL
========================================== */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}


.header {
    width: 100%;
    background: var(--hueso);
}


/* Logo */
.header-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracota);
}

.logo-placeholder {
    width: 70px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: bold;
}


/* Navegación */
.nav {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 5px 20px;
}
.nav a {
    text-decoration: none;
    white-space: nowrap;
}
.nav a:hover {
    text-decoration: underline;
}


/* ==========================================
   MAIN
========================================== */

main {
    width: 100%;
}


.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-logo {
    max-width: 350px;
    width: 80%;
    height: auto;
    margin-bottom: 40px;
}
.hero-button img {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.hero-button img:hover {
    transform: scale(1.05);
}
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background-color: white;
    transform: scale(1.2);
}


.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #a85e38;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.btn:hover {
    opacity: .9;
}


/* ==========================================
   SECCIONES
========================================== */

.section {
    width: 100%;
    padding: 20px 0;
}

.section h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 25px;
    color: #c55f32;
}


/* ==========================================
   HISTORIA
========================================== */
.texto-oculto {
    display: none;
}
.texto-oculto.mostrar {
    display: inline;
}

.historia {
    background: #faf7e8;
}
.historia-titulo {
    height: 25px;
}


.section-intro {
    max-width: 700px;
    margin: 0 auto 35px;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
}

/* ==========================================
   PORQUE VIAJAR CON NOSOTROS
========================================== */

.porqueviajar {
    background: var(--fondo-blanco) /* #faf7e8;*/
}

.porqueviajar-titulo{
    background-image: url("../img/titulo-PORQUEVIAJARCONDVV.png");
    height: 42px;
}


/* ==========================================
   CARDS
========================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    min-height: 180px;
    padding: 25px 20px;
    background: var(--hueso); /* #eee9d2;*/
    border-radius: 15px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.card p {
    font-size: 16px;
    line-height: 1.3;
}

.card-icon {
    margin-top: 15px;
    font-size: 12px;
}


/* ==========================================
   EXPERIENCIAS
========================================== */

.experiencias {
    min-height: 500px;
    background: #ffffff;
}

.experiencias-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
}

.experiencias-btn{
    border: none;
    background: #d7652b;
    color: white;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;    
}

/* ==========================================
   PREGUNTAS FRECUENTES
========================================== */

.preguntas {
    /*min-height: 500px;*/
    background: var(--fondo-blanco);
}
.preguntas-titulo{
    height: 25px;
}


.faq {
    width: 100%;
    max-width: 850px;
    margin: 40px auto 0;
}

/* Cada pregunta */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: none;
    background: #fff;
    padding: 18px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    text-align: left;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

.faq-question:hover {
    background: #f7f7f7;
}

.faq-icon {
    font-size: 22px;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #f7f7f7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* ==========================================
   LEGALES
========================================== */

.legales {
    min-height: 400px;
    background: #ffffff;
}

/* ==========================================
   CONTACTO
========================================== */

.contact-section {
    background: var(--fondo-blanco);
    width: 100%;
    padding: 40px 20px 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Caja principal */
.contact-box {
    width: 625px;
    background: #eee9d2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 5px 8px 8px rgba(0, 0, 0, 0.45);
}

/* Franja superior */
.contact-top {
    height: 15px;
    display: flex;
}
.contact-top-left {
    width: 50%;
    background: #30352a;
}
.contact-top-right {
    width: 50%;
    background: #d7652b;
}

/* Contenido */
.contact-content {
    display: flex;
    padding: 40px 50px 45px;
    gap: 50px;
}
/* INFORMACIÓN  */
.contact-info {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    margin: 10px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}


.contact-data {
    margin-top: 50px;
}


.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
    font-size: 14px;
    color: #222;
}

.contact-item strong {
    font-weight: 700;
    margin-bottom: 1px;
}


/* FORMULARIO */

.contact-form {
    width: 50%;
}

.contact-form h2 {
    margin: 0 0 15px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: #d7652b;
}

.contact-form h2 span {
    color: #d7652b;
}


/* Inputs */

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: none;
    outline: none;
    background: #fff;
    border-radius: 7px;
    padding: 6px 9px;
    margin-bottom: 11px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form input {
    height: 28px;
}
/*
.contact-form textarea {
    height: 22px;
    resize: none;
}
*/

/* Placeholder */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a5a5a5;
}


/* Focus */

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(215, 101, 43, 0.25);
}


/* Botón */

.contact-form button {
    border: none;
    background: #d7652b;
    color: white;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
    box-shadow: 5px 6px 6px rgba(0, 0, 0, 0.4);
}

.btnContinuar {
  border: 1px solid #d7652b;
  color: white;
  background-color: #d7652b;
  padding: 7px;
  border-radius: 30px;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;  
}

/* ==========================================
   FOOTER
========================================== */

.footer {
    width: 100%;
    padding: 40px 20px;
    background: #a85e38;
    color: white;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 200px;
    padding: 40px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: white;
}
.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 900px) {

    .nav {
        gap: 20px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-overlay {
        min-height: 500px;
    }

    .cards {
        gap: 15px;
    }

    .card-simple-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .porqueviajar-titulo{
        background-image: url("../img/titulo-PORQUEVIAJARCONDVV.png");
        height: 30px; 
    }    

}

@media (max-width: 768px) {

    .porqueviajar-titulo{
        background-image: url("../img/titulo-PORQUEVIAJARCONDVV.png");
        height: 25px; 
    }

    .contact-section {
        padding: 30px 15px 80px;
    }

    .contact-box {
        width: 100%;
        max-width: 625px;
    }

    .contact-content {
        flex-direction: column;

        padding: 30px;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-data {
        margin-top: 30px;
    }

    .contact-item {
        margin-bottom: 20px;
    }

}


/* ==========================================
   RESPONSIVE - CELULAR
========================================== */

@media (max-width: 600px) {

    .container {
        padding: 0 20px;
    }


    /* HEADER */

    .header-logo {
        height: 55px;
    }

    .nav {
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 8px 15px;
    }

    .nav a {
        font-size: 9px;
    }


    /* HERO */

    .hero {
        min-height: 450px;
    }
    .hero-logo {
        width: 250px;
    }

    .hero-overlay {
        min-height: 450px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 65px);
    }

    .historia-titulo {
        height: 15px;
    }
    .porqueviajar-titulo{
        background-image: url("../img/titulo-PORQUEVIAJARCONDVV-mobile.png");
        height: 25px; 
    }
    .preguntas-titulo{
        height: 15px;
    }


    /* SECCIONES */
    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 22px;
    }


    /* CARDS */

    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        min-height: 160px;
    }

    /* FOOTER */
    .footer-container {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .footer-right {
        width: 100%;
        justify-content: flex-start;
    }

}




