/* AutoLink Competitive Refresh — primera versión local */
:root {
  --als-navy: #071525;
  --als-navy-soft: #0d2238;
  --als-blue: #009cea;
  --als-cyan: #26d7e8;
  --als-ink: #142334;
  --als-muted: #5c6b7a;
  --als-surface: #f5f8fb;
  --als-border: #dce6ef;
}

body {
  color: var(--als-ink);
}

#header {
  border-bottom: 1px solid rgba(220, 230, 239, 0.8);
}

/* Header a todo el ancho (sin “cajón” vacío a los costados) */
#header .als-header-bar,
#header .container-fluid.als-header-bar {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: clamp(12px, 2vw, 28px) !important;
  padding-right: clamp(12px, 2vw, 28px) !important;
}

#header .container {
  max-width: none !important;
}

.navbar a {
  letter-spacing: 0;
}

.navbar a.btn-demo-animate {
  animation: none !important;
  border: 0 !important;
  background: var(--als-blue) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none;
}

.navbar a.btn-demo-animate:hover {
  background: #007fbe !important;
  box-shadow: none !important;
  color: #fff !important;
}

.navbar a.btn-portal-access {
  border: 1px solid var(--als-blue) !important;
  background: transparent !important;
  color: var(--als-blue) !important;
  border-radius: 4px;
  padding: 7px 14px !important;
  margin-left: 4px;
  font-weight: 700 !important;
  text-transform: none;
}

.navbar a.btn-portal-access:hover {
  background: rgba(0, 156, 234, 0.08) !important;
  color: #007fbe !important;
}

@media (max-width: 991px) {
  .navbar a.btn-portal-access {
    display: inline-block !important;
    margin: 10px auto 0 !important;
    text-align: center !important;
  }
}

/* ─── Primera impresión: hero con carrusel ─── */
#hero.als-hero {
  --als-hero-ink: #f4f8fb;
  --als-hero-accent: #5ee7ff;
  min-height: min(640px, 70vh);
  height: min(640px, 70vh);
  max-height: none;
  background: #071525;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#hero.als-hero .als-hero-carousel,
#hero.als-hero .als-hero-carousel .carousel-inner,
#hero.als-hero .als-hero-carousel .carousel-item {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

#hero.als-hero .als-hero-carousel {
  z-index: 0;
}

#hero.als-hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero.als-hero .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 37, 0.35);
}

#hero.als-hero .carousel-indicators {
  z-index: 4;
  bottom: 18px;
  margin-bottom: 0;
}

#hero.als-hero .carousel-indicators [data-bs-target],
#hero.als-hero .carousel-indicators li {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

#hero.als-hero .carousel-indicators .active {
  background: var(--als-blue);
}

#hero.als-hero .carousel-control-prev,
#hero.als-hero .carousel-control-next {
  z-index: 4;
  width: 48px;
  opacity: 0.75;
}

#hero.als-hero .carousel-control-prev:hover,
#hero.als-hero .carousel-control-next:hover {
  opacity: 1;
}

.als-hero-media {
  display: none;
}

.als-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  opacity: 0.45;
}

.als-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 68% at 50% 42%, rgba(4, 14, 28, 0.28) 0%, rgba(4, 14, 28, 0.55) 52%, rgba(4, 14, 28, 0.78) 100%),
    linear-gradient(180deg, rgba(4, 14, 28, 0.45) 0%, rgba(4, 14, 28, 0.12) 38%, rgba(4, 14, 28, 0.55) 78%, #071525 100%);
}

#hero.als-hero > .container {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

#hero.als-hero::before,
#hero.als-hero::after {
  content: none;
}

.als-hero-content {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.als-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 0 28px;
  animation: alsHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.als-brand-name {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fff;
  text-transform: none;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.als-brand-sub {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--als-hero-accent);
  opacity: 0.95;
}

#hero .als-hero-content h1 {
  color: var(--als-hero-ink);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  animation: alsHeroRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

#hero .als-hero-content h1 em {
  font-style: normal;
  color: var(--als-hero-accent);
}

#hero .als-hero-content h1 span {
  color: var(--als-hero-accent);
}

#hero .als-hero-lead {
  max-width: 560px;
  color: rgba(242, 247, 251, 0.9);
  font-family: "Figtree", sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  animation: alsHeroRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

#hero .als-hero-lead strong {
  color: #fff;
  font-weight: 700;
}

#hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: alsHeroRise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

#hero .btn-hero-primary {
  background: #009cea;
  border-radius: 8px;
  border: 0;
  color: #fff !important;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

#hero .btn-hero-primary:hover {
  background: #00b4f0;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

