/* ---- RESET ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #D7E6A5;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ---- MARQUEE ---- */
.top-banner {
  width: 100%;
  background: #C3E4FF;
  padding: 8px 0;
  border-bottom: 1.5px dashed #000;
  overflow: hidden;
}

.marquee {
  white-space: nowrap;
  display: inline-block;
  animation: scroll 17s linear infinite;
  font-size: 15px;
  font-weight: 600;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- NAV ---- */
.navbar {
  display: flex;
  align-items: center;
  padding: 22px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 32px;
}

/* ---- HERO ---- */
.hero {
  background: #fff;
  padding: 80px 50px;
  border-bottom: 2px dashed #000;
  background-image: linear-gradient(#eeeeee 1px, transparent 1px),
                    linear-gradient(90deg, #eeeeee 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: 54px;
  margin-bottom: 20px;
}

.highlight {
  background: #ffdce5;
  padding: 0 8px;
}

.subtext {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.7;
}

.cta-btn {
  margin-top: 30px;
  display: inline-block;
  background: #fff;
  padding: 16px 32px;
  border-radius: 40px;
  border: 2px solid #000;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: #000;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), background 0.35s ease;
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.03);
  background: #FFE4EC;
}

/* ---- STRIP ---- */
.strip {
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  background: #ffdce5;
  border-top: 1px dashed #000;
  border-bottom: 1px dashed #000;
}

/* ---- CARDS ---- */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  padding: 30px;
  border-radius: 20px;
  color: #000;
  line-height: 1.4;
  transition: transform .25s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.pink { background: #ffdce5; }
.blue { background: #C3E4FF; }
.green { background: #D8F3DC; }

/* ---- ABOUT ---- */
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 90px 80px;
  gap: 60px;
  background: #fff;
  min-height: 92vh;
  flex-wrap: nowrap;
}

/* Limitar ancho del texto para que NO apriete a las imágenes */
.about-text {
  max-width: 700px;
}

/* Texto escritorio visible por defecto */
.about-desktop {
  display: block;
}

/* Texto móvil oculto por defecto */
.about-mobile {
  display: none;
}

/* Título */
.about-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  margin-bottom: 25px;
}

/* Párrafos */
.about-text p {
  margin-bottom: 18px;
  line-height: 1.55;
  font-size: 19px;
}

/* ---- POLAROIDS EN DESKTOP ---- */
.polaroid-wrapper {
  flex: 1;
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.polaroid {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  width: 260px;             /* ancho MÁS GRANDE */
  height: 340px;            /* altura proporcional */
  box-shadow: 0px 15px 35px rgba(0,0,0,0.18);
  transition: transform .4s ease, box-shadow .4s ease;
  cursor: pointer;
}

.polaroid.mid {
  width: 300px;             /* central más grande */
  height: 380px;
  z-index: 2;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* << la clave para NO espicharse */
  border-radius: 8px;
}

.rotate-left { transform: rotate(-4deg); }
.rotate-right { transform: rotate(4deg); }

.polaroid:hover {
  transform: translateY(-10px) rotate(1.2deg);
}

/* ------------ RESPONSIVE ------------- */
@media (max-width: 900px) {

  .about {
    flex-wrap: wrap;
    padding: 60px 30px;
    min-height: auto;
  }

  /* Cambiar textos */
  .about-desktop {
    display: none !important;
  }
  .about-mobile {
    display: block !important;
  }

  /* Reducir título en móvil */
  .about-text h2 {
    font-size: 38px;
    margin-bottom: 18px;
  }

  .about-text p {
    font-size: 16px;
    margin-bottom: 14px;
  }

  /* Polaroids reorganizadas */
  .polaroid-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .polaroid,
  .polaroid.mid {
    width: 160px;
    height: 220px;
    padding: 12px;
  }
}

@media (max-width: 540px) {

  .polaroid-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .polaroid,
  .polaroid.mid {
    width: 85%;
    height: auto;
  }

  .polaroid img {
    height: auto;
  }

  .about-text h2 {
    font-size: 32px;
  }
}

/* Polaroids en Desktop */
.polaroid-wrapper {
  flex: 1;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.polaroid {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  width: 220px;
  height: 290px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* <<<<< EVITA QUE SE ESPICHEN */
  border-radius: 6px;
}

.polaroid.mid {
  width: 260px;
  height: 320px;
  z-index: 2;
}

.rotate-left { transform: rotate(-5deg); }
.rotate-right { transform: rotate(4deg); }

.polaroid:hover {
  transform: translateY(-8px) rotate(1.5deg);
  box-shadow: 0px 15px 35px rgba(0,0,0,0.25);
}

/* ------------------------ */
/* 📱 RESPONSIVE MOBILE     */
/* ------------------------ */
@media (max-width: 850px) {
  .about {
    padding: 50px 30px;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;          /* <<<<< EN MÓVIL NO ES NECESARIO FORZAR ALTURA */
  }

  .polaroid-wrapper {
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .polaroid {
    width: 150px;             /* <<<<< MÁS PEQUEÑAS PARA QUE NO SE ESPICHEN */
    height: 200px;
    padding: 10px;
  }

  .polaroid.mid {
    width: 160px;
    height: 210px;
  }
}

@media (max-width: 540px) {
  .polaroid-wrapper {
    flex-direction: column;   /* <<<<< SE APILAN SIN ESPICHARSE */
    gap: 25px;
  }

  .polaroid,
  .polaroid.mid {
    width: 80%;
    height: auto;             /* <<<<< LA ALTURA SE AJUSTA AUTOMÁTICAMENTE */
  }

  .polaroid img {
    height: auto;             /* <<<<< PROPORCIÓN REAL */
  }
}


/* Polaroids */
.polaroid-wrapper {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-width: 300px;
}

.polaroid {
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  width: 170px;
  height: 210px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.polaroid.mid {
  width: 200px;
  height: 240px;
  z-index: 2;
}

.rotate-left { transform: rotate(-4deg); }
.rotate-right { transform: rotate(4deg); }

.polaroid:hover {
  transform: translateX(8px) rotate(2deg);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.22);
}

/* ---- FINAL CTA ---- */
.final-cta {
  background: #FFE6A7;
  text-align: center;
  padding: 90px 40px;
  border-top: 2px dashed #000;
  border-bottom: 2px dashed #000;
}

.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.final-cta p {
  max-width: 650px;
  margin: auto;
  font-size: 18px;
  margin-bottom: 18px;
}

.final-cta .note {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* Botón grande */
.cta-big {
  display: inline-block;
  background: #fff;
  padding: 20px 45px;
  border-radius: 45px;
  border: 3px solid #000;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1),
              box-shadow 0.4s ease,
              background 0.4s ease;
}

.cta-big:hover {
  transform: translateY(-6px);
  background: #FFD1DC;
  box-shadow: 0px 7px 20px rgba(0,0,0,0.25);
}

/* ---- FOOTER ---- */
footer {
  padding: 30px;
  text-align: center;
  background: #fff;
  border-top: 1px dashed #000;
  font-size: 14px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 850px) {
  .hero { padding: 60px 20px; }

  h1 { font-size: 40px; }

  .polaroid-wrapper {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cards-section { padding: 40px 20px; }

  .about { padding: 50px 20px; }

  .final-cta h2 { font-size: 32px; }
}
/* ---- TEXT VERSION SWITCH ---- */
.about-desktop { display: block; }
.about-mobile { display: none; }

/* ---- TITLE SIZES ---- */
.about-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 48px;      /* MÁS GRANDE EN PC */
  margin-bottom: 25px;
}

/* Mejor espaciado de párrafos */
.about-text p {
  margin-bottom: 16px;
  line-height: 1.55;
  font-size: 18px;
}

