/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #fbe7b6;
  color: #222;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  background: #fffaf3;
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e4d6b5;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li a {
  color: #1d4034;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: #d4ede2;
  border-radius: 5px;
}

/* HERO FINAL */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background: url('../img/hero-clean2.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.hero-inner {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  max-width: 480px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: #1d4034;
}

.hero-inner h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.text-accent {
  color: #fca311;
}

.hero-inner p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-light {
  background: #fffaf3;
  color: #1d4034;
  border: 1px solid #ccc;
}

.btn-primary {
  background: #1d4034;
  color: white;
}

.btn:hover {
  transform: scale(1.05);
}

/* Secciones */
section {
  padding: 4rem clamp(1rem, 5vw, 4rem);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}


/* Otras clases ya adaptadas a la paleta cálida */
.section-light {
  background-color: #fffaf3;
  color: #1d4034;
  padding: 4rem 2rem;
  margin: 4rem auto;
  border-radius: 12px;
  max-width: 1200px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}



h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Estadísticas */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: #fffaf3;
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1;
  min-width: 220px;
  color: #1d4034;
  border: 1px solid #e0cfa3;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

.stat h3 {
  font-size: 1.8rem;
  color: #fca311;
}

/* Dos columnas */
.two-columns .container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1rem, 5vw, 4rem);
  box-sizing: border-box;
}


.column {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
}

/* Footer */
footer {
  background: #fbe7b6;
  color: #555;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Imagen decorativa */
.perro-bajo-video {
  width: 40%;
  max-width: 300px;
  margin: 1rem auto 0;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.2));
  transform: translateY(-10px);
}

/* Tres columnas */
.three-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: #fffaf3;
  border: 1px solid #e0cfa3;
  border-radius: 12px;
  padding: 2rem;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  color: #1d4034;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  color: #1d4034;
  margin-bottom: 1rem;
}

.feature-img,
.feature-img-vertical {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.feature-img-vertical {
  object-fit: contain;
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Descarga */
.download-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.download-img {
  max-width: 240px;
  height: auto;
}

.qr-img {
  max-width: 120px;
  height: auto;
}

.main-footer {
  background-color: #1d4034;
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-size: 0.95rem;
}

.main-footer {
  background-color: #1d4034;
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2c5a48;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column strong {
  font-size: 1.1rem;
}

.footer-column p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #fca311;
}

.footer-column.social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column .icon {
  display: inline-block;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .hero {
    background: none;
    background-color: #1d4034; /* Verde oscuro como el footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 1rem;
  }

  .hero-inner {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .hero-inner h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hero-inner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .btn {
    width: 120px;
    text-align: center;
  }
}
