:root {
  --tl-bg: #08080c;
  --tl-surface: #111119;
  --tl-surface-2: #17151e;
  --tl-text: #f7f4f0;
  --tl-muted: #aaa4ae;
  --tl-line: rgba(255, 255, 255, 0.13);
  --tl-accent: #ff7b86;
  --tl-accent-2: #a685ff;
  --tl-accent-text: #130c11;
  --tl-accent-glass: linear-gradient(135deg, rgba(255, 123, 134, 0.22), rgba(255, 123, 134, 0.08));
  --tl-accent-glass-hover: linear-gradient(135deg, rgba(255, 123, 134, 0.32), rgba(255, 123, 134, 0.13));
  --tl-accent-glass-border: rgba(255, 123, 134, 0.62);
  --tl-action-bg: rgba(255, 123, 134, 0.08);
  --tl-action-bg-hover: rgba(255, 123, 134, 0.15);
  --tl-action-border: rgba(255, 123, 134, 0.55);
  --tl-action-border-hover: #ff7b86;
  --tl-sector-glass: linear-gradient(135deg, rgba(176, 255, 205, 0.2), rgba(90, 216, 159, 0.08));
  --tl-sector-glass-hover: linear-gradient(135deg, rgba(176, 255, 205, 0.3), rgba(90, 216, 159, 0.14));
  --tl-sector-glass-border: rgba(176, 255, 205, 0.6);
  --tl-sector-text: #e3ffed;
  --tl-header-height: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tl-header-height) + 18px);
}

body.territorio-site {
  margin: 0;
  padding-top: var(--tl-header-height);
  background: var(--tl-bg);
  color: var(--tl-text);
  font-family: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body.territorio-site *,
body.territorio-site *::before,
body.territorio-site *::after {
  box-sizing: border-box;
}

.tl-gtm-frame {
  width: 0;
  height: 0;
  display: none;
  visibility: hidden;
}

body.territorio-site a {
  color: inherit;
}

body.territorio-site section[id] {
  scroll-margin-top: calc(var(--tl-header-height) + 18px);
}

.tl-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--tl-header-height);
  border-bottom: 1px solid var(--tl-line);
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.tl-nav {
  width: min(1440px, 100%);
  height: var(--tl-header-height);
  min-height: var(--tl-header-height);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.6vw, 68px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.tl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
}

.tl-brand-orb {
  width: 50px;
  height: 50px;
  display: block;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(104, 226, 255, 0.32);
  border-radius: 50%;
  background: #0d0818;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.035),
    0 0 24px rgba(83, 221, 255, 0.13),
    0 0 22px rgba(255, 60, 178, 0.12) inset;
}

.tl-brand-orb img {
  width: 100%;
  height: 145%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.12) brightness(1.09) contrast(1.04);
}

.tl-brand-word {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--tl-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.tl-brand-word small {
  color: var(--tl-muted);
  font-size: inherit;
  font-weight: 400;
}

.tl-nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.tl-nav-links a {
  color: var(--tl-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

.tl-nav-links a:hover,
.tl-nav-links a:focus-visible {
  color: var(--tl-text);
}

.tl-nav-links .tl-nav-sector {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--tl-action-border);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--tl-action-bg);
  color: var(--tl-text);
  font-weight: 750;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tl-nav-links .tl-nav-sector b {
  color: var(--tl-accent);
  font-size: 14px;
  font-weight: 700;
}

.tl-nav-links .tl-nav-sector:hover,
.tl-nav-links .tl-nav-sector:focus-visible {
  border-color: var(--tl-action-border-hover);
  background: var(--tl-action-bg-hover);
  transform: translateY(-1px);
}

.tl-nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.tl-whatsapp,
.tl-nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--tl-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tl-whatsapp:hover,
.tl-nav-cta:hover,
.tl-nav-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.tl-nav-cta {
  border-color: var(--tl-accent-glass-border);
  background: var(--tl-accent-glass);
  color: var(--tl-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 28px rgba(255, 123, 134, 0.1);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.tl-nav-cta:hover {
  border-color: rgba(255, 154, 165, 0.82);
  background: var(--tl-accent-glass-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 13px 34px rgba(255, 123, 134, 0.16);
}

.tl-lang-select {
  min-width: 84px;
  height: 40px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  padding: 0 30px 0 40px;
  background-color: #0f0f15;
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 20px 15px;
  color: var(--tl-text);
  font: inherit;
  font-size: 11px;
  appearance: auto;
  cursor: pointer;
}

.tl-lang-select[data-flag="es"] {
  background-image: url("./images/flag-es.svg");
}

.tl-lang-select[data-flag="en"] {
  background-image: url("./images/flag-en.svg");
}

.tl-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 1px solid var(--tl-line);
  border-radius: 50%;
  background: transparent;
  color: var(--tl-text);
  cursor: pointer;
}

.tl-mobile-menu {
  border-top: 1px solid var(--tl-line);
  background: rgba(8, 8, 12, 0.98);
}

.tl-mobile-menu ul {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 12px 20px 22px;
  list-style: none;
}

.tl-mobile-menu li + li {
  border-top: 1px solid var(--tl-line);
}

.tl-mobile-menu a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--tl-text);
  font-size: 16px;
  text-decoration: none;
}

.tl-mobile-menu a::after {
  content: "↗";
  color: var(--tl-accent);
}

.tl-mobile-menu .tl-mobile-sector-link {
  min-height: 56px;
  margin: 8px 0;
  border: 1px solid rgba(255, 123, 134, 0.55);
  border-radius: 14px;
  padding: 0 16px;
  background: rgba(255, 123, 134, 0.1);
  color: var(--tl-text);
  font-weight: 750;
}

.tl-hero {
  min-height: calc(100svh - var(--tl-header-height));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--tl-line);
  background: var(--tl-bg);
}

.tl-hero-art,
.tl-hero-shade {
  position: absolute;
  inset: 0;
}

.tl-hero-art {
  z-index: -3;
}

.tl-hero-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: 68% center;
}

.tl-hero-poster {
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.015);
  animation:
    tl-hero-settle 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) both,
    tl-hero-base-drift 18s 1100ms ease-in-out infinite alternate;
}

.tl-hero-motion {
  opacity: 0;
  filter: saturate(0.96) contrast(1.04) brightness(0.94);
  transform: scale(1.04);
  will-change: opacity, transform;
  animation:
    tl-frame-crossfade 12s ease-in-out infinite,
    tl-motion-drift 17s ease-in-out infinite alternate;
}

.tl-hero-art::before,
.tl-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tl-hero-art::before {
  z-index: 2;
  opacity: 0.1;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(92, 227, 255, 0.13) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 101, 157, 0.08) 80px);
  mask-image: linear-gradient(90deg, transparent 10%, #000 55%, #000 100%);
  animation: tl-data-drift 18s linear infinite;
}

.tl-hero-art::after {
  z-index: 3;
  background:
    radial-gradient(circle at 72% 54%, rgba(97, 223, 255, 0.16), transparent 21%),
    radial-gradient(circle at 82% 66%, rgba(255, 89, 167, 0.18), transparent 26%);
  mix-blend-mode: screen;
  animation: tl-signal-pulse 7s ease-in-out infinite alternate;
}

.tl-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.99) 0%, rgba(8, 8, 12, 0.86) 34%, rgba(8, 8, 12, 0.28) 68%, rgba(8, 8, 12, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 8, 12, 0.76) 0%, transparent 48%);
}

.tl-hero-content {
  width: min(1440px, 100%);
  min-height: calc(100svh - var(--tl-header-height));
  margin: 0 auto;
  padding: clamp(92px, 12vh, 142px) clamp(22px, 6vw, 92px) 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.tl-kicker {
  margin: 0;
  color: var(--tl-accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tl-hero h1 {
  max-width: 860px;
  margin: 24px 0 0;
  color: var(--tl-text);
  font-size: clamp(58px, 7.6vw, 112px);
  font-weight: 680;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.tl-hero h1 em {
  color: var(--tl-accent);
  font-style: normal;
  font-weight: inherit;
}

.tl-hero-line {
  display: block;
}

.tl-hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--tl-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.58;
}

.tl-hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tl-primary-cta,
.tl-secondary-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.tl-primary-cta {
  border: 1px solid var(--tl-accent-glass-border);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--tl-accent-glass);
  color: var(--tl-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 42px rgba(255, 123, 134, 0.13);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tl-primary-cta:hover,
.tl-primary-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 154, 165, 0.82);
  background: var(--tl-accent-glass-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 48px rgba(255, 123, 134, 0.19);
}

.tl-secondary-cta {
  gap: 10px;
  border-bottom: 1px solid var(--tl-line);
  color: var(--tl-muted) !important;
}

.tl-secondary-cta span {
  color: var(--tl-accent);
}

.tl-hero-index {
  min-height: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid var(--tl-line);
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(14px);
}

.tl-hero-index span {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--tl-line);
  color: var(--tl-muted);
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-hero-index span:last-child {
  border-right: 0;
}

@keyframes tl-hero-settle {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes tl-hero-base-drift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.045) translate3d(-0.7%, -0.35%, 0); }
}

@keyframes tl-frame-crossfade {
  0%, 24% { opacity: 0; }
  45%, 72% { opacity: 0.82; }
  94%, 100% { opacity: 0; }
}

@keyframes tl-motion-drift {
  from { transform: scale(1.035) translate3d(0.5%, 0, 0); }
  to { transform: scale(1.075) translate3d(-1.2%, -0.6%, 0); }
}

@keyframes tl-data-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(80px, 80px, 0); }
}

