/* ==========================================================================
   Tienda Lara · Landing v2
   Layout: a bodega shelf. Products sit on white tiles over a graphic collage in the hero,
   then the page runs as horizontal "aisles" (rails) you slide through.
   Brand kept: Poppins + the blue/navy/mist of base.css. Added: Clash Display
   for display type (already in the repo), mango from the catalogue icons,
   and a coral for rebajas.
   ========================================================================== */

/* Product cards: same file the catalogue uses. */
@import url("../../../catalogue/css/components/product_card.a6f9ab691bca.css");

@font-face {
  font-family: "Clash Display";
  src: url("../../../catalogue/fonts/ClashDisplay-Variable.09fd55f1eaf6.woff2") format("woff2"),
       url("../../../catalogue/fonts/ClashDisplay-Variable.303c83362916.woff") format("woff");
  font-weight: 200 700;
  font-display: swap;
}

.tl-landing {
  /* Color */
  --tl-blue: #3a6ac4;         /* brand primary */
  --tl-blue-deep: #2b54a6;
  --tl-navy: #00063d;         /* brand emphasis */
  --tl-mist: #eef0ff;         /* brand secondary */
  --tl-mango: #fdac2d;        /* accent, from the catalogue icon set */
  --tl-mango-soft: #ffe3b3;
  --tl-coral: #e2512f;        /* rebajas only */
  --tl-paper: #ffffff;        /* page ground */
  --tl-ink: #0d1433;
  --tl-muted: #5b6380;
  --tl-line: #dfe3f0;
  --tl-white: #ffffff;
  --tl-tag: #fffaf0;          /* price-tag card stock */

  /* Type */
  --tl-font-display: "Clash Display", "Poppins", system-ui, sans-serif;
  --tl-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space */
  --tl-gutter: clamp(16px, 4vw, 40px);
  --tl-max: 1240px;
  --tl-radius-lg: clamp(20px, 3vw, 32px);
  --tl-radius: 18px;
  --tl-ease: cubic-bezier(.2, .7, .1, 1);

  background: var(--tl-paper);
  color: var(--tl-ink);
  font-family: var(--tl-font-body);
  padding-inline: var(--tl-gutter);
  /* base.html's navbar is fixed: 70px tall, plus a 30px top margin from 1000px up */
  padding-block: calc(70px + 16px) clamp(48px, 8vw, 96px);
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  overflow-x: clip;
}

.tl-landing,
.tl-landing *,
.tl-landing *::before,
.tl-landing *::after { box-sizing: border-box; }

.tl-landing > * {
  width: 100%;
  max-width: var(--tl-max);
  margin-inline: auto;
  min-width: 0;
}

:where(.tl-landing) :is(h1, h2, h3) {
  margin: 0;
  font-family: var(--tl-font-display);
  font-weight: 600;
  text-wrap: balance;
}

:where(.tl-landing) p { margin: 0; }
:where(.tl-landing) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.tl-landing) img { max-width: 100%; display: block; }

.tl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.tl-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.tl-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tl-landing :focus-visible {
  outline: 3px solid var(--tl-mango);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- Type scale ---------- */

.tl-display {
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.tl-display--md { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }

.tl-heading {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--tl-navy);
}
.tl-heading--light { color: var(--tl-white); }

.tl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tl-blue);
  margin-bottom: .9rem !important;
}
.tl-eyebrow--on-dark { color: var(--tl-mango-soft); }

/* split words (JS) */
.tl-word { display: inline-block; white-space: pre; }
.tl-word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Buttons ---------- */

.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: 0 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 .98rem/1 var(--tl-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--tl-ease), background-color .25s, color .25s, border-color .25s;
}
.tl-btn .tl-icon { transition: transform .25s var(--tl-ease); }
.tl-btn:hover .tl-icon { transform: translateX(3px); }
.tl-btn:active { transform: scale(.97); }
.tl-btn--sm { min-height: 42px; font-size: .9rem; }

