:root {
  --emlaze-bg-start: #193054;
  --emlaze-bg-end: #12487c;
  --emlaze-primary: #12487c;
  --emlaze-primary-strong: #193054;
  --emlaze-accent: #fac500;
  --emlaze-accent-strong: #f48120;
  --emlaze-surface: #ffffff;
  --emlaze-surface-soft: #f4f7fb;
  --emlaze-text-dark: #12487c;
  --emlaze-text-muted: rgba(255, 255, 255, 0.78);
  --emlaze-shadow-sm: 0 12px 28px rgba(10, 33, 57, 0.12);
  --emlaze-shadow-md: 0 20px 44px rgba(10, 33, 57, 0.18);
  --emlaze-shadow-lg: 0 28px 64px rgba(10, 33, 57, 0.22);
  --emlaze-radius: 1.5rem;
  --emlaze-radius-lg: 2rem;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: linear-gradient(90deg, var(--emlaze-bg-start) 0%, var(--emlaze-bg-end) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}



a {
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
  display: block;
}


.section-spacing {
  padding-block: clamp(3.25rem, 5vw, 6rem);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 900;
}

.section-title--light {
  color: #fff;
}

.section-copy {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.7;
}

.section-copy--wide {
  max-width: 56rem;
}

.text-secondary-emlaze {
  color: rgba(23, 53, 82, 0.84) !important;
}

.gradient-text {
  background: linear-gradient(90deg, var(--emlaze-accent-strong) 0%, var(--emlaze-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.site-header {
  background: linear-gradient(180deg, rgba(25, 49, 84, 0.96) 0%, rgba(19, 72, 124, 0.88) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body {
  padding-top: 92px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 78px;
  }
}

.brand img {
  width: clamp(9.5rem, 11vw, 12rem);
  height: auto;
}

.desktop-nav-wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.desktop-nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  position: relative;
  white-space: nowrap;
}

.desktop-nav-link::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--emlaze-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav-link:hover::after,
.desktop-nav-link:focus-visible::after,
.desktop-nav-link.is-active::after {
  transform: scaleX(1);
}







.btn {
  font-weight: 700;
  border-width: 1px;
}

.btn-emlaze-light {
  --bs-btn-color: var(--emlaze-primary);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--emlaze-primary-strong);
  --bs-btn-hover-bg: #f8fbff;
  --bs-btn-hover-border-color: #f8fbff;
  --bs-btn-active-color: var(--emlaze-primary-strong);
  --bs-btn-active-bg: #eef5ff;
  --bs-btn-active-border-color: #eef5ff;
}

.btn-emlaze-outline {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.75);
}

.btn-emlaze-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--emlaze-primary);
  --bs-btn-border-color: var(--emlaze-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--emlaze-primary-strong);
  --bs-btn-hover-border-color: var(--emlaze-primary-strong);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--emlaze-primary-strong);
  --bs-btn-active-border-color: var(--emlaze-primary-strong);
}

.emlaze-toggler {
  padding: 0;
}

.menu-toggle__icon {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.mobile-offcanvas {
  background: linear-gradient(180deg, rgba(25, 49, 84, 0.98) 0%, rgba(19, 72, 124, 0.98) 100%);
  width: min(24rem, 92vw);
  max-width: 24rem;
  height: 100dvh;
}

.mobile-offcanvas .offcanvas-body {
  overflow-y: auto;
  overflow-x: hidden;
}

.offcanvas-logo {
  width: 10rem;
  height: auto;
}

.hero-copy {
  max-width: 40rem;
}

.hero-kicker {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emlaze-accent-strong) 0%, var(--emlaze-accent) 100%);
  color: #fff;
  font-weight: 800;
  font-size: clamp(0.95rem, 1rem + 0.25vw, 2rem);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.9rem, 2rem + 3.6vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.75rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
  max-width: auto;
  margin-bottom: 1.75rem;
}

.hero-software-image {
  max-width: min(100%, 28rem);
}