@keyframes tl-signal-pulse {
  from { opacity: 0.45; transform: scale(0.98); }
  to { opacity: 0.85; transform: scale(1.04); }
}

@media (max-width: 1240px) {
  .tl-nav-links { display: none; }
  .tl-menu-toggle { display: grid; }
  .tl-nav { grid-template-columns: 1fr auto; }
}

@media (max-width: 760px) {
  :root { --tl-header-height: 68px; }

  .tl-nav {
    min-height: var(--tl-header-height);
    padding: 0 16px;
    gap: 12px;
  }

  .tl-brand-orb { width: 46px; height: 46px; }
  .tl-brand-word { display: none; }
  .tl-whatsapp span,
  .tl-nav-cta { display: none; }
  .tl-whatsapp { width: 40px; min-height: 40px; padding: 0; }
  .tl-lang-select {
    min-width: 72px;
    height: 40px;
    padding-left: 34px;
    padding-right: 22px;
    background-position: 9px center;
    background-size: 18px 14px;
  }
  .tl-nav-actions { gap: 7px; }

  .tl-hero {
    min-height: calc(100svh - var(--tl-header-height));
  }

  .tl-hero-art img {
    object-position: 66% center;
  }

  .tl-hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 12, 0.96), rgba(8, 8, 12, 0.3)),
      linear-gradient(0deg, rgba(8, 8, 12, 0.92) 0%, rgba(8, 8, 12, 0.08) 70%);
  }

  .tl-hero-content {
    min-height: calc(100svh - var(--tl-header-height));
    padding: 80px 20px 124px;
  }

  .tl-hero h1 {
    margin-top: 20px;
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.94;
  }

  .tl-hero-lead {
    max-width: 500px;
    margin-top: 26px;
    font-size: 15px;
  }

  .tl-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .tl-primary-cta { min-height: 50px; }
  .tl-secondary-cta { min-height: 46px; }
  .tl-hero-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 78px;
  }

  .tl-hero-index span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tl-line);
  }
}

@media (max-width: 420px) {
  .tl-hero h1 { font-size: clamp(36px, 11vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tl-hero-art .tl-hero-motion { display: none; }
  .tl-hero-art img,
  .tl-hero-art::before,
  .tl-hero-art::after { animation: none; transform: none; }
  .tl-whatsapp,
  .tl-nav-cta,
  .tl-primary-cta,
  .tl-nav-sector,
  .tl-lab-sector-link,
  .tl-round-link,
  .tl-contact-whatsapp,
  .tl-contact-detail { transition: none; }

  .tl-nav-cta:hover,
  .tl-nav-cta:focus-visible,
  .tl-primary-cta:hover,
  .tl-primary-cta:focus-visible,
  .tl-round-link:hover,
  .tl-round-link:focus-visible { transform: none; }
}

/* ===== Territorio Digital: contenido editorial ===== */
.tl-shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.tl-section {
  position: relative;
  padding: clamp(92px, 11vw, 170px) 0;
  border-bottom: 1px solid var(--tl-line);
}

.tl-section-label {
  margin: 0;
  color: var(--tl-accent);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tl-display {
  margin: 0;
  color: var(--tl-text);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.tl-manifesto {
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 123, 134, 0.11), transparent 27%),
    var(--tl-bg);
}

.tl-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.tl-manifesto .tl-display {
  max-width: 1020px;
}

.tl-manifesto-copy {
  max-width: 830px;
  margin-top: clamp(42px, 6vw, 82px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 66px);
}

.tl-manifesto-copy p {
  margin: 0;
  color: var(--tl-muted);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.58;
}

.tl-solutions {
  overflow: hidden;
  background: #0b0b10;
}

.tl-solutions::before {
  content: "R";
  position: absolute;
  right: -0.1em;
  top: 0.02em;
  color: rgba(255, 255, 255, 0.018);
  font-size: min(76vw, 980px);
  font-weight: 800;
  line-height: 0.8;
  pointer-events: none;
}

.tl-section-head {
  max-width: 930px;
  position: relative;
  z-index: 1;
}

.tl-section-head .tl-display {
  margin-top: 24px;
}

.tl-section-head > p:last-child {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--tl-muted);
  font-size: 18px;
  line-height: 1.6;
}

.tl-solutions-grid {
  margin-top: clamp(62px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--tl-line);
  border-left: 1px solid var(--tl-line);
  position: relative;
  z-index: 1;
}

.tl-service-card {
  --card-accent: var(--tl-accent);
  min-height: 470px;
  padding: clamp(32px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--tl-line);
  border-bottom: 1px solid var(--tl-line);
  background: rgba(255, 255, 255, 0.015);
  transition: background-color 260ms ease, transform 260ms ease;
}

.tl-service-card::after {
  content: "";
  width: 170px;
  height: 170px;
  position: absolute;
  right: -64px;
  bottom: -64px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 58%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 70px color-mix(in srgb, var(--card-accent) 12%, transparent);
  transition: transform 360ms ease;
}

.tl-service-card:hover {
  background: rgba(255, 255, 255, 0.035);
}

.tl-service-card:hover::after {
  transform: scale(1.22);
}

.tl-card-violet { --card-accent: var(--tl-accent-2); }
.tl-card-blue { --card-accent: #73b7ff; }
.tl-card-lime { --card-accent: #d8f477; }

.tl-service-no {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #918b96;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.tl-service-label {
  margin: 0 0 auto;
  color: var(--card-accent);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tl-service-card h3 {
  max-width: 570px;
  margin: 70px 0 0;
  color: var(--tl-text);
  font-size: clamp(29px, 3.2vw, 47px);
  font-weight: 570;
  letter-spacing: -0.05em;
  line-height: 1.03;
  text-wrap: balance;
}

.tl-service-card > p:not(.tl-service-label) {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--tl-muted);
  font-size: 15px;
  line-height: 1.6;
}

.tl-service-card ul {
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.tl-service-card li {
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  padding: 7px 10px;
  color: #c9c4cc;
  font-size: 10px;
  letter-spacing: 0.035em;
}

.tl-service-card-link {
  min-height: 44px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--card-accent) 52%, transparent);
  padding: 0 2px;
  color: var(--tl-text);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.tl-service-card-link:hover,
.tl-service-card-link:focus-visible {
  border-color: var(--card-accent);
}

.tl-sector-band {
  margin-top: clamp(56px, 7vw, 92px);
  padding: clamp(34px, 4vw, 54px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
  border: 1px solid var(--tl-line);
  background: linear-gradient(125deg, rgba(166, 133, 255, 0.13), rgba(255, 123, 134, 0.06));
}

.tl-sector-band h3 {
  margin: 18px 0 0;
  color: var(--tl-text);
  font-size: clamp(36px, 4.9vw, 64px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.tl-sector-band > div > p:last-child {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--tl-muted);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.55;
}

.tl-round-link {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  border: 1px solid var(--tl-sector-glass-border);
  border-radius: 999px;
  padding: 0 30px;
  background: var(--tl-sector-glass);
  color: var(--tl-sector-text);
  font: inherit;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(90, 216, 159, 0.13);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.territorio-site .tl-round-link {
  color: var(--tl-sector-text);
}

.tl-round-link span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(203, 255, 221, 0.12);
  color: currentColor;
  font-size: 18px;
}

.tl-round-link:hover,
.tl-round-link:focus-visible {
  border-color: rgba(196, 255, 216, 0.84);
  background: var(--tl-sector-glass-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 52px rgba(90, 216, 159, 0.2);
}

.tl-marketing-feature {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, rgba(242, 216, 75, 0.09), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(255, 123, 134, 0.1), transparent 26%),
    #0a0a0f;
}

.tl-marketing-feature::before {
  content: "GROWTH";
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.018);
  font-size: min(23vw, 330px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.tl-marketing-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.tl-marketing-feature-copy .tl-display {
  margin-top: 24px;
  font-size: clamp(50px, 6.4vw, 92px);
}

.tl-marketing-feature-copy > p:not(.tl-section-label) {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--tl-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.tl-marketing-points {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.tl-marketing-points li {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--tl-line);
  padding-top: 12px;
  color: #d9d4dc;
  font-size: 14px;
}

.tl-marketing-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f2d84b;
  box-shadow: 0 0 18px rgba(242, 216, 75, 0.4);
}

.tl-marketing-cta {
  min-height: 52px;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(242, 216, 75, 0.52);
  border-radius: 999px;
  padding: 0 24px;
  background: rgba(242, 216, 75, 0.08);
  color: var(--tl-text);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tl-marketing-cta:hover,
.tl-marketing-cta:focus-visible {
  border-color: #f2d84b;
  background: rgba(242, 216, 75, 0.15);
  transform: translateY(-1px);
}

.tl-marketing-console {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 216, 75, 0.24);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(255, 123, 134, 0.16), transparent 30%),
    #0d0e15;
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42);
}

.tl-marketing-console::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tl-marketing-console-head {
  min-height: 62px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--tl-line);
  padding: 0 24px;
  color: #a8a2ad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tl-marketing-console-head i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #68ed9d;
  box-shadow: 0 0 14px rgba(104, 237, 157, 0.6);
}

.tl-marketing-console-head small {
  color: #c8c2cc;
  font: inherit;
}

.tl-marketing-orbit {
  width: min(430px, 76%);
  aspect-ratio: 1;
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(242, 216, 75, 0.24);
  border-radius: 50%;
}

.tl-marketing-orbit::before,
.tl-marketing-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 123, 134, 0.2);
  border-radius: 50%;
}

.tl-marketing-orbit::before { inset: 14%; }
.tl-marketing-orbit::after { inset: 31%; border-color: rgba(242, 216, 75, 0.28); }

.tl-marketing-core {
  width: 118px;
  height: 118px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 123, 134, 0.56);
  background: rgba(255, 123, 134, 0.11);
  box-shadow: 0 0 48px rgba(255, 123, 134, 0.16);
  text-align: center;
}

