body{
margin:0;
font-family:'Cormorant Garamond',serif;

background:
linear-gradient(#f7f9fc8f,#f7f9fc8f),
url("../assets/descarga.jfif");
}


/* HERO */

.hero-rec{
max-width:420px;
margin:auto;
position:relative;
}

.hero-rec img{
width:100%;
height:220px;
object-fit:cover;
border-radius:16px;
}

.hero-rec h1{
position:absolute;
bottom:14px;
left:0;
right:0;
text-align:center;
color:white;
font-family:'Playfair Display',serif;
text-shadow:0 2px 6px rgba(0,0,0,.4);
}


/* SECCIONES */

.section{
max-width:420px;
margin:40px auto;
padding:0 20px;
}

.section h2{
text-align:center;
font-family:'Playfair Display',serif;
color:#1f3a5f;
margin-bottom:20px;
}


/* MAPA */

.mapa iframe{
width:100%;
height:200px;
border:0;
border-radius:12px;
}


/* INTRO */

.intro{
text-align:center;
font-size:15px;
color:#555;
margin-bottom:25px;
}


/* LUGARES */

.lugares{
display:flex;
flex-direction:column;
gap:18px;
}

.lugar{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.lugar img{
width:100%;
height:150px;
object-fit:cover;
}

.lugar h3{
font-family:'Playfair Display', serif;
color:#1f3a5f;
margin:12px 14px 4px;
}

.lugar p{
margin:0 14px 16px;
font-size:14px;
color:#555;
line-height:1.4;
}

.divider{
  width: 60%;
  height: 100%;
  margin: 0 auto;
  display: block;
}

/* =========================
   HOSPEDAJE
========================= */

.cards-hospedaje{
display:grid;
gap:20px;
margin-top:20px;
}

.card-hotel{
perspective:1000px;
}

.card-inner{
position:relative;
width:100%;
height:240px;
transform-style:preserve-3d;
transition:transform 0.6s cubic-bezier(0.25,1,0.5,1);
cursor:pointer;
}

.card-hotel.active .card-inner{
transform:rotateY(180deg);
}


/* FRONT */

.card-front{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:18px;
  overflow:hidden;
  backface-visibility:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);

  display:flex;
  flex-direction:row;
  align-items:center;

  background:white;
}

/* imagen */

.card-img{
  width:40%;
  height:100%;
  object-fit:cover;
  border-radius:18px 0 0 18px;
}

/* overlay */

.card-front::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to bottom,transparent 70%,rgba(255,255,255,0.6));
border-radius:18px;
}

/* borde glass */

.card-front::before{
content:"";
position:absolute;
inset:0;
border-radius:18px;
border:1px solid rgba(255,255,255,0.3);
pointer-events:none;
}

/* badge */

.badge{
position:absolute;
top:10px;
right:10px;
background:white;
font-size:12px;
padding:4px 10px;
border-radius:12px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
z-index:2;
}
.badge img{
  width:14px;
  height:14px;
  object-fit:contain;
}

/* info */

.card-info{
padding:12px;
z-index:2;
}

.card-front h3{
font-size:16px;
margin:0;
color:#1f3a5f;
}

.card-front p{
font-size:13px;
color:#666;
margin-top:2px;
}

.btn-card{
margin-top:8px;
font-size:12px;
padding:6px 14px;

border-radius:20px;
border:1px solid #3b6ea5;

background:transparent;
color:#3b6ea5;

cursor:pointer;
transition:all 0.2s ease;
}

.btn-card:hover{
background:#3b6ea5;
color:white;
}

.card-front,
.card-back{
  box-sizing: border-box;
}
/* BACK */

.card-back{
position:absolute;
width:100%;
height:100%;
border-radius:18px;
background:linear-gradient(#ffffff,#f9fbfd);
padding:18px;
transform:rotateY(180deg);
backface-visibility:hidden;

display:flex;
flex-direction:column;
justify-content:space-between;

box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.card-back h4{
margin:0 0 10px;
color:#1f3a5f;
font-size: 20px;
}

.card-back ul{
list-style:none;
padding:0;
margin:0;
}

.card-back li{
font-size:16px;
margin-bottom:6px;
}

.card-back li::before{
content:"•";
color:#3b6ea5;
margin-right:6px;
}

.card-back a{
font-size:16px;
text-decoration:none;
color:#3b6ea5;
font-weight:500;
}

.card-back a:hover{
text-decoration:underline;
}


/* hover */

.card-hotel:hover .card-front{
transform:translateY(-4px);
}


/* colores por card */
.card-hotel:nth-child(2) .card-front{
border-top:4px solid #95a58d;
}

.card-hotel:nth-child(3) .card-front{
border-top:4px solid #c0cfb2;
}


.card-hotel:nth-child(1) .card-front::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:#3b6ea5;
  border-radius:18px 18px 0 0;
}

/* =========================
   TRANSPORTE
========================= */

.transporte{
max-width:420px;
margin:60px auto;
}

.transporte h3{
text-align:center;
margin-bottom:32px;
}

.transporte-item{
display:flex;
gap:18px;
align-items:flex-start;
padding:18px 20px;
margin:18px 0;
background:white;
border-radius:14px;
box-shadow:0 6px 14px rgba(0,0,0,0.06);
}

.transporte-item img{
width:34px;
height:34px;
object-fit:contain;
}

.transporte-item h4{
margin:0;
font-size:18px;
color:#1f3a5f;
}

.transporte-item p{
margin:6px 0 8px;
font-size:15px;
line-height:1.5;
}

.transporte-item a{
font-size:14px;
color:#1f3a5f;
}


/* =========================
   TIPS
========================= */

.tips{
display:flex;
justify-content:space-between;
gap:12px;
margin-top:20px;
}

.tip{
background:white;
border-radius:12px;
padding:14px 10px;
text-align:center;
box-shadow:0 6px 16px rgba(0,0,0,0.06);
flex:1;
}

.tip img{
width:36px;
height:36px;
object-fit:contain;
margin-bottom:6px;
}

.tip p{
font-size:13px;
line-height:1.3;
margin:0;
}


/* FOOTER */

.footer{
max-width:420px;
margin:50px auto;
text-align:center;
}

.volver{
background:#1f3a5f;
color:white;
padding:12px 20px;
border-radius:30px;
text-decoration:none;
font-size:14px;
}