.hero-phone-mobile {
  max-width: 11rem;
  margin-left: auto;
}

.hero-device img {
  max-width: 32rem;
  margin-inline: auto;
}

.hero-actions .btn {
  min-height: 3.4rem;
  padding-inline: 1.6rem;
}

.highlight-card {
  background: linear-gradient(180deg, var(--emlaze-accent) 0%, var(--emlaze-accent-strong) 100%);
  box-shadow: var(--emlaze-shadow-lg);
}

.highlight-card__text {
  color: #fff;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  max-width: 18ch;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--emlaze-shadow-sm);
  color: #fff;
}

.stat-card__icon {
  width: clamp(3.5rem, 2.7rem + 2vw, 5rem);
  height: auto;
  flex-shrink: 0;
}

.stat-card__label {
  font-size: 0.98rem;
  color: var(--emlaze-text-muted);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.stat-card__value {
  font-size: clamp(2rem, 1.35rem + 2vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.text-emlaze-title {
  color: #193054 !important;
}

.benefits-intro__image {
  width: 100%;
  max-width: 60rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(18, 61, 103, 0.10);
  color: var(--emlaze-text-dark);
}

.benefit-card p {
  font-weight: 600;
  line-height: 1.5;
}

.benefit-card__icon {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}



.reprocess-message-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--emlaze-shadow-md);
}

.reprocess-message-card__icon {
  width: clamp(4rem, 3.4rem + 2vw, 6rem);
  height: auto;
}

.reprocess-message-card p,
.reprocess-message-card span {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  line-height: 1.12;
}

.reprocess-message-card strong {
  font-size: clamp(2.1rem, 1.5rem + 2.3vw, 3.8rem);
  line-height: 1.02;
}

.product-section {
  position: relative;
  overflow: hidden;
}

.product-lead {
  font-size: clamp(1.08rem, 1rem + 0.25vw, 1.2rem);
  font-weight: 700;
}

.product-copy {
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.1rem);
  line-height: 1.75;
  max-width: 44rem;
}

.cloud-note {
  font-size: 1.18rem;
  font-weight: 700;
}

.divider-image-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.logo-card {
  background: #fff;
  min-height: 7rem;
}

.logo-card img {
  max-width: 8rem;
  max-height: 3.6rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer {
	background: var(--emlaze-primary);
}

.footer-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  width: min(14rem, 100%);
}

.footer__social {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
}

.footer-title,
.contact-form__title {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  font-style: normal;
}

.contact-list p {
  margin: 0;
  line-height: 1.55;
}

