/* ==========================================================
   Bárbara Torres · Landing
   Índice:
   1. Variables (colores y fuentes)
   2. Base
   3. Botones y links
   4. Encabezado
   5. Hero
   6. Secciones (estructura común)
   7. En qué te puedo ayudar
   8. ¿Para qué negocios?
   9. Proyectos: Pedidos y Stock
   10. Diseño: Anto Nails
   11. Cómo trabajo
   12. Contacto y pie
   13. Responsive (tablet y celular)
   ========================================================== */

/* 1. Variables ------------------------------------------- */
:root {
  --vino: #7A1E3A;
  --vino-oscuro: #561228;
  --texto: #2A1F22;
  --texto-medio: #4A3B3F;
  --texto-suave: #5A4A4F;
  --texto-tenue: #6B5A5F;
  --crema: #F7F2EF;
  --blanco: #fff;
  --rosa: #E9C9CF;
  --rosa-claro: #F6E4E8;
  --rosa-fondo: #EFE6E8;
  --rosa-texto: #F6DCE3;
  --borde: #EADFE1;
  --borde-captura: #E6DADC;

  --fuente-titulos: 'Bricolage Grotesque', sans-serif;
  --fuente-texto: Figtree, system-ui, sans-serif;

  --ancho-max: 1200px;
  --margen-lateral: 28px;
}

/* 2. Base ------------------------------------------------ */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fuente-texto);
  color: var(--texto);
  background: var(--crema);
}
h1, h2, h3, p, ul, ol { margin: 0; }
img { max-width: 100%; }
a { color: var(--vino); }
a:hover { color: var(--vino-oscuro); }

.contenedor {
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding-left: var(--margen-lateral);
  padding-right: var(--margen-lateral);
}

.titulo-seccion {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.texto {
  font-size: 18px;
  line-height: 1.6;
  color: var(--texto-medio);
}

.texto-grande {
  font-size: 19px;
  line-height: 1.6;
  color: var(--texto-medio);
}

/* 3. Botones y links ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-primario,
.btn-primario:hover {
  background: var(--vino);
  color: var(--blanco);
}

.btn-borde,
.btn-borde:hover {
  color: var(--vino);
  border: 2px solid var(--vino);
}

.btn-blanco,
.btn-blanco:hover {
  background: var(--blanco);
  color: var(--vino);
}

.btn-chico  { padding: 11px 20px; }
.btn-grande { padding: 17px 26px; min-height: 52px; font-size: 17px; font-weight: 600; }

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--vino);
}
.card-link:hover { text-decoration: underline; }

/* 4. Encabezado ------------------------------------------ */
.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo,
.logo:hover {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--texto);
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 500;
}

.nav-link,
.nav-link:hover {
  text-decoration: none;
  color: var(--texto-medio);
}

/* 5. Hero ------------------------------------------------ */
.hero {
  padding-top: 48px;
  padding-bottom: 88px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Avatar redondo: solo se ve en celular */
.hero-avatar {
  display: none;
  width: 120px;
  height: 120px;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 4px solid var(--rosa);
}

.hero-titulo {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-bajada {
  font-size: 20px;
  line-height: 1.55;
  color: var(--texto-suave);
  max-width: 540px;
}

.hero-acciones {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-nota {
  font-size: 15px;
  color: var(--texto-tenue);
}

/* Foto grande: solo en tablet y escritorio */
.hero-foto {
  flex: none;
  width: clamp(240px, 30vw, 360px);
}

.hero-foto-marco {
  position: relative;
  width: 100%;
}

.hero-foto-marco::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  background: var(--rosa);
  border-radius: 30px;
}

.hero-foto-marco img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 30px;
}

/* 6. Secciones ------------------------------------------- */
.fondo-blanco { background: var(--blanco); }
.fondo-rosa   { background: var(--rosa-fondo); }

.seccion {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.seccion--alta {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* 7. En qué te puedo ayudar ------------------------------ */
.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 48px;
}

.servicio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.servicio-titulo {
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 25px;
  color: var(--vino);
}

.servicios-nota {
  font-size: 18px;
  color: var(--texto-medio);
  padding-top: 28px;
  border-top: 1px solid var(--borde);
}

/* 8. ¿Para qué negocios? --------------------------------- */
.negocios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.negocio {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.negocio-titulo {
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 22px;
}

.negocio-problema,
.negocio-oferta {
  font-size: 17px;
  line-height: 1.55;
}

.negocio-problema { color: var(--texto-suave); }

.negocio-oferta {
  color: var(--vino);
  font-weight: 600;
  flex: 1;
}

/* 9. Proyectos: Pedidos y Stock -------------------------- */
.proyecto-cabecera {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  align-items: flex-end;
  justify-content: space-between;
}

.proyecto-intro {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proyecto-intro .texto-grande { max-width: 600px; }

.etiqueta {
  font-size: 15px;
  font-weight: 600;
  color: var(--vino);
}

.btn-demo {
  padding: 15px 24px;
  min-height: 52px;
  font-weight: 600;
  font-size: 16px;
}

.captura-principal {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 1px 0 var(--borde-captura), 0 18px 48px rgba(74, 30, 45, 0.10);
}

.capturas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.capturas img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--borde-captura);
}

/* 10. Diseño: Anto Nails --------------------------------- */
#diseno .seccion { gap: 36px; }

.diseno-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.galeria-logo {
  background: #F1F0F5;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.galeria-logo img {
  width: 100%;
  height: auto;
}

.galeria-flyer {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* 11. Cómo trabajo --------------------------------------- */
.pasos {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 48px;
}

.paso {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paso-numero {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rosa-claro);
  color: var(--vino);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-titulo {
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 24px;
}

/* 12. Contacto y pie ------------------------------------- */
.contacto {
  padding-top: 96px;
  padding-bottom: 96px;
}

.contacto-caja {
  background: var(--vino);
  color: var(--blanco);
  border-radius: 32px;
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.contacto-texto {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 420px;
}

.contacto-titulo {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
}

.contacto-bajada {
  font-size: 18px;
  line-height: 1.5;
  color: var(--rosa-texto);
}

.btn-contacto {
  padding: 18px 28px;
  min-height: 56px;
  font-weight: 700;
  font-size: 18px;
}

.site-footer {
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--texto-tenue);
}

/* 13. Responsive ----------------------------------------- */

/* Tablet: negocios en 2x2 */
@media (max-width: 1023px) {
  .negocios { grid-template-columns: repeat(2, 1fr); }
}

/* Celular: hero en columna, avatar redondo en lugar de la foto */
@media (max-width: 767px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-foto { display: none; }
  .hero-avatar { display: block; }
}

/* Celular: menos aire, menú reducido y botones a todo el ancho */
@media (max-width: 720px) {
  .nav-link { display: none; }
  .seccion,
  .contacto { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 24px; }
  .btn-full { width: 100%; justify-content: center; text-align: center; }
}

/* Celular chico: negocios en una columna */
@media (max-width: 599px) {
  .negocios { grid-template-columns: 1fr; }
}
