/* TT Norms Pro: coloca los .woff2 en public/fonts/ y descomenta @font-face en app.css */
:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #f5f5f5;

  --sidebar: #ffffff;

  --surface: #ffffff;

  --border: #e5e7eb;

  --text: #111111;

  --muted: #6b7280;

  --accent: #000000;

  --accent-hover: #1f2937;

  --danger: #ef4444;

  --success: #059669;

  --radius: 12px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);

  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);

}



* { box-sizing: border-box; margin: 0; padding: 0; }



body {

  font-family: var(--font-sans);

  background: var(--bg);

  color: var(--text);

  min-height: 100vh;

  line-height: 1.5;

}



a { color: var(--text); text-decoration: none; }

a:hover { text-decoration: underline; }



.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }



.btn {

  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;

  padding: .6rem 1rem; border-radius: 8px; border: none; cursor: pointer;

  font-size: .9rem; font-weight: 600; transition: .15s;

}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
}

.btn-primary:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
}

.btn-ghost:hover { background: #f9fafb; border-color: #d1d5db; text-decoration: none; }

.btn-sm { padding: .4rem .7rem; font-size: .82rem; }

.btn-block { width: 100%; }



input, select, textarea {

  width: 100%; padding: .7rem .9rem; border-radius: 10px;

  border: 1px solid var(--border); background: #fff; color: var(--text);

  font: inherit;

}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0, 0, 0, 0.15);
  border-color: var(--border);
}



.card {

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);

}



/* —— Layout corporativo (nav compartida) —— */

.public-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

.corp-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

.public-page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-page.public-site {
  min-height: 100%;
}

.landing-page .landing-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
}

.corp-nav {
  flex-shrink: 0;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.corp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.corp-auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.corp-auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem !important;
}

.corp-auth-card h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.corp-subscribe-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.corp-subscribe-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.corp-subscribe-card h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* —— Landing premium —— */

body.page-landing,
body.page-service { scroll-behavior: smooth; }

body.page-landing #app,
body.page-service #app { width: 100%; }

body.page-landing a:not(.landing-cta-pill):not(.landing-pill-btn):not(.landing-product-btn),
body.page-service a:not(.landing-cta-pill):not(.landing-pill-btn):not(.landing-product-btn) { color: inherit; }

.landing-wrap {
  max-width: 88rem;
  margin: 0 auto;
  width: 100%;
}

.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f5f5f5;
}

.landing-viewport {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}

.landing-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.25rem 1.5rem;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #000;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.landing-brand:hover { text-decoration: none; opacity: 0.85; }

.landing-brand-sm { font-size: 1rem; }

.landing-logo-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.landing-nav-center {
  display: none;
  align-items: center;
  gap: 2rem;
}

