
html { scroll-behavior: smooth; }
body { margin: 0; }
.mobile-menu-panel { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.hero-image-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 35%),
    linear-gradient(135deg, rgba(37,99,235,.18), rgba(20,184,166,.16)),
    #fff;
  color: hsl(var(--foreground));
  padding: 2rem;
  text-align: center;
}
.hero-image-fallback__card {
  width: min(100%, 520px);
  border-radius: 18px;
  overflow: hidden;
  background: hsl(var(--card));
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
  border: 1px solid hsl(var(--border));
}
.hero-image-fallback__bar {
  height: 42px;
  background: linear-gradient(90deg, rgba(37,99,235,.12), rgba(20,184,166,.12));
  border-bottom: 1px solid hsl(var(--border));
}
.hero-image-fallback__body { padding: 1.25rem; }
.hero-image-fallback__line {
  height: 12px;
  border-radius: 999px;
  background: rgba(37,99,235,.12);
  margin: 0 0 12px;
}
.hero-image-fallback__line.small { width: 58%; }
.hero-image-fallback__line.medium { width: 76%; }
.hero-image-fallback__line.large { width: 100%; }
.hero-image-fallback__footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.hero-image-fallback__pill {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  background: rgba(20,184,166,.12);
}
@media (max-width: 767px) {
  .mobile-menu-panel a { display: block; }
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
}
.site-logo {
  display: block;
  height: 34px;
  width: auto;
}
.hero-visual-wrap {
  min-height: 100%;
}
.hero-product-scene {
  position: relative;
  width: min(100%, 680px);
  margin-left: auto;
  min-height: 640px;
}
.hero-scene-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: .85;
  pointer-events: none;
}
.hero-scene-glow--one {
  width: 190px;
  height: 190px;
  top: 12px;
  right: 28px;
  background: radial-gradient(circle, rgba(117, 78, 155, .24), rgba(117, 78, 155, 0));
}
.hero-scene-glow--two {
  width: 220px;
  height: 220px;
  left: 8px;
  bottom: 42px;
  background: radial-gradient(circle, rgba(67, 176, 228, .24), rgba(67, 176, 228, 0));
}
.hero-monitor {
  position: absolute;
  inset: 72px 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 660px;
}
.hero-monitor__bezel {
  position: relative;
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(135deg, #1d2430 0%, #05070b 45%, #4b5563 100%);
  box-shadow: 0 30px 80px rgba(10, 30, 66, .22);
}
.hero-monitor__screen {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}
.hero-monitor__topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 33, 68, .08);
}
.hero-monitor__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f2f5f;
  font-size: 13px;
  font-weight: 800;
}
.hero-monitor__brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #754e9b, #43b0e4);
}
.hero-monitor__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #5f6d88;
  font-size: 11px;
  font-weight: 700;
}
.hero-monitor__body {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 26px;
  height: calc(100% - 56px);
}
.hero-monitor__headline {
  height: 24px;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 24, 39, .92), rgba(17, 24, 39, .68));
  margin-bottom: 14px;
}
.hero-monitor__headline--sm {
  width: 56%;
  height: 14px;
  background: rgba(117, 78, 155, .18);
}
.hero-monitor__paragraph {
  height: 10px;
  border-radius: 999px;
  background: rgba(95, 109, 136, .18);
  margin-bottom: 10px;
}
.hero-monitor__paragraph.w-90 { width: 90%; }
.hero-monitor__paragraph.w-76 { width: 76%; }
.hero-monitor__paragraph.w-62 { width: 62%; }
.hero-monitor__cta-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.hero-monitor__cta {
  height: 38px;
  border-radius: 12px;
  width: 140px;
}
.hero-monitor__cta--primary {
  background: linear-gradient(135deg, #754e9b, #43b0e4);
}
.hero-monitor__cta--secondary {
  width: 120px;
  background: #ffffff;
  border: 1px solid rgba(15, 47, 95, .12);
}
.hero-monitor__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}
.hero-monitor__card {
  border-radius: 16px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(15, 47, 95, .08);
  border: 1px solid rgba(11, 33, 68, .06);
}
.hero-monitor__thumb {
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(67, 176, 228, .34), rgba(117, 78, 155, .2));
  margin-bottom: 12px;
}
.hero-monitor__line {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 47, 95, .12);
  margin-bottom: 8px;
}
.hero-monitor__line.w-80 { width: 80%; }
.hero-monitor__line.w-58 { width: 58%; }
.hero-monitor__stand {
  position: relative;
  width: 180px;
  height: 18px;
  margin: 0 auto;
  background: linear-gradient(180deg, #b5bcc7, #7f8997);
  border-radius: 0 0 18px 18px;
}
.hero-monitor__stand::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -42px;
  width: 36px;
  height: 44px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #d6dbe2, #9fa7b2);
}
.hero-monitor__stand::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  width: 210px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, .22), rgba(15, 23, 42, 0) 70%);
}
.hero-plugin-float {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(42%, 262px);
  z-index: 3;
}
.hero-plugin-float__frame {
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 8px solid rgba(255, 255, 255, .94);
  box-shadow: 0 26px 60px rgba(15, 23, 42, .24), 0 10px 28px rgba(117, 78, 155, .16);
}
.hero-plugin-float__frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #d7e8f3;
}
.hero-plugin-badge {
  position: absolute;
  right: -26px;
  top: 42%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2f5f;
  font-size: 28px;
  box-shadow: 0 16px 34px rgba(15, 47, 95, .16);
}
@media (max-width: 1199px) {
  .hero-product-scene { min-height: 600px; }
}
@media (max-width: 991px) {
  .hero-product-scene {
    width: min(100%, 560px);
    min-height: 540px;
    margin-right: auto;
  }
  .hero-monitor { inset: 64px 0 0; }
}
@media (max-width: 767px) {
  .site-logo { height: 30px; }
  .hero-product-scene {
    min-height: 0;
    width: 100%;
  }
  .hero-monitor {
    position: relative;
    inset: auto;
  }
  .hero-monitor__body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-monitor__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-plugin-float {
    position: relative;
    width: min(62%, 240px);
    margin: 0 auto -34px;
    top: auto;
    left: auto;
    transform: none;
  }
  .hero-plugin-badge {
    width: 48px;
    height: 48px;
    right: -10px;
    font-size: 22px;
  }
}
@media (max-width: 560px) {
  .hero-monitor__topbar {
    padding: 0 16px;
  }
  .hero-monitor__nav {
    gap: 10px;
    font-size: 10px;
  }
  .hero-monitor__body {
    padding: 18px;
  }
  .hero-monitor__cards {
    grid-template-columns: 1fr;
  }
}


