:root {
  --bg: #1c1c1c;
  --bg2: #242424;
  --text: #fcfcfc;
  --muted: #aaaaaa;
  --line: rgba(252, 252, 252, 0.14);
  --glass: rgba(28, 28, 28, 0.72);
  --panel: rgba(252, 252, 252, 0.07);
  --primary: #146799;
  --violet: #931818;
  --green: #054268;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --container: min(1180px, calc(100% - 36px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(85, 230, 255, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 8%,
      rgba(139, 92, 246, 0.22),
      transparent 34%
    ),
    linear-gradient(180deg, #1c1c1c, #242424 54%, #1c1c1c);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 100;
}
.nav-shell {
  width: var(--container);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: var(--text);
  font-weight: 950;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  line-height: 1;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.9s ease,
    transform 5s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide:nth-child(1) {
  background-image: url("../img/bg-img/slider-img-1.webp");
}
.hero-slide:nth-child(2) {
  background-image: url("../img/bg-img/slider-img-2.webp");
}
.hero-slide:nth-child(3) {
  background-image: url("../img/bg-img/slider-img-3.webp");
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 5, 10, 0.94),
      rgba(2, 5, 10, 0.68) 48%,
      rgba(2, 5, 10, 0.2)
    ),
    linear-gradient(0deg, #1c1c1c, transparent 34%);
}
.hero-grid {
  padding: 170px 0 100px;
  display: grid;
  grid-template-columns: 56fr 0.94fr;
  gap: 48px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-wrap: balance;
}
.gradient-text {
  background: linear-gradient(120deg, var(--text), var(--primary) 45%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 700px;
  color: #fcfcfc;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4, 8, 18, 0.62);
  backdrop-filter: blur(12px);
}
.stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}
.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}
.hero-preview {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 14px;
}
.preview-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(4, 8, 18, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.preview-card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.preview-card p {
  margin: 14px 4px 0;
  color: #fcfcfc;
  font-weight: 800;
}
.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.slider-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--primary);
}
.section {
  padding: 98px 0;
}
.section-head {
  max-width: 790px;
  margin-bottom: 42px;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section h2,
.cta h2 {
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}
.muted {
  color: var(--muted);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
}
.image-stack {
  position: relative;
  min-height: 520px;
}
.image-stack img {
  position: absolute;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.image-stack .img-main {
  left: 0;
  top: 0;
  width: 78%;
  height: 420px;
}
.image-stack .img-small {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 280px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(85, 230, 255, 0.18),
    rgba(139, 92, 246, 0.22)
  );
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 22px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.045)
  );
  transition: 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(
    180deg,
    rgba(85, 230, 255, 0.16),
    rgba(255, 255, 255, 0.05)
  );
}
.service-number {
  color: var(--primary);
  font-weight: 950;
}
.service-card a {
  color: var(--primary);
  font-weight: 950;
}
.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.process-panel {
  position: sticky;
  top: 120px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(85, 230, 255, 0.12),
    rgba(139, 92, 246, 0.12)
  );
}
.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}
.step b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(85, 230, 255, 0.14);
  color: var(--primary);
}
.testi-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: stretch;
}
.testi-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}
.quote p {
  color: #fcfcfc;
}
.quote strong {
  display: block;
  margin-top: 18px;
}
.quote span {
  color: var(--muted);
  font-size: 0.92rem;
}
.cta {
  position: relative;
  padding: 90px 0;
  background: url("../img/bg-img/cta-bg.png") center/cover fixed no-repeat;
}
.cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 13, 0.94),
    rgba(5, 7, 13, 0.65)
  );
}
.cta .container {
  position: relative;
}
.cta-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(4, 8, 18, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}
.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}
.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}
.footer-grid a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.82);
  color: var(--text);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 90;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 7, 13, 0.95);
    backdrop-filter: blur(18px);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 16px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .nav-actions .btn {
    display: none;
  }
  .hero-grid,
  .about-grid,
  .process,
  .testi-wrap,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-top: 132px;
  }
  .hero-preview {
    display: none;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-panel {
    position: relative;
    top: auto;
  }
  .image-stack {
    min-height: 430px;
  }
  .image-stack .img-main {
    height: 360px;
  }
  .image-stack .img-small {
    height: 220px;
  }
  .cta {
    background-attachment: scroll;
  }
}
@media (max-width: 640px) {
  .nav-shell {
    width: calc(100% - 22px);
    padding: 10px 10px 10px 14px;
  }
  .brand span {
    font-size: 0.98rem;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero-stats,
  .cards,
  .services,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .cta-box {
    padding: 28px;
  }
  .image-stack {
    min-height: auto;
    display: grid;
    gap: 16px;
  }
  .image-stack img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }
  .preview-card img {
    height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .hero-slide {
    transform: none !important;
  }
}

/* LR Sistemas: logos y paleta solicitada */
.brand {
  min-width: 180px;
}

.brand-logo {
  display: block;
  width: clamp(170px, 16vw, 250px);
  height: auto;
}

.logo-normal {
  display: none;
}

.logo-white {
  display: block;
}

.site-header.scrolled .logo-white,
body.light-logo .logo-white {
  display: none;
}

.site-header.scrolled .logo-normal,
body.light-logo .logo-normal {
  display: block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: var(--text);
  box-shadow: 0 16px 40px rgba(85, 230, 255, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 18px 45px rgba(20, 103, 153, 0.24);
}

.btn-outline:hover,
.nav-links a:hover,
.nav-links a.active {
  border-color: #146799;
  color: #fcfcfc;
}

.eyebrow,
.service-number,
.service-card a,
.footer-grid a:hover {
  color: #fff;
}

.eyebrow:before {
  background: #931818;
  box-shadow: 0 0 20px rgba(147, 24, 24, 0.75);
}

.slider-dot.active,
.scroll-top:hover {
  background: #146799;
}

@media (max-width: 640px) {
  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 165px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}