.tl-btn--mango { background: var(--tl-mango); color: var(--tl-navy); }
.tl-btn--mango:hover { background: var(--tl-white); color: var(--tl-navy); }
.tl-btn--navy { background: var(--tl-navy); color: var(--tl-white); }
.tl-btn--navy:hover { background: var(--tl-white); color: var(--tl-navy); }
.tl-btn--blue { background: var(--tl-blue); color: var(--tl-white); }
.tl-btn--blue:hover { background: var(--tl-navy); color: var(--tl-white); }
.tl-btn--line-light { border-color: rgba(255,255,255,.55); color: var(--tl-white); }
.tl-btn--line-light:hover { background: var(--tl-white); color: var(--tl-navy); border-color: var(--tl-white); }

.tl-link {
  color: var(--tl-blue);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
  text-decoration-color: rgba(58,106,196,.35);
  transition: text-decoration-color .2s;
  white-space: nowrap;
}
.tl-link:hover { text-decoration-color: currentColor; color: var(--tl-blue); }

.tl-round {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.tl-round:hover { background: var(--tl-white); color: var(--tl-navy); border-color: var(--tl-white); }
.tl-round--light { border-color: var(--tl-line); color: var(--tl-navy); background: var(--tl-white); }
.tl-round--light:hover { background: var(--tl-navy); color: var(--tl-white); border-color: var(--tl-navy); }
.tl-round:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* ==========================================================================
   HERO
   ========================================================================== */

.tl-hero {
  position: relative;
  border-radius: var(--tl-radius-lg);
  overflow: hidden;
  background: var(--tl-blue);
  isolation: isolate;
}

.tl-hero__viewport { display: grid; }

.tl-slide {
  --slide-bg: var(--tl-blue);
  --slide-fg: var(--tl-white);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(96px, 9vw, 120px);
  background: var(--slide-bg);
  color: var(--slide-fg);
  min-width: 0;
}

.tl-slide--offers { --slide-bg: var(--tl-mango); --slide-fg: var(--tl-navy); }
.tl-slide--offers .tl-eyebrow { color: var(--tl-navy); }
.tl-slide--pay { --slide-bg: var(--tl-navy); }

/* With JS the slides share one cell; without it they simply stack. */
.tl-js .tl-slide {
  grid-area: 1 / 1;
  visibility: hidden;
}
.tl-js .tl-slide.is-active { visibility: visible; z-index: 1; }

.tl-slide__copy { display: grid; justify-items: start; min-width: 0; }
.tl-slide__copy .tl-display { margin-bottom: 1.2rem; max-width: 12ch; }
.tl-slide__lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  line-height: 1.6;
  max-width: 44ch;
  opacity: .9;
}
.tl-slide__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.tl-slide--offers .tl-btn--line-light { border-color: rgba(0,6,61,.4); color: var(--tl-navy); }

.tl-slide__art { position: relative; min-width: 0; }

/* ---------- Product scene over a graphic collage ---------- */

.tl-slide--market { --deco-sun: var(--tl-mango); --deco-line: rgba(255,255,255,.5);  --deco-fill: rgba(255,255,255,.16); --deco-word: rgba(255,255,255,.6); --tag-accent: var(--tl-navy); --tag-accent-fg: var(--tl-white); }
.tl-slide--offers { --deco-sun: var(--tl-coral); --deco-line: rgba(0,6,61,.42);      --deco-fill: rgba(255,255,255,.42); --deco-word: rgba(0,6,61,.45); --tag-accent: var(--tl-navy);  --tag-accent-fg: var(--tl-mango); }
.tl-slide--pay    { --deco-sun: var(--tl-mango); --deco-line: rgba(253,172,45,.62);  --deco-fill: rgba(58,106,196,.45);  --deco-word: rgba(255,255,255,.55); --tag-accent: var(--tl-blue); --tag-accent-fg: var(--tl-white); }

