/* ===================================================
   Santa Irene – Bodegas (FIGMA / REACT fidelity)
   Scope: #si-bodegas-root
=================================================== */

#si-bodegas-root .si-bodegas {
  --bg-page: #0b0b0c;
  --card-bg: #ffffff;
  --card-header-bg: #111111;
  --border-soft: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.12);
  --text-strong: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-dim: #9a9a9a;
 
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/* ---------- Section ---------- */
#si-bodegas-root .si-bodegas {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: -40px;	
  padding: 6px 6px;
}

/* ---------- Header ---------- */
#si-bodegas-root .si-bodegas__header {
  text-align: center;
  margin-bottom: 56px;
}

#si-bodegas-root .si-title {
  color: var(--bg-page);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

#si-bodegas-root .si-subtitle {
  color: #1a1a1a;
  font-size: 20px;
  margin-bottom: 8px;
}

#si-bodegas-root .si-description {
  max-width: 760px;
  margin: 0 auto;
  color: #6b6b6b;
  line-height: 1.6;
}

/* ---------- Grid ---------- */
#si-bodegas-root .si-bodegas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* ---------- Card ---------- */
#si-bodegas-root .si-bodega-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow:
    0 20px 40px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}

#si-bodegas-root .si-bodega-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06);
}

/* ---------- Card Header ---------- */
#si-bodegas-root .si-bodega-card__header {
  background: linear-gradient(180deg, #151515, #0e0e0e);
  color: var(--text-strong);
  padding: 28px;
  border-bottom: 1px solid var(--border-dark);
}

#si-bodegas-root .si-bodega-card__heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

#si-bodegas-root .si-bodega-card__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-strong);	
}

#si-bodegas-root .si-bodega-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

#si-bodegas-root .si-bodega-card__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;	
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-strong);
}

#si-bodegas-root .si-bodega-card__location {
  font-size: 14px;
  margin-top: 4px;
  color: #9c9c9c;
}

/* ---------- Meta ---------- */
#si-bodegas-root .si-bodega-card__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "label-year label-cap"
    "value-year value-cap";
  row-gap: 2px;
  column-gap: 4px;
}

/* Labels */
#si-bodegas-root .si-meta-label:nth-of-type(1) {
  grid-area: label-year;
}
#si-bodegas-root .si-meta-label:nth-of-type(2) {
  grid-area: label-cap;
}

/* Values */
#si-bodegas-root .si-meta-value:nth-of-type(1) {
  grid-area: value-year;
}
#si-bodegas-root .si-meta-value:nth-of-type(2) {
  grid-area: value-cap;
}


#si-bodegas-root .si-meta-label {
  font-size: 12px;
  color: #a0a0a0;
  letter-spacing: .04em;
}

#si-bodegas-root .si-meta-value {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-strong);
}

/* ---------- Card Body ---------- */
#si-bodegas-root .si-bodega-card__body {
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 22px;
}

#si-bodegas-root .si-bodega-card__description {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  min-height: calc(1.6em * 4);
}

/* ---------- Features ---------- */
#si-bodegas-root .si-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#si-bodegas-root .si-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

#si-bodegas-root .si-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 8px;
}

#si-bodegas-root .si-features svg {
  color: #666;
  margin-top: 2px;
}

/* ---------- Imagen ---------- */
#si-bodegas-root .si-bodega-card__image {
  flex: 0 0 auto;
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  margin-top: auto;
  line-height: 0;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.35)
  );
}

#si-bodegas-root .si-bodega-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: bottom;
}

#si-bodegas-root .si-bodega-card__image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
}







/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  #si-bodegas-root .si-bodegas__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #si-bodegas-root .si-bodegas {
    padding: 72px 16px;
  }
	
  .si-bodega-card__image img {
    height: 160px;
  }	

  #si-bodegas-root .si-title {
    font-size: 30px;
  }
}
