:root {
  --purple: #7927e8;
  --purple-dark: #6520c8;
  --pink: #ff3e72;
  --red: #ff3c3c;
  --black: #050505;
  --text: #343434;
  --muted: #5a5a5a;
  --surface: #f2f2f2;
  --white: #ffffff;
  --max-width: 1500px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.brand-strip {
  height: 34px;
  display: flex;
  align-items: center;
  padding-inline: max(24px, calc((100% - var(--max-width)) / 2));
  background: linear-gradient(90deg, var(--pink), var(--purple));
}
.brand img { width: 165px; filter: brightness(0) invert(1); }

.hero picture,
.hero img { width: 100%; }
.hero img {
  height: clamp(370px, 44vw, 760px);
  object-fit: cover;
  object-position: center;
}

.benefits {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 56px);
  padding: 12px 24px;
  color: var(--white);
  background: var(--purple);
  font-size: clamp(17px, 1.7vw, 31px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: center;
}

.experiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 88px);
  padding-block: clamp(32px, 4.6vw, 80px);
}

.experience-media { position: relative; }
.experience-media > img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--purple);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease;
  border: none;
}
.button:hover,
.button:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-2px);
}
.button-overlay {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.button-overlay:hover,
.button-overlay:focus-visible { transform: translate(-50%, -2px); }

.experience-copy { padding-top: 52px; }
.experience-copy h2 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 80px;
  color: var(--purple);
  font-size: clamp(24px, 2vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}
.experience-copy h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 60px;
  height: 13px;
  background: var(--purple);
}
.experience-copy h3 {
  margin: 0 0 7px 80px;
  font-size: clamp(16px, 1.2vw, 23px);
  line-height: 1.15;
}
.experience-copy > p {
  max-width: 670px;
  margin: 0 0 26px 80px;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 18px);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0 0 0 62px;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  color: #575757;
  font-size: clamp(13px, .95vw, 17px);
}
.feature-list img { width: 36px; height: 36px; object-fit: contain; }

.combos {
  padding-block: clamp(38px, 4vw, 70px);
  background: var(--surface);
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 70px);
}
.combo-card { text-align: center; }
.combo-image {
  display: grid;
  min-height: 270px;
  place-items: center;
  padding: 20px;
  border: 6px solid #dedede;
  background: var(--white);
}
.combo-image img {
  width: min(100%, 400px);
  aspect-ratio: 1;
  object-fit: contain;
}
.combo-copy {
  margin-inline: 8px;
  padding: 10px 16px 0;
  background: #e4e4e4;
}
.combo-copy h3 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1;
  text-transform: uppercase;
}
.combo-copy p {
  min-height: 48px;
  margin: 3px 0 10px;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.1;
}
.combo-copy .button {
  width: calc(100% + 32px);
  margin-left: -16px;
  border-radius: 7px;
}

