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

body {
  background-color: #e5d3b3;
  color: #fff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
  background-color: #e5d3b3;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.photo-collage {
  position: relative;
  height: 650px;
  width: 100%;
  background-color: #d1bfa4;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .05);
  overflow: visible;
}

.photo-frame {
  position: absolute;
  background: white;
  padding: 15px 15px 45px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  transition: all .3s ease;
  cursor: pointer;
}

.photo-frame:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
  z-index: 100 !important;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-caption {
  text-align: center;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #555;
  font-style: italic;
}

.photo1 {
  width: 300px;
  height: 350px;
  top: -140px;
  left: 50px;
  transform: rotate(-5deg);
  z-index: 5;
}

.photo2 {
  width: 300px;
  height: 350px;
  top: -50px;
  right: 10px;
  transform: rotate(8deg);
  z-index: 4;
}

.photo4 {
  width: 300px;
  height: 350px;
  top: 280px;
  left: 50px;
  transform: rotate(-3deg);
  z-index: 3;
}

.photo3 {
  width: 300px;
  height: 350px;
  top: 450px;
  right: 60px;
  transform: rotate(20deg);
  z-index: 2;
}

.photo6 {
  width: 300px;
  height: 350px;
  bottom: 20px;
  left: 150px;
  transform: rotate(-7deg);
  z-index: 11;
}

.photo5 {
  width: 300px;
  height: 350px;
  top: -290px;
  left: 350px;
  transform: rotate(5deg);
  z-index: 15;
}

.story-text {
  padding: 20px 40px;
}

.story-text h2 {
  font-size: 2em;
  color: #8b0000;
  margin-bottom: 30px;
  font-weight: 700;
  font-family: "Cabin", Georgia, serif;
  padding-bottom: 15px;
  display: inline-block;
}

.story-content {
  font-size: 1.25rem;
  line-height: 1.6em;
  letter-spacing: .01em;
  font-family: "Lato", Georgia, serif;
  color: #3b2a1a;
  text-align: left
}

.story-text img {
  width: 120px;
  height: auto;
  opacity: .9;
}

.svg-izq {
  margin-right: 15px;
}

.svg-der {
  margin-left: 15px;
  transform: scaleX(-1);
}

.intro {
  font-size: 1.25rem;
  font-family: 'Cabin', sans-serif;
  color: #8B2635;
  margin-bottom: 25px;
  line-height: 1.6em;
}

.story-content p {
  margin-bottom: 20px
}

.story-content h2 {
  font-family: "Lato", Georgia, serif;
  font-size: 1.5em;
  color: #8b0000;
  position: relative;
  padding-left: 20px;
}

.story-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80px;
  background: #cfa20d;
}

.highlight {
  color: #8b0000;
  font-weight: bold;
  font-size: 1.1em;
}

.cta-section {
  margin: 40px 0;
  padding: 40px 20px;
  background-color: #2a0a0e;
  background-image: radial-gradient(circle, #3d0e14 0%, #2a0a0e 100%);
  border-top: 4px solid #F3A64B;
  border-bottom: 4px solid #F3A64B;
  text-align: center;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
}

cite {
  display: block;
  color: #f7f7f7;
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.4;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .8);
}

.cta-button {
  font-family: 'Oswald', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 5px 13px;
  text-decoration: none;
  background-color: #F3A64B;
  color: #2a0a0e !important;
  font-weight: 800;
  font-size: .8em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid #fff;
  transition: all .3s ease;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .2);
}

.cta-button:hover {
  transform: scale(1.05);
  background-color: #ffb861;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .3);
}

.photo-collage {
  position: relative;
  height: 600px;
  width: 100%;
}

.photo-frame {
  position: absolute;
  background: white;
  padding: 15px 15px 45px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  z-index: 1;
  transition: opacity .8s ease-out, transform .6s cubic-bezier(.175, .885, .32, 1.275), box-shadow .3s ease, filter .3s ease;
  will-change: transform, opacity;
}

.foto-historia {
  opacity: 0;
  transform: translateY(-120px) rotate(var(--rotacion, 0deg)) !important;
}

.foto-activada {
  opacity: 1 !important;
  transform: translateY(0) rotate(var(--rotacion, 0deg)) !important;
}

.photo-collage .photo-frame.foto-historia:hover,
.photo-collage .photo-frame.foto-historia:active {
  transform: translateY(-20px) rotate(0deg) scale(1.4) !important;
  z-index: 100 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .5);
  filter: brightness(1.08);
  cursor: pointer;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none
}