#hero .btn-hero-secondary {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(7, 21, 37, 0.25);
  color: #fff !important;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#hero .btn-hero-secondary:hover {
  background: rgba(7, 21, 37, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.als-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: alsHeroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.als-hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--als-hero-accent);
  animation: alsScrollDot 1.6s ease-in-out infinite;
}

@keyframes alsHeroKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@keyframes alsHeroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes alsScrollDot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* Prueba social justo debajo del hero (fuera del primer viewport) */
.als-proof-strip {
  background: #071525;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px;
}

.als-proof-strip .als-proof-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  max-width: 920px;
}

.als-proof-strip .als-proof-item {
  min-width: 120px;
  color: rgba(228, 238, 246, 0.75);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  text-shadow: none;
}

.als-proof-strip .als-proof-item strong {
  display: block;
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.als-eyebrow {
  display: none;
}

@media (max-width: 768px) {
  #hero.als-hero {
    min-height: min(560px, 68svh);
    height: min(560px, 68svh);
    padding: 100px 0 56px;
  }

  .als-brand-mark {
    margin-bottom: 20px;
  }

  #hero .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  #hero .btn-hero-primary,
  #hero .btn-hero-secondary {
    text-align: center;
    width: 100%;
  }

  .als-hero-scroll {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .als-hero-media,
  .als-brand-mark,
  #hero .als-hero-content h1,
  #hero .als-hero-lead,
  #hero .hero-cta,
  .als-hero-scroll,
  .als-hero-scroll span {
    animation: none !important;
  }

  .als-hero-media {
    transform: scale(1.06);
  }
}

/* Propuesta diferencial */
.als-difference {
  padding: 74px 0;
  background: #fff;
}

.als-section-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.als-section-kicker {
  display: block;
  color: var(--als-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.als-section-intro h2 {
  color: var(--als-ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.als-section-intro p {
  color: var(--als-muted);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 0;
}

.als-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--als-border);
  border-radius: 12px;
  overflow: hidden;
}

.als-capability {
  padding: 32px;
  background: #fff;
  border-right: 1px solid var(--als-border);
}

.als-capability:last-child {
  border-right: 0;
}

.als-capability-number {
  color: var(--als-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.als-capability h3 {
  color: var(--als-ink);
  font-size: 1.22rem;
  margin: 20px 0 10px;
}

.als-capability p {
  color: var(--als-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

.als-positioning-strip {
  margin-top: 22px;
  padding: 22px 26px;
  background: var(--als-navy);
  color: #dce8f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.als-positioning-strip strong {
  color: #fff;
}

.als-positioning-strip a {
  white-space: nowrap;
  color: #fff;
  border-bottom: 1px solid var(--als-cyan);
  font-weight: 700;
}

/* Fusión OT + IA — imagen full-bleed de fondo */
.als-fusion {
  position: relative;
  margin-top: 28px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--als-navy);
  color: #dce8f2;
  isolation: isolate;
}

.als-fusion-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  z-index: 0;
}

.als-fusion-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.als-fusion::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 21, 37, 0.72) 0%, rgba(7, 21, 37, 0.55) 40%, rgba(7, 21, 37, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 21, 37, 0.35) 0%, transparent 50%, rgba(7, 21, 37, 0.35) 100%);
  pointer-events: none;
}

.als-fusion-content {
  position: relative;
  z-index: 2;
  padding: 36px 28px 30px;
}

.als-fusion-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 22px;
}

.als-fusion-intro .als-section-kicker {
  color: var(--als-cyan);
  margin-bottom: 8px;
}

.als-fusion-intro h3 {
  margin: 0 0 8px;
  font-family: "Syne", "Raleway", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.als-fusion-intro p {
  margin: 0;
  color: rgba(220, 232, 242, 0.88);
  font-size: 0.94rem;
  line-height: 1.5;
}

.als-fusion-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto 14px;
}

.als-fusion-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(7, 21, 37, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.als-fusion-ot {
  border-color: rgba(0, 156, 234, 0.45);
}

.als-fusion-ai {
  border-color: rgba(94, 231, 255, 0.45);
}

.als-fusion-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--als-cyan);
  margin-bottom: 6px;
}

.als-fusion-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.als-fusion-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(220, 232, 242, 0.86);
}

.als-fusion-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--als-cyan);
  padding: 0 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.als-fusion-punch {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(242, 247, 251, 0.92);
}

.als-fusion-punch strong {
  color: #fff;
}

.als-fusion-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.als-fusion-cta a {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--als-cyan);
  padding-bottom: 1px;
}

.als-fusion-cta a:hover {
  color: var(--als-cyan);
}