.tl-marketing-core strong,
.tl-marketing-core small { transform: rotate(-45deg); }
.tl-marketing-core strong { color: var(--tl-accent); font-size: 36px; }
.tl-marketing-core small { color: #bbb5c0; font-size: 10px; }

.tl-marketing-channel {
  min-height: 34px;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(242, 216, 75, 0.34);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(10, 10, 15, 0.9);
  color: #f2d84b;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.tl-channel-google { left: 6%; top: 22%; }
.tl-channel-meta { right: -2%; top: 39%; }
.tl-channel-content { left: 13%; bottom: 13%; }

.tl-marketing-results {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tl-marketing-results div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--tl-line);
  padding: 12px 14px;
  background: rgba(8, 8, 12, 0.76);
}

.tl-marketing-results span,
.tl-marketing-results small { color: #8f8994; font-size: 9px; letter-spacing: 0.08em; }
.tl-marketing-results strong { color: var(--tl-text); font-size: 11px; letter-spacing: 0.08em; }

.tl-ai {
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 46%, rgba(97, 134, 255, 0.14), transparent 25%),
    #09090e;
}

.tl-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.tl-ai-copy .tl-display { margin-top: 24px; }

.tl-ai-copy > p:not(.tl-section-label) {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--tl-muted);
  font-size: 17px;
  line-height: 1.65;
}

.tl-text-link {
  margin-top: 34px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--tl-line);
  padding-bottom: 10px;
  color: var(--tl-text);
  font-size: 13px;
  text-decoration: none;
}

.tl-text-link span { color: var(--tl-accent); }

.tl-system-map {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 123, 134, 0.24);
  background: #090a10;
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.45), 0 0 72px rgba(255, 123, 134, 0.08);
}

.tl-system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 6, 11, 0.56), transparent 30%, transparent 68%, rgba(5, 6, 11, 0.84)),
    radial-gradient(circle at 50% 53%, transparent 18%, rgba(5, 6, 11, 0.08) 52%, rgba(5, 6, 11, 0.72) 100%);
  pointer-events: none;
}

.tl-system-map::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tl-system-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.82);
  transform: scale(1.025);
  animation: tl-system-breathe 4.8s ease-in-out 1 both;
  animation-play-state: paused;
}

.tl-system-surface {
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.tl-system-top,
.tl-system-output {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 6;
  color: rgba(247, 244, 240, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.tl-live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #87eeac;
  box-shadow: 0 0 16px #87eeac;
  animation: tl-live-pulse 1.5s ease-in-out 3;
  animation-play-state: paused;
}

.tl-system-signals {
  position: absolute;
  inset: 12% 7% 18%;
  z-index: 2;
  pointer-events: none;
}

.tl-signal {
  width: 46%;
  height: 1px;
  position: absolute;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(255, 123, 134, 0.34), transparent);
  transform-origin: left center;
}

.tl-signal::after {
  content: "";
  width: 68px;
  height: 2px;
  position: absolute;
  left: -68px;
  top: -1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff7b86, #f7c3cc, transparent);
  box-shadow: 0 0 18px rgba(255, 123, 134, 0.8);
  animation: tl-signal-travel 4s linear 1 both;
  animation-play-state: paused;
}

.tl-signal-a { left: 3%; top: 37%; transform: rotate(8deg); }
.tl-signal-b { right: 0; top: 34%; transform: rotate(172deg); }
.tl-signal-c { left: 30%; bottom: 8%; width: 40%; transform: rotate(-90deg); }
.tl-signal-b::after { animation-delay: 0.4s; }
.tl-signal-c::after { animation-delay: 0.8s; }

.tl-data-node {
  width: 7px;
  height: 7px;
  position: absolute;
  border: 1px solid rgba(247, 244, 240, 0.72);
  border-radius: 50%;
  background: rgba(255, 123, 134, 0.88);
  box-shadow: 0 0 0 8px rgba(255, 123, 134, 0.08), 0 0 20px rgba(255, 123, 134, 0.65);
  animation: tl-node-pulse 2s ease-in-out 2;
  animation-play-state: paused;
}

.tl-data-node-a { left: 12%; top: 29%; }
.tl-data-node-b { right: 10%; top: 31%; animation-delay: 0.35s; }
.tl-data-node-c { left: 48%; bottom: 1%; animation-delay: 0.7s; }

.tl-system-core {
  display: grid;
  place-content: center;
  position: relative;
  z-index: 5;
  text-align: center;
}

.tl-core-shell {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(247, 244, 240, 0.4);
  background: rgba(11, 11, 18, 0.36);
  box-shadow: 0 0 42px rgba(255, 123, 134, 0.26), inset 0 0 30px rgba(255, 123, 134, 0.14);
  backdrop-filter: blur(8px);
  transform: rotate(45deg);
  animation: tl-core-float 4.5s ease-in-out 1 both;
  animation-play-state: paused;
}

.tl-core-shell::before,
.tl-core-shell::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 123, 134, 0.28);
}

.tl-core-shell::before { inset: -18px; }
.tl-core-shell::after { inset: 18px; border-color: rgba(247, 244, 240, 0.18); }

.tl-core-shell span {
  color: var(--tl-accent);
  font-size: 38px;
  font-weight: 760;
  text-shadow: 0 0 20px rgba(255, 123, 134, 0.7);
  transform: rotate(-45deg);
}

.tl-system-core p {
  margin: 0;
  color: var(--tl-text);
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9);
}

.tl-system-core small {
  margin-top: 8px;
  color: rgba(247, 244, 240, 0.72);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.tl-system-output {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tl-system-output > div {
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(247, 244, 240, 0.12);
  background: rgba(8, 8, 14, 0.54);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.tl-system-output i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--tl-accent);
  box-shadow: 0 0 12px rgba(255, 123, 134, 0.72);
}

.tl-system-map.is-visual-active .tl-system-image,
.tl-system-map.is-visual-active .tl-live-dot::before,
.tl-system-map.is-visual-active .tl-signal::after,
.tl-system-map.is-visual-active .tl-data-node,
.tl-system-map.is-visual-active .tl-core-shell {
  animation-play-state: running;
}

@keyframes tl-system-breathe {
  from { transform: scale(1.025) translate3d(-0.5%, 0, 0); }
  to { transform: scale(1.085) translate3d(0.7%, -0.8%, 0); }
}

@keyframes tl-signal-travel {
  0% { left: -68px; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes tl-node-pulse {
  0%, 100% { transform: scale(0.82); opacity: 0.58; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes tl-live-pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 8px #87eeac; }
  50% { opacity: 1; box-shadow: 0 0 20px #87eeac; }
}

@keyframes tl-core-float {
  0%, 100% { transform: rotate(45deg) translate3d(0, 0, 0); }
  50% { transform: rotate(45deg) translate3d(-4px, -4px, 0); }
}

.tl-method {
  background: #f0ece7;
  color: #141318;
}

.tl-method .tl-section-label { color: #8f303b; }
.tl-method .tl-display { color: #141318; }

.tl-section-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.6fr);
  gap: 64px;
  align-items: end;
}

.tl-method .tl-section-head-row > p:last-child {
  margin: 0 0 8px;
  color: #625e63;
}

.tl-method-list {
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(20, 19, 24, 0.2);
  list-style: none;
}

.tl-method-list li {
  min-height: 142px;
  display: grid;
  grid-template-columns: 0.18fr 0.65fr 1fr;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid rgba(20, 19, 24, 0.2);
}

.tl-method-no {
  color: #696368;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.tl-method-list h3 {
  margin: 0;
  color: #141318;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 580;
  letter-spacing: -0.055em;
}

.tl-method-list p {
  max-width: 560px;
  margin: 0;
  color: #625e63;
  font-size: 15px;
  line-height: 1.6;
}

.tl-lab {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(42, 26, 48, 0.8), transparent 60%),
    #0c0b11;
}

.tl-lab-frame {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 80px;
  align-items: center;
}

.tl-lab-intro .tl-display {
  margin-top: 24px;
}

.tl-lab-intro > .tl-lab-body {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--tl-muted);
  font-size: 17px;
  line-height: 1.65;
}

.tl-lab-sector-link {
  min-height: 48px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 123, 134, 0.55);
  color: var(--tl-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.tl-lab-sector-link span { color: var(--tl-accent); }

.tl-lab-sector-link:hover,
.tl-lab-sector-link:focus-visible {
  border-color: var(--tl-accent);
  color: #fff;
}

.tl-lab-stack {
  height: 520px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 123, 134, 0.22);
  background: #0b0910;
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.46), 0 0 78px rgba(255, 123, 134, 0.07);
}

.tl-lab-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.5), transparent 30%, transparent 64%, rgba(7, 6, 10, 0.72)),
    radial-gradient(circle at 52% 48%, transparent 22%, rgba(7, 6, 10, 0.1) 58%, rgba(7, 6, 10, 0.72));
  pointer-events: none;
}

