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

body{
    font-family: "Poppins", sans-serif;
    background:#f5f5f5;
    color:#222;
    margin-top: 82px;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   HEADER / NAVIGATION
========================= */
#inicio .contenido header {
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

#inicio .contenido header .contenido-header {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

#icono-nav{
  display:none;
  font-size:2rem;
  cursor:pointer;
  color:#C62828;
}

#inicio .contenido header .contenido-header nav{
  margin-left:auto;
  margin-right:auto;
}

#inicio .contenido header .contenido-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap:3rem;
}

#inicio .contenido header .contenido-header nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 400;
    transition: .5s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#inicio .contenido header .contenido-header nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-6px;
    height:2px;
    background:#D62828;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .35s ease;
}

#inicio .contenido header .contenido-header nav ul li a:hover{
    color:#D62828;
}

#inicio .contenido header .contenido-header nav ul li a:hover::after{
    transform:scaleX(1);
}

#inicio .contenido header .contenido-header .seleccionado{
    color:#D62828;
}

#inicio .contenido header .contenido-header .seleccionado::after{
    transform:scaleX(1);
}

.logo{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: opacity .3s ease;
}

.logo:hover{
    opacity:85;
}

.logo-main{
  width: 140px;
  object-fit: contain;
}

.login-btn{
  background:#4CAF50;
  color:white;
  border:none;
  padding:12px 20px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}

.login-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(76,175,80,0.3);
}

.cerrar-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
    color: #C62828;
    font-size:2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.cerrar-menu:hover {
    color: #C62828;
    transform: rotate(90deg);
}

.login-btn-mobile{
  display:none;
}

.hero{
    position:relative;
    height: 60vh;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:3rem;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.8),
        rgba(0,0,0,.2)
    );

    color:white;
}

.hero-overlay h1{
    font-size:4rem;
}

.hero-overlay p{
    max-width:600px;
    margin-top:1rem;
    line-height:1.6;
}

.destination-info p{
    font-size:1.15rem;
    line-height: 1.5;
    color: #444;
    max-width: 1000px;
    text-align: justify;
}

.destination-info,
.places,
.cta{
    max-width:1200px;
    margin:auto;
    padding:5rem 2rem;
}

.destination-info{
    background:white;
    border-radius:24px;
    padding:3rem;
    margin-top:4rem;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.destination-info h2{
    color:#C62828;
    font-size: 2.5rem;
    margin-bottom:1.5rem;
    position: relative;
}

.destination-info h2::after{
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #C62828;
    margin-top: 10px;
    border-radius: 20px;
}

.places h2{
    color:#C62828;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.places-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:2rem;
    margin-top:2rem;
    align-items: start;
}

.place-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 08);
    transition:.3s ease;  
}

.place-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.place-card article{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}

.place-card.active article{
    max-height: 300px;
}

.place-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.place-card-content{
    padding:1.25rem;
}

.place-card-content h3{
    margin-bottom: .75rem;
    color: #C62828;
}

.place-card-content article p{
    color:#222;
    line-height:1.6;
    text-align:justify;
}

.gastronomy{
    max-width:1200px;
    margin:auto;
    padding:5rem 2rem;
}

.gastronomy h2{
    color:#C62828;
    text-align:center;
    font-size:2.5rem;
    margin-bottom:1rem;
}

.gastronomy-description{
    max-width:900px;
    margin:0 auto 3rem;
    text-align:center;
    line-height:1.8;
    font-size:1.1rem;
    color:#555;
}

.gastronomy-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:2rem;
    align-items:start;
}

.food-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s ease;
}

.food-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.food-card article{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}

.food-card.active article{
    max-height: 300px;
}

.food-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.food-card-content{
    padding:1.25rem;
}

.food-card-content h3{
    margin-bottom:.75rem;
    color: #C62828;
}

.food-card-content article p{
    color:#222;
    line-height:1.6;
    text-align:justify;
}

.cta{
    text-align:center;
}

.cta h2{
    font-size:2.5rem;
    margin-bottom:1rem;
}

.cta p{
    color:#666;
    font-size:1.1rem;
    margin-bottom:2rem;
    line-height:1.8;
}

.btn-buy{
    display:inline-block;
    padding:1rem 2.5rem;
    background:#C62828;
    color:white;
    text-decoration:none;
    border-radius:12px;
    font-weight:600;
    transition:.3s ease;
}

.btn-buy:hover{
    background:#a91f1f;
    transform:translateY(-2px);
}

.footer{
  background:#fff;
  margin-top:6rem;
  border-top:1px solid #e5e7eb;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.2fr;
  gap:3rem;
  padding:2.5rem 0;
  align-items: start;
}