.tl-stage {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
  /* headroom above the products for the word and the sun */
  padding-top: 16%;
  isolation: isolate;
  container-type: inline-size;
}

.tl-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tl-deco > * { position: absolute; display: block; }

/* A big flat sun, cut off by the hero edge on narrow screens. */
.tl-deco__sun {
  right: -5%;
  top: -3%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--deco-sun);
}
.tl-deco__dots {
  left: 2%;
  top: 15%;
  width: 22%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--deco-line) 2.2px, transparent 2.7px) 0 0 / 16px 16px;
}
.tl-deco__stripes {
  left: 0;
  bottom: 5%;
  width: 46%;
  height: 46%;
  border-radius: 20px;
  background: repeating-linear-gradient(135deg, var(--deco-fill) 0 10px, transparent 10px 22px);
  box-shadow: inset 0 0 0 1.5px var(--deco-line);
}
/* The slide's word, in outline only, sits behind everything else. */
.tl-deco__word {
  left: 50%;
  top: 5%;
  translate: -50% 0;
  font-family: var(--tl-font-display);
  font-weight: 700;
  font-size: 16.5cqw;
  line-height: .85;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--deco-word);
}

.tl-stage__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 842;
  filter: drop-shadow(0 18px 24px rgba(0,6,61,.18));
  will-change: transform;
}

/* Card-stock tags: service messages, never prices. */
.tl-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 6px 14px 14px 6px;
  background: var(--tl-tag);
  color: var(--tl-navy);
  font: 600 clamp(.68rem, .62rem + .3vw, .82rem)/1 var(--tl-font-body);
  white-space: nowrap;
  box-shadow: 0 10px 22px -6px rgba(0,6,61,.3);
  animation: tl-bob 4.5s ease-in-out infinite;
}
.tl-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slide-bg);
  box-shadow: inset 0 0 0 2px rgba(0,6,61,.25);
}
.tl-tag--1 { left: 0; top: 46%; rotate: -7deg; }
.tl-tag--2 { right: 3%; top: 27%; rotate: 6deg; animation-delay: -2.2s; background: var(--tag-accent); color: var(--tag-accent-fg); }
@keyframes tl-bob { 50% { translate: 0 -6px; } }

/* ---------- Hero controls ---------- */

.tl-hero__controls {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 72px);
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--tl-white);
  transition: color .4s;
}
.tl-hero[data-active="offers"] .tl-hero__controls { color: var(--tl-navy); }
.tl-hero[data-active="offers"] .tl-round { border-color: rgba(0,6,61,.3); }

.tl-hero__tabs { display: flex; gap: clamp(10px, 2vw, 24px); min-width: 0; flex: 1; max-width: 520px; }
.tl-hero__tab {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: inherit;
  font: 500 .8rem/1.2 var(--tl-font-body);
  text-align: left;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
.tl-hero__tab[aria-selected="true"],
.tl-hero__tab:hover { opacity: 1; }
.tl-hero__tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-hero__bar {
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  opacity: .3;
  overflow: hidden;
  position: relative;
}
.tl-hero__tab[aria-selected="true"] .tl-hero__bar { opacity: 1; background: rgba(255,255,255,.3); }
.tl-hero[data-active="offers"] .tl-hero__tab[aria-selected="true"] .tl-hero__bar { background: rgba(0,6,61,.2); }
.tl-hero__bar > span {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}
.tl-hero__tab[aria-selected="true"] .tl-hero__bar > span { background: var(--tl-mango); }
.tl-hero[data-active="offers"] .tl-hero__tab[aria-selected="true"] .tl-hero__bar > span { background: var(--tl-navy); }

.tl-hero__buttons { display: flex; gap: 8px; flex: none; }

/* ==========================================================================
   SECTIONS + RAILS
   ========================================================================== */

.tl-section { display: grid; gap: 24px; }

.tl-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.tl-section__tools { display: flex; align-items: center; gap: 20px; }
.tl-rail__nav { display: flex; gap: 8px; }
.tl-rail__nav[hidden] { display: none; }

.tl-rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding-bottom: 6px;
  scrollbar-width: none;
  border-radius: 4px;
}
.tl-rail::-webkit-scrollbar { display: none; }
.tl-rail__item {
  flex: 0 0 clamp(150px, 40vw, 200px);
  scroll-snap-align: start;
  min-width: 0;
}
.tl-rail--categories .tl-rail__item { flex-basis: clamp(240px, 68vw, 310px); }

