.recuerdos-page {
  --gold: #b08d57;
  --gold-deep: #8c6b3f;
  --gold-light: #e8d5ae;
  --cream: #fbf6ec;
  --cream-soft: #f4ead8;
  --espresso: #2b2318;
}

.recuerdos-page .main-nav a.active {
  color: var(--orange);
}

.recuerdos-page h1,
.recuerdos-page h2,
.recuerdos-page h3,
.recuerdos-page .keepsake-cta-band h2 {
  font-family: "Playfair Display", "Segoe UI", serif;
}

/* Hero */
.keepsake-hero {
  background: radial-gradient(circle at 15% 20%, rgba(176, 141, 87, 0.14), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(156, 31, 122, 0.08), transparent 40%),
    var(--cream);
  padding: 72px 0 88px;
  overflow: hidden;
}

.keepsake-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.keepsake-hero-copy .eyebrow {
  color: var(--gold-deep);
}

.keepsake-hero-copy h1 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.18;
  color: var(--espresso);
  margin: 0 0 22px;
}

.keepsake-hero-copy p {
  color: #5c5346;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 32px;
}

.keepsake-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.keepsake-hero-visual {
  position: relative;
  min-height: 420px;
}

.keepsake-hero-img {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(43, 35, 24, 0.22);
  object-fit: cover;
  border: 6px solid #fff;
}

.keepsake-hero-img-1 {
  width: 58%;
  aspect-ratio: 3 / 4;
  top: 0;
  left: 8%;
  transform: rotate(-4deg);
  z-index: 2;
}

.keepsake-hero-img-2 {
  width: 46%;
  aspect-ratio: 4 / 5;
  bottom: 0;
  right: 0;
  transform: rotate(5deg);
  z-index: 1;
}

.keepsake-hero-img-3 {
  width: 34%;
  aspect-ratio: 4 / 5;
  top: 18%;
  right: 4%;
  transform: rotate(-2deg);
  z-index: 3;
  display: none;
}

/* Intro strip */
.keepsake-intro {
  padding: 56px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.keepsake-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.keepsake-intro-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 50%;
  background: var(--cream-soft);
  margin-bottom: 16px;
}

.keepsake-intro-item h3 {
  font-size: 1.1rem;
  color: var(--espresso);
  margin: 0 0 8px;
}

.keepsake-intro-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

/* Section heads */
.keepsakes-section {
  background: var(--cream);
  padding: 88px 0;
}

.frames-section {
  background: #fff;
  padding: 88px 0;
}

.keepsake-section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.keepsake-section-head .eyebrow {
  color: var(--gold-deep);
}

.keepsake-section-head h2 {
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--espresso);
  margin: 0 0 14px;
  text-wrap: balance;
}

.keepsake-section-head p {
  color: var(--muted);
  margin: 0;
}

/* Keepsakes grid (relicarios) */
.keepsakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 28px;
}

.keepsake-link {
  display: block;
  color: inherit;
}

.keepsake-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(43, 35, 24, 0.1);
  margin-bottom: 16px;
}

.keepsake-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.keepsake-photo .photo-hover {
  opacity: 0;
}

.keepsake-card:hover .photo-base {
  opacity: 0;
}

.keepsake-card:hover .photo-hover {
  opacity: 1;
  transform: scale(1.03);
}

.keepsake-info {
  text-align: center;
}

.keepsake-info h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--espresso);
  margin: 0 0 6px;
}

.keepsake-tag {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-deep);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.keepsake-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.keepsake-card:hover .keepsake-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Frames */
.frame-size-group {
  margin-bottom: 48px;
}

.frame-size-group:last-child {
  margin-bottom: 0;
}

.frame-size-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.frame-size-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.frame-size-badge {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.frames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}

.frame-link {
  display: block;
  color: inherit;
}

.frame-photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-soft);
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(43, 35, 24, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.frame-card:hover .frame-photo {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(43, 35, 24, 0.16);
}

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

.frame-card h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--espresso);
  text-align: center;
}

/* CTA band */
.keepsake-cta-band {
  background: linear-gradient(135deg, var(--espresso), #46392a);
  padding: 64px 0;
}

.keepsake-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.keepsake-cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 10px;
}

.keepsake-cta-band p {
  color: var(--gold-light);
  margin: 0;
  max-width: 440px;
}

.keepsake-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .keepsake-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .keepsake-hero-visual {
    min-height: 320px;
    max-width: 420px;
    margin: 0 auto;
  }

  .keepsake-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .keepsake-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .keepsakes-grid,
  .frames-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