.tl-lab-stack::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tl-lab-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04) brightness(0.78);
  transform: scale(1.03);
  animation: tl-lab-breathe 4.8s ease-in-out 1 both;
  animation-play-state: paused;
}

.tl-lab-scan {
  height: 2px;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  z-index: 3;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 123, 134, 0.94), #f7d6da, rgba(255, 123, 134, 0.94), transparent);
  box-shadow: 0 0 30px rgba(255, 123, 134, 0.82), 0 18px 50px rgba(255, 123, 134, 0.16);
  animation: tl-lab-scan 4.8s ease-in-out 1 both;
  animation-play-state: paused;
}

.tl-lab-reticle {
  position: absolute;
  inset: 18% 22%;
  z-index: 2;
}

.tl-lab-reticle i {
  width: 38px;
  height: 38px;
  position: absolute;
  border-color: rgba(247, 244, 240, 0.46);
  border-style: solid;
}

.tl-lab-reticle i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.tl-lab-reticle i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.tl-lab-reticle i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.tl-lab-reticle i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }

.tl-lab-status {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 5;
  border: 1px solid rgba(247, 244, 240, 0.12);
  background: rgba(8, 8, 13, 0.62);
  color: rgba(247, 244, 240, 0.78);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.14em;
  backdrop-filter: blur(12px);
}

.tl-lab-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #87eeac;
  box-shadow: 0 0 14px #87eeac;
  animation: tl-live-pulse 1.5s ease-in-out 3;
  animation-play-state: paused;
}

.tl-lab-card {
  width: 174px;
  min-height: 104px;
  padding: 15px;
  display: grid;
  align-content: end;
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(43, 24, 40, 0.78), rgba(10, 9, 15, 0.72));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  animation: tl-card-float-a 4.1s ease-in-out 1 both;
  animation-play-state: paused;
}

.tl-lab-card-ai {
  left: 20px;
  bottom: 20px;
}

.tl-lab-card-auto {
  right: 20px;
  top: 20px;
  animation-name: tl-card-float-b;
  animation-delay: 0.3s;
}

.tl-lab-card-vision {
  right: 20px;
  bottom: 88px;
  animation-name: tl-card-float-c;
  animation-delay: 0.6s;
}

.tl-lab-card span {
  color: var(--tl-accent);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.tl-lab-card strong {
  margin-top: 14px;
  color: var(--tl-text);
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -0.05em;
}

.tl-lab-card small {
  margin-top: 6px;
  color: var(--tl-muted);
  font-size: 12px;
}

.tl-lab-stack.is-visual-active .tl-lab-image,
.tl-lab-stack.is-visual-active .tl-lab-scan,
.tl-lab-stack.is-visual-active .tl-lab-status i,
.tl-lab-stack.is-visual-active .tl-lab-card {
  animation-play-state: running;
}

@keyframes tl-lab-breathe {
  from { transform: scale(1.03) translate3d(-0.7%, 0, 0); }
  to { transform: scale(1.09) translate3d(0.8%, -0.6%, 0); }
}

@keyframes tl-lab-scan {
  0%, 8% { top: 18%; opacity: 0; }
  16% { opacity: 0.9; }
  72% { opacity: 0.82; }
  84%, 100% { top: 77%; opacity: 0; }
}

@keyframes tl-card-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -5px, 0) rotate(0.4deg); }
}

@keyframes tl-card-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  50% { transform: translate3d(-4px, 4px, 0) rotate(-0.5deg); }
}

@keyframes tl-card-float-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0.6deg); }
  50% { transform: translate3d(4px, -4px, 0) rotate(-0.8deg); }
}

.tl-contact {
  background: var(--tl-accent);
  color: var(--tl-accent-text);
}

.tl-contact .tl-section-label {
  color: #4f2731;
}

.tl-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
}

.tl-contact-title {
  max-width: 930px;
  margin: 22px 0 0;
  color: var(--tl-accent-text);
  font-size: clamp(62px, 10vw, 148px);
  font-weight: 650;
  letter-spacing: -0.08em;
  line-height: 0.84;
}

.tl-contact-lead {
  max-width: 630px;
  margin: 38px 0 0;
  color: rgba(19, 12, 17, 0.7);
  font-size: 18px;
  line-height: 1.58;
}

