/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ECOMMERCE · página de venta (Explorar), mismo sistema que Turismo
   Usa los colores y la curva de movimiento de instinto.css.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.tur { font-family: "Montserrat", sans-serif; }
.tur-label {
  display: block;
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.tur-title {
  margin: 0;
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0;
}
.tur-lead {
  margin: 16px 0 0;
  max-width: 360px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  opacity: 0.8;
}
.tur-head { padding: 0 16px; }

/* Secciones claras y oscuras */
.tur-light { background: var(--in-light); color: var(--in-dark); padding: 80px 0; }
.tur-dark { background: #0C0C0C; color: var(--in-light); padding: 80px 0; }

/* ── 1 · Hero: título + celulares ── */
.tur-hero { background: var(--in-light); color: var(--in-dark); padding: 80px 0 0; overflow: hidden; }
.tur-hero .proyecto__title { font-size: 40px; }
/* En celular la imagen se agranda para que el celular del medio se lea bien */
.tur-hero__img { display: block; width: 150%; max-width: none; height: auto; margin: 32px 0 0 -25%; }

/* ── 2 · Esto puede ser tuyo: recorrido por pantallas ── */
.tur-note {
  margin: 24px 16px 0;
  padding: 16px 24px;
  border-radius: 24px;
  border: 1px solid rgba(245, 245, 245, 0.14);
  font-size: 14px;
  line-height: 150%;
  color: rgba(245, 245, 245, 0.75);
}
.tur-note strong { color: var(--in-light); font-weight: 600; }
.tur-track {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  padding: 0 16px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tur-track::-webkit-scrollbar { display: none; }
.tur-shot { flex: 0 0 72%; max-width: 280px; scroll-snap-align: start; margin: 0; }
.tur-shot img { display: block; width: 100%; height: auto; }
.tur-shot figcaption { margin-top: 16px; padding: 0 8px; }
.tur-shot b { display: block; font-weight: 700; font-size: 16px; line-height: 150%; }
.tur-shot span { display: block; font-size: 14px; line-height: 150%; opacity: 0.65; }
.tur-hint { margin: 24px 16px 0; font-size: 12px; opacity: 0.45; }

/* ── 3 · Demo en vivo ── */
.tur-demo {
  margin: 40px 16px 0;
  padding: 32px 24px;
  border-radius: 32px;
  background: var(--in-dark);
  color: var(--in-light);
}
.tur-demo__title { margin: 0 0 24px; font-weight: 700; font-size: 18px; line-height: 150%; }
.tur-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.tur-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
  min-width: 0;
  padding: 0 16px;
  margin-bottom: 8px;
  border-radius: 24px;
  background: rgba(245, 245, 245, 0.07);
}
.tur-field small { font-size: 12px; opacity: 0.55; }
.tur-field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  padding: 0;
  margin-top: 2px;
  background: transparent;
  color: var(--in-light);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color-scheme: dark;
  min-height: 24px;
  min-width: 0;
  max-width: 100%;
}
.tur-field input[type="date"]:focus { outline: none; }
.tur-field:focus-within { box-shadow: inset 0 0 0 1px rgba(245, 245, 245, 0.4); }
.tur-field--step { flex-direction: row; align-items: center; justify-content: space-between; }
.tur-field--step b { display: block; font-size: 16px; font-weight: 600; }
.tur-step { display: flex; align-items: center; gap: 8px; }
.tur-step button {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid rgba(245, 245, 245, 0.2);
  background: transparent;
  color: var(--in-light);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 600ms var(--ease), transform 600ms var(--ease);
}
.tur-step button:active { transform: scale(0.94); }
.tur-send {
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 28px;
  background: var(--in-light);
  color: var(--in-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 600ms var(--ease);
}
.tur-send svg { width: 20px; height: 20px; }
.tur-send:active { transform: scale(0.98); }
.tur-demo__foot { margin: 16px 0 0; font-size: 12px; line-height: 150%; text-align: center; opacity: 0.5; }

/* ── 4 y 5 · Listas ── */
.tur-list { list-style: none; margin: 40px 16px 0; padding: 0; }
.tur-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.14);
}
.tur-light .tur-list li { border-bottom-color: rgba(30, 30, 30, 0.12); }
.tur-list .tur-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.tur-num svg { width: 20px; height: 20px; }
.tur-list div > b { display: block; font-weight: 700; font-size: 18px; line-height: 150%; }
.tur-list div > span { display: block; font-size: 16px; line-height: 150%; opacity: 0.7; }

/* Comparación */
.tur-vs { margin: 48px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tur-vs__card { padding: 24px 20px; border-radius: 24px; }
.tur-vs__card b { display: block; font-weight: 700; font-size: 15px; line-height: 150%; margin-bottom: 12px; }
.tur-vs__card ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 150%; }
.tur-vs__card li + li { margin-top: 8px; }
.tur-vs__card--off { background: rgba(30, 30, 30, 0.06); color: rgba(30, 30, 30, 0.6); }
.tur-vs__card--on { background: var(--in-dark); color: var(--in-light); }