/* Page indicator: a dot per screenful, the current one stretches into a pill. */
.tl-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.tl-pager[hidden] { display: none; }
.tl-pager__dots { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; min-width: 0; }
.tl-pager__dot {
  position: relative;
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width .45s var(--tl-ease);
}
.tl-pager__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  translate: -50% -50%;
  border-radius: 999px;
  background: var(--tl-line);
  transition: width .45s var(--tl-ease), background .3s;
}
.tl-pager__dot:hover::before { background: #b9c0d9; }
.tl-pager__dot[hidden] { display: none; }
.tl-pager__dot.is-edge::before { width: 5px; height: 5px; }
.tl-pager__dot[aria-current="true"] { width: 48px; }
.tl-pager__dot[aria-current="true"]::before { width: 36px; background: var(--tl-navy); }
.tl-pager__dot:focus-visible { outline: 2px solid var(--tl-blue); outline-offset: 2px; border-radius: 8px; }
.tl-pager__count { flex: none; white-space: nowrap; font-size: .82rem; color: var(--tl-muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tl-pager__count b { color: var(--tl-navy); font-weight: 600; }

/* ---------- Product card ----------
   Look comes from catalogue/css/components/product_card.css.
   Only the rail sizing lives here. */

.tl-rail .card { height: 100%; }
.tl-rail .card .image { display: block; }
.tl-rail .card .card-heading__title { margin: 0; }
.tl-rail .card .card-heading__price p { margin: 0; }
.tl-rail .card span.add-cart { display: inline-flex; align-items: center; justify-content: center; line-height: normal; }

/* ---------- Category card ---------- */

.tl-cat {
  --cat-bg: var(--tl-mist);
  --cat-fg: var(--tl-navy);
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  height: 100%;
  min-height: 300px;
  padding: 22px;
  border-radius: 24px;
  background: var(--cat-bg);
  color: var(--cat-fg);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s var(--tl-ease);
}
.tl-cat:hover { color: var(--cat-fg); transform: translateY(-4px); }
.tl-cat--mango { --cat-bg: var(--tl-mango); }
.tl-cat--blue { --cat-bg: var(--tl-blue); --cat-fg: var(--tl-white); }
.tl-cat--navy { --cat-bg: var(--tl-navy); --cat-fg: var(--tl-white); }

.tl-cat__meta { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.tl-cat__name {
  font: 600 1.7rem/1.02 var(--tl-font-display);
  letter-spacing: -.01em;
  margin-top: 8px;
  text-wrap: balance;
}
.tl-cat__count { font-size: .85rem; margin-top: 6px; opacity: .8; }

.tl-cat__stack {
  position: relative;
  align-self: end;
  height: 120px;
  margin-top: 18px;
}
.tl-cat__stack img {
  position: absolute;
  bottom: 0;
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 10px;
  background: var(--tl-white);
  border-radius: 50%;
  box-shadow: 0 12px 24px -14px rgba(0,6,61,.6);
  transition: transform .4s var(--tl-ease);
}
.tl-cat__stack img:nth-child(1) { left: 0; rotate: -6deg; }
.tl-cat__stack img:nth-child(2) { left: 64px; bottom: 16px; rotate: 5deg; }
.tl-cat__stack img:nth-child(3) { left: 128px; rotate: -2deg; }
.tl-cat:hover .tl-cat__stack img:nth-child(1) { transform: translate(-4px, -6px); }
.tl-cat:hover .tl-cat__stack img:nth-child(2) { transform: translateY(-12px); }
.tl-cat:hover .tl-cat__stack img:nth-child(3) { transform: translate(4px, -6px); }

.tl-cat__go {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .5;
  transition: opacity .2s, transform .3s var(--tl-ease);
}
.tl-cat:hover .tl-cat__go { opacity: 1; transform: rotate(-45deg); }

/* Composition variant: the scene fills the lower part of the card and bleeds off the edges. */
.tl-cat--cover {
  grid-template-rows: auto auto auto 1fr;
  min-height: 0;
  padding-bottom: 0;
}
.tl-cat__scene {
  display: block;
  align-self: end;
  margin: 14px -22px 0;
}
.tl-cat__scene img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 496;
  transform-origin: 50% 100%;
  transition: transform .5s var(--tl-ease);
}
.tl-cat--cover:hover .tl-cat__scene img { transform: scale(1.04) translateY(-2px); }
/* Dark cards: a soft pool of light keeps dark products readable. */
.tl-cat--navy .tl-cat__scene,
.tl-cat--blue .tl-cat__scene {
  background: radial-gradient(60% 55% at 50% 78%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%);
}
.tl-cat__name { padding-right: 46px; }

/* ==========================================================================
   REVIEWS: one review at a time, large photo, face strip to jump between them
   ========================================================================== */

.tl-reviews {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* never let a long face strip widen the panel */
  gap: clamp(24px, 3.5vw, 40px);
  background: var(--tl-navy);
  color: var(--tl-white);
  border-radius: var(--tl-radius-lg);
  padding: clamp(28px, 5vw, 64px);
}
.tl-reviews > :not(.tl-reviews__deco) { position: relative; z-index: 1; }
.tl-reviews__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tl-reviews__deco > * { position: absolute; display: block; }
.tl-reviews__sun { right: -7%; top: -38%; width: min(34vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--tl-blue); opacity: .45; }
.tl-reviews__ring { right: 24%; top: -18%; width: min(14vw, 150px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(253,172,45,.55); }
.tl-reviews__dots { right: 3%; bottom: 3%; width: 120px; height: 96px; background: radial-gradient(circle, rgba(255,255,255,.16) 2px, transparent 2.5px) 0 0 / 16px 16px; }
.tl-reviews__head .tl-heading { max-width: 16ch; }

/* Track: two cards per view on desktop, one on mobile. Cards snap one by one and
   stretch to the tallest, so a long comment is never clipped. */
.tl-reviews__track {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--rv-gap)) / 2);
  --rv-gap: clamp(16px, 2vw, 24px);
  gap: var(--rv-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 24px;
}
.tl-reviews__track::-webkit-scrollbar { display: none; }
.tl-reviews__track:focus-visible { outline: 2px solid var(--tl-mango); outline-offset: 4px; }
.tl-reviews__item { scroll-snap-align: start; display: flex; min-width: 0; }

/* One card layout at every size: a header (square photo + name, city, stars)
   and the comment underneath at full card width. Only the number of cards per
   view changes with the screen. */
.tl-rv {
  margin: 0;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transition: background .35s;
  position: relative;
}
.tl-rv:hover { background: rgba(255,255,255,.09); }
.tl-rv > * { position: relative; z-index: 1; }

.tl-rv__head {
  display: grid;
  grid-template-columns: clamp(80px, 22vw, 104px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1.5px dashed rgba(255,255,255,.22);
}
.tl-rv__photo { position: relative; display: block; }
.tl-rv__photo > img,
.tl-rv__brand {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--tl-mango), 0 12px 24px -12px rgba(0,0,0,.6);
}
/* No photo: brand tile with the white LARA wordmark. */
.tl-rv__brand { display: grid; place-items: center; background: var(--tl-blue); }
.tl-rv__brand img { width: 70%; height: auto; filter: brightness(0) invert(1); }

.tl-rv__meta { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.tl-rv__name { font: 600 clamp(1.02rem, .95rem + .3vw, 1.18rem)/1.2 var(--tl-font-display); color: var(--tl-white); overflow-wrap: anywhere; }
.tl-rv__city { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; color: rgba(255,255,255,.65); }
.tl-rv__city .tl-icon { width: 14px; height: 14px; color: var(--tl-mango); }
.tl-stars { position: relative; display: inline-block; width: max-content; line-height: 0; margin-top: 4px; }
.tl-stars__row { display: inline-flex; gap: 3px; color: rgba(255,255,255,.18); }
.tl-stars__row svg { width: 18px; height: 18px; flex: none; }
.tl-stars__row--fill {
  position: absolute;
  inset: 0;
  color: var(--tl-mango);
  /* fill to the rating: 90% = 4.5 stars */
  clip-path: inset(0 calc(100% - var(--stars, 100%)) 0 0);
}

/* Decorative mark: absolutely placed, behind the header (the name may run over it). */
.tl-rv__mark {
  position: absolute;
  z-index: 0;
  right: 18px;
  top: 6px;
  font: 700 5.5rem/1 var(--tl-font-display);
  color: rgba(253,172,45,.2);
  pointer-events: none;
}
.tl-rv__text p {
  margin: 0;
  white-space: pre-line;
  font: 500 clamp(1rem, .94rem + .3vw, 1.15rem)/1.5 var(--tl-font-display);
  color: var(--tl-white);
  text-wrap: pretty;
}

.tl-rv__quote { position: static; display: grid; justify-items: start; gap: 8px; align-content: start; }
.tl-rv__text { margin: 0; }
/* Long comments: JS trims the visible copy to 5 lines and ends it with an inline
   "Leer más" (or "Leer menos" once open). Without JS the full comment shows. */
.tl-rv__more {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tl-mango);
  font: 600 .92em/inherit var(--tl-font-body);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.tl-rv__more:hover { color: var(--tl-white); }
.tl-rv__more:focus-visible { outline: 2px solid var(--tl-mango); outline-offset: 2px; border-radius: 4px; }

/* Same arrows and page dots as the product rails, recoloured for the navy panel.
   Here the arrows sit beside the dots, under the cards, on every screen size. */
.tl-reviews__foot { display: flex; align-items: center; gap: 12px 20px; min-width: 0; }
.tl-reviews__foot .tl-pager { flex: 1 1 auto; min-width: 0; }
.tl-reviews__foot .tl-pager[hidden] + .tl-reviews__arrows { margin-left: auto; }
.tl-reviews__arrows { flex: none; }
.tl-reviews .tl-pager__dot::before { background: rgba(255,255,255,.22); }
.tl-reviews .tl-pager__dot:hover::before { background: rgba(255,255,255,.45); }
.tl-reviews .tl-pager__dot[aria-current="true"]::before { background: var(--tl-mango); }
.tl-reviews .tl-pager__dot:focus-visible { outline-color: var(--tl-mango); }
.tl-reviews .tl-pager__count { color: rgba(255,255,255,.6); }
.tl-reviews .tl-pager__count b { color: var(--tl-white); }
.tl-reviews .tl-round:disabled { opacity: .35; }

@media (max-width: 820px) {
  .tl-reviews__track { grid-auto-columns: 100%; }
}
@media (max-width: 420px) {
  .tl-rv__mark { font-size: 4.2rem; right: 12px; }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.tl-final {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
}
.tl-final__copy {
  background: var(--tl-blue);
  color: var(--tl-white);
  border-radius: var(--tl-radius-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  justify-items: start;
  align-content: center;
}
.tl-final__copy .tl-display { margin-bottom: 1rem; max-width: 14ch; }

.tl-final__channel {
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--tl-radius-lg);
  background: var(--tl-mango);
  color: var(--tl-navy);
  text-decoration: none;
  transition: transform .35s var(--tl-ease);
}
.tl-final__channel:hover { color: var(--tl-navy); transform: translateY(-4px); }
.tl-final__channel-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tl-final__channel-text { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1.08 var(--tl-font-display); text-wrap: balance; }
.tl-final__channel-go { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }

/* ---------- Final CTA: background shapes only (no effect on layout) ---------- */

.tl-final__copy,
.tl-final__channel { position: relative; overflow: hidden; isolation: isolate; }
.tl-final__copy > :not(.tl-final__art),
.tl-final__channel > :not(.tl-final__channel-art) { position: relative; z-index: 1; }
.tl-final__art,
.tl-final__channel-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tl-final__art > *,
.tl-final__channel-art > * { position: absolute; display: block; }

.tl-final__sun { right: -9%; bottom: -42%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--tl-mango); }
.tl-final__ring { right: 15%; top: -22%; width: 24%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.tl-final__dots { right: 5%; top: 14%; width: 17%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,255,255,.4) 2.2px, transparent 2.7px) 0 0 / 16px 16px; }
.tl-final__spark {
  right: 33%; bottom: 18%; width: 20px; aspect-ratio: 1; background: var(--tl-mango);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: tl-twinkle 3.6s ease-in-out infinite;
}

.tl-final__sun--coral { right: -18%; bottom: auto; top: -20%; width: 52%; background: var(--tl-coral); opacity: .9; }
.tl-final__dots--navy { right: auto; left: 44%; top: auto; bottom: 24%; width: 16%; background-image: radial-gradient(circle, rgba(0,6,61,.22) 2.2px, transparent 2.7px); }
.tl-final__stripes {
  right: -6%; bottom: -10%; width: 50%; height: 44%; border-radius: 24px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 10px, transparent 10px 22px);
  box-shadow: inset 0 0 0 1.5px rgba(0,6,61,.2);
}
.tl-final__spark--coral { right: 14%; bottom: auto; top: 46%; background: var(--tl-navy); animation-delay: -1.8s; }
@keyframes tl-twinkle { 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 1000px) {
  .tl-landing { padding-top: calc(30px + 70px + 20px); }
  /* The floating navbar takes the landing container's width (gutter is 40px from 1000px up).
     Below 1000px base.css keeps it full width. */
  body:has(.tl-landing) nav.main-nav { width: min(100vw - 2 * 40px, 1240px); }
}

@media (max-width: 1024px) {
}

@media (max-width: 820px) {
  .tl-slide {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 104px;
  }
  .tl-slide__art { order: -1; }
  .tl-stage { max-width: 440px; width: 94%; }
  .tl-slide__copy .tl-display { max-width: 14ch; }
  .tl-final { grid-template-columns: minmax(0, 1fr); }
  .tl-final__sun { width: 48%; bottom: -30%; }
  .tl-final__sun--coral { width: 40%; top: -22%; bottom: auto; }
  .tl-final__spark,
  .tl-final__dots--navy { display: none; }
}

@media (max-width: 560px) {
  .tl-hero__tab-label { font-size: .72rem; }
  .tl-hero__buttons [data-hero-prev],
  .tl-hero__buttons [data-hero-next] { display: none; }
  .tl-section__head { flex-wrap: wrap; align-items: flex-end; }
  .tl-rail__nav { display: none; }
  .tl-reviews .tl-rail__nav:not([hidden]) { display: flex; } /* keep review arrows on phones */
  .tl-reviews__arrows .tl-round { width: 44px; height: 44px; }
  .tl-slide__ctas .tl-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-landing *,
  .tl-landing *::before,
  .tl-landing *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