@media (max-width: 768px) {
  .als-fusion-content {
    padding: 28px 16px 22px;
  }

  .als-fusion-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .als-fusion-plus {
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
  }
}

/* Cómo trabajamos */
.als-process {
  padding: 74px 0;
  background: var(--als-surface);
}

.als-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.als-process-step {
  background: #fff;
  border: 1px solid var(--als-border);
  border-radius: 12px;
  padding: 24px 18px;
  min-height: 100%;
}

.als-process-num {
  display: block;
  color: var(--als-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.als-process-step h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--als-ink);
}

.als-process-step p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Casos reales */
.als-cases {
  padding: 74px 0 60px;
}

.als-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.als-case-card {
  background: #fff;
  border: 1px solid var(--als-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.als-case-card:hover {
  transform: translateY(-3px);
  border-color: #b7d7ea;
}

.als-case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1a2a;
}

.als-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.als-case-result {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 156, 234, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}

.als-case-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.als-case-meta {
  color: var(--als-muted);
  font-size: 12px;
  font-weight: 600;
}

.als-case-body h3 {
  font-size: 1.12rem;
  margin: 0;
  color: var(--als-ink);
  line-height: 1.3;
}

.als-case-body p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.als-case-body .tecnologias {
  margin-top: auto;
  padding-top: 10px;
}

.als-cases-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.als-cases-cta p {
  width: 100%;
  margin: 0 0 4px;
  color: var(--als-muted);
  font-weight: 600;
}

.als-cases-cta .btn-hero-primary,
.als-cases-cta .btn-hero-secondary {
  color: #fff !important;
}

.als-cases-cta .btn-hero-secondary {
  border: 1px solid var(--als-blue);
  color: var(--als-blue) !important;
  background: transparent;
}

.als-cases-cta .btn-hero-secondary:hover {
  background: rgba(0, 156, 234, 0.08);
  color: var(--als-blue) !important;
}

/* Demos en vivo */
.als-demos {
  padding: 70px 0 60px;
  background: #fff;
}

.als-demos .als-section-intro {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.als-demos .als-section-intro h2 {
  margin-bottom: 12px;
}

.als-demos .als-section-intro p {
  color: var(--als-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 560px;
}

.als-demos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.als-demo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--als-border);
  border-radius: 14px;
  overflow: hidden;
}

.als-demo-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #0d2238;
  overflow: hidden;
}

.als-demo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Preview en vivo: se ve, no se toca */
.als-demo-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d2238;
  overflow: hidden;
}

.als-demo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  user-select: none;
}

.als-demo-preview-frame {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  background: #0d2238;
}

.als-demo-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 14px 18px;
  background: linear-gradient(180deg, rgba(7, 21, 37, 0.08) 0%, rgba(7, 21, 37, 0.25) 45%, rgba(7, 21, 37, 0.78) 100%);
  color: #fff;
  text-align: center;
  cursor: default;
}

.als-demo-lock p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.als-demo-lock span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.als-demo-lock a {
  margin-top: 6px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 7px;
  background: rgba(0, 156, 234, 0.95);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.als-demo-lock a:hover {
  background: #00b4f0;
}

.als-demo-preview .als-demo-badge {
  z-index: 4;
}

.als-demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #198754;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 5px;
}

.als-demo-badge-dev {
  background: #f59e0b;
  color: #111;
}

.als-demo-badge-biogas {
  background: #0f9f6e;
}

.als-demo-badge-solar {
  background: #fd7e14;
  color: #111;
}

.als-demo-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 16px;
  flex: 1;
}

.als-demo-body h3 {
  margin: 0;
  color: var(--als-ink);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
}

.als-demo-body p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 2.7em;
}

.als-demo-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.als-demo-actions a {
  color: var(--als-blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.als-demo-actions a:hover {
  text-decoration: underline;
}

.als-cases-cta .btn-whatsapp-cta {
  border-color: #25d366 !important;
  color: #128c7e !important;
  background: #fff !important;
}

.als-cases-cta .btn-whatsapp-cta:hover {
  background: rgba(37, 211, 102, 0.1) !important;
  color: #075e54 !important;
}

/* Industrias / ofertas / alcance */
.als-sales {
  padding: 74px 0;
  background: #fff;
}

.als-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.als-industries-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--als-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.als-industries-note a {
  color: var(--als-blue);
  font-weight: 700;
  text-decoration: none;
}

.als-industries-note a:hover {
  text-decoration: underline;
}

.als-industry-card {
  position: relative;
  border: 1px solid var(--als-border);
  border-radius: 12px;
  padding: 22px 18px 22px 20px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.als-industry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--als-blue);
}

.als-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(7, 21, 37, 0.08);
}

