/* =========================
   INTRO BLOCKS
========================= */
.intro-blocks {
  background: #ffffff;
  color: #111111;
  padding: 110px 0 120px;
}

.intro-blocks .container {
  max-width: 1180px;
}

.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 110px;
}

.intro-row:last-child {
  margin-bottom: 0;
}

.intro-row.reverse .intro-text {
  order: 2;
}

.intro-row.reverse .intro-media {
  order: 1;
}


.intro-text {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3.2rem;
}

.intro-text h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intro-divider {
  width: 76px;
  height: 1px;
  background: #8d9472;
  margin: 0.95rem 0 1.2rem;
  opacity: 0.95;
}

.intro-text h3 {
  margin: 0 0 0.95rem;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 500;
  color: #2f3a2f;
}

.intro-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #4d4d4d;
  max-width: 44ch;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 2rem;
  min-width: 180px;
  padding: 0.95rem 1.45rem;
  background: #929521;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #929521;
  border-radius: 0;
  line-height: 1;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.intro-btn:hover {
  background: #7f821c;
  border-color: #7f821c;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.intro-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* =========================
   MEDIA / PHOTO FRAME
========================= */
.intro-media {
  display: flex;
  justify-content: center;
}

.intro-photo-frame {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 460px;
  
}

.intro-photo-frame::before {
  content: "";
  position: absolute;
  z-index: 1;

  top: -28px;
  right: -22px;
  bottom: -18px;
  left: 46px;

  background: rgba(146, 149, 33, 0.88);
}

.intro-photo-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.01s ease, box-shadow 0.2s ease;
}

/* Segunda foto un poco más baja */
.intro-photo-frame.short-photo img {
  height: 500px;
}

/* =========================
   INTRO SPECS (mini data line)
========================= */

.intro-specs {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #555;
}

.intro-specs span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.intro-specs strong {
  font-weight: 600;
  color: #2f3a2f;
  margin-right: 6px;
}

.intro-specs span::after {
  content: "•";
  margin-left: 12px;
  color: #aaa;
}

.intro-specs span:last-child::after {
  content: "";
}


@media (max-width: 900px) {
  .intro-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .intro-row.reverse .intro-text,
  .intro-row.reverse .intro-media {
    order: initial;
  }

  .intro-text h2 {
    max-width: 100%;
  }

  .intro-text p {
    max-width: 100%;
  }

  .intro-media {
    justify-content: flex-start;
  }

  .intro-photo-frame {
    max-width: 380px;
  }
}

/* =========================
   SCROLL REVEAL
========================= */
/* =========================
   SCROLL REVEAL
========================= */
.intro-row .intro-text {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1.05s ease,
    transform 1.05s ease;
  will-change: opacity, transform;
}

.intro-row .intro-photo-frame img {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1.1s ease 0.28s,
    transform 1.1s ease 0.28s;
  will-change: opacity, transform;
}

.intro-row .intro-photo-frame::before {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1.1s ease 0.52s,
    transform 1.1s ease 0.52s;
  will-change: opacity, transform;
}

.intro-row.is-visible .intro-text,
.intro-row.is-visible .intro-photo-frame img,
.intro-row.is-visible .intro-photo-frame::before {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .intro-blocks {
    padding: 80px 0 90px;
  }

  .intro-row {
    gap: 32px;
    margin-bottom: 70px;
  }

  .intro-text h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
    margin-bottom: 18px;
  }

  .intro-text p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .intro-photo-frame {
    max-width: 100%;
  }

  .intro-photo-frame::before {
      top: -18px;
      right: -12px;
      bottom: -12px;
      left: 26px;
    }

    .intro-photo-frame img,
    .intro-photo-frame.short-photo img {
      height: 360px;
    }

  .intro-row .intro-text {
    transition:
      opacity 1s ease,
      transform 1s ease;
  }

  .intro-row .intro-photo-frame img {
    transition:
      opacity 1.05s ease 0.26s,
      transform 1.05s ease 0.26s;
  }

  .intro-row .intro-photo-frame::before {
    transition:
      opacity 1.05s ease 0.5s,
      transform 1.05s ease 0.5s;
  }
    
  .intro-specs {
    gap: 10px 20px;
    font-size: 0.8rem;
  }
    
}


@media (hover: hover) {
  .intro-row.is-visible .intro-photo-frame img:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  }
}
