
:root {
  --turquesa: #66d9cf;
  --turquesa-oscuro: #247f7b;
  --rosa: #d000a0;
  --amarillo: #fff3a5;
  --crema: #f4fffc;
  --texto: #244b48;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--texto);
  background: var(--crema);
}

/* ENCABEZADO */

.encabezado {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 25px 16px;
  background: var(--turquesa);
}

/* LOGO A LA IZQUIERDA Y CENTRADO VERTICALMENTE */

.logo-enlace {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(60px, 13vw, 140px);
}

.logo-img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.texto-header {
  width: 100%;
  text-align: center;
}

.logo {
  margin: 0;
  color: var(--rosa);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(32px, 7vw, 70px);
  font-weight: bold;
}

.subtitulo {
  margin: 5px 0 15px;
  letter-spacing: 5px;
  font-size: 13px;
  font-weight: bold;
}

/* NAVEGACIÓN */

.navegacion {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.navegacion a {
  color: var(--turquesa-oscuro);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.navegacion a:hover,
.navegacion a.activo {
  color: var(--rosa);
  border-bottom-color: var(--rosa);
}

/* BOTONES */

.boton {
  display: inline-block;
  padding: 13px 24px;
  background: var(--rosa);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.boton:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* CONTENIDO PRINCIPAL */

.contenido {
  max-width: 850px;
  margin: 0 auto;
  padding: 30px 16px;
}

.inicio {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 55px 20px;
}

.bienvenida {
  text-align: center;
  margin-bottom: 28px;
}

.inicio .bienvenida {
  max-width: 650px;
  margin: 0 auto;
}

.bienvenida h2 {
  font-size: clamp(25px, 5vw, 36px);
  color: var(--turquesa-oscuro);
  margin-bottom: 8px;
}

.bienvenida p {
  line-height: 1.8;
}

.descripcion {
  max-width: 580px;
  margin: 0 auto 25px;
}

.etiqueta {
  color: var(--rosa);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* TARJETAS DEL MENÚ */

.categoria {
  background: white;
  border: 2px solid #c3eee8;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px #247f7b0d;
}

.categoria h3 {
  color: var(--turquesa-oscuro);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--amarillo);
  font-size: 23px;
}

.producto {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #c3ddd9;
}

.producto:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nombre {
  font-weight: 600;
  line-height: 1.5;
}

.precio {
  color: var(--rosa);
  font-weight: bold;
  white-space: nowrap;
}

/* FRASE DECORATIVA */

.frase {
  text-align: center;
  background: var(--amarillo);
  padding: 25px 16px;
  font-size: 19px;
  font-weight: bold;
  color: var(--turquesa-oscuro);
}

/* PIE DE PÁGINA */

footer {
  background: var(--turquesa);
  text-align: center;
  padding: 24px 12px;
  color: #174f49;
  line-height: 1.8;
}

footer strong {
  color: var(--rosa);
  font-size: 23px;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #174f49;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* TABLETAS Y CELULARES */

@media (max-width: 600px) {
  .encabezado {
    padding: 20px 10px;
  }

  .logo-enlace {
    left: 10px;
    width: clamp(45px, 12vw, 65px);
  }

  .logo-img {
    max-width: 100%;
  }

  .logo {
    font-size: clamp(25px, 7vw, 38px);
  }

  .subtitulo {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .navegacion {
    gap: 18px;
    margin-top: 12px;
  }

  .navegacion a {
    font-size: 14px;
  }

  .contenido {
    padding: 25px 12px;
  }

  .categoria {
    padding: 17px;
  }

  .categoria h3 {
    font-size: 21px;
  }

  .producto {
    gap: 8px;
  }

  .nombre,
  .precio {
    font-size: 14px;
  }

  .inicio {
    min-height: 50vh;
    padding: 40px 16px;
  }

  .frase {
    font-size: 16px;
  }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 360px) {
  .encabezado {
    padding: 16px 8px;
  }

  .logo-enlace {
    left: 7px;
    width: 42px;
  }

  .logo {
    font-size: 25px;
  }

  .navegacion {
    gap: 14px;
  }

  .boton {
    padding: 11px 14px;
    font-size: 12px;
  }

  .producto {
    align-items: flex-start;
  }

  .nombre,
  .precio {
    font-size: 13px;
  }
}