.als-industry-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--als-ink);
}

.als-industry-card p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.als-ind-agro {
  background: linear-gradient(135deg, #f7fcf4 0%, #fff 55%);
  border-color: #cfe8c4;
}
.als-ind-agro::before { background: #5a9e3a; }
.als-ind-agro h3 { color: #3d6f28; }

.als-ind-food {
  background: linear-gradient(135deg, #fff7f5 0%, #fff 55%);
  border-color: #f0cfc7;
}
.als-ind-food::before { background: #d45a3a; }
.als-ind-food h3 { color: #a63d24; }

.als-ind-mfg {
  background: linear-gradient(135deg, #f4f8fc 0%, #fff 55%);
  border-color: #c5d8ea;
}
.als-ind-mfg::before { background: #2f6fa8; }
.als-ind-mfg h3 { color: #1f5280; }

.als-ind-energy {
  background: linear-gradient(135deg, #f3fbf9 0%, #fff 55%);
  border-color: #bfe0d8;
}
.als-ind-energy::before { background: #1a9a7a; }
.als-ind-energy h3 { color: #0f6f56; }

.als-ind-feed {
  background: linear-gradient(135deg, #fffaf0 0%, #fff 55%);
  border-color: #ead9b0;
}
.als-ind-feed::before { background: #c48a1a; }
.als-ind-feed h3 { color: #8a6010; }

.als-ind-infra {
  background: linear-gradient(135deg, #f5f7fb 0%, #fff 55%);
  border-color: #c8d0de;
}
.als-ind-infra::before { background: #4a5d78; }
.als-ind-infra h3 { color: #334456; }

.als-scope {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
  padding: 28px;
  border-radius: 14px;
  background: var(--als-surface);
  border: 1px solid var(--als-border);
}

.als-section-intro-left {
  text-align: left;
  margin: 0;
  max-width: none;
}

.als-scope-list {
  margin: 0;
  padding-left: 18px;
  color: var(--als-muted);
}

.als-scope-list li {
  margin-bottom: 12px;
  line-height: 1.55;
}

.als-scope-list strong {
  color: var(--als-ink);
}

.als-offers .als-section-intro {
  margin-bottom: 22px;
}

.als-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.als-offer-card {
  border: 1px solid var(--als-border);
  border-radius: 14px;
  padding: 24px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.als-offer-card.is-featured {
  border-color: rgba(0, 156, 234, 0.45);
  background: #f7fbfe;
}

.als-offer-label {
  color: var(--als-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.als-offer-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--als-ink);
}

.als-offer-card p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.als-offer-card a {
  color: var(--als-blue);
  font-weight: 700;
  text-decoration: none;
}

.als-offer-card a:hover {
  text-decoration: underline;
}

/* Proyectos realizados */
.als-projects {
  padding: 70px 0 60px;
  background: var(--als-surface);
}

.als-projects .als-demo-card {
  background: #fff;
}

/* FAQ */
.als-faq {
  padding: 70px 0;
  background: #fff;
}

.als-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.als-faq-item {
  border: 1px solid var(--als-border);
  border-radius: 12px;
  padding: 14px 18px;
  background: #fff;
}

.als-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--als-ink);
  list-style: none;
}

.als-faq-item summary::-webkit-details-marker {
  display: none;
}

.als-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--als-blue);
  font-weight: 700;
}

.als-faq-item[open] summary::after {
  content: "–";
}

.als-faq-item p {
  margin: 12px 0 4px;
  color: var(--als-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .als-industries-grid,
  .als-offers-grid,
  .als-scope {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .als-sales,
  .als-projects,
  .als-faq {
    padding: 56px 0;
  }
}

/* Evitar estilos viejos de portfolio overlay dentro de demos nuevas */
.als-demos .portfolio-wrap,
.als-demos .portfolio-info,
.als-demos .portfolio-links {
  all: unset;
}

@media (max-width: 1199px) {
  .als-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .als-demos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .als-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .als-process,
  .als-cases,
  .als-demos {
    padding: 56px 0;
  }

  .als-process-grid,
  .als-cases-grid,
  .als-demos-grid {
    grid-template-columns: 1fr;
  }
}

/* SIBIA spotlight */
.als-sibia {
  padding: 78px 0;
  background:
    radial-gradient(circle at top right, rgba(0, 156, 234, 0.12), transparent 42%),
    #071525;
  color: #dce8f2;
}

.als-sibia .als-section-kicker {
  color: var(--als-cyan);
}

.als-sibia h2 {
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.als-sibia-lead {
  color: #c5d5e4;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 640px;
}

.als-sibia-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.als-sibia-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.als-sibia-points div {
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.als-sibia-points strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.als-sibia-points span {
  color: #9fb3c5;
  font-size: 0.9rem;
  line-height: 1.55;
}

.als-sibia-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.als-sibia-actions .btn-hero-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.als-sibia-link {
  color: var(--als-cyan);
  font-weight: 700;
  margin-left: 4px;
}

.als-sibia-aside {
  border-radius: 16px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(38, 215, 232, 0.25);
}

.als-sibia-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(38, 215, 232, 0.15);
  color: var(--als-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.als-sibia-aside h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 14px;
}

.als-sibia-aside ul {
  padding-left: 18px;
  margin: 0 0 20px;
  color: #b7c8d8;
}

.als-sibia-aside li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.als-sibia-quote {
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 18px;
  border-left: 3px solid var(--als-cyan);
  padding-left: 14px;
}

.als-sibia-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #8ea3b6;
  font-size: 0.86rem;
}

.als-demo-card.is-featured .portfolio-wrap {
  border-color: rgba(0, 156, 234, 0.55);
}

.als-demo-card .project-badge.badge-dev {
  background: #f59e0b;
  color: #111;
}

.als-testimony-note {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--als-muted);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .als-sibia-grid,
  .als-sibia-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .als-sibia {
    padding: 56px 0;
  }
}

/* Formulario orientado a diagnóstico */
.contact .als-contact-intro {
  max-width: 690px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--als-muted);
}

.contact .php-email-form {
  border-radius: 12px;
}

.contact .php-email-form label {
  color: var(--als-ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.contact .php-email-form select {
  border: 1px solid var(--als-border);
  border-radius: 7px;
  padding: 12px 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus,
.contact .php-email-form select:focus {
  border-color: var(--als-blue);
  box-shadow: 0 0 0 3px rgba(0, 156, 234, 0.12);
}

.als-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 991px) {
  #hero.als-hero {
    min-height: min(600px, 68svh);
    height: min(600px, 68svh);
  }

  .als-capability-grid {
    grid-template-columns: 1fr;
  }

  .als-capability {
    border-right: 0;
    border-bottom: 1px solid var(--als-border);
  }

  .als-capability:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  #hero.als-hero {
    min-height: min(560px, 68svh);
    height: min(560px, 68svh);
    padding: 100px 0 56px;
    background: #071525;
  }

  .als-hero-content {
    padding: 0 8px;
  }

  #hero .hero-cta {
    align-items: stretch;
  }

  #hero .btn-hero-primary,
  #hero .btn-hero-secondary {
    width: 100%;
  }

  .als-proof-strip .als-proof-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .als-proof-strip .als-proof-item {
    min-width: 0;
  }
  }

  .als-difference {
    padding: 58px 0;
  }

  .als-capability {
    padding: 26px 22px;
  }

  .als-positioning-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Demo a medida + Acceso clientes */
.als-portal {
  padding: 72px 0;
  background: var(--als-surface);
}

.als-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.als-portal-card {
  background: #fff;
  border: 1px solid var(--als-border);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.als-portal-demo {
  border-color: rgba(0, 156, 234, 0.35);
  background: linear-gradient(160deg, #f7fbfe 0%, #fff 55%);
}

.als-portal-clients {
  border-color: rgba(7, 21, 37, 0.18);
  background: linear-gradient(160deg, #f4f7fa 0%, #fff 55%);
}

.als-portal-card h2 {
  margin: 0;
  font-family: "Syne", "Raleway", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--als-ink);
  letter-spacing: -0.02em;
}

.als-portal-card > p {
  margin: 0;
  color: var(--als-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.als-portal-list {
  margin: 4px 0 8px;
  padding-left: 18px;
  color: var(--als-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.als-portal-list li {
  margin-bottom: 6px;
}

.als-portal-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 8px;
}

.als-portal-actions .btn-hero-primary {
  display: inline-block;
  background: var(--als-blue);
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}

.als-portal-actions .btn-hero-primary:hover {
  background: #007fbe;
}

.als-portal-link {
  color: var(--als-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.als-portal-link:hover {
  text-decoration: underline;
}

.als-portal-solo {
  max-width: 640px;
  margin: 0 auto;
}

.als-clients-access-cta {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--als-muted, #5a6b7c);
}

.als-clients-access-cta a {
  color: var(--als-blue, #009cea);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.als-clients-access-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .als-portal {
    padding: 56px 0;
  }

  .als-portal-grid {
    grid-template-columns: 1fr;
  }
}