.footer-main{
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.footer-section{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}

.footer-brand img{
  width: 140px;
  margin-bottom:0;
  margin-left: 1.5rem;
}

.footer-brand p{
  color:#666;
  line-height:1.7;
}

.footer h4{
  color:#D62828;
  margin-bottom:1rem;
  font-size:1.1rem;
}

.footer a{
  display:block;
  text-decoration:none;
  color:#555;
  margin-bottom:.75rem;
  transition:.3s;
}

.footer a:hover{
    color:#D62828;
}

.footer-contact{
  display:flex;
  align-items:center;
  gap:.35rem;
  color:#555;
  margin-top:.5rem;
}

.footer-contact i{
  font-size:1.15rem;
  color:#25D366; 
}

.footer-contact span{
  font-size:1rem;
}

.footer-social{
  display:flex;
  gap:1rem;
  margin-top:1rem;
}

.footer-social a{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#707070;
    font-size: 2rem;
    opacity: 8;
    transition:
      color .3s ease,
      transform .3s ease,
      opacity .3s ease;
}

.footer-social a:hover{
  opacity: 1;
  color: #D62828;
  transform:translateY(-6px) scale(1.12);
}

.footer-bottom{
  border-top:1px solid #e5e7eb;
  text-align:center;
  padding:1.5rem;
  color:#777;
}

@media (min-width: 769px){
    .place-card:hover article,
    .food-card:hover article{
        max-height: 300px;
        opacity:1;
    }

}

/* Desktop */
.footer-toggle{
  display:block;
  border:none;
  background:none;
  color:#D62828;
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:1rem;
  cursor:default;
  pointer-events:none;
}

.footer-toggle i{
  display:none;
}

/* MOBILE */
@media (max-width: 768px){
    #icono-nav{
        display:block;
    }

    .login-btn{
        display:none;
    }

    .cerrar-menu{
        display:block;
    }

    #inicio .contenido header .contenido-header nav{
        position:fixed;
        top:0;
        right:-100%;
        width:280px;
        box-shadow:-10px 0 30px rgba(0,0,0,.15);
        height:100vh;
        background:#fff;
        transition:.35s ease;
        z-index:1000;
        padding-top:90px;
    }

    #inicio .contenido header .contenido-header nav.responsive{
        right:0;
    }

    #inicio .contenido header .contenido-header nav ul{
        flex-direction:column;
        align-items:flex-start;
        padding:0 2rem;
        gap:.5rem;
    }

    #inicio .contenido header .contenido-header nav ul li{
        width:100%;
        margin-bottom:.75rem;
    }

    #inicio .contenido header .contenido-header nav ul li a{
        justify-content:flex-start;
        font-size:1.1rem;
        width:fit-content;
    }

    .login-btn-mobile{
        display:block;
        margin:1rem 2rem 0;
        padding:14px;
        border:none;
        border-radius:12px;
        background:#4CAF50;
        color:white;
    }

    .hero{
        height: 55vh;
    }

    .hero-overlay{
        padding: 1.5rem;
    }

    .hero-overlay h1{
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-overlay p{
        font-size: 1rem;
        margin-top: .75rem;
    }

    .destination-info,
    .places,
    .gastronomy,
    .cta{
        padding: 3rem 1rem;
    }

    .destination-info{
        margin-top: 2rem;
        padding: 2rem;
        border-radius: 20px;
    }

    .destination-info h2,
    .places h2,
    .gastronomy h2,
    .cta h2{
        font-size: 2rem;
    }

    .destination-info p,
    .gastronomy-description,
    .cta p{
        font-size: 1rem;
    }

    .cta p{
        font-size: 1rem;
    }

    .places-grid,
    .gastronomy-grid{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .place-card img{
        height: 220px;
    }

    .place-card:hover,
    .food-card:hover{
        transform:none;
        box-shadow:0 5px 20px rgba(0,0,0,.08);
    }

    .food-card img{
        height: 200px;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .footer-brand{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .footer-brand img,
    .footer-brand-text{
        margin-left:0;
    }

    .footer-social{
        justify-content:center;
    }

    .footer-contact{
        justify-content:center;
    }

    .footer-accordion{
        padding:0;
    }

    .footer-toggle{
        width:100%;
        background:none;
        border:none;
        display:flex;
        justify-content:space-between;
        align-items:center;
        font-size:1.15rem;
        font-weight:700;
        color:#D62828;
        padding:.75rem 1.5rem;
        cursor:pointer;
        pointer-events: auto;
    }

    .footer-toggle i{
        display:inline-block;
        font-size:1.6rem;
        transition:.3s;
    }

    .footer-content{
        max-height:0;
        overflow:hidden;
        display:flex;
        flex-direction:column;
        gap:.75rem;
        transition:max-height .35s ease;
        padding:0 1.5rem;
    }

    .footer-accordion.active .footer-content{
        max-height:200px;
    }

    .footer-accordion.active .footer-toggle i{
        transform:rotate(180deg);
    }
}

@media (max-width: 480px){

    .hero-overlay h1{
        font-size: 2.6rem;
    }

    .hero-overlay p{
        font-size: .95rem;
        line-height: 1.6;
    }

    .destination-info h2,
    .places h2,
    .gastronomy h2,
    .cta h2{
        font-size: 1.8rem;
    }
}