.tl-contact-actions {
  margin-top: 38px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.tl-contact .tl-primary-cta {
  border-color: rgba(19, 12, 17, 0.82);
  background: var(--tl-accent-text);
  color: var(--tl-text) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tl-contact .tl-primary-cta:hover { background: #261b22; }

.tl-contact-whatsapp {
  min-height: 54px;
  padding: 0 20px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(8, 33, 17, 0.16);
  border-radius: 999px;
  background: #25d366;
  color: #07180c !important;
  box-shadow: 0 16px 34px rgba(12, 108, 50, 0.24);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.tl-wa-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.tl-wa-mark img {
  width: 20px;
  height: 20px;
  display: block;
}

.tl-contact-arrow {
  margin-left: 2px;
  font-size: 13px;
}

.tl-contact-whatsapp:hover {
  background: #20c85d;
  box-shadow: 0 20px 38px rgba(12, 108, 50, 0.3);
  transform: translateY(-2px);
}

.tl-contact-whatsapp:focus-visible {
  outline: 3px solid rgba(19, 12, 17, 0.42);
  outline-offset: 4px;
}

.tl-contact-details {
  display: grid;
  gap: 12px;
}

.tl-contact-details > .tl-contact-detail {
  min-height: 92px;
  padding: 18px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border: 1px solid rgba(19, 12, 17, 0.18);
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}

.tl-contact-details .tl-contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(19, 12, 17, 0.14);
  border-radius: 50%;
  background: rgba(19, 12, 17, 0.1);
  font-size: 20px;
  line-height: 1;
}

.tl-contact-meta {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.tl-contact-meta > span {
  color: #4f2731;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.tl-contact-meta strong,
.tl-contact-meta a {
  color: var(--tl-accent-text);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tl-contact-meta a {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.tl-contact-meta a:hover,
.tl-contact-meta a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .tl-contact-details > .tl-contact-detail:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
  }
}

/* ===== Sistema de acciones: mismo lenguaje visual que "Sectores" ===== */
body.territorio-site .tl-nav-cta,
body.territorio-site .tl-hero .tl-primary-cta,
body.territorio-site .tl-hero .tl-secondary-cta,
body.territorio-site .tl-ai .tl-text-link,
body.territorio-site .tl-lab .tl-lab-sector-link,
body.territorio-site .tl-sector-band .tl-round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--tl-action-border);
  border-radius: 999px;
  background: var(--tl-action-bg);
  color: var(--tl-text) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.territorio-site .tl-nav-cta {
  min-height: 40px;
  padding: 0 14px;
}

body.territorio-site .tl-hero .tl-primary-cta,
body.territorio-site .tl-hero .tl-secondary-cta,
body.territorio-site .tl-ai .tl-text-link,
body.territorio-site .tl-lab .tl-lab-sector-link,
body.territorio-site .tl-sector-band .tl-round-link {
  min-height: 52px;
  padding: 0 24px;
}

body.territorio-site .tl-lab .tl-lab-sector-link,
body.territorio-site .tl-sector-band .tl-round-link {
  padding-inline: 20px;
}

body.territorio-site .tl-nav-cta:hover,
body.territorio-site .tl-nav-cta:focus-visible,
body.territorio-site .tl-hero .tl-primary-cta:hover,
body.territorio-site .tl-hero .tl-primary-cta:focus-visible,
body.territorio-site .tl-hero .tl-secondary-cta:hover,
body.territorio-site .tl-hero .tl-secondary-cta:focus-visible,
body.territorio-site .tl-ai .tl-text-link:hover,
body.territorio-site .tl-ai .tl-text-link:focus-visible,
body.territorio-site .tl-lab .tl-lab-sector-link:hover,
body.territorio-site .tl-lab .tl-lab-sector-link:focus-visible,
body.territorio-site .tl-sector-band .tl-round-link:hover,
body.territorio-site .tl-sector-band .tl-round-link:focus-visible {
  border-color: var(--tl-action-border-hover);
  background: var(--tl-action-bg-hover);
  box-shadow: none;
  transform: translateY(-1px);
}

body.territorio-site .tl-nav-cta:active,
body.territorio-site .tl-hero .tl-primary-cta:active,
body.territorio-site .tl-hero .tl-secondary-cta:active,
body.territorio-site .tl-ai .tl-text-link:active,
body.territorio-site .tl-lab .tl-lab-sector-link:active,
body.territorio-site .tl-sector-band .tl-round-link:active {
  background: rgba(255, 123, 134, 0.11);
  transform: none;
}

body.territorio-site .tl-hero .tl-secondary-cta span,
body.territorio-site .tl-ai .tl-text-link span,
body.territorio-site .tl-lab .tl-lab-sector-link span,
body.territorio-site .tl-sector-band .tl-round-link span {
  color: var(--tl-accent);
}

body.territorio-site .tl-sector-band .tl-round-link span {
  width: auto;
  height: auto;
  display: inline;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}

body.territorio-site .tl-contact .tl-primary-cta {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(19, 12, 17, 0.58);
  border-radius: 999px;
  background: rgba(19, 12, 17, 0.09);
  color: var(--tl-accent-text) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.territorio-site .tl-contact .tl-primary-cta:hover,
body.territorio-site .tl-contact .tl-primary-cta:focus-visible {
  border-color: var(--tl-accent-text);
  background: rgba(19, 12, 17, 0.16);
  color: var(--tl-accent-text) !important;
  box-shadow: none;
  transform: translateY(-1px);
}

body.territorio-site .tl-contact .tl-primary-cta:focus-visible {
  outline: 3px solid var(--tl-accent-text);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  body.territorio-site .tl-nav-cta,
  body.territorio-site .tl-hero .tl-primary-cta,
  body.territorio-site .tl-hero .tl-secondary-cta,
  body.territorio-site .tl-ai .tl-text-link,
  body.territorio-site .tl-lab .tl-lab-sector-link,
  body.territorio-site .tl-sector-band .tl-round-link,
  body.territorio-site .tl-contact .tl-primary-cta {
    transition: none;
  }

  body.territorio-site .tl-nav-cta:hover,
  body.territorio-site .tl-nav-cta:focus-visible,
  body.territorio-site .tl-hero .tl-primary-cta:hover,
  body.territorio-site .tl-hero .tl-primary-cta:focus-visible,
  body.territorio-site .tl-hero .tl-secondary-cta:hover,
  body.territorio-site .tl-hero .tl-secondary-cta:focus-visible,
  body.territorio-site .tl-ai .tl-text-link:hover,
  body.territorio-site .tl-ai .tl-text-link:focus-visible,
  body.territorio-site .tl-lab .tl-lab-sector-link:hover,
  body.territorio-site .tl-lab .tl-lab-sector-link:focus-visible,
  body.territorio-site .tl-sector-band .tl-round-link:hover,
  body.territorio-site .tl-sector-band .tl-round-link:focus-visible,
  body.territorio-site .tl-contact .tl-primary-cta:hover,
  body.territorio-site .tl-contact .tl-primary-cta:focus-visible {
    transform: none;
  }
}

.tl-contact-map {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(370px, 0.72fr) minmax(0, 1.28fr);
  min-height: 460px;
  padding: 0;
  border: 1px solid rgba(19, 12, 17, 0.32);
  background: #0d0c11;
  color: var(--tl-text);
  box-shadow: 0 34px 80px rgba(83, 24, 36, 0.22);
  overflow: hidden;
}

.tl-contact-map-copy {
  min-width: 0;
  padding: clamp(30px, 4.5vw, 66px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 123, 134, 0.17), transparent 38%),
    #0d0c11;
}

.tl-contact-map-label {
  margin: 0;
  color: var(--tl-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tl-contact-map-copy h3 {
  max-width: 100%;
  margin: 26px 0 0;
  color: var(--tl-text);
  font-size: clamp(42px, 3.8vw, 58px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.tl-contact-map-copy > p:last-of-type {
  max-width: 340px;
  margin: 22px 0 0;
  color: var(--tl-muted);
  font-size: 16px;
  line-height: 1.55;
}

.tl-contact-map-link {
  min-height: 52px;
  margin-top: 36px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 123, 134, 0.6);
  border-radius: 999px;
  background: rgba(255, 123, 134, 0.08);
  color: var(--tl-text) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tl-contact-map-link > span:last-child { color: var(--tl-accent); }

.tl-contact-map-link:hover,
.tl-contact-map-link:focus-visible {
  border-color: var(--tl-accent);
  background: rgba(255, 123, 134, 0.15);
  transform: translateY(-2px);
}

.tl-contact-map-frame {
  min-width: 0;
  min-height: 460px;
  position: relative;
  background: #17151b;
  overflow: hidden;
}

.tl-contact-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 123, 134, 0.16);
}

.tl-contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  border: 0;
  filter: saturate(0.72) contrast(1.04);
  transition: filter 240ms ease;
}

.tl-contact-map-frame:hover iframe,
.tl-contact-map-frame:focus-within iframe {
  filter: saturate(1) contrast(1);
}

.tl-contact-map-frame iframe:focus-visible {
  outline: 3px solid var(--tl-accent);
  outline-offset: -5px;
}

.tl-footer {
  border-top: 0;
  background: #08080c;
}

.tl-footer-main {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.tl-footer-nav,
.tl-footer-social {
  display: flex;
  gap: 28px;
  align-items: center;
}

.tl-footer-nav a,
.tl-footer-social a {
  color: var(--tl-muted);
  font-size: 11px;
  text-decoration: none;
}

.tl-footer-nav .tl-footer-sector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tl-text);
  font-weight: 750;
}

.tl-footer-sector b {
  color: var(--tl-accent);
  font-size: 12px;
}

.tl-footer-social {
  justify-self: end;
}

.tl-footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tl-line);
  border-radius: 50%;
  color: var(--tl-text);
  font-size: 9px;
}

.tl-footer-meta {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--tl-line);
  color: #8f8993;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.tl-footer-meta p { margin: 0; }

body.territorio-site :where(a, button, select, input, textarea):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Asistente discreto y deliberado */
body.territorio-site #chatbot-container {
  right: 18px !important;
  bottom: 18px !important;
  left: auto !important;
  z-index: 900 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

body.territorio-site.tl-menu-open #chatbot-container {
  display: none;
}

body.territorio-site .chatbot-toggle {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(17, 17, 25, 0.94);
  color: var(--tl-text);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 650;
}

body.territorio-site #chatbot-container .chatbot-panel {
  width: min(370px, calc(100vw - 36px));
  max-height: min(72svh, 620px);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 0;
  background: rgba(16, 16, 23, 0.97);
  color: var(--tl-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

body.territorio-site #chatbot-container .chatbot-panel-head {
  min-height: 62px;
  padding: 8px 9px 8px 16px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(110deg, rgba(255, 123, 134, 0.09), rgba(255, 255, 255, 0.025));
}

body.territorio-site #chatbot-container .chatbot-panel-identity strong {
  color: var(--tl-text);
  font-size: 12px;
  letter-spacing: 0.01em;
}

body.territorio-site #chatbot-container .chatbot-panel-identity small {
  color: var(--tl-muted);
  font-size: 10px;
}

body.territorio-site #chatbot-container .chatbot-minimize {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-minimize:hover {
  border-color: rgba(255, 123, 134, 0.68);
  background: rgba(255, 123, 134, 0.11);
}

body.territorio-site #chatbot-container #chatbot-panel-inner {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
  scrollbar-color: rgba(255, 123, 134, 0.55) transparent;
}

body.territorio-site #chatbot-container .chatbot-panel-inner-conversation {
  display: flex;
  overflow: hidden;
}

body.territorio-site #chatbot-container .chatbot-conversation-shell {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
}

body.territorio-site #chatbot-container .chatbot-conversation {
  max-height: 286px;
  min-height: 0;
  padding-right: 3px;
  scrollbar-color: rgba(255, 123, 134, 0.5) transparent;
}

body.territorio-site #chatbot-container .chatbot-teaser {
  width: 100%;
  display: grid;
  gap: 12px;
}

body.territorio-site #chatbot-container .chatbot-teaser-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 8px;
}

body.territorio-site #chatbot-container .chatbot-message-avatar {
  background: var(--tl-accent);
  color: var(--tl-accent-text);
  box-shadow: 0 0 0 4px rgba(255, 123, 134, 0.08);
}

body.territorio-site #chatbot-container .chatbot-message-bubble {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-message-user .chatbot-message-bubble {
  border-color: rgba(255, 123, 134, 0.48);
  background: linear-gradient(115deg, rgba(255, 123, 134, 0.18), rgba(255, 123, 134, 0.075));
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-price-list li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.territorio-site #chatbot-container .chatbot-price-list span,
body.territorio-site #chatbot-container .chatbot-response-note,
body.territorio-site #chatbot-container .chatbot-capability-note {
  color: var(--tl-muted);
}

body.territorio-site #chatbot-container .chatbot-quick-reply,
body.territorio-site #chatbot-container .chatbot-inline-action,
body.territorio-site #chatbot-container .chatbot-conversation-cta {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--tl-text);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.territorio-site #chatbot-container .chatbot-quick-reply {
  min-height: 44px;
}

body.territorio-site #chatbot-container .chatbot-quick-reply:hover,
body.territorio-site #chatbot-container .chatbot-inline-action:hover,
body.territorio-site #chatbot-container .chatbot-conversation-cta:hover {
  border-color: rgba(255, 123, 134, 0.7);
  background: rgba(255, 123, 134, 0.1);
  transform: translateY(-1px);
}