/* ── 6 · Esto puede ser tuyo (foto) ── */
.tur-yours { position: relative; overflow: hidden; color: var(--in-light); background: #0C0C0C; min-height: 640px; display: flex; align-items: flex-end; }
.tur-yours__bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.tur-yours__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12, 12, 12, 0.2) 0%, rgba(12, 12, 12, 0.35) 40%, rgba(12, 12, 12, 0.92) 100%); }
.tur-yours__content { position: relative; padding: 120px 16px 80px; width: 100%; }
.tur-yours .tur-title { font-size: 36px; }
.tur-yours .tur-lead { opacity: 0.85; }
.tur-cta {
  margin-top: 32px;
  height: 56px;
  border-radius: 28px;
  background: var(--in-light);
  color: var(--in-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 600ms var(--ease);
}
.tur-cta svg { width: 14px; height: 14px; transition: transform 600ms var(--ease); }
.tur-cta:active { transform: scale(0.98); }
.tur-small { margin: 16px 0 0; font-size: 13px; line-height: 150%; text-align: center; opacity: 0.65; }

/* ── 7 · Preguntas (usa el acordeón de instinto.css) ── */
.tur-faq .acc { margin: 40px 16px 0; }
.tur-faq .acc__item { background: transparent; border: 1px solid rgba(30, 30, 30, 0.14); border-radius: 24px; }
.tur-faq .acc__head { text-transform: none; font-size: 16px; padding: 16px 16px 16px 24px; }
.tur-faq .acc__body { padding: 8px 24px 24px; }
.tur-faq .acc__item.is-open .acc__head { border-bottom-color: transparent; }
.tur-faq .acc__text { font-size: 16px; line-height: 150%; opacity: 0.8; }

@media (hover: hover) {
  .tur-step button:hover { background: rgba(245, 245, 245, 0.1); }
  .tur-cta:hover svg { transform: translateX(4px); }
}

/* ━━━━━━━━━━ ESCRITORIO ━━━━━━━━━━ */
@media (min-width: 768px) {
  .tur-head { padding: 0 var(--gutter); }
  .tur-title { font-size: 48px; }
  .tur-lead { max-width: 560px; font-size: 20px; margin-top: 24px; }
  .tur-light, .tur-dark { padding: 120px 0; }
  .tur-hero { padding-top: 160px; }
  .tur-hero .proyecto__head { padding: 0 var(--gutter); }
  .tur-hero .proyecto__title { font-size: 56px; }
  .tur-hero__img { width: min(1200px, 100%); max-width: 100%; margin: 48px auto 0; }

  .tur-note { margin: 32px var(--gutter) 0; }
  .tur-track { margin: 64px var(--gutter) 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tur-shot { max-width: none; }
  .tur-hint { display: none; }

  .tur-demo { margin: 48px var(--gutter) 0; padding: 40px; }
  .tur-list, .tur-vs, .tur-faq .acc { margin-left: var(--gutter); margin-right: var(--gutter); }
  .tur-faq .acc { flex-direction: column; align-items: stretch; }

  .tur-yours { min-height: 720px; }
  .tur-yours__content { padding: 160px var(--gutter) 120px; }
  .tur-yours .tur-title { font-size: 56px; max-width: 640px; }
  .tur-cta { display: inline-flex; padding: 0 40px; }
  .tur-small { text-align: left; }
}

/* ━━━━━━━━━━ Agregados de Ecommerce ━━━━━━━━━━ */
.tur-shot__video { display: block; width: 100%; height: auto; background: #0C0C0C; }
.ec-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ec-prod { position: relative; display: flex; flex-direction: column; padding: 12px 12px 16px; border-radius: 24px; background: rgba(245, 245, 245, 0.07); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 400ms var(--ease), background-color 400ms var(--ease); }
.ec-prod input, .ec-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ec-prod img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #F5F5F5; }
.ec-prod b { margin-top: 12px; font-size: 15px; font-weight: 600; padding: 0 4px; }
.ec-prod span { font-size: 13px; opacity: 0.6; padding: 0 4px; }
.ec-prod:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--in-light); background: rgba(245, 245, 245, 0.1); }
.ec-prod:has(input:focus-visible), .ec-chip:has(input:focus-visible) { outline: 1px solid var(--in-light); outline-offset: 2px; }
.ec-chips { display: flex; gap: 8px; margin: 8px 0 16px; }
.ec-chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid rgba(245, 245, 245, 0.2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.ec-chip input:checked + span { background: var(--in-light); color: var(--in-dark); border-color: var(--in-light); font-weight: 600; }
.ec-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding: 8px 4px 0; }
.ec-total span { font-size: 13px; opacity: 0.6; }
.ec-total b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ec-yours { cursor: crosshair; min-height: 780px; }
.ec-sparks { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ec-yours .tur-yours__shade { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.85) 75%, #000 100%); pointer-events: none; }
@media (min-width: 768px) {
  .tur-track--3 { grid-template-columns: repeat(3, 1fr); }
  .ec-yours { min-height: 880px; }
  .ec-yours .tur-title { font-size: 48px; max-width: 720px; }
}
