:root{
  --bg: #f8f5f1;
  --surface: #ffffff;
  --text: #1f1c19;
  --muted: #746c64;
  --line: rgba(31,28,25,.08);
  --accent: #b69d87;
  --shadow-soft: 0 8px 24px rgba(27, 20, 15, .05);
  --shadow-card: 0 16px 34px rgba(27, 20, 15, .06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: 1380px;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.9), transparent 30%),
    linear-gradient(180deg, #fbf8f4 0%, #f8f5f1 100%);
  line-height: 1.5;
}

img{
  max-width: 100%;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

button{
  font: inherit;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248,245,241,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31,28,25,.05);
}

.header-inner{
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-nav a{
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
}

.main-nav a:hover{
  background: rgba(31,28,25,.05);
  color: var(--text);
}

.main-nav a.active{
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31,28,25,.06);
}

.hero{
  padding: 92px 0 40px;
}

.hero-inner{
  text-align: center;
  max-width: 920px;
}

.hero-kicker{
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1{
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: .94;
  font-weight: 600;
  letter-spacing: -.03em;
}

.hero-text{
  max-width: 690px;
  margin: 22px auto 0;
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.8;
}

.intro-minimal{
  padding: 10px 0 24px;
}

.intro-minimal-inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--line);
}

.section-tag{
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.intro-minimal h2,
.section-heading h2,
.album-head h2{
  margin: 14px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.02em;
}

.intro-minimal p{
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.catalog-index{
  padding: 30px 0 24px;
}

.section-heading{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.index-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.index-card{
  display: block;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.index-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(27,20,15,.09);
  border-color: rgba(182,157,135,.24);
}

.index-card{
  display: block;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(31,28,25,.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.index-card img{
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  padding: 12px;
}

.index-card span{
  display: block;
  padding: 16px 18px 18px;
  font-weight: 600;
  font-size: .98rem;
}

.album-section{
  padding: 56px 0 6px;
  scroll-margin-top: 110px;
}

.album-section--last{
  padding-bottom: 72px;
}

.album-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.album-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.album-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.album-card{
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.album-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(27,20,15,.09);
  border-color: rgba(182,157,135,.24);
}

.album-open{
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.album-card img{
  width: 100%;
  height: 460px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  transition: transform .42s ease;
  padding: 10px;
}

.album-card:hover img{
  transform: scale(1.03);
}

.album-card h3{
  margin: 0;
  padding: 18px 18px 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.album-card p{
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}

.is-placeholder img{
  opacity: .92;
}

.site-footer{
  border-top: 1px solid rgba(31,28,25,.05);
  background: rgba(255,255,255,.45);
}

.footer-inner{
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p,
.footer-inner a{
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.footer-inner a:hover{
  color: var(--text);
}

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16,14,12,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open{
  display: flex;
}

.lightbox-dialog{
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.lightbox-dialog img{
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  background: #fff;
}

.lightbox-dialog p{
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: .98rem;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1200px){
  .index-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .album-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .header-inner{
    padding: 14px 0;
  }

  .intro-minimal-inner,
  .album-head{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .index-grid,
  .album-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .container{
    width: min(var(--container), calc(100% - 24px));
  }

  .hero{
    padding: 72px 0 32px;
  }

  .hero h1{
    font-size: 3.1rem;
  }

  .hero-text{
    font-size: .98rem;
  }

  .index-grid,
  .album-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .main-nav{
    gap: 8px;
  }

  .main-nav a{
    font-size: .9rem;
    padding: 9px 12px;
  }

  .footer-inner{
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }

  .lightbox{
    padding: 16px;
  }

  .lightbox-close{
    top: 10px;
    right: 10px;
  }
}

/* DESTACAR 1 ALBUM EN CONCRETO*/

.catalog-block--hero{

  padding: 40px 0;

}

.section-divider{

  width: 100%;

  height: 1px;

  background: linear-gradient(to right, transparent, #d7d2cb, transparent);

  margin: 50px 0 50px 0;

}

.featured-single{

  display: grid;

  grid-template-columns: minmax(320px, 520px) 1fr;

  gap: 72px;

  align-items: center;

}

.featured-single-media{

  display: flex;

  align-items: center;

  justify-content: center;

}

.featured-single-media img{

  width: 100%;

  max-width: 520px;

  height: auto;

  display: block;

  object-fit: contain;

  background: transparent;

}

.featured-single-copy{

  max-width: 560px;

}

.featured-single-copy h2{

  margin: 14px 0 18px;

  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(3rem, 5vw, 4.4rem);

  line-height: .96;

  font-weight: 600;

  letter-spacing: -.03em;

}

.featured-single-copy p{

  margin: 0;

  color: var(--muted);

  font-size: 1rem;

  line-height: 1.85;

}

@media (max-width: 980px){

  .featured-single{

    grid-template-columns: 1fr;

    gap: 28px;

  }

  .featured-single-media img{

    max-width: 460px;

  }

  .section-divider{

    margin: 56px 0;

  }

}

.section-divider-2{

  width: 100%;

  height: 1px;

  background: linear-gradient(to right, transparent, #d0d0d0, transparent);

  margin: 56px 0;

}

.featured-single--reverse .featured-single-media{

  order: 2;

}

.featured-single--reverse .featured-single-copy{

  order: 1;

}

@media (max-width: 980px){

  .featured-single--reverse .featured-single-media,

  .featured-single--reverse .featured-single-copy{

    order: initial;

  }

}

.img-rounded-fix{

  border-radius: 24px;

  overflow: hidden;

}

.img-rounded-soft {

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0,0,0,0.06);

}

.btn-link-minimal{
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(31,28,25,.18);
  padding-bottom: 3px;
  transition: .25s ease;
}

.btn-link-minimal:hover{
  border-color: rgba(31,28,25,.55);
  transform: translateY(-1px);
}

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16,14,12,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open{
  display: flex;
}

.lightbox-dialog{
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.lightbox-dialog img{
  display: block;
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  background: #fff;
}

.lightbox-dialog p{
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: .98rem;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px){
  .lightbox{
    padding: 16px;
  }

  .lightbox-close{
    top: 10px;
    right: 10px;
  }
}