@font-face {
  font-family: 'MenuApp Bold';
  src: url('fonts/menuapp-Bold.woff2') format('woff2'),
       url('fonts/menuapp-Bold.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'MenuApp Light';
  src: url('fonts/menuapp-Light.woff2') format('woff2'),
       url('fonts/menuapp-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'MenuApp Medium';
  src: url('fonts/menuapp-Medium.woff2') format('woff2'),
       url('fonts/menuapp-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'MenuApp Regular';
  src: url('fonts/menuapp-Regular.woff2') format('woff2'),
       url('fonts/menuapp-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

*{ box-sizing: border-box; }
html,body{ 
  margin:0; 
  padding:0; 
  font-family:'MenuApp Regular', sans-serif; 
  color: #434343; 
  background: #f8f8fa;
  min-height: 100vh;
}

/* Menú hamburguesa */
.hamburger-menu {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 10000;
}

.hamburger-btn {
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.05);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger-nav {
  position: fixed;
  top: 60px;
  right: 15px;
  width: 240px;
  max-width: 90vw;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  overflow: hidden;
}

.hamburger-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  color: #434343;
}

.nav-header h3 {
  margin: 0;
  font-family: 'MenuApp Bold', sans-serif;
  font-size: 18px;
  color: #434343;
}

.nav-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #434343;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.2s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

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

.nav-list li {
  flex: 1;
  border-right: 1px solid #f1f1f1;
}

.nav-list li:last-child {
  border-right: none;
}

.nav-list a {
  display: block;
  padding: 15px 10px;
  color: #434343;
  text-decoration: none;
  font-family: 'MenuApp Regular', sans-serif;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-list a:hover {
  background: #fafafa;
  color: #eb5535;
}

/* Overlay para cerrar el menú */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Imagen superior - oculta en escritorio */
.demo-header {
  display: none;
}

/* Video superpuesto - oculto en escritorio */
.demo-video {
  display: none;
}

/* Contenedor principal */
.demo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: #f8f8fa;
  overflow-y: auto;
}

.demo-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  width: 100%;
}

.demo-text {
  flex: 1;
  max-width: 500px;
}

.demo-text h2 {
  font-family: 'MenuApp Bold', sans-serif;
  font-size: 32px;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.demo-text p {
  font-family: 'MenuApp Regular', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.food-recommendation {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid #eb5535;
}

.food-image {
  flex-shrink: 0;
}

.food-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.food-recommendation p {
  font-family: 'MenuApp Medium', sans-serif;
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.social-text {
  margin-top: 20px;
  text-align: center;
}

.social-text p {
  font-family: 'MenuApp Medium', sans-serif;
  font-size: 14px;
  color: #888;
  margin: 0 0 10px 0;
  font-style: italic;
}

.instagram-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.instagram-link:hover {
  transform: scale(1.1);
}

.instagram-icon {
  width: 24px;
  height: 24px;
  filter: invert(0.4);
  transition: filter 0.3s ease;
}

.instagram-link:hover .instagram-icon {
  filter: invert(0.6);
}

/* Sección de reseñas */
.reviews-section {
  flex: 1;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.reviews-section h3 {
  font-family: 'MenuApp Bold', sans-serif;
  font-size: 20px;
  color: #333;
  margin: 0 0 15px 0;
  text-align: center;
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.stars {
  color: #ffc107;
  font-size: 18px;
}

.rating-number {
  font-family: 'MenuApp Bold', sans-serif;
  font-size: 24px;
  color: #333;
}

.rating-count {
  font-family: 'MenuApp Regular', sans-serif;
  font-size: 14px;
  color: #666;
}

.reviews-list {
  margin-bottom: 20px;
}

.review-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eb5535;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'MenuApp Bold', sans-serif;
  font-size: 14px;
}

.reviewer-name {
  font-family: 'MenuApp Medium', sans-serif;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
}

.review-stars {
  color: #ffc107;
  font-size: 12px;
}

.review-date {
  font-family: 'MenuApp Regular', sans-serif;
  font-size: 12px;
  color: #999;
}

.review-text {
  font-family: 'MenuApp Regular', sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.google-reviews-link {
  display: block;
  text-align: center;
  font-family: 'MenuApp Medium', sans-serif;
  font-size: 14px;
  color: #eb5535;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #eb5535;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.google-reviews-link:hover {
  background: #eb5535;
  color: white;
  text-decoration: none;
}

/* Logo MenúApp */
.menuapp-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.menuapp-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.menuapp-logo img {
  width: 60px;
  height: auto;
  display: block;
}

/* iPhone 16 wrapper */
.iphone-wrap {
  width: 350px; /* Ancho iPhone 16 escalado */
  height: 760px; /* Alto iPhone 16 escalado */
  background: #000;
  border-radius: 42px; /* Bordes redondeados del iPhone */
  padding: 7px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.iphone-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 27px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.iphone-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 35px; /* Bordes internos del iPhone */
  background: white;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
  .demo-content {
    gap: 40px;
  }
  
  .reviews-section {
    max-width: 350px;
    padding: 20px;
  }
  
  .reviews-section h3 {
    font-size: 18px;
  }
  
  .rating-number {
    font-size: 20px;
  }
  
  .reviewer-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .reviewer-name {
    font-size: 13px;
  }
  
  .review-text {
    font-size: 12px;
  }
  
  .demo-text h2 {
    font-size: 28px;
  }
  
  .demo-text p {
    font-size: 15px;
  }
  
  .food-recommendation {
    margin-top: 20px;
    padding: 15px;
  }
  
  .food-image img {
    width: 70px;
    height: 70px;
  }
  
  .food-recommendation p {
    font-size: 15px;
  }
  
  .social-text p {
    font-size: 13px;
  }
  
  .instagram-icon {
    width: 22px;
    height: 22px;
  }
  
  .menuapp-logo {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }
  
  .menuapp-logo img {
    width: 50px;
  }
  
  .iphone-wrap {
    width: 300px;
    height: 650px;
    border-radius: 36px;
    padding: 6px;
  }
  
  .iphone-wrap::before {
    width: 103px;
    height: 23px;
    border-radius: 0 0 16px 16px;
  }
  
  .iphone-wrap iframe {
    border-radius: 30px;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  /* Mostrar imagen del iPhone en móviles */
  .demo-header {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #f8f8fa;
    position: relative;
  }
  
  .demo-header-image {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
  }
  
  /* Mostrar video en móviles */
  .demo-video {
    display: block;
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 653px;
    
  }
  
  .demo-video-player {
    height: 100%;
    width: 299px;
    max-height: 100%;
    object-fit: contain;
    border-radius: 53px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .demo-container {
    padding: 30px;
    min-height: calc(100vh - 700px);
  }
  
  .demo-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    max-width: 100%;
    justify-content: center;
  }
  
  /* iPhone oculto en móvil */
  .iphone-wrap {
    display: none;
  }
  
  /* Texto del proyecto optimizado */
  .demo-text {
    flex: 1;
    max-width: 50%;
    padding: 0 10px;
  }
  
  .demo-text h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .demo-text p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  
  .food-recommendation {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
  }
  
  .food-image img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
  
  .food-recommendation p {
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
  }
  
  .social-text {
    margin: 16px 0;
  }
  
  .social-text p {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .instagram-icon {
    width: 20px;
    height: 20px;
  }
  
  /* Sección de reseñas compacta */
  .reviews-section {
    flex: 1;
    max-width: 50%;
    padding: 16px;
    margin-top: 0;
  }
  
  .reviews-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .google-rating {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .stars {
    font-size: 16px;
  }
  
  .rating-number {
    font-size: 18px;
  }
  
  .rating-count {
    font-size: 12px;
  }
  
  .reviews-list {
    margin-bottom: 16px;
  }
  
  .review-item {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  
  .reviewer-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .reviewer-name {
    font-size: 13px;
  }
  
  .review-stars {
    font-size: 11px;
  }
  
  .review-date {
    font-size: 11px;
  }
  
  .review-text {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .google-reviews-link {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .social-text p {
    font-size: 12px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
  .demo-header {
    padding: 10px 0;
  }
  
  .demo-header-image {
    max-height: 700px;
  }
  
  .demo-video-player {
    height: 664px;
    width: 296px;
    max-height: 100%;
    object-fit: contain;
  }
  
  .demo-container {
    padding: 20px;
    min-height: calc(100vh - 700px);
  }
  
  .demo-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }
  
  .demo-text {
    max-width: 100%;
  }
  
  .reviews-section {
    max-width: 100%;
  }
  
  .demo-text h2 {
    font-size: 29px;
  }
  
  .demo-text p {
    font-size: 17px;
  }
  
  .food-recommendation {
    padding: 10px;
    gap: 10px;
  }
  
  .food-image img {
    width: 45px;
    height: 45px;
  }
  
  .food-recommendation p {
    font-size: 12px;
  }
  
  .reviews-section {
    padding: 12px;
  }
  
  .reviews-section h3 {
    font-size: 15px;
  }
  
  .rating-number {
    font-size: 16px;
  }
  
  .reviewer-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  
  .reviewer-name {
    font-size: 12px;
  }
  
  .review-text {
    font-size: 11px;
  }
  
  .google-reviews-link {
    font-size: 11px;
    padding: 6px 10px;
  }
}
