/* =========================================
   GLOW & TIPS - Hoja de estilos
   ========================================= */

/* ===== ESTILOS GENERALES ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  background: #fff7f9;
  color: #2d2226;
  line-height: 1.6;
}

.contenedor {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

a {
  color: #2d2226;
  text-decoration: none;
}

/* ===== ENCABEZADO ===== */
header {
  background: #fce4ec;
  border-radius: 28px;
  padding: 45px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h1 {
  font-style: italic;
  font-size: 64px;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.logo h1 span {
  color: #e0598b;
  font-size: 38px;
  font-style: normal;
}

.logo p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #7a6168;
  letter-spacing: 1px;
}

.frase {
  display: flex;
  align-items: center;
  gap: 18px;
  background: white;
  padding: 18px 24px;
  border-radius: 20px;
}

.frase p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  margin: 0;
}

.frase .iconos {
  font-size: 42px;
}

/* ===== MENÚ ===== */
nav {
  position: sticky;
  top: 10px;
  z-index: 10;
  background: white;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(224, 89, 139, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  margin: 18px 0 28px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

nav a {
  display: block;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s;
}

nav a:hover {
  background: #fdf0f4;
}

nav a.activo {
  background: #e0598b;
  color: white;
}

nav input {
  padding: 10px 18px;
  border: 1px solid #f3dde4;
  background: #fdf5f8;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  width: 220px;
  outline: none;
}

nav input:focus {
  border-color: #e0598b;
}

/* ===== TARJETAS BLANCAS (se usan en todo el blog) ===== */
article,
.caja,
.pagina {
  background: white;
  border: 1px solid #f5e1e8;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(224, 89, 139, 0.07);
}

/* ===== CONTENIDO PRINCIPAL (2 COLUMNAS) ===== */
.principal {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== ARTÍCULO ===== */
article {
  padding: 30px;
}

.presentacion {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.imagen {
  background: #fce4ec;
  border-radius: 20px;
  min-width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

article h2 {
  font-size: 28px;
  margin: 0 0 8px;
  line-height: 1.25;
}

.fecha {
  display: inline-block;
  background: #fdf0f4;
  color: #b83b6a;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 0 0 12px;
}

/* Los 5 tips */
.tip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #f7e8ed;
}

.numero {
  background: #e0598b;
  color: white;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
}

.tip-texto {
  flex: 1;
}

.tip h3 {
  margin: 0;
  font-size: 19px;
}

.tip p {
  margin: 2px 0 0;
  color: #7a6168;
}

.tip-icono {
  font-size: 34px;
  background: #fdf0f4;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listo {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  color: #e0598b;
  margin: 20px 0 0;
}

.listo span {
  background: #fdf0f4;
  padding: 6px 28px;
  border-radius: 30px;
}

/* ===== BARRA LATERAL ===== */
aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.caja {
  padding: 24px;
}

.caja h3 {
  font-size: 21px;
  margin: 0 0 16px;
}

.caja ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caja li {
  padding: 8px 0;
  border-bottom: 1px solid #f7e8ed;
}

.caja li:last-child {
  border-bottom: none;
}

.caja a:hover {
  color: #e0598b;
}

.corazon {
  color: #e0598b;
  margin-right: 8px;
}

.recientes li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.recientes .numero {
  min-width: 28px;
  height: 28px;
  font-size: 14px;
  background: #efe7fb;
  color: #6b4fa0;
}

.gracias {
  text-align: center;
  color: #7a6168;
  margin: 12px 0 0;
}

.cita {
  text-align: center;
  background: #efe7fb;
  border: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  padding: 32px 24px;
}

/* ===== PIE DE PÁGINA ===== */
footer {
  background: #2d2226;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 30px;
  border-radius: 28px;
  font-size: 22px;
}

footer span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

/* ===== PÁGINAS DE SECCIÓN ===== */
.pagina {
  padding: 40px;
}

.pagina h2 {
  font-size: 38px;
  margin: 0 0 8px;
}

.intro {
  color: #7a6168;
  font-size: 18px;
  max-width: 700px;
  margin: 0 0 30px;
}

/* Tarjetas en cuadrícula */
.cuadricula {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tarjeta {
  background: #fffafb;
  border: 1px solid #f5e1e8;
  border-radius: 20px;
  padding: 24px;
}

.tarjeta .emoji {
  font-size: 32px;
  background: #fce4ec;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tarjeta h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.tarjeta p {
  margin: 0 0 14px;
  color: #7a6168;
}

.etiqueta {
  display: inline-block;
  background: #fce4ec;
  color: #b83b6a;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

/* Bloques de contenido (brochas, errores, rutina) */
.tutorial {
  background: #fffafb;
  border: 1px solid #f5e1e8;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 24px;
}

.tutorial h3 {
  font-size: 24px;
  margin: 0 0 14px;
}

.datos {
  display: inline-block;
  background: #efe7fb;
  color: #6b4fa0;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0 0 10px;
}

.tutorial ul,
.tutorial ol {
  margin: 0;
  padding-left: 22px;
}

.tutorial li {
  margin-bottom: 8px;
}

/* Sobre el blog */
.sobre-mi {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}

.foto {
  background: #fce4ec;
  border-radius: 50%;
  min-width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.sobre-mi p {
  font-size: 17px;
  line-height: 1.8;
}

.firma {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 32px;
  color: #e0598b;
  margin: 10px 0 0;
}

/* ===== VERSIÓN PARA CELULAR ===== */
@media (max-width: 800px) {
  .principal {
    grid-template-columns: 1fr;
  }
  .presentacion,
  .sobre-mi {
    flex-direction: column;
    align-items: center;
  }
  header {
    padding: 30px;
  }
  .logo h1 {
    font-size: 46px;
  }
  nav {
    position: static;
    border-radius: 24px;
  }
  nav input {
    width: 100%;
  }
  .pagina {
    padding: 25px;
  }
}