.landing-nav-center a {
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

.landing-nav-center a:hover {
  color: #000;
  text-decoration: none;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}

.landing-nav-link:hover { color: #000; text-decoration: none; }

.landing-nav-link-light {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.landing-nav-link-light:hover {
  color: #fff;
  text-decoration: none;
}

.landing-nav-cta-white {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s;
}

.landing-nav-cta-white:hover {
  color: #fff;
  opacity: 0.88;
  text-decoration: none;
}

.landing-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.65rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.landing-pill-btn:hover {
  background: #1f2937;
  text-decoration: none;
  color: #fff;
}

.landing-pill-btn-gray {
  background: #6b7280;
  color: #fff;
}

.landing-pill-btn-gray:hover {
  background: #4b5563;
  color: #fff;
  text-decoration: none;
}

/* Nav sobre hero / vídeo oscuro: texto blanco legible (inicio + servicios) */
body.page-landing .landing-nav .landing-brand,
body.page-service .landing-nav .landing-brand {
  color: #fff;
}

body.page-landing .landing-nav .landing-nav-center a,
body.page-service .landing-nav .landing-nav-center a {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

body.page-landing .landing-nav .landing-nav-center a:hover,
body.page-service .landing-nav .landing-nav-center a:hover {
  color: #fff;
}

body.page-landing .landing-nav .landing-pill-btn,
body.page-service .landing-nav .landing-pill-btn {
  color: #fff;
  background: #000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.page-landing .landing-nav .landing-pill-btn:hover,
body.page-service .landing-nav .landing-pill-btn:hover {
  background: #1f2937;
  color: #fff;
}

body.page-landing .landing-nav .landing-pill-btn-gray,
body.page-service .landing-nav .landing-pill-btn-gray {
  color: #fff;
  background: rgba(75, 85, 99, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body.page-landing .landing-nav .landing-pill-btn-gray:hover,
body.page-service .landing-nav .landing-pill-btn-gray:hover {
  background: rgba(107, 114, 128, 0.9);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.landing-viewport--short {
  min-height: min(72vh, 720px);
  max-height: 85vh;
}

.landing-viewport--short .landing-hero-card {
  height: min(calc(72vh - 96px), 580px);
  min-height: 380px;
}

.service-hero-badge {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
}

.service-page .landing-hero-lead {
  max-width: 36rem;
}

.service-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.service-page-body .landing-section {
  padding: 4rem 1.5rem;
}

.service-section-alt {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.service-h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #000;
}

.service-intro {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: #4b5563;
  max-width: 48rem;
}

.service-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-block-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-block-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-md);
}

.service-block-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.service-block-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6b7280;
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-use-list {
  list-style: none;
  margin-top: 1rem;
}

.service-use-list li {
  font-size: 1.05rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.service-use-list li::before {
  content: "→ ";
  color: #000;
  font-weight: 600;
}

.service-steps {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.5;
}

.service-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.service-pricing-strip {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.service-price-card {
  margin: 0;
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
}

.service-mini-card:hover {
  text-decoration: none;
  color: inherit;
}

.service-mini-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.service-soon-banner {
  margin: 0 auto;
  max-width: 88rem;
  width: calc(100% - 3rem);
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .service-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .landing-viewport--short {
    min-height: auto;
    max-height: none;
  }
  .landing-viewport--short .landing-hero-card {
    height: calc(100dvh - 80px);
    min-height: 360px;
  }
  .service-page-body .landing-section {
    padding: 2.5rem 1.5rem;
  }
}

.landing-hero {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 5rem 1.5rem 1.5rem;
  min-height: 0;
}

.landing-hero-card {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  height: calc(100vh - 96px);
  height: calc(100dvh - 96px);
  min-height: 420px;
  background: #e5e5e5;
}

.landing-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero-youtube-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-hero-video--youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  min-height: 56.25vw;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  object-fit: unset;
}

.landing-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 245, 245, 0.72) 0%,
    rgba(245, 245, 245, 0.45) 45%,
    rgba(245, 245, 245, 0.25) 100%
  );
  pointer-events: none;
}

.landing-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: 2.5rem 1.5rem 2rem;
  padding-top: clamp(5rem, 14vh, 9rem);
}

@media (min-width: 768px) {
  .landing-hero-content { padding: 3rem 3rem 2.5rem; padding-top: 9rem; }
}

.landing-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #000;
  max-width: 36rem;
  margin-bottom: 1rem;
}

.landing-hero-offer {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  max-width: 28rem;
}

.landing-hero-offer strong {
  font-weight: 600;
}

.landing-hero-lead {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.landing-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.landing-cta-pill:hover {
  background: #1f2937;
  color: #fff;
  text-decoration: none;
}

.landing-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem;
}

.landing-cta-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: #000;
}

.landing-cta-pill-block {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  color: #fff !important;
}

.landing-cta-pill,
.landing-cta-pill:hover,
.landing-cta-pill span,
.landing-price-box .landing-cta-pill,
.landing-price-box .landing-cta-pill:hover {
  color: #fff;
  text-decoration: none;
}

.landing-price-box .btn-primary {
  background: #000;
  color: #fff;
  width: 100%;
}

.landing-price-box .btn-primary:hover {
  background: #1f2937;
  color: #fff;
}

.landing-marquee {
  margin-top: clamp(2rem, 8vh, 6rem);
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.landing-marquee-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: landing-marquee 28s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.landing-marquee-track span { flex-shrink: 0; }

.landing-marquee-dot { opacity: 0.4; }

@keyframes landing-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.landing-section {
  padding: 4rem 1.5rem;
}

.landing-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.landing-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.landing-section-head h2,
.landing-price-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #000;
}

.landing-section-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.landing-use-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.landing-use-tags li {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 0.88rem;
  font-weight: 500;
  color: #111;
}

.landing-tag-detail {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
}

.landing-section-lead {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #6b7280;
  line-height: 1.6;
  font-size: 1.05rem;
}

.landing-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.landing-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-product-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.landing-product-card.is-soon { opacity: 0.88; }

.landing-product-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.85rem;
}

.landing-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.landing-product-top h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.landing-product-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
}

.landing-product-card.is-soon .landing-product-tag {
  background: #fef3c7;
  color: #92400e;
}