.photo-caption {
  text-align: center;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #444;
  font-style: italic;
  font-weight: bold;
}

.photo1 {
  width: 300px;
  height: 350px;
  top: -140px;
  left: 50px;
}

.photo2 {
  width: 300px;
  height: 350px;
  top: -50px;
  right: 10px;
}

.photo3 {
  width: 300px;
  height: 350px;
  top: 280px;
  left: 50px;
}

.photo4 {
  width: 300px;
  height: 350px;
  top: 450px;
  right: 60px;
}

.photo5 {
  width: 300px;
  height: 350px;
  bottom: 20px;
  left: 150px;
}

.photo6 {
  width: 300px;
  height: 350px;
  bottom: 20px;
  left: 150px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  background-color: #f3a953;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid #fff;
  white-space: nowrap;
  transition: transform .2s;
}

.emoji-icon {
  font-size: 2rem;
  line-height: 1
}

.button-text {
  font-size: 1rem;
  text-transform: uppercase;
}

@media (max-width:400px) {
  .cta-button {
    padding: 10px 15px;
    gap: 6px
  }

  .button-text {
    font-size: .9rem
  }
}

@media (max-width:768px) {

  .photo-collage .photo-frame.foto-historia:hover,
  .photo-collage .photo-frame.foto-historia:active {
    transform: translateY(-10px) rotate(0deg) scale(1.7) !important;
    z-index: 999 !important
  }
}

@media (max-width:480px) {

  .photo-collage .photo-frame.foto-historia:hover,
  .photo-collage .photo-frame.foto-historia:active {
    transform: translateY(-10px) rotate(0deg) scale(1.7) !important;
    z-index: 999 !important;
  }

  cite {
    font-size: 1.1em
  }

  .cta-button {
    width: 80%
  }
}

@media (max-width:1200px) {
  .container {
    grid-template-columns: 1fr;
    padding: 30px 20px
  }

  .photo-collage {
    height: 550px;
    max-width: 500px;
    margin: 0 auto 50px auto;
    transform: scale(.9)
  }

  .photo-frame {
    width: 350px !important;
    height: 400px !important
  }

  .photo1 {
    top: 0;
    left: 10%;
  }

  .photo2 {
    top: 30px;
    right: 10%;
  }

  .photo3 {
    top: 270px;
    left: 5%;
  }

  .photo4 {
    top: 210px;
    right: 5%;
  }

  .photo5 {
    top: 140px;
    left: 25%;
  }

  .photo6 {
    top: -20px;
    left: 45%;
    z-index: 20
  }

  .photo-caption {
    text-align: center;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #555;
    font-style: italic;
  }

  .story-text {
    text-align: center;
  }

  .story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .story-content {
    font-size: 1.8rem;
    line-height: 42px;
    letter-spacing: .01em;
  }

  .intro {
    font-size: 1.05em
  }
}

@media (max-width:768px) {
  .container {
    padding: 20px 15px;
    gap: 50px
  }

  .photo-collage {
    height: 450px;
    max-width: 100%
  }

  .photo-frame {
    width: 280px !important;
    height: 320px !important
  }

  .photo1 {
    top: 0;
    left: 10%
  }

  .photo2 {
    top: 30px;
    right: 10%
  }

  .photo3 {
    top: 180px;
    left: 5%
  }

  .photo4 {
    top: 210px;
    right: 5%
  }

  .photo5 {
    top: 40px;
    left: 25%
  }

  .photo6 {
    top: 40px;
    left: 25%;
  }

  .story-text {
    font-size: 1.5rem;
    padding: 0;
    text-align: center
  }

  .story-content {
    font-size: 1.5rem;
    text-align: left
  }

  .svg-izq,
  .svg-der {
    width: 60px;
    display: none
  }
}

@media (max-width:480px) {
  .photo-collage {
    height: 380px
  }

  .photo-frame {
    width: 150px !important;
    height: 190px !important;
    padding: 8px 8px 25px 8px
  }

  .photo1 {
    top: 10px;
    left: 5%
  }

  .photo2 {
    top: 30px;
    right: 5%
  }

  .photo3 {
    top: 150px;
    left: 5%
  }

  .photo4 {
    top: 170px;
    right: 5%
  }

  .photo5 {
    top: 290px;
    left: 10%
  }

  .photo6 {
    top: 150px;
    right: 50%
  }

  .photo-caption {
    font-size: 10px
  }

  .story-text h2 {
    font-size: 1.6em
  }

  .intro {
    font-size: 1.05em
  }

  .cta-section {
    padding: 20px
  }

  cite {
    font-size: 1.5rem
  }
}