body.territorio-site #chatbot-container .chatbot-conversation-cta {
  border-color: rgba(255, 123, 134, 0.58);
  background: linear-gradient(110deg, rgba(255, 123, 134, 0.14), rgba(255, 123, 134, 0.035));
}

body.territorio-site #chatbot-container .chatbot-inline-action-whatsapp,
body.territorio-site #chatbot-container .chatbot-conversation-cta-whatsapp {
  border-color: rgba(37, 211, 102, 0.56);
  background: rgba(37, 211, 102, 0.08);
}

body.territorio-site #chatbot-container .chatbot-composer-input {
  border-color: rgba(255, 255, 255, 0.16);
  background: #09090d;
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-composer-input::placeholder {
  color: #8f8993;
}

body.territorio-site #chatbot-container .chatbot-composer-input:focus {
  border-color: rgba(255, 123, 134, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 123, 134, 0.12);
}

body.territorio-site #chatbot-container .chatbot-composer-send {
  border: 1px solid rgba(255, 123, 134, 0.62);
  background: rgba(255, 123, 134, 0.13);
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-panel p,
body.territorio-site #chatbot-container .chatbot-panel span,
body.territorio-site #chatbot-container .chatbot-panel strong,
body.territorio-site #chatbot-container .chatbot-panel label {
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-panel p {
  margin: 0 0 10px;
  line-height: 1.5;
}

body.territorio-site #chatbot-container .chatbot-panel p:not(:has(strong)),
body.territorio-site #chatbot-container .chatbot-panel small {
  color: var(--tl-muted);
}

body.territorio-site #chatbot-container .chatbot-badge {
  margin: 14px 0 !important;
  display: block;
  border: 0;
  border-top: 1px solid var(--tl-line);
  border-bottom: 1px solid var(--tl-line);
  border-radius: 0;
  padding: 12px 0;
  border-color: var(--tl-line) !important;
  background: transparent !important;
  color: var(--tl-muted) !important;
  line-height: 1.45;
}

body.territorio-site .chatbot-btn-primary {
  width: 100%;
  min-height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 123, 134, 0.58);
  border-radius: 999px;
  background: rgba(255, 123, 134, 0.11) !important;
  color: var(--tl-text) !important;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

body.territorio-site .chatbot-btn-primary:hover {
  border-color: rgba(255, 123, 134, 0.78);
  background: rgba(255, 123, 134, 0.18) !important;
}

body.territorio-site .chatbot-btn-link {
  margin-top: 10px;
  color: var(--tl-muted);
  font-size: 11px;
}

body.territorio-site .chatbot-input,
body.territorio-site .chatbot-textarea,
body.territorio-site .chatbot-select {
  margin: 6px 0 10px;
  border: 1px solid var(--tl-line);
  border-radius: 8px;
  background: #09090d;
  color: var(--tl-text);
}

body.territorio-site #chatbot-container .chatbot-submit-error {
  margin-top: 10px;
  border: 1px solid rgba(255, 123, 134, 0.5);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 123, 134, 0.08);
}

body.territorio-site #chatbot-container .chatbot-submit-error a {
  color: var(--tl-text);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .tl-manifesto-grid,
  .tl-ai-grid,
  .tl-lab-frame,
  .tl-contact-grid {
    grid-template-columns: 1fr;
  }

  .tl-manifesto-grid { gap: 30px; }
  .tl-ai-grid,
  .tl-lab-frame { gap: 70px; }
  .tl-system-map { min-height: 500px; }
  .tl-lab-frame { min-height: auto; }
  .tl-lab-stack { height: 470px; }
  .tl-contact-grid { align-items: start; }
  .tl-contact-details { max-width: 580px; }
  .tl-contact-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tl-contact-map-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .tl-contact-map-frame {
    height: 400px;
    min-height: 0;
  }
  .tl-contact-map-frame iframe {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .tl-shell { width: min(100% - 36px, 680px); }
  .tl-section { padding: 88px 0; }
  .tl-display { font-size: clamp(41px, 12vw, 62px); }

  .tl-manifesto-copy,
  .tl-solutions-grid,
  .tl-section-head-row,
  .tl-sector-band {
    grid-template-columns: 1fr;
  }

  .tl-manifesto-copy { gap: 22px; }

  .tl-solutions-grid {
    border-left: 0;
  }

  .tl-service-card {
    min-height: 420px;
    padding-inline: clamp(16px, 5vw, 32px);
    border-left: 1px solid var(--tl-line);
  }

  .tl-service-label {
    font-size: clamp(15px, 4.35vw, 17px);
    letter-spacing: 0.01em;
    padding-inline-end: 36px;
  }

  .tl-service-card h3 { margin-top: 68px; }
  .tl-sector-band {
    padding-inline: clamp(24px, 8vw, 34px);
    align-items: start;
  }

  .tl-round-link {
    width: 100%;
    min-height: 52px;
    justify-self: start;
    justify-content: center;
    gap: 8px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .tl-round-link span {
    width: auto;
    height: auto;
    font-size: 14px;
  }

  .tl-section-head-row { gap: 30px; }
  .tl-method .tl-section-head-row > p:last-child { margin: 0; }

  .tl-method-list li {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 42px 1fr;
    gap: 8px 18px;
  }

  .tl-method-list h3 { font-size: 34px; }
  .tl-method-list p { grid-column: 2; }

  .tl-system-map { min-height: 520px; }
  .tl-system-surface { padding: 16px; }
  .tl-core-shell { width: 90px; height: 90px; margin-bottom: 17px; }
  .tl-core-shell::before { inset: -13px; }
  .tl-core-shell::after { inset: 14px; }
  .tl-core-shell span { font-size: 31px; }
  .tl-system-core p { font-size: 20px; }
  .tl-system-output { gap: 5px; }
  .tl-system-output > div {
    min-height: 52px;
    padding: 8px 5px;
    justify-content: center;
    gap: 0;
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .tl-system-output i { display: none; }

  .tl-lab-stack { height: 430px; }
  .tl-lab-status { left: 12px; top: 12px; }
  .tl-lab-reticle { inset: 20% 16%; }
  .tl-lab-card {
    width: calc(50% - 18px);
    max-width: 128px;
    min-height: 84px;
    padding: 11px;
  }
  .tl-lab-card-ai { left: 12px; bottom: 12px; }
  .tl-lab-card-auto { right: 12px; top: 58px; }
  .tl-lab-card-vision { right: 12px; bottom: 12px; }
  .tl-lab-card span { font-size: 8px; }
  .tl-lab-card strong { margin-top: 9px; font-size: 22px; }
  .tl-lab-card small { font-size: 9.5px; line-height: 1.3; }

  .tl-contact-title { font-size: clamp(62px, 18vw, 96px); }
  .tl-contact-lead { font-size: 16px; }
  .tl-contact-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .tl-contact-actions > a { width: min(100%, 350px); }

  .tl-contact-details {
    width: 100%;
    max-width: none;
    margin-top: 4px;
  }

  .tl-contact-details > .tl-contact-detail {
    min-height: 82px;
    padding: 16px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .tl-contact-details .tl-contact-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .tl-contact-meta strong,
  .tl-contact-meta a { font-size: 14px; }

  .tl-contact-map {
    width: min(100% - 36px, 680px);
    margin-top: 56px;
  }

  .tl-contact-map-copy { padding: 28px 22px 30px; }
  .tl-contact-map-copy h3 { margin-top: 20px; font-size: clamp(36px, 11vw, 48px); }
  .tl-contact-map-copy > p:last-of-type { margin-top: 16px; font-size: 15px; }
  .tl-contact-map-link { width: 100%; margin-top: 26px; }
  .tl-contact-map-frame { height: 330px; }

  .tl-footer-main {
    padding: 36px 0;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .tl-footer-social { gap: 14px; }

  .tl-footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 18px;
    flex-wrap: wrap;
  }

  .tl-footer-meta {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.territorio-site #chatbot-container {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.territorio-site .chatbot-toggle {
    width: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  body.territorio-site .chatbot-toggle::before {
    content: "CHAT";
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.08em;
  }

  body.territorio-site .chatbot-toggle span { display: none; }

  body.territorio-site #chatbot-container .chatbot-panel {
    width: min(350px, 100%);
    max-height: min(620px, calc(100svh - 82px));
  }

  body.territorio-site #chatbot-container .chatbot-panel-head {
    min-height: 58px;
  }

  body.territorio-site #chatbot-container #chatbot-panel-inner {
    padding: 14px;
  }

  body.territorio-site #chatbot-container .chatbot-conversation {
    max-height: min(220px, 34svh);
  }

  body.territorio-site #chatbot-container .chatbot-composer-input,
  body.territorio-site #chatbot-container .chatbot-input,
  body.territorio-site #chatbot-container .chatbot-textarea,
  body.territorio-site #chatbot-container .chatbot-select {
    font-size: 16px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .tl-hero-content {
    padding-top: 54px;
    padding-bottom: 92px;
  }

  .tl-hero h1 { font-size: clamp(54px, 7vw, 84px); }
  .tl-hero-lead { margin-top: 20px; }
  .tl-hero-actions { margin-top: 24px; }
}

