@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,300;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}

.container {
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)), url(../images/mediakit/bg@1920.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.mx img {
    height: auto;
    width: 2.1em;
}

/*Hotel Costa de Oro*/
.media_bg {
    height: auto;
    background-image:url(../images/mediakit/palmera.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.icon__body{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.media_b{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem;
    gap: 8rem;
    text-align: center;
}

/* Grid: imagen (izq) + panel (der) */
.mediakit{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.85fr);
  min-height: 88vh;                 /* alto similar a la captura */
  width: 100%;
}

/* Imagen izquierda a full cover */
.mediakit__image{
  position: relative;
  overflow: hidden;
}
.mediakit__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Lista vertical de enlaces con icono y separadores */
.mediakit__links{
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.mk-link{
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e7e1d9;
  color: #504e4e;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  text-transform: none;
  transition: transform .15s ease, opacity .15s ease;
}
.mk-link:first-child{
  border-top: 1px solid #e7e1d9;
}
.mk-link:hover{
  transform: translateX(2px);
  opacity: .9;
}
.mk-icon{
  width: clamp(1.4rem, 2.2vw, 2rem);
  height: auto;
  flex: 0 0 auto;
}

/* Font Awesome en los links */
.mk-fa{
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  width: 1.8rem;           /* reserva ancho para alinear textos */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #ad9b85;
  transition: transform .15s ease, opacity .15s ease;
}

.mediakit__links .mk-link:hover .mk-fa{
  transform: translateX(2px);
  opacity: .9;
}


/* Panel derecho blanco */
.mediakit__panel{
  background: rgba(255,255,255,0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: left;
}

.menu__icon{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 3rem 5rem;
    background-color: #ad9b85;
}

.media__text{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
}

.media__text h1{
    font-size: clamp(1.2rem, 2.2vw, 2.3rem);
    font-weight: 300;
    color: #504e4e;
}

.media__text span{
    font-size: clamp(2.4rem, 5.2vw, 5rem);
    font-family: 'Times', 'Times New Roman', serif; /* fallback tipográfico */
    color: #ad9b85;
    font-style: italic;
    padding: 0 0.25rem;
    margin-top: -0.5rem;
    border-bottom: 3px solid #ad9b85;
    line-height: 1;
}

.icon3 img{
    width: 13rem;
    height: auto;
}

.menu__icon span{
    font-size: 1.6rem;
    color: #fff;
}

.media__text p{
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #504e4e;
}

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

.datos_body{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 3rem;
    gap: 4rem;
}

.datos{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.dbo{
    padding-right: 3rem;
    border-right: 2px solid #ad9b85; /* Grosor, color y estilo del borde derecho */
}

.cont__text h2{
    font-size: 2rem;
    font-family: "times";
    color: #504e4e;
    font-weight: 300;
}

.cont__text span{
    font-size: 5rem;
    font-family: "times";
    font-style: italic;
    color: #ad9b85;
    margin-top: -3.2rem;
}

.datos h1{
    font-size: 5rem;
    font-family: "times";
    color: #ad9b85;
    font-weight: 300;
}

.datos p{
    font-size: 1.5rem;
}


@media(max-width: 1500px) {
    .container {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/mediakit/bg@1500.png);
    }
}

@media(max-width: 1200px) {
    .container {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/mediakit/bg@1200.png);
    }
    
}

@media(max-width: 941px) {
    .datos_body{
        padding-top: 1rem;
        gap: 1rem;
    }

    .media_b{
        padding: 3rem 1rem;
    }
}


@media(max-width: 900px) {
    .container {
        height: 80vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/mediakit/bg@900.png);
    }
}

@media(max-width: 600px) {
    .container {
        height: 70vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/mediakit/bg@900.png);
    }

    .media__text h1{
        font-size: 1.5rem;
    }
    
    .media__text span{
        font-size: 3.5rem;
    }

    .media__text p{
        font-size: 1.2rem;
    }

    .media_b{
        gap: 4rem;
    }

    .cont__text h2{
        font-size: 1.5rem;
    }

    .cont__text span{
        font-size: 2.5rem;
        margin-top: -2.5rem;
    }

    .datos{
        gap: 1rem;
    }

    .datos h1{
        font-size: 2.5rem;
    }

    .datos p{
        font-size: 1.2rem;
    }

    .dbo{
        padding-right: 1rem;
    }

    .micon img{
        width: 8rem;
    }

    .micon2 img{
        width: 6rem;
    }

    .menu__icon2{
        padding: 3rem 3.5rem;
    }
}

/* ====== Responsivo (corrige alineación del título en móvil) ====== */
@media (max-width: 980px){
  .mediakit{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mediakit__image{
    height: 42vh;
  }
  .mediakit__panel{
    padding: 2rem 1.25rem;
    text-align: center;
    align-items: center;
  }

  /* 🔧 Clave: centra los hijos de .media__text */
  .mediakit__panel .media__text{
    align-items: center;    /* antes: flex-start */
    text-align: center;     /* centra h1, span y p */
    width: 100%;
  }
  .mediakit__panel .media__text span{
    align-self: center;     /* asegura que el <span> no se quede a la izquierda */
  }

  .mediakit__links .mk-link{
    justify-content: center;
  }
}


@media (max-width: 600px){
  .mediakit__image{ height: 36vh; }
  .media__text span{ border-width: 2px; }
}