/* ---------------------------
   RESET & BASE
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fffdf6;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #66e0c2;
}

/* ---------------------------
   HEADER
--------------------------- */
.site-header {
  background-color: rgb(255, 255, 255);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  max-width: 140px;
  height: auto;
}

.header-contact {
  display: flex;
  gap: 1rem;
}

.header-contact img {
  width: 28px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.header-contact img:hover {
  transform: scale(1.1);
}

/* ---------------------------
   HERO SLIDER
--------------------------- */
#hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); /* capa semitransparente */
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
  font-family: "Libre Bodoni", serif;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #444;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: linear-gradient(135deg, #2c5530, #1a3d1f);
  color: white;
  border: 3px solid #66e0c2;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(102, 224, 194, 0.4);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(102, 224, 194, 0.6);
  border-color: #4ecdc4;
  background: linear-gradient(135deg, #1a3d1f, #0f2912);
}

/* ---------------------------
   FOOTER
--------------------------- */
.site-footer {
  background: #111;
  color: #eee;
  padding: 3rem 2rem 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff;
}

.footer-col p {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #eee;
}

.footer-brand img {
  max-width: 120px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social img {
  width: 20px;
  filter: invert(100%);
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.2);
}

/* ---------------------------
   RESPONSIVE
--------------------------- */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}