.contact-list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-form {
  background: #fff;
  color: var(--emlaze-text-dark);
  border-radius: var(--emlaze-radius);
  box-shadow: var(--emlaze-shadow-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.contact-form__intro {
  color: rgba(23, 53, 82, 0.84);
}

.form-control,
.form-select {
  border-radius: 1rem;
  border-color: rgba(18, 61, 103, 0.18);
  padding: 0.9rem 1rem;
  background-color: rgba(18, 61, 103, 0.04);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--emlaze-primary);
  box-shadow: 0 0 0 0.25rem rgba(18, 61, 103, 0.12);
}

.form__image {
  width: min(16rem, 100%);
  height: auto;
  margin-bottom: -32px;
  align-content: center;
}

.form-status {
  color: var(--emlaze-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .brand img {
    width: 12.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 2.35rem + 3vw, 4.1rem);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .reprocess-message-card .card-body {
    text-align: center;
  }

  .contact-form__footer {
    align-items: stretch !important;
  }
}

@media (max-width: 767.98px) {
  .section-spacing {
    padding-block: 3.4rem;
  }

  .brand img {
    width: 13.25rem;
  }

  .hero-kicker {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(3rem, 2.5rem + 3.5vw, 3.7rem);
    text-align: left;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 18ch;
  }

  .hero-inline-media {
    align-items: center;
  }

  .hero-software-image {
    max-width: 100%;
  }

  .hero-phone-mobile {
    max-width: 9rem;
  }

  .highlight-card__text {
    max-width: 100%;
  }

  .benefits-intro {
    text-align: center;
  }

  .reprocess-message-card p,
  .reprocess-message-card span {
    max-width: 12ch;
    margin-inline: auto;
  }

  .product-copy {
    max-width: 30ch;
  }

  .logo-card {
    min-height: 6rem;
  }

  .logo-card img {
    max-width: 6.5rem;
    max-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.stats-section {
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.benefits-section {
  position: relative;
}

.benefits-section .section-title,
.benefits-section .section-copy {
  color: var(--emlaze-text-dark);
}

.reprocess-section {
  margin-top: 0;
}

.product-section {
  position: relative;
  overflow: hidden;
}

.product-section__bg {
  position: absolute;
  inset: 0;
  width: 130vw !important;
  min-width: none !important;
  height: auto;
  object-fit: contain;
  object-position: center center;
  opacity: 30%;
  pointer-events: none;
  
}

@media (max-width: 767.98px) {
  .product-section {
    position: relative;
    overflow: hidden;
  }

  .product-section__bg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 280vw !important;
    max-width: none !important;
    min-width: 180vw !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none;
    z-index: 0;
  }
	
  .product-section .container {
    position: relative;
    z-index: 1;
  }
}

.product-section .container {
  z-index: 1;
}

.about-section {
  color: #fff;
  background: transparent;
}

.about-section .section-title {
  color: #fff;
}

.about-section .text-secondary-emlaze {
  color: rgba(255, 255, 255, 0.82) !important;
}

.about-section .card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--emlaze-shadow-md);
}

.clients-section {
  background: #fff;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 1.25rem 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(9vw, 7rem);
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: logoMarquee 65s linear infinite;
  will-change: transform;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 160px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.testimonials-section {
  background: #fff;
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1199.98px) {
  .desktop-nav-wrap {
    gap: 0.2rem;
  }

  .desktop-nav-link {
    padding-inline: 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 991.98px) {
  .mobile-offcanvas {
    width: min(24rem, 92vw);
  }

  .benefits-section {
    padding-top: clamp(2.5rem, 7vw, 4rem);
  }

  .product-section {
    min-height: 30rem;
  }

  .product-section__bg {
    object-fit: contain;
    object-position: center center;
    transform: none;
  }

  .logo-track {
    gap: 2rem;
    animation-duration: 50s;
  }

  .logo-item {
    min-width: 138px;
  }

  .logo-item img {
    max-width: 120px;
    max-height: 52px;
  }
}

@media (max-width: 767.98px) {
  .brand img {
    width: clamp(11rem, 38vw, 13rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .benefit-card .card-body {
    align-items: flex-start;
  }

  .product-section {
    min-height: 24rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .product-section__bg {
    transform: none;
    opacity: 0.92;
  }

  .hero-inline-media,
  .divider-image-card,
  .logo-carousel {
    overflow: hidden;
  }

  .hero-software-image,
  .hero-phone-mobile,
  .divider-image-card img {
    max-width: 100%;
  }

  .logo-carousel {
    padding-block: 1rem;
  }
}

/* =========================================================
   UPDATE V4 · eyebrows + premium product + sticky menus
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 8px 24px rgba(8, 26, 46, 0.12);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.section-eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.section-eyebrow--light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.section-eyebrow--light::before {
  background: linear-gradient(180deg, var(--emlaze-accent) 0%, var(--emlaze-accent-strong) 100%);
}

.section-eyebrow--dark {
  color: var(--emlaze-primary);
  background: rgba(18, 61, 103, 0.06);
  border: 1px solid rgba(18, 61, 103, 0.1);
}

.section-eyebrow--dark::before {
  background: linear-gradient(180deg, var(--emlaze-accent-strong) 0%, var(--emlaze-accent) 100%);
}

.section-eyebrow--footer {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section-eyebrow--footer::before {
  background: #ffffff;
}

.benefits-intro .section-eyebrow,
.clients-section .section-eyebrow,
.testimonials-section .section-eyebrow {
  margin-inline: auto;
}

.product-section {
  background:
    radial-gradient(circle at 82% 22%, rgba(242, 140, 58, 0.18), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(255, 210, 65, 0.10), transparent 22%),
    linear-gradient(135deg, #17385f 0%, #0f2a47 100%);
  min-height: 44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.product-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: screen;
}

.product-copy-block {
  max-width: 38rem;
}

.product-premium__title {
  max-width: 12ch;
  line-height: 1.02;
}

.product-lead {
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.45;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  max-width: 34rem;
}

.product-copy {
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 35rem;
}

.product-premium__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(7, 19, 33, 0.12);
}

.product-trust {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 32rem;
}

.product-showcase {
  position: relative;
  padding: 1.25rem;
}

.product-showcase__halo {
  position: absolute;
  inset: 10% 12%;
  background: radial-gradient(circle, rgba(242, 140, 58, 0.22) 0%, rgba(255, 210, 65, 0.12) 32%, transparent 68%);
  filter: blur(20px);
  z-index: 0;
}

.product-showcase__frame {
  position: relative;
  z-index: 1;
  border-radius: 2rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 64px rgba(5, 16, 29, 0.26);
  backdrop-filter: blur(12px);
}

.product-showcase__image {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 1.25rem;
}

.cloud-copy .section-eyebrow,
.about-section .section-eyebrow,
.reprocess-message-card .section-eyebrow {
  width: fit-content;
}

.contact-form .section-eyebrow {
  margin-bottom: 0.9rem !important;
}

@media (max-width: 991.98px) {
  .product-section {
    min-height: 36rem;
  }

  .product-premium__title,
  .product-lead,
  .product-copy,
  .product-trust {
    max-width: 100%;
  }

  .product-showcase {
    padding-inline: 0;
  }
}

@media (max-width: 767.98px) {
  .section-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.82rem;
  }

  .product-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .product-premium__title {
    max-width: 100%;
  }

  .product-premium__chips {
    gap: 0.6rem;
  }

  .product-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .product-showcase__frame {
    border-radius: 1.5rem;
    padding: 0.85rem;
  }
}

/* Páginas legales (políticas, términos) — alineado con el sitio principal */
.legal-hero {
  text-align: center;
}

.legal-hero .container {
  max-width: 52rem;
}

.legal-title {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.legal-intro {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.legal-toc {
  margin-top: 1.5rem;
}

.legal-toc .btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
}

.legal-content-wrap {
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.legal-card {
  background: #fff;
  color: var(--emlaze-text-dark);
  border-radius: var(--emlaze-radius);
  box-shadow: var(--emlaze-shadow-lg);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
}

.legal-card .section-title.legal-section-title {
  font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.65rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--emlaze-text-dark);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(18, 61, 103, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(18, 61, 103, 0.55);
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block p,
.legal-block li {
  line-height: 1.7;
  color: rgba(23, 53, 82, 0.92);
}

.legal-block ul,
.legal-block ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.legal-contact-card {
  background: var(--emlaze-surface-soft);
  border: 1px solid rgba(18, 61, 103, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.legal-contact-card p {
  margin-bottom: 0.35rem;
  color: rgba(23, 53, 82, 0.92);
}

.legal-contact-card p:last-child {
  margin-bottom: 0;
}

.legal-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 1rem 0 1.25rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--emlaze-text-dark);
  background: var(--emlaze-surface-soft);
  border: 1px solid rgba(18, 61, 103, 0.12);
}

.legal-note {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(23, 53, 82, 0.92);
  background: linear-gradient(135deg, rgba(250, 197, 0, 0.12) 0%, rgba(244, 129, 32, 0.08) 100%);
  border: 1px solid rgba(244, 129, 32, 0.22);
}