.site-footer {
  padding-block: 38px;
  color: var(--white);
  background: var(--black);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 35px;
}
.help-block,
.social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.help-block { justify-self: start; }
.social-block { justify-self: end; }
.help-block > span,
.social-block > span { font-size: 14px; letter-spacing: .08em; }
.help-button {
  min-width: 245px;
  padding: 12px 20px;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-logo { width: 175px; filter: brightness(0) invert(1); }
.social-links { display: flex; gap: 17px; }
.social-links a {
  min-width: 35px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 900px) {
  .experiences { grid-template-columns: 1fr; gap: 54px; }
  .combo-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .combo-image { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; }
  .help-block, .social-block { justify-self: center; }
  .footer-logo { grid-row: 1; }
}

@media (max-width: 640px) {
  .section-shell { width: 100%; }
  .brand-strip { height: 26px; padding-inline: 24px; }
  .brand img { width: 135px; }
  /* Sin aspect-ratio fijo: el hero de mobile se muestra completo, con la proporción
     que traiga el asset. Forzar 414/720 lo recortaba por los lados. */
  .hero img { height: auto; }
  /* El mockup de mobile apila los beneficios separados por una estrella:
     esto se desvía del styles.css de diseño, que los ocultaba bajo 640px */
  .benefits {
    flex-direction: column;
    gap: 12px;
    min-height: 112px;
    padding: 22px 20px;
    font-size: 17px;
    line-height: 1.15;
  }
  .benefits__separator { font-size: 18px; line-height: 1; }

  .experiences { padding-block: 0 30px; gap: 0; }
  .experience-card { padding-bottom: 34px; }
  .experience-media > img { aspect-ratio: 414 / 205; }
  .button-overlay { bottom: -19px; min-height: 38px; padding: 8px 26px; font-size: 12px; }
  .experience-copy { padding: 44px 28px 0; }
  .experience-copy h2 { padding-left: 66px; font-size: 27px; }
  .experience-copy h2::before { width: 52px; height: 10px; }
  .experience-copy h3,
  .experience-copy > p { margin-left: 66px; }
  .experience-copy h3 { font-size: 16px; }
  .experience-copy > p { font-size: 13px; }
  .feature-list { margin-left: 50px; gap: 7px; }
  .feature-list li { grid-template-columns: 35px 1fr; font-size: 12px; }
  .feature-list img { width: 31px; height: 31px; }

  .combos { padding: 26px 26px 38px; }
  .combo-grid { gap: 22px; }
  .combo-image { min-height: 0; padding: 10px 18px; border-width: 4px; }
  .combo-image img { max-height: 220px; }
  .combo-copy { padding-top: 8px; }
  .combo-copy h3 { font-size: 21px; }
  .combo-copy p { min-height: auto; font-size: 14px; }
  .combo-copy .button { min-height: 36px; padding: 8px 20px; font-size: 12px; }

  .site-footer { padding: 28px 24px; }
  .footer-grid { gap: 22px; }
  .footer-logo { width: 150px; }
  .help-button { min-width: min(310px, 86vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Footer: logo e iconos del diseño XD */
.footer-logo {
  width: 190px;
  max-width: 100%;
  filter: none;
}
.social-links {
  align-items: center;
  gap: 20px;
}
.social-links a {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-links svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}
.social-links svg rect,
.social-links svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.social-links svg .social-dot {
  fill: currentColor;
  stroke: none;
}
.social-links svg path {
  fill: currentColor;
}
@media (max-width: 640px) {
  .footer-logo { width: 170px; }
  .social-links { gap: 18px; }
  .social-links a { width: 32px; height: 32px; min-width: 32px; }
  .social-links svg { width: 28px; height: 28px; }
}

/* Ajuste final de tarjetas de combos según Adobe XD */
.combo-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.combo-image {
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border: 5px solid #dedede;
  background: #fff;
  overflow: hidden;
}

.combo-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.combo-copy {
  min-height: 118px;
  margin: 0;
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #e4e4e4;
}

.combo-copy h3 {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: clamp(20px, 1.35vw, 27px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.combo-copy p {
  min-height: 0;
  max-width: 270px;
  margin: 0;
  color: #666;
  font-size: clamp(14px, .95vw, 18px);
  line-height: 1.25;
}

.combo-button {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .combo-grid {
    max-width: 340px;
  }
}

@media (max-width: 640px) {
  .combos {
    padding: 26px 18px 38px;
  }

  .combo-grid {
    max-width: 290px;
    gap: 24px;
  }

  .combo-image {
    border-width: 4px;
    padding: 8px;
  }

  .combo-copy {
    min-height: 78px;
    padding: 9px 12px 11px;
  }

  .combo-copy h3 {
    margin-bottom: 7px;
    font-size: 17px;
  }

  .combo-copy p {
    max-width: 205px;
    font-size: 12px;
    line-height: 1.35;
  }

  .combo-button {
    min-height: 42px;
    margin-top: 10px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 12px;
  }
}

/* ---------- Adaptaciones al componente de selección de función ---------- */

/* El div que contiene el template del componente Vue no debe verse nunca */
#ptSeleccionProductoExperiencias {
  display: none !important;
}

/* El componente envuelve el botón en .seleccion-producto.
   En la experiencia el botón se posiciona solo contra .experience-media
   (.button-overlay), así que el wrapper se deja estático a propósito. */
.combo-card .seleccion-producto,
.combo-card .seleccion-producto__dropdown {
  width: 100%;
}

/* Menú del dropdown de bootstrap-vue cuando el producto tiene pocas funciones */
.seleccion-producto__menu {
  max-height: 320px;
  overflow-y: auto;
  text-align: left;
}

/* Botón "CARGAR MÁS" de la grilla de combos (no viene en el CSS de diseño) */
.combos__more {
  display: flex;
  width: fit-content;
  margin: clamp(24px, 3vw, 44px) auto 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* Cabecera del modal de calendario */
.titulo-calendario {
  margin: 0 0 10px;
  background: var(--purple);
}

/* personalizacion calendarios */
.row.no-gutters > div[role="button"]:has(> span:not(.disabled)) {
  background-color: #FFEDCC !important;
}

  .row.no-gutters > div[role="button"]:has(> span:not(.disabled)) > span {
    color: #996200 !important;
  }

.row.no-gutters > div[role="button"]:has(> span.active) {
  background-color: initial !important;
}

  .row.no-gutters > div[role="button"]:has(> span.active) > span {
    background-color: #E2D5F8 !important;
    color: #702BDE !important;
  }

.row.no-gutters button.btn {
  background-color: #702BDE !important;
  border-color: #ffffff !important;
}