/* RESET */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fffaf7;
  color: #5a4a42;
}

/* TIPOGRAFÍA */
h1, h2 {
  font-family: 'Allura', cursive;
  font-weight: normal;
  color: #7a5a52;
}

h2 {
  font-size: clamp(30px, 4.5vw, 40px);
}

p, li {
  font-size: 15.5px;
  line-height: 1.75;
}

.text-block {
  max-width: 420px;
}

.extra-text {
  text-align: center;
  max-width: 650px;
  margin: 40px auto;
}


/* CONTENEDOR */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

section.container:first-of-type {
  padding-top: 80px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(180deg, #fff0ea, #fffaf7);
}

.hero p {
  font-size: 18px;
  max-width: 620px;
  margin: auto;
}

.hero img {
  max-width: 220px;
  margin-bottom: 25px;
  animation: float 4s ease-in-out infinite;
}

/* BOTONES */
.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background-color: #e7b2a5;
  color: white;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  background-color: #d79a8d;
  transform: translateY(-3px);
}

/* SECCIONES */
.two-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.two-columns img {
  max-width: 360px;
  margin: auto;
  border-radius: 18px;
}

/* --- TITULO SOBRE IMAGEN 5056 --- */

.image-title {
  font-family: 'Allura', cursive;
  font-size: 32px;
  color: #7a5a52;
  margin-bottom: 18px;
  text-align: center;
}



/* MICROANIMACIÓN IMÁGENES */
.two-columns img,
.gallery img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

@media (hover: hover) {
  .two-columns img:hover,
  .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  }
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  justify-content: center;
  gap: 20px;
  max-width: 700px;
  margin: auto;
}

.gallery img {
  border-radius: 16px;
}

/* FRASE */
.quote {
  text-align: center;
  padding: 80px 20px;
}

.quote p {
  font-family: 'Allura', cursive;
  font-size: clamp(34px, 5vw, 44px);
  max-width: 700px;
  margin: auto;
}

/* ERRORES */
.errors {
  text-align: center;
}

.errors-list {
  list-style: none;
  padding: 0;
  max-width: 520px;
  margin: 30px auto 0;
}

.errors-list li {
  margin-bottom: 14px;
}

.errors-list li::before {
  content: "✕ ";
  color: #e7b2a5;
}

/* TOQUE HUMANO */
.human {
  text-align: center;
}

.human p {
  max-width: 600px;
  margin: auto;
}

/* PRECIO */
.price {
  text-align: center;
  background-color: #fff0ea;
  border-radius: 25px;
  padding: 60px 20px;
}

.price span {
  font-size: 42px;
  font-weight: 600;
  display: block;
  margin: 25px 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #8a7a72;
}

/* BOTONES SOCIALES */
.social-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-buttons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e7b2a5;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-buttons a:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* ANIMACIONES */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* DESKTOP */
@media (min-width: 768px) {
  .two-columns {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  @media (min-width: 1024px) {
  .hero h1 {
    font-size: 64px;
  }
}


  .mobile-cta {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  .two-columns {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .two-columns img {
    max-width: 260px;
    order: 2;
  }

  .two-columns .text-block {
    order: 1;
  }

  .gallery img {
    max-width: 260px;
    margin: auto;
  }

  /* Ocultar botones normales */
  .hero .btn,
  .price .btn {
    display: none;
  }

  /* CTA fijo */
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,250,247,0.96);
    backdrop-filter: blur(6px);
    z-index: 998;
    text-align: center;
  }

  .mobile-cta .btn {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
   .social-buttons {
    bottom: 90px; /* sube los iconos */
  }
}
  
  /* --- EFECTO BRILLO --- */
.brillo {
  filter: brightness(1.18);
}