/* ===== GENERAL ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 20px 20px 0;
  background-color: #f8f2e9;
  color: #2a1c16;
  font-family: 'Figtree', sans-serif;
}

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

a:hover {
  opacity: 0.85;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1, h2, h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

h2 {
  font-size: 44px;
  line-height: 1.1;
}

p {
  margin: 0;
}

.contenedor {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

section {
  scroll-margin-top: 24px;
}

.texto-gris {
  color: #6e5a4c;
  font-size: 16px;
  line-height: 1.55;
}

.texto-grande {
  color: #6e5a4c;
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
}

.etiqueta-seccion {
  display: inline-block;
  background-color: #2a1c16;
  color: #f8f2e9;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

/* ===== BOTONES ===== */
.boton-oscuro {
  display: inline-block;
  background-color: #2a1c16;
  color: #f8f2e9;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.boton-pequeno {
  padding: 12px 22px;
  font-size: 15px;
}

.boton-ancho {
  display: block;
  text-align: center;
  margin-top: auto;
}

.boton-borde {
  display: inline-block;
  border: 2px solid #2a1c16;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

/* ===== INICIO (HERO) ===== */
.hero {
  position: relative;
  background-color: #e8d7c5;
  border-radius: 36px;
  padding: 30px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.muesca {
  position: absolute;
  top: 52%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f8f2e9;
}

.muesca-izq {
  left: -17px;
}

.muesca-der {
  right: -17px;
}

.logo-pestana {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f8f2e9;
  padding: 0 16px 12px;
  border-radius: 0 0 28px 28px;
}

.logo-caja {
  display: block;
  width: 124px;
  height: 124px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(42, 28, 22, 0.18);
}

.menu-nav {
  display: grid;
  grid-template-columns: 1fr 172px 1fr;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.grupo-nav {
  display: flex;
  gap: 8px;
}

.derecha {
  justify-content: flex-end;
}

.boton-nav {
  background-color: rgba(255, 250, 243, 0.5);
  padding: 9px 14px;
  border-radius: 999px;
}

.boton-registro {
  border: none;
  background-color: #2a1c16;
  color: #f8f2e9;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.titulo-caja {
  background-color: rgba(255, 250, 243, 0.5);
  border-radius: 999px;
  padding: 30px 48px;
  text-align: center;
  margin-top: 64px;
}

h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-contenido {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 32px;
  align-items: end;
}

.hero-texto {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: center;
}

.hero-texto p {
  font-size: 19px;
  line-height: 1.55;
  color: #4f3b2d;
}

.botones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-foto {
  aspect-ratio: 1 / 1;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  border: 8px solid rgba(255, 250, 243, 0.5);
}

.hero-etiqueta-caja {
  display: flex;
  justify-content: flex-end;
}

.etiqueta {
  background-color: #2a1c16;
  color: #f8f2e9;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}

.etiqueta strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.etiqueta span {
  font-size: 14px;
}

.punto {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f8f2e9;
  flex-shrink: 0;
}

/* ===== NOSOTROS ===== */
.nosotros {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}

.nosotros-izq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.nosotros-foto {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
}

.nosotros-foto img {
  object-position: 50% 20%;
}

.nosotros-der {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 8px;
}

.nosotros-der .etiqueta-seccion {
  margin-bottom: 0;
}

.datos {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid #ecdfcd;
}

.datos strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 30px;
  font-weight: 600;
}

.datos span {
  color: #6e5a4c;
  font-size: 15px;
}

/* ===== MENÚ ===== */
.menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.menu-encabezado {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.producto {
  background-color: #fffaf3;
  border-radius: 28px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}

.producto:hover {
  transform: translateY(-4px);
}

.producto-foto {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 14px;
}

.producto-info {
  padding: 0 8px 8px;
}

.producto-titulo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.producto-titulo h3 {
  font-size: 23px;
}

.producto-titulo span {
  font-weight: 700;
  font-size: 16px;
}

.producto-info p {
  font-size: 14.5px;
  line-height: 1.5;
  color: #6e5a4c;
}

/* ===== PEDIDOS ===== */
.pedidos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pedidos-izq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.circulos {
  display: flex;
}

.circulo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #2a1c16;
  border: 3px solid #f8f2e9;
  margin-left: -8px;
}

.circulo:first-child {
  margin-left: 0;
  border: none;
}

.dias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  padding-top: 8px;
}

.dia {
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.dia strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.dia .punto {
  width: 10px;
  height: 10px;
}

.dia-oscuro {
  background-color: #2a1c16;
  color: #f8f2e9;
}

.dia-claro {
  background-color: #e8d7c5;
  color: #2a1c16;
}

.dia-claro .punto {
  background-color: #2a1c16;
}

.tarjeta-fondo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #e8d7c5;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 32px 120px;
}

.tarjeta {
  width: 100%;
  max-width: 420px;
  background-color: #fffaf3;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: rotate(-3deg);
  box-shadow: 0 18px 40px rgba(42, 28, 22, 0.22);
}

.tarjeta-encabezado {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tarjeta-encabezado img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.tarjeta-encabezado strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 26px;
  font-weight: 600;
}

.tarjeta-encabezado span {
  font-size: 14px;
  color: #6e5a4c;
}

.sellos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sello {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed #ecdfcd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sellado {
  background-color: #2a1c16;
  border-color: #2a1c16;
}

.gratis {
  background-color: #2a1c16;
  border-color: #2a1c16;
  color: #f8f2e9;
  font-weight: 800;
  font-size: 12px;
}

.sello-texto {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #6e5a4c;
}

.patita {
  position: relative;
  width: 46%;
  height: 46%;
}

.patita span {
  position: absolute;
  background-color: #fffaf3;
  border-radius: 50%;
}

.almohadilla {
  left: 22%;
  bottom: 0;
  width: 56%;
  height: 50%;
}

.dedo {
  width: 20%;
  height: 24%;
}

.d1 { left: 0; top: 30%; }
.d2 { left: 24%; top: 4%; }
.d3 { right: 24%; top: 4%; }
.d4 { right: 0; top: 30%; }

.tarjeta-pie {
  border-top: 2px dashed #ecdfcd;
  padding-top: 14px;
  font-size: 13px;
  color: #6e5a4c;
}

.pruebalo {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background-color: #e8d7c5;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pruebalo strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.pruebalo span {
  font-size: 14px;
  color: #4f3b2d;
}

.boton-escribenos {
  background-color: #2a1c16;
  color: #f8f2e9;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* ===== INSTAGRAM ===== */
.instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.perfil {
  width: 100%;
  max-width: 720px;
  background-color: #ffffff;
  color: #262626;
  border: 1px solid #e6e1da;
  border-radius: 28px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(42, 28, 22, 0.08);
}

.perfil-aro {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 200deg, #f9a03f, #e1306c, #c13584, #833ab4, #f9a03f);
}

.perfil-blanco {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 5px;
  background-color: #ffffff;
}

.perfil-blanco img {
  border-radius: 50%;
}

.perfil-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perfil-usuario {
  display: flex;
  align-items: center;
  gap: 14px;
}

.perfil-usuario strong {
  font-size: 26px;
}

.perfil-usuario span {
  font-size: 22px;
}

.perfil-nombre {
  font-size: 15px;
  color: #555555;
}

.perfil-bio {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 1.45;
}

.perfil-botones {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.boton-seguir,
.boton-mensaje {
  padding: 8px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.boton-seguir {
  background-color: #0095f6;
  color: #ffffff;
}

.boton-mensaje {
  background-color: #efefef;
  color: #262626;
}

/* ===== PIE DE PÁGINA ===== */
.pie {
  background-color: #e8d7c5;
  border-radius: 36px 36px 0 0;
  padding: 48px 48px 32px;
  scroll-margin-top: 24px;
}

.pie-columnas {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.pie-marca {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pie-logo {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
}

.pie-marca p {
  color: #4f3b2d;
  line-height: 1.55;
  max-width: 300px;
}

.pie-columna {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #4f3b2d;
}

.pie-columna strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #2a1c16;
}

.pie-enlace {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pie-enlace span {
  text-decoration: underline;
}

.pie-copy {
  border-top: 1px solid rgba(42, 28, 22, 0.15);
  padding-top: 20px;
  font-size: 14px;
  color: #4f3b2d;
}

/* ===== VENTANA DE DETALLE ===== */
.detalle-fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 14, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.oculto {
  display: none;
}

.detalle {
  width: 860px;
  max-width: 100%;
  background-color: #fffaf3;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.detalle-foto {
  aspect-ratio: 1 / 1;
}

.detalle-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.boton-cerrar {
  align-self: flex-end;
  border: none;
  background-color: #ecdfcd;
  color: #2a1c16;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.detalle-info h3 {
  font-size: 36px;
}

.detalle-info p {
  font-size: 17px;
  line-height: 1.6;
  color: #6e5a4c;
}

.detalle-precio strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-right: 8px;
}

.detalle-precio span {
  color: #6e5a4c;
}

/* ===== REGISTRO ===== */
.registro {
  width: 440px;
  max-width: 100%;
  background-color: #fffaf3;
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.registro-encabezado {
  display: flex;
  align-items: center;
  gap: 14px;
}

.registro-encabezado img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  flex-shrink: 0;
}

.registro-encabezado h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.registro-encabezado .texto-gris {
  font-size: 14px;
}

.registro-formulario {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.registro-formulario label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}

.registro-formulario input {
  width: 100%;
  background-color: #f8f2e9;
  border: 2px solid #ecdfcd;
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: #2a1c16;
}

.registro-formulario input:focus {
  border-color: #2a1c16;
  outline: none;
}

.boton-formulario {
  border: none;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
}
