/* ===========================
   Variables y base (mobile-first)
   =========================== */
:root {
  --primary: #cfa88b;      /* marrón claro */
  --primary-contrast: #fff;
  --muted: #f6ede6;        /* beige claro */
  --text: #222;
  --card-border: rgba(0,0,0,0.08);
  --radius: 8px;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max-width: 900px;
}

/* Reset ligero */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

main { max-width: var(--max-width); margin: 0 auto; }


/* ===========================
   CHOOSE (cards grid)
   =========================== */
.choose {
  padding: 2rem 1rem;
  background: var(--muted);
}

.choose__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.choose__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card__body {
  padding: 0.9rem;
  font-size: 0.95rem;
  text-align: center;
}

.card__price {
  color: var(--primary);
  font-weight: 600;
}

/* ===========================
   MEDIA QUERIES
   =========================== */
@media (min-width: 640px) {
  .choose__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    height: 70vh;
  }
}

@media (min-width: 980px) {
  main { padding: 0 1.2rem; }
  .choose__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo { font-size: 3rem; }
}


/* ===========================
   DESKTOP (pantallas normales)
   =========================== */
@media (min-width: 980px) {
  :root {
    --max-width: 1100px;
  }

  main {
    padding: 0 1.5rem;
    max-width: var(--max-width);
  }

  .choose {
    padding: 2rem 1.5rem;
  }

  .choose__title {
    font-family: "Playwrite US Modern", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;
    margin-bottom: 3rem;
  }

  .choose__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .card__img {
    height: 220px;
  }

  .card__body {
    font-size: 1rem;
  }

  .card__price {
    font-size: 1.05rem;
  }
}

/* Sección con fondo translúcido fijo 
.section-choose {
  background-image: url("ebruWeb-main\assets\images\scroll.jpg");
  background-attachment: fixed; /* mantiene fija la imagen
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}Capa semitransparente encima del fondo
.section-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(207, 168, 139, 0.45); /* tono beige transparente
  z-index: 0;
}Contenido encima del overlay
.section-choose > * {
  position: relative;
  z-index: 1;
}