.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.96);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}
.mobile-menu-panel[hidden] {
  display: none !important;
}
.mobile-menu-panel nav {
  display: grid;
  gap: .5rem;
}
.mobile-menu-panel__link {
  display: block;
  padding: .85rem 1rem;
  border-radius: .875rem;
  font-size: .95rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.mobile-menu-panel__cta {
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .95rem 1rem;
  border-radius: .875rem;
  color: #fff;
  font-weight: 700;
  background: var(--gradient-cta);
}
.video-demo-wrap {
  position: relative;
  background: #061731;
  box-shadow: var(--shadow-card-hover);
}
.video-demo-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061731;
}
.video-demo-player:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: -3px;
}
.video-demo-caption {
  position: absolute;
  right: 1rem;
  top: 1rem;
  left: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: rgba(6, 23, 49, .74);
  color: rgba(255,255,255,.92);
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.video-demo-caption::before {
  content: '';
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #43b0e4;
  box-shadow: 0 0 0 4px rgba(67,176,228,.18);
}
.footer-main {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
}
.footer-logo {
  display: block;
  width: auto;
  height: 34px;
}
body {
  overflow-x: hidden;
}
.hero-visual-wrap {
  width: 100%;
}
.hero-product-scene {
  overflow: visible;
}
@media (max-width: 991px) {
  .hero-visual-wrap {
    max-width: 620px;
    margin-inline: auto;
  }
}
@media (max-width: 767px) {
  #top .grid {
    gap: 2.25rem;
  }
  .hero-visual-wrap {
    margin-top: .25rem;
  }
  .hero-product-scene {
    width: 100%;
    padding-top: .5rem;
  }
  .hero-plugin-float {
    width: min(72%, 250px);
    margin: 0 auto -22px;
    z-index: 4;
  }
  .hero-plugin-float__frame {
    border-width: 6px;
    border-radius: 20px;
  }
  .hero-monitor {
    max-width: 100%;
  }
  .hero-monitor__bezel {
    padding: 12px;
    border-radius: 20px;
  }
  .hero-monitor__topbar {
    height: 48px;
    padding: 0 14px;
  }
  .hero-monitor__brand {
    font-size: 12px;
  }
  .hero-monitor__nav {
    gap: 8px;
    font-size: 9px;
  }
  .hero-monitor__body {
    padding: 16px;
    gap: 16px;
  }
  .hero-monitor__thumb {
    height: 64px;
  }
  .hero-monitor__card {
    padding: 12px;
  }
  .hero-monitor__cta-row {
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .hero-monitor__cta {
    width: calc(50% - 6px);
    min-width: 0;
  }
  .hero-monitor__stand {
    width: 140px;
  }
  .footer-main {
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .site-logo-link {
    height: 40px;
  }
  .site-logo {
    height: 28px;
  }
  .hero-product-scene {
    width: calc(100% + 8px);
    margin-left: -4px;
  }
  .hero-plugin-float {
    width: min(78%, 220px);
    margin-bottom: -18px;
  }
  .hero-plugin-badge {
    display: none;
  }
  .hero-monitor__nav span:last-child {
    display: none;
  }
  .hero-monitor__cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-monitor__card:nth-child(n+3) {
    display: none;
  }
  .hero-monitor__headline {
    height: 18px;
  }
  .hero-monitor__headline--sm {
    height: 12px;
  }
  .hero-monitor__paragraph {
    height: 9px;
    margin-bottom: 8px;
  }
  .video-demo-caption {
    right: .75rem;
    top: .75rem;
    left: auto;
    bottom: auto;
    max-width: calc(100% - 1.5rem);
    justify-content: flex-end;
    border-radius: .9rem;
  }
}
@media (max-width: 420px) {
  .hero-monitor__cta {
    width: 100%;
  }
  .footer-main {
    text-align: center;
  }
}

/* --- Landing marketing: layout, pie de página a ancho completo, modal contacto, líneas mín. 1.2 --- */
body.addaw-landing-marketing {
  line-height: 1.35;
}
body.addaw-landing-marketing #contenido-principal {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
body.addaw-landing-marketing .leading-tight {
  line-height: 1.2;
}
body.addaw-landing-marketing .text-xs,
body.addaw-landing-marketing .video-demo-caption {
  line-height: 1.2;
}
.landing-footer-full {
  width: 100%;
  max-width: none;
}
.landing-footer-inner {
  width: 100%;
  max-width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.landing-cta-pair {
  gap: 1rem 1.25rem;
}
.landing-cta-pair__btn {
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  line-height: 1.25;
}
.landing-cta-pair__btn:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
.landing-cta-pair__btn--solid {
  border: 1px solid transparent;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}
.landing-cta-pair__btn--solid:hover {
  background: hsl(var(--card) / 0.92);
}
.landing-cta-pair__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: hsl(var(--primary-foreground));
}
.landing-cta-pair__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.landing-contact-dialog {
  padding: 0;
  border: none;
  border-radius: 1rem;
  max-width: min(100vw - 2rem, 480px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.landing-contact-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}
.landing-contact-dialog__panel {
  padding: 1.25rem 1.35rem 1.5rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border-radius: 1rem;
}
.landing-contact-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.landing-contact-dialog__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}
.landing-contact-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  color: hsl(var(--foreground));
}
.landing-contact-dialog__close:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
.landing-contact-dialog__intro {
  margin: 0 0 1rem;
}
.landing-contact-form__field {
  display: block;
  margin-bottom: 0.85rem;
}
.landing-contact-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.landing-contact-form__input,
.landing-contact-form__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
  line-height: 1.35;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.landing-contact-form__textarea {
  resize: vertical;
  min-height: 6rem;
}
.landing-contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0;
  line-height: 1.35;
}
.landing-contact-form__check input {
  margin-top: 0.2rem;
}
.landing-contact-form__captcha {
  margin: 0.75rem 0;
}
.landing-contact-form__status {
  min-height: 1.35em;
}
.landing-contact-form__submit {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(262 52% 47%) 100%);
  color: #fff;
  line-height: 1.25;
}
.landing-contact-form__submit:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .landing-cta-pair__btn {
    transition: none;
  }
}

