@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubunturegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntubold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntuitalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntubolditalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntulight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntulightitalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntumedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fuentes/ubuntumediumitalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #f4f4f4;
}

body {
  font-family: 'Ubuntu', sans-serif !important;
  background-color: white;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  max-width: 480px !important;
  width: 100% !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  container-type: inline-size !important;
}

body.landing {
  background-color: #E45336;
  background-image: url('../assets/landing/fondo1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Márgenes pronunciados, solo ajustar el logo */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  flex: 1;
  position: relative;
  min-height: 100vh;
  max-width: 100%;
  margin: 0 auto;
}

/* New Landing page layouts */
.container.landing-page-container {
  padding: 40px 20px;
  min-height: calc(100vh - 80px);
  /* Fit to screen above footer */
  max-width: 513px;
  justify-content: center;
  gap: 15px;
}

.logo-superior-container {
  text-align: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.logo-superior {
  max-width: 120px;
  width: 100%;
  padding-bottom: 20%;
  height: auto;
}

.logo-central-container {
  text-align: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 15px;
}

.logo-central {
  max-width: 168px;
  width: 100%;
  height: auto;
}

.landing-page-container .button-container {
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 15px auto 10px;
}

.logo-container {
  text-align: center;
  margin-top: 12vh;
  margin-bottom: 20px;
  width: 100%;
  max-width: 160px;
}

.logo-container img {
  margin-top: 70px;
  margin-bottom: 50px;
  max-width: 100%;
  height: auto;
}

.title-container {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

.title-container img {
  max-width: 100%;
  height: auto;
}

/* Ancho consistente para todos los elementos de texto */
.description {
  text-align: left;
  color: white;
  font-weight: 500;
  line-height: 1.4;
  font-style: italic;
  font-size: 2rem;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.sub-description {
  text-align: left;
  color: white;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.8rem;
  line-height: 0.9;
  width: 100%;
  max-width: 100%;
}

.button-container {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
}

.btn-ingresar {
  background-color: white;
  color: #E45336;
  border: none;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.25rem;
  cursor: pointer;
  margin-top: 30%;
  width: 265px;
  font-family: 'Ubuntu', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ingresar:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-ingresar:active {
  transform: scale(0.98);
}

/* Etiqueta PRODUCCIONES - Figma 2026 */
.produccion-etiqueta {
  font-family: 'Montserrat', 'Ubuntu', sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #E6643C;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  text-align: left;
  margin-bottom: 10px;
}

/* Landing page text styles - Figma 2026 */
.landing-main-text {
  text-align: left;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  font-size: 3.5rem;
  line-height: 1.1;
  width: 100%;
  max-width: 100%;
  margin-top: 30px;
  margin-bottom: 10px;
}

.landing-subtitle {
  text-align: center;
  color: white;
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.3;
  width: 100%;
  max-width: 100%;
  margin-top: -4px;
  margin-bottom: 4px;
}

.landing-subtitle .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: subtitleWordIn 0.72s ease forwards;
}

.landing-subtitle .word + .word {
  margin-left: 0.28em;
}

.text-section p {
  opacity: 0;
  transform: translateY(14px);
  animation: contentFadeUp 0.92s ease forwards;
}

.text-section p:nth-child(1) {
  animation-delay: 0.16s;
}

.text-section p:nth-child(2) {
  animation-delay: 0.3s;
}

.text-section p:nth-child(3) {
  animation-delay: 0.44s;
}

.text-section p:nth-child(4) {
  animation-delay: 0.58s;
}

.text-section p:nth-child(5) {
  animation-delay: 0.72s;
}

/* Los estilos del footer han sido movido a footer.js */

/* Background pattern with food icons */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
  background-size: cover;
}

body.landing .background-pattern {
  animation: backgroundFloat 18s ease-in-out infinite;
}

body.landing .logo-superior-container,
body.landing .logo-central-container,
body.landing .landing-subtitle,
body.landing .button-container {
  opacity: 0;
  transform: translateY(18px);
  animation: landingFadeUp 0.95s ease forwards;
}

body.landing .logo-superior-container {
  animation-delay: 0.16s;
}

body.landing .logo-central-container {
  animation-delay: 0.32s;
}

body.landing .landing-subtitle {
  animation-delay: 0.5s;
}

body.landing .button-container {
  animation-delay: 0.74s;
}

body.landing .logo-superior,
body.landing .logo-central {
  animation: landingFloat 8s ease-in-out infinite;
}

body.landing .logo-central {
  animation-delay: 0.8s;
}

body.landing .btn-ingresar {
  animation: buttonBreath 4.8s ease-in-out infinite;
  animation-delay: 1.1s;
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landingFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes buttonBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  }
}

@keyframes subtitleWordIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.015) translateY(-6px);
  }
}

@keyframes contentFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing .background-pattern,
  body.landing .logo-superior,
  body.landing .logo-central,
  body.landing .btn-ingresar,
  body.landing .logo-superior-container,
  body.landing .logo-central-container,
  body.landing .landing-subtitle,
  body.landing .button-container,
  .landing-subtitle .word,
  .text-section p {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

main {
  flex: 1;
}

/* Estilos para la sección hero */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  margin-top: -50px;
  padding-top: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Imagen de fondo */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

/* Contenedor para el logo y el texto */
.content-container {
  position: relative;
  margin-left: 30px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: auto;
}

/* Estilos para el logo */
.logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
}

/* Estilos para el tagline */
.tagline {
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  color: white;
  line-height: 1.2;

}

/* Text section styles - Mobile First */
.text-section {
  margin: 18px 20px 0;
  max-width: 100%;
  padding: 0 10px;
}

.text-section p {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  line-height: 1.3;
  color: #333;
  margin-bottom: 20px;
}

.text-section p strong,
.text-section p b,
.text-section p .negrita,
.text-section p .negrita-italic {
  color: #e6643c;
}

/* Solo el bloque introductorio inmediato al hero lleva el primer párrafo destacado */
.hero-section + .text-section p:first-child {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.16;
}

/* Segundo párrafo más pequeño */
.text-section p:not(:first-child) {
  font-size: 15px;
}

/* Responsive adjustments */
@container (max-width: 768px) {
  .container {
    padding: 15px 80px;
    max-width: 100%;
  }

  .logo-container {
    max-width: 140px;
    margin-top: 10vh;
  }

  .description {
    font-size: 1.2rem;
  }

  .sub-description {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .btn-ingresar {
    font-size: 1rem;
  }
}

@container (max-width: 480px) {
  .container {
    padding: 15px 60px;
  }

  .logo-container {
    max-width: 120px;
    margin-top: 8vh;
  }
}

.negrita {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.negrita-italic {
  font-weight: bold;
  font-style: italic;
}