.landing-product-card p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.75rem;
}

.landing-product-btn {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  font-weight: 500;
  background: #000;
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-product-btn:hover {
  background: #1f2937;
  color: #fff;
  text-decoration: none;
}

.service-back {
  margin-top: 2.5rem;
  font-size: 1rem;
}

.service-back a {
  color: #6b7280;
  font-weight: 500;
}

.service-back a:hover {
  color: #000;
}

.landing-pricing { padding-top: 1rem; }

.landing-price-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .landing-price-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.5rem 2.5rem;
    align-items: center;
  }
}

.landing-perks {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #374151;
}

.landing-perks li::before {
  content: "✓ ";
  color: #059669;
  font-weight: 700;
}

.landing-price-box {
  text-align: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
}

.landing-price-trial {
  font-size: 1.1rem;
  font-weight: 600;
  color: #059669;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.landing-price-amount {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #000;
  line-height: 1;
}

.landing-price-amount span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6b7280;
}

.landing-price-note {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0.35rem 0 1.25rem;
}

.landing-price-login {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: underline;
}

.landing-price-login:hover { color: #000; }

.landing-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
}

.landing-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-self: start;
}

.landing-footer-ms-center {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
}

.landing-footer-ms {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.landing-footer-ms:hover { opacity: 0.88; text-decoration: none; }

.ms-startups-badge {
  display: block;
  height: 62px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 6px;
}

.landing-footer-meta { margin: 0; font-size: 0.85rem; }

.landing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

@media (max-width: 767px) {
  .landing-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .landing-footer-col,
  .landing-footer-ms-center,
  .landing-footer-nav {
    justify-self: center;
  }

  .landing-footer-nav {
    justify-content: center;
  }
}

.landing-footer-nav a {
  color: #374151;
  font-weight: 500;
  text-decoration: none;
}

.landing-footer a:hover { color: #000; text-decoration: underline; }

.legal-doc {
  flex: 1;
  margin: 2rem auto 1rem;
  padding: 2rem 2.25rem !important;
  max-width: 52rem;
  width: calc(100% - 3rem);
}

.legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-doc h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  color: #111;
}

.legal-doc p, .legal-doc li {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.legal-updated { font-size: 0.88rem !important; color: #9ca3af !important; }

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.legal-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.legal-list li:last-child { border-bottom: none; }

.legal-contact { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.legal-table {
  width: 100%;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.legal-table th {
  background: #f9fafb;
  font-size: 0.8rem;
}

.legal-table td { color: #4b5563; vertical-align: top; }

@media (min-width: 768px) {
  .landing-nav-center { display: flex; }
}

@media (max-width: 767px) {
  .corp-nav .landing-nav-actions .landing-pill-btn-gray { display: none; }
  .landing-hero-card {
    height: calc(100dvh - 80px);
    min-height: 360px;
  }
}

/* —— Marketing legacy —— */

.nav {

  display: flex; align-items: center; justify-content: space-between;

  padding: 1rem 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem;

}

.nav-brand { font-size: 1.2rem; font-weight: 500; color: var(--text); text-decoration: none; }

.nav-links { display: flex; gap: 1rem; align-items: center; }



.hero { text-align: center; padding: 4rem 0 3rem; }

.hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 1rem; }

.hero .tagline { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }

.hero .price { font-size: 2.25rem; font-weight: 800; color: var(--accent); }

.hero .price span { font-size: 1rem; color: var(--muted); font-weight: 400; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 3rem 0; }



/* —— Panel de control —— */

.gpt-layout {

  display: grid;

  grid-template-columns: 260px 1fr;

  min-height: 100vh;

  height: 100vh;

  height: 100dvh;

  background: var(--bg);

}



.gpt-sidebar {

  background: var(--sidebar);

  border-right: 1px solid var(--border);

  display: flex;

  flex-direction: column;

  padding: .85rem;

  overflow: hidden;

  box-shadow: var(--shadow-sm);

}



.gpt-brand {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  font-weight: 500;

  font-size: 0.95rem;

  color: var(--text);

  text-decoration: none;

  padding: .5rem .65rem;

  margin-bottom: .5rem;

  border-radius: 10px;

  letter-spacing: -0.02em;

}

.gpt-brand .landing-logo-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.gpt-brand:hover { background: #f3f4f6; text-decoration: none; }



.gpt-nav {

  display: flex;

  flex-direction: column;

  gap: 2px;

  flex: 1;

  overflow-y: auto;

  min-height: 0;

}



.gpt-nav-bottom {

  flex: 0;

  border-top: 1px solid var(--border);

  padding-top: .5rem;

  margin-top: .5rem;

}



.gpt-nav a {

  display: flex;

  align-items: center;

  gap: .65rem;

  padding: .6rem .75rem;

  border-radius: 8px;

  color: var(--text);

  text-decoration: none;

  font-size: .92rem;

}

.gpt-nav a:hover { background: #f3f4f6; text-decoration: none; }

.gpt-nav a.active { background: #f3f4f6; font-weight: 600; color: #000; }

.gpt-nav a.disabled { opacity: .45; pointer-events: none; }



.gpt-nav-icon { width: 1.25rem; text-align: center; font-size: 1rem; opacity: .85; }



.gpt-user {

  padding: .5rem .75rem;

  font-size: .8rem;

  color: var(--muted);

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.gpt-sidebar .btn-logout {

  margin-top: .35rem;

  width: 100%;

  justify-content: flex-start;

  color: var(--muted);

  border: none;

  background: transparent;

  padding: .5rem .75rem;

  font: inherit;

  cursor: pointer;

  border-radius: 8px;

  text-align: left;

}

.gpt-sidebar .btn-logout:hover { background: var(--surface); color: var(--text); }



.gpt-main {

  overflow: auto;

  display: flex;

  flex-direction: column;

  min-width: 0;

  background: var(--bg);

}

.gpt-page {

  flex: 1;

  padding: 1.5rem 2rem;

  max-width: 900px;

  width: 100%;

  margin: 0 auto;

}



.gpt-page-wide { max-width: 1100px; }



.gpt-page h1, .gpt-page h2 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}



/* Chat full-height */

.gpt-chat-wrap {

  flex: 1;

  display: flex;

  flex-direction: column;

  min-height: 0;

  height: 100%;

}



.gpt-chat-layout {

  display: grid;

  grid-template-columns: 220px 1fr;

  flex: 1;

  min-height: 0;

  gap: 0;

}



.gpt-sessions {

  border-right: 1px solid var(--border);

  padding: .75rem;

  overflow-y: auto;

  background: var(--bg);

}



.session-item {

  padding: .55rem .65rem;

  border-radius: 8px;

  cursor: pointer;

  margin-bottom: 2px;

  font-size: .85rem;

  color: var(--muted);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}

.session-item:hover, .session-item.active {

  background: #f3f4f6;

  color: var(--text);

}



.gpt-chat-panel {

  display: flex;

  flex-direction: column;

  min-height: 0;

}



.gpt-chat-toolbar {

  padding: .65rem 1rem;

  border-bottom: 1px solid var(--border);

  display: flex;

  gap: .75rem;

  align-items: center;

  flex-shrink: 0;

}

.gpt-chat-toolbar select { width: auto; max-width: 220px; flex: 1; }



.chat-messages {

  flex: 1;

  overflow-y: auto;

  padding: 1.25rem 1.5rem;

  display: flex;

  flex-direction: column;

  gap: 1.25rem;

}



.msg { max-width: 48rem; width: 100%; margin: 0 auto; }

.msg-inner {

  padding: 1rem 1.15rem;

  border-radius: var(--radius);

  white-space: pre-wrap;

  word-break: break-word;

  line-height: 1.55;

}

.msg.user .msg-inner { background: #fff; border: 1px solid var(--border); }

.msg.assistant .msg-inner { background: transparent; border: none; }

.msg-role {

  font-size: .72rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .04em;

  color: var(--muted);

  margin-bottom: .35rem;

}



.gpt-chat-input {

  padding: 1rem 1.5rem 1.25rem;

  border-top: 1px solid var(--border);

  flex-shrink: 0;

}

.gpt-input-box {

  max-width: 48rem;

  margin: 0 auto;

  display: flex;

  gap: .5rem;

  align-items: flex-end;

  background: #fff;

  border: 1px solid var(--border);

  border-radius: 16px;

  padding: .5rem .5rem .5rem 1rem;

  box-shadow: var(--shadow-md);

}

.gpt-input-box textarea {

  border: none;

  background: transparent;

  resize: none;

  min-height: 44px;

  max-height: 160px;

  padding: .5rem 0;

}

.gpt-input-box textarea:focus { outline: none; }

.gpt-input-box .btn-primary { border-radius: 10px; flex-shrink: 0; }



.coming-soon {

  text-align: center;

  padding: 4rem 2rem;

  color: var(--muted);

}

.coming-soon h2 { color: var(--text); margin-bottom: .5rem; }



.api-docs {

  font-size: .88rem;

  background: #f9fafb;

  border: 1px solid var(--border);

  border-radius: 10px;

  padding: 1rem;

  overflow-x: auto;

  margin: .75rem 0;

  white-space: pre-wrap;

  word-break: break-all;

  color: #374151;

  font-family: ui-monospace, monospace;

}



.grid-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

.grid-images img { width: 100%; border-radius: 8px; border: 1px solid var(--border); }



.gauge { height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin: .5rem 0; }

.gauge-fill { height: 100%; background: var(--accent); transition: width .3s; }



.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }

.stat { background: var(--surface); padding: 1rem; border-radius: 8px; border: 1px solid var(--border); }

.stat .val { font-size: 1.35rem; font-weight: 700; color: var(--accent); }

.stat .lbl { font-size: .8rem; color: var(--muted); }



table { width: 100%; border-collapse: collapse; font-size: .88rem; }

th, td { padding: .6rem; text-align: left; border-bottom: 1px solid var(--border); }

th { color: var(--muted); font-weight: 600; }



.alert { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }

.alert-info { background: #f3f4f6; border: 1px solid var(--border); color: var(--text); }

.alert-warn { background: #fffbeb; border: 1px solid #f59e0b; color: #92400e; }

.alert-error { background: #fef2f2; border: 1px solid var(--danger); color: #991b1b; }



.hidden { display: none !important; }

.text-muted { color: var(--muted); font-size: .9rem; }

.mt-1 { margin-top: .5rem; }

.mt-2 { margin-top: 1rem; }

.mb-2 { margin-bottom: 1rem; }



/* Register */

body.page-register {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.page-register .public-site.page-register {
  min-height: 100dvh;
}

.auth-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: visible;
  padding: 0 1.5rem 1rem;
}

.public-page-body .auth-screen {
  padding: 0.5rem 1.5rem 1rem;
}

.auth-shell {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  align-items: center;
  max-width: 88rem;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
}

.auth-brand h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.auth-badge {
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-lead { color: var(--muted); font-size: .88rem; }

.auth-perks { list-style: none; font-size: .82rem; color: var(--muted); }

.auth-perks li::before { content: "✓ "; color: var(--success); }

.auth-brand {
  padding: 0.5rem 0;
}

.auth-card {
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  min-width: 0;
}

.corp-page.page-register,
.public-site.page-register {
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.page-register-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field span { font-size: .72rem; color: var(--muted); text-transform: uppercase; }

.field-wide { grid-column: 1 / -1; }

.form { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 2rem auto; }

.form label { font-size: .9rem; color: var(--muted); display: flex; flex-direction: column; gap: .35rem; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.45;
}

.check-row input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: auto;
}

.check-row > span {
  flex: 1;
  min-width: 0;
}

.captcha-image-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.captcha-image-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.captcha-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.captcha-image-btn {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  line-height: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.captcha-image-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.captcha-image-btn.selected {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.captcha-image-btn:not(.selected):hover {
  border-color: #9ca3af;
}

.captcha-image-refresh {
  align-self: flex-start;
}

@media (max-width: 520px) {
  .captcha-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.link-btn { background: none; border: none; color: var(--text); cursor: pointer; font: inherit; text-decoration: underline; font-weight: 500; }

.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.legal-modal .card {
  max-height: 80vh;
  overflow-y: auto;
  max-width: 520px;
  box-shadow: var(--shadow-md);
}



@media (min-width: 900px) {
  .auth-shell {
    gap: 2.5rem 4rem;
  }

  .auth-card {
    padding: 2.25rem 2.5rem;
  }

  .auth-brand h1 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
  }
}

@media (max-width: 768px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1rem;
  }

  .auth-card {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {

  .gpt-layout { grid-template-columns: 1fr; height: auto; min-height: 100dvh; }

  .gpt-sidebar {

    flex-direction: row;

    flex-wrap: wrap;

    border-right: none;

    border-bottom: 1px solid var(--border);

    max-height: none;

  }

  .gpt-nav { flex-direction: row; flex-wrap: wrap; flex: none; }

  .gpt-nav-bottom { border-top: none; flex-direction: row; }

  .gpt-user, .btn-logout { display: none; }

  .gpt-chat-layout { grid-template-columns: 1fr; }

  .gpt-sessions { max-height: 120px; border-right: none; border-bottom: 1px solid var(--border); }

}