/* Snippet de instalación del widget: sin scroll horizontal, copiar al clic */
.landing-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.landing-widget-snippet-wrap {
  box-sizing: border-box;
}
.landing-widget-snippet__btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.landing-widget-snippet__btn:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}
.landing-widget-snippet__btn:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
.landing-widget-snippet {
  cursor: pointer;
  border-radius: 0.65rem;
  outline: none;
}
.landing-widget-snippet:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
.landing-widget-snippet__pre {
  margin: 0;
  padding: 0 2.75rem 0 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  text-align: left;
}
.landing-widget-snippet__code {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

/* Bloque de precios dinámico (BBDD): alineado con .pricing-card del bloque superior */
.landing-pricing-db-preview {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.landing-pricing-db-grid {
  align-items: stretch;
}
.landing-pricing-db-grid > .pricing-card {
  position: relative;
  z-index: 0;
}
.landing-pricing-db-grid > .pricing-card.landing-pricing-db-card--featured {
  z-index: 1;
}
@media (max-width: 767px) {
  .landing-pricing-db-preview .pricing-card.ring-2 {
    transform: none;
  }
}

/* --- WCAG 2.1 AA: contraste y foco (landing marketing) --- */
.addaw-landing-marketing {
  --muted-foreground: 220 17% 36%;
  --gradient-hero-text: linear-gradient(
    135deg,
    hsl(220 72% 34%) 0%,
    hsl(200 78% 38%) 50%,
    hsl(170 58% 32%) 100%
  );
}
.addaw-landing-marketing .gradient-text {
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.addaw-landing-marketing .text-muted-foreground\/80 {
  color: hsl(var(--muted-foreground) / 0.92) !important;
}
.addaw-landing-marketing .text-primary-foreground\/75,
.addaw-landing-marketing .text-primary-foreground\/80 {
  color: hsl(210 40% 98% / 0.95) !important;
}
.addaw-landing-marketing .text-primary-foreground\/90 {
  color: hsl(0 0% 100%) !important;
}
.addaw-landing-marketing .landing-trust-strip .text-primary-foreground\/75 {
  color: hsl(0 0% 100% / 0.96) !important;
}
.addaw-landing-marketing .landing-how-step-index {
  opacity: 0.58;
}
.addaw-landing-marketing a:focus-visible,
.addaw-landing-marketing button:focus-visible,
.addaw-landing-marketing select:focus-visible,
.addaw-landing-marketing [role="tab"]:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 2px;
}
.addaw-landing-marketing .mobile-menu-panel a:focus-visible,
.addaw-landing-marketing .mobile-menu-panel button:focus-visible {
  outline-offset: 4px;
}
.addaw-landing-marketing .landing-sr-only-focus-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.addaw-landing-marketing .pricing-card__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

