.qs-page {
  background: var(--color-cream);
  color: var(--color-brown);
}

.qs-hero {
  position: relative;
  background: url('../../Background/Banner-p5.2.png') center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.qs-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 28px 16px;
}

.qs-hero-image {
  display: none;
  background: url('../../Background/Banner-p5.2.png') center/cover no-repeat;
  width: 100%;
  border-radius: 18px;
  min-height: 220px;
}

.qs-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.qs-kicker {
  margin: 0;
  color: #8b6a57;
  font-weight: 800;
  letter-spacing: 0.8px;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.qs-title {
  margin: 0;
  font-family: "Carter One", sans-serif;
  color: #FEEA9A;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  text-shadow: 3px 3px 5px #8b6a57;
  text-align: center;
}

.qs-lead {
  margin: 0;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.qs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 6px;
}

.qs-ghost-btn {
  background: transparent;
  border: 1.5px solid #fede59;
  color: #fede59;
}

/* testimonial button now uses global dsq-btn-testimonial (brown) */

.qs-hero-badge {
  padding: 18px 20px;
  background: rgba(252, 247, 228, 0.75);
  border: 1.5px solid #f3e3c8;
  border-radius: 16px;
  color: #8b6a57;
  backdrop-filter: blur(0px);
  max-width: 420px;
}

.qs-hero-badge p {
  color: #8b6a57;
}

.qs-hero-note {
  align-self: center;
  max-width: 320px;
  background: rgba(252, 247, 228, 0.85);
}

.qs-section {
  margin: 0 auto 32px;
  padding: 0 16px;
}

.qs-section-heading {
  text-align: center;
  margin-bottom: 16px;
}

.qs-heading {
  font-family: "Carter One", sans-serif;
  color: var(--color-red);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 6px;
}

.qs-subheading {
  margin: 0;
  color: #8b6a57;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.qs-note {
  margin: 6px 0 0;
  color: #8b6a57;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: 0.6px;
}

.qs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.qs-gallery-item {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
  height: 320px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.qs-gallery-item.a { background-image: url('../../Background/Canasta-queso-y-carnes-frias-menu.jpg'); background-position: 30% 70%; }
.qs-gallery-item.b { background-image: url('../../Background/Canasta-botanas-y-vino-menu.jpg'); background-position: 50% 70%; }
.qs-gallery-item.c { background-image: url('../../Background/Canasta-Desayuno-Sorpresa-menu.jpg'); background-position: 50% 70%; }

.qs-banner {
  position: relative;
  background: url('../../Background/BannerRojo.webp') center/cover no-repeat;
  margin: 24px 0;
  border-radius: 20px;
  overflow: hidden;
}

.qs-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.qs-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
}

.qs-banner-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.qs-banner-sticker {
  display: flex;
  justify-content: center;
}

.qs-banner-img {
  height: 200px;
  width: auto;
  border-radius: 16px;
}

.qs-quality {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 24px auto;
  padding: 0 16px;
}

.qs-quality-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qs-paragraph {
  margin: 0;
  color: #8b6a57;
  font-weight: 600;
  line-height: 1.5;
}

.qs-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.qs-icon-block {
  background: #fff;
  border: 1.5px solid #ff6e6f;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.qs-icon-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
}

.qs-icon-block p {
  margin: 0;
  color: #8b6a57;
  font-weight: 600;
  line-height: 1.4;
}

.qs-quality-hero {
  background-image: url('../../Background/Canasta-pastel-Chocolate-menu.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  height: 320px;
  border-radius: 18px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.qs-banner-back {
  position: relative;
  background: url('../../Background/Banner-back-ref-p8.jpg') center/cover no-repeat;
  border-radius: 20px;
  overflow: hidden;
  margin: 26px 0;
}

.qs-banner-image {
  background: url('../../Background/Banner-p8.png') center/contain no-repeat;
  aspect-ratio: 320 / 123;
  width: 100%;
  border-radius: 20px;
  margin: 26px 0 36px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.qs-banner-back-overlay {
  position: absolute;
  inset: 0;
}

.qs-banner-cta {
  position: relative;
  z-index: 1;
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
}

.qs-banner-cta-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(2px);
  color: #fff;
  text-align: center;
}

.qs-banner-btn {
  min-width: 200px;
}

@media (max-width: 1024px) {
  .qs-hero {
    min-height: 360px;
    background-position: center;
    background-size: contain;
    background-color: #f7e6c8;
  }

  .qs-hero-content {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .qs-hero-note {
    align-self: center;
    order: 2;
  }

  .qs-hero-copy {
    align-items: center;
    text-align: center;
    order: 1;
  }

  .qs-hero-actions {
    justify-content: center;
  }

  .qs-gallery-item {
    height: 260px;
  }

  .qs-quality {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .qs-hero {
    background: none;
    min-height: auto;
  }

  .qs-hero-content {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .qs-hero-badge {
    margin: 0 auto;
  }

  .qs-hero-copy {
    order: 1;
  }

  .qs-hero-image {
    display: block;
    order: 2;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 7;
    min-height: 240px;
  }

  .qs-hero-note {
    order: 3;
  }
}

@media (max-width: 600px) {
  .qs-banner-img {
    height: 140px;
  }
}
