html {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* ajusta según la altura de tu header */
}

body {
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}


.container,
.descarga-flex,
.hero-flex {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .container,
  .section-content,
  .mision-text,
  .vision-text {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .descarga-section {
    padding: 0 16px;
    text-align: center;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
  }

  .store-btn {
    height: 56px !important;
    width: auto !important;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    width: 280px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .descarga-section {
    padding: 0 16px;
    text-align: center;
  }

  .descarga-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .descarga-title,
  .descarga-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .descarga-imagen {
    text-align: center;
    margin-top: 24px;
  }

  .descarga-imagen img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .descarga-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .store-btn {
     height: 56px !important;
    width: auto !important;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .store-buttons-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .store-btn-footer {
    height: 56px !important;
    width: auto !important;
    object-fit: contain;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff1744 0%, #e91e63 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cookie-text {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: #ff1744;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: #e91e63;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #ff1744 0%, #e91e63 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 23, 68, 0.4);
}

.cookie-btn-decline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 16px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .cookie-text {
    font-size: 13px;
  }
}