/* Neutraliza reglas de la versión anterior que apuntaban a estos IDs. */
body.territorio-site #about.tl-manifesto {
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 123, 134, 0.11), transparent 27%),
    var(--tl-bg);
  color: var(--tl-text);
}

body.territorio-site #about.tl-manifesto p,
body.territorio-site #ia.tl-ai p,
body.territorio-site #lab.tl-lab p {
  color: var(--tl-muted);
}

body.territorio-site #about.tl-manifesto .tl-section-label,
body.territorio-site #ia.tl-ai .tl-section-label,
body.territorio-site #lab.tl-lab .tl-section-label {
  color: var(--tl-accent);
}

body.territorio-site #ia.tl-ai {
  background:
    radial-gradient(circle at 77% 46%, rgba(97, 134, 255, 0.14), transparent 25%),
    #09090e;
  color: var(--tl-text);
}

body.territorio-site #metodo.tl-method {
  background: #f0ece7;
  color: #141318;
}

body.territorio-site #metodo.tl-method p {
  color: #625e63;
}

body.territorio-site #metodo.tl-method .tl-section-label {
  color: #8f303b;
}

body.territorio-site #lab.tl-lab {
  background:
    linear-gradient(115deg, rgba(42, 26, 48, 0.8), transparent 60%),
    #0c0b11;
  color: var(--tl-text);
}

body.territorio-site #contact.tl-contact {
  background: var(--tl-accent);
  color: var(--tl-accent-text);
}

body.territorio-site #mapa-title {
  color: var(--tl-accent-text);
}

body.territorio-site footer.tl-footer {
  background: #08080c;
  color: var(--tl-text);
}

/* El contenido nunca depende de JavaScript para ser visible. */
body.territorio-site [data-reveal] {
  opacity: 1;
  transform: none;
}

body.territorio-site .chatbot-toggle span { color: var(--tl-accent); }

/* Vistas funcionales: sectores y videollamada */
body.territorio-site #vistaOpciones,
body.territorio-site #vistaReservas {
  min-height: calc(100svh - var(--tl-header-height));
  background:
    radial-gradient(circle at 82% 8%, rgba(166, 133, 255, 0.12), transparent 26%),
    var(--tl-bg);
  color: var(--tl-text);
}

body.territorio-site #vistaOpciones > .wrap,
body.territorio-site #vistaReservas > .wrap {
  width: min(1320px, calc(100% - 48px));
  padding-top: clamp(72px, 8vw, 112px) !important;
  padding-bottom: clamp(90px, 10vw, 150px) !important;
}

body.territorio-site #vistaOpciones .panel,
body.territorio-site #vistaReservas .panel {
  border: 1px solid var(--tl-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.018);
  color: var(--tl-text);
  box-shadow: none;
}

body.territorio-site #vistaOpciones .panel::before,
body.territorio-site #vistaReservas .panel::before {
  content: none;
}

body.territorio-site #vistaOpciones > .wrap > .panel:first-child,
body.territorio-site #vistaReservas > .wrap > .panel:first-child {
  padding: clamp(30px, 5vw, 60px) !important;
  background: linear-gradient(125deg, rgba(255, 123, 134, 0.1), rgba(166, 133, 255, 0.06));
}

body.territorio-site #vistaOpciones .neon,
body.territorio-site #vistaReservas .neon {
  margin: 0;
  color: var(--tl-text);
  font-size: clamp(42px, 6vw, 78px) !important;
  font-weight: 620 !important;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-shadow: none;
}

body.territorio-site #vistaOpciones > .wrap > .panel:first-child p,
body.territorio-site #vistaReservas > .wrap > .panel:first-child p {
  max-width: 720px;
  margin-top: 22px !important;
  color: var(--tl-muted) !important;
  font-size: 16px;
  line-height: 1.6;
}

body.territorio-site #vistaOpciones .grid,
body.territorio-site #vistaReservas .grid {
  gap: 1px;
  border: 1px solid var(--tl-line);
  background: var(--tl-line);
}

body.territorio-site #vistaOpciones .grid {
  counter-reset: tl-sector;
}

body.territorio-site #vistaOpciones .option-card,
body.territorio-site #vistaReservas .grid > .panel {
  padding: clamp(26px, 3.5vw, 44px);
  border: 0;
  background: #0d0d13;
}

body.territorio-site #vistaOpciones .option-card {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  counter-increment: tl-sector;
  padding-top: 82px;
}

@media (min-width: 761px) {
  body.territorio-site #vistaOpciones .option-card:last-child {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  body.territorio-site #vistaOpciones .option-card:last-child ul {
    max-width: 760px;
  }
}

body.territorio-site #vistaOpciones .option-thumb {
  display: none;
}

body.territorio-site #vistaOpciones .option-card::before {
  content: none;
}

body.territorio-site #vistaOpciones .option-card::after {
  content: "0" counter(tl-sector);
  position: absolute;
  top: 34px;
  left: clamp(26px, 3.5vw, 44px);
  color: var(--tl-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

body.territorio-site #vistaOpciones .option-card h3,
body.territorio-site #vistaReservas .booking-step-header h3 {
  margin: 0;
  color: var(--tl-text);
  font-size: clamp(28px, 3.4vw, 45px);
  font-weight: 580;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

body.territorio-site #vistaOpciones .option-card h3 {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

body.territorio-site #vistaOpciones .option-card ul {
  margin-top: 26px;
  padding: 0;
  display: grid;
  gap: 16px;
  color: var(--tl-muted);
  font-size: 13px;
  line-height: 1.55;
  list-style: none;
}

body.territorio-site #vistaOpciones .option-card li {
  padding-top: 14px;
  border-top: 1px solid var(--tl-line);
}

.tl-view-back {
  margin-bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tl-muted) !important;
  font-size: 11px;
  text-decoration: none;
}

.tl-view-back:hover { color: var(--tl-text) !important; }

body.territorio-site #vistaReservas .grid > .panel {
  min-width: 0;
}

body.territorio-site #vistaReservas .booking-step-header {
  align-items: flex-start;
  flex-direction: column;
}

body.territorio-site #vistaReservas .booking-step-header .badge {
  border: 0;
  background: transparent;
  color: var(--tl-accent);
  font-size: 9px;
  letter-spacing: 0.16em;
}

body.territorio-site #vistaReservas .booking-step-header h3 {
  margin-top: 18px;
}

body.territorio-site #vistaReservas .grid > .panel > p,
body.territorio-site #vistaReservas .help,
body.territorio-site #vistaReservas .daily-placeholder p {
  color: var(--tl-muted) !important;
  line-height: 1.55;
}

body.territorio-site #vistaReservas .booking-embed,
body.territorio-site #vistaReservas .daily-container {
  margin: 26px 0 20px;
  border: 1px solid var(--tl-line);
  border-radius: 0;
}

body.territorio-site #vistaReservas .booking-language-note {
  display: none;
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 2px solid var(--tl-accent);
  color: var(--tl-muted) !important;
  font-size: 13px;
  line-height: 1.55;
}

body.territorio-site.tl-lang-en #vistaReservas .booking-embed {
  display: none;
}

body.territorio-site.tl-lang-en #vistaReservas .booking-language-note {
  display: block;
}

body.territorio-site #vistaReservas .daily-container {
  background: #08080c;
}

body.territorio-site #vistaReservas .daily-placeholder strong {
  color: var(--tl-text);
}

body.territorio-site #vistaReservas .booking-join {
  margin-top: 26px;
}

body.territorio-site #vistaReservas .small-label {
  color: var(--tl-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

body.territorio-site #vistaReservas .input {
  min-height: 48px;
  border: 1px solid var(--tl-line);
  border-radius: 0;
  background: #08080c;
  color: var(--tl-text);
}

body.territorio-site #vistaReservas .btn,
body.territorio-site #vistaOpciones .btn {
  min-height: 46px;
  border: 1px solid var(--tl-line);
  border-radius: 999px;
  background: transparent;
  color: var(--tl-text);
  box-shadow: none;
  font-size: 11px;
}

body.territorio-site #vistaReservas .btn-accent {
  border-color: var(--tl-accent-glass-border);
  background: var(--tl-accent-glass);
  color: var(--tl-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 28px rgba(255, 123, 134, 0.12);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

body.territorio-site #vistaReservas .btn-accent:hover,
body.territorio-site #vistaReservas .btn-accent:focus-visible {
  border-color: rgba(255, 154, 165, 0.82);
  background: var(--tl-accent-glass-hover);
}

@media (max-width: 760px) {
  body.territorio-site #vistaOpciones > .wrap,
  body.territorio-site #vistaReservas > .wrap {
    width: min(100% - 28px, 680px);
  }

  body.territorio-site #vistaOpciones .grid,
  body.territorio-site #vistaReservas .grid {
    grid-template-columns: 1fr;
  }

  body.territorio-site #vistaOpciones .option-card {
    min-height: 0;
    padding-top: 76px;
  }
}

/* Vista editorial de sectores */
body.territorio-site #vistaOpciones > .tl-options-shell {
  padding-top: clamp(44px, 6vw, 84px) !important;
}

body.territorio-site #vistaOpciones .tl-options-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  overflow: hidden;
  border: 1px solid var(--tl-line);
  background: #0d0d13;
}

body.territorio-site #vistaOpciones .tl-options-hero-copy {
  min-width: 0;
  padding: clamp(34px, 5vw, 68px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

body.territorio-site #vistaOpciones .tl-options-hero-copy .tl-view-back {
  min-height: 44px;
  margin-bottom: auto;
}

body.territorio-site #vistaOpciones .tl-options-eyebrow {
  margin-bottom: 22px;
  color: var(--tl-accent);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

body.territorio-site #vistaOpciones .tl-options-hero h1 {
  max-width: 610px;
  margin: 0;
  color: var(--tl-text);
  font-size: clamp(54px, 6vw, 82px) !important;
  font-weight: 620 !important;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

body.territorio-site #vistaOpciones .tl-options-hero h1:focus {
  outline: none;
}

body.territorio-site #vistaOpciones .tl-options-hero-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--tl-muted);
  font-size: 16px;
  line-height: 1.65;
}

body.territorio-site #vistaOpciones .tl-options-hero-media {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--tl-line);
  background: #11111a;
}

body.territorio-site #vistaOpciones .tl-options-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 13, 19, 0.3), transparent 38%),
    linear-gradient(0deg, rgba(8, 8, 12, 0.72), transparent 45%);
  pointer-events: none;
}

body.territorio-site #vistaOpciones .tl-options-atlas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.035);
  animation: tl-options-atlas-drift 18s ease-in-out infinite alternate;
}

body.territorio-site #vistaOpciones .tl-options-hero-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

body.territorio-site #vistaOpciones .tl-options-grid {
  margin-top: clamp(46px, 6vw, 82px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--tl-line);
  background: var(--tl-line);
  counter-reset: tl-sector;
}

body.territorio-site #vistaOpciones .option-card {
  grid-column: span 4;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border: 0;
  background: #0d0d13;
  counter-increment: tl-sector;
}

body.territorio-site #vistaOpciones .option-card:nth-child(1),
body.territorio-site #vistaOpciones .option-card:nth-child(7) {
  grid-column: span 7;
}

body.territorio-site #vistaOpciones .option-card:nth-child(2),
body.territorio-site #vistaOpciones .option-card:nth-child(6) {
  grid-column: span 5;
}

body.territorio-site #vistaOpciones .option-card::before {
  content: none;
}

body.territorio-site #vistaOpciones .option-card::after {
  content: "0" counter(tl-sector);
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  min-width: 40px;
  min-height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 12, 0.74);
  backdrop-filter: blur(10px);
  color: var(--tl-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

body.territorio-site #vistaOpciones .option-thumb {
  aspect-ratio: 16 / 7;
  margin: 0;
  display: block;
  position: relative;
  overflow: hidden;
  background: #11111a;
}

body.territorio-site #vistaOpciones .option-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 8, 12, 0.66), transparent 52%),
    linear-gradient(120deg, rgba(255, 123, 134, 0.1), transparent 44%);
  pointer-events: none;
}

body.territorio-site #vistaOpciones .option-thumb .thumb-img {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.07);
  transform: scale(1.001);
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 500ms ease;
}

body.territorio-site #vistaOpciones .option-copy {
  min-height: 300px;
  padding: clamp(28px, 3.4vw, 44px);
}

body.territorio-site #vistaOpciones .option-copy h2 {
  margin: 0;
  display: block;
  overflow: visible;
  color: var(--tl-text);
  font-size: clamp(30px, 3.3vw, 47px);
  font-weight: 580;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

body.territorio-site #vistaOpciones .option-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  color: var(--tl-muted);
  font-size: 13px;
  line-height: 1.55;
  list-style: none;
}

body.territorio-site #vistaOpciones .option-copy li {
  padding: 13px 0;
  border-top: 1px solid var(--tl-line);
}

body.territorio-site #vistaOpciones .tl-options-cta {
  margin-top: clamp(46px, 6vw, 82px);
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  border: 1px solid var(--tl-line);
  background:
    radial-gradient(circle at 88% 12%, rgba(166, 133, 255, 0.22), transparent 30%),
    linear-gradient(125deg, rgba(255, 123, 134, 0.16), rgba(166, 133, 255, 0.07));
}

body.territorio-site #vistaOpciones .tl-options-cta .tl-section-label {
  display: block;
  color: var(--tl-accent);
}

body.territorio-site #vistaOpciones .tl-options-cta h2 {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--tl-text);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

body.territorio-site #vistaOpciones .tl-button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: var(--tl-text);
  color: #09090d;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

@keyframes tl-options-atlas-drift {
  from { transform: scale(1.035) translate3d(-0.45%, -0.3%, 0); }
  to { transform: scale(1.075) translate3d(0.75%, 0.55%, 0); }
}

@media (hover: hover) and (pointer: fine) {
  body.territorio-site #vistaOpciones .option-card:hover .option-thumb .thumb-img {
    filter: saturate(1) contrast(1.08);
    transform: scale(1.045);
  }

  body.territorio-site #vistaOpciones .tl-button:hover {
    border-color: var(--tl-accent-glass-border);
    background: var(--tl-accent-glass-hover);
    color: var(--tl-text);
    transform: translateY(-2px);
  }
}

@media (max-width: 1100px) {
  body.territorio-site #vistaOpciones .tl-options-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  }

  body.territorio-site #vistaOpciones .option-card,
  body.territorio-site #vistaOpciones .option-card:nth-child(n) {
    grid-column: span 6;
  }

  body.territorio-site #vistaOpciones .option-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.territorio-site #vistaOpciones > .tl-options-shell {
    width: min(100% - 28px, 620px);
    padding-top: 28px !important;
  }

  body.territorio-site #vistaOpciones .tl-options-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body.territorio-site #vistaOpciones .tl-options-hero-copy {
    min-height: 430px;
    padding: 24px 22px 36px;
  }

  body.territorio-site #vistaOpciones .tl-options-hero h1 {
    font-size: clamp(45px, 14vw, 62px) !important;
  }

  body.territorio-site #vistaOpciones .tl-options-hero-copy > p {
    margin-top: 22px;
    font-size: 14px;
  }

  body.territorio-site #vistaOpciones .tl-options-hero-media {
    min-height: 300px;
    border-top: 1px solid var(--tl-line);
    border-left: 0;
  }

  body.territorio-site #vistaOpciones .tl-options-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  body.territorio-site #vistaOpciones .option-card,
  body.territorio-site #vistaOpciones .option-card:nth-child(n) {
    grid-column: 1;
    padding: 0;
  }

  body.territorio-site #vistaOpciones .option-thumb {
    aspect-ratio: 16 / 9;
  }

  body.territorio-site #vistaOpciones .option-copy {
    min-height: 0;
    padding: 28px 22px 32px;
  }

  body.territorio-site #vistaOpciones .option-copy h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  body.territorio-site #vistaOpciones .tl-options-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  body.territorio-site #vistaOpciones .tl-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-system-image,
  .tl-live-dot::before,
  .tl-signal::after,
  .tl-data-node,
  .tl-core-shell,
  .tl-lab-image,
  .tl-lab-scan,
  .tl-lab-status i,
  .tl-lab-card {
    animation: none !important;
  }

  .tl-system-image,
  .tl-lab-image { transform: scale(1.03); }

  body.territorio-site #vistaOpciones .tl-options-atlas {
    animation: none;
    transform: none;
  }

  body.territorio-site #vistaOpciones .option-thumb .thumb-img,
  body.territorio-site #vistaOpciones .tl-button {
    transition: none;
  }

  .tl-contact-whatsapp:hover,
  .tl-contact-details > .tl-contact-detail:hover {
    transform: none;
  }

  body.territorio-site #chatbot-container .chatbot-quick-reply,
  body.territorio-site #chatbot-container .chatbot-inline-action,
  body.territorio-site #chatbot-container .chatbot-conversation-cta {
    transition: none;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  body.territorio-site .tl-nav-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .tl-marketing-feature-grid {
    grid-template-columns: 1fr;
  }

  .tl-marketing-console {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .tl-service-card-link {
    width: 100%;
    justify-content: space-between;
  }

  .tl-marketing-feature-copy .tl-display {
    font-size: clamp(44px, 13vw, 62px);
  }

  .tl-marketing-feature-copy > p:not(.tl-section-label) {
    font-size: 16px;
  }

  .tl-marketing-cta {
    width: 100%;
  }

  .tl-marketing-console {
    min-height: 490px;
  }

  .tl-marketing-console-head {
    min-height: 54px;
    padding-inline: 18px;
  }

  .tl-marketing-orbit {
    width: min(300px, 78%);
    top: 45%;
  }

  .tl-marketing-core {
    width: 92px;
    height: 92px;
  }

  .tl-marketing-channel {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .tl-marketing-results {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 6px;
  }

  .tl-marketing-results div {
    min-height: 68px;
    padding: 10px 8px;
  }

  .tl-marketing-results strong { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-marketing-cta {
    transition: none;
  }

  .tl-marketing-cta:hover,
  .tl-marketing-cta:focus-visible {
    transform: none;
  }
}
