:root {
  --blue: #006faf;
  --navy: #061957;
  --cyan: #23c7e8;
  --ink: #142033;
  --muted: #647084;
  --soft: #f4f7fb;
  --line: #dbe4ee;
  --dark: #071321;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.top-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  color: #fff;
  background: var(--navy);
}

.top-bar .container-xl {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-social,
.top-actions,
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-social a[aria-label="LinkedIn"],
.footer-social a[aria-label="LinkedIn"] {
  display: none;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--cyan);
}

.top-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav {
  top: 36px;
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
  backdrop-filter: none;
  transition: min-height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.main-nav.is-scrolled {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.navbar-brand img {
  display: block;
  width: 202px;
  max-height: 61px;
  height: auto;
  object-fit: contain;
  transition: width 0.25s ease;
}

.navbar-brand {
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.main-nav.is-scrolled .navbar-brand {
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 25, 87, 0.12);
}

.main-nav.is-scrolled .navbar-brand img {
  width: 166px;
  max-height: 50px;
}

.main-nav .nav-link,
.main-nav .btn {
  transition: padding 0.25s ease, font-size 0.25s ease;
}

.main-nav.is-scrolled .nav-link {
  font-size: 0.82rem;
}

.main-nav.is-scrolled .btn {
  padding-top: 0.48rem !important;
  padding-bottom: 0.48rem !important;
}

.main-nav .navbar-nav {
  gap: 0 !important;
  overflow: hidden;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 111, 175, 0.18);
}

.main-nav .nav-item + .nav-item {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.72rem !important;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 0;
}

.main-nav .navbar-nav .btn {
  padding: 0.5rem 0.72rem !important;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
}

.nav-link:hover,
.nav-link.active,
.main-nav .navbar-nav .btn:hover,
.main-nav .navbar-nav .btn.is-active {
  color: var(--navy);
  background: transparent;
}

.nav-link::after {
  display: none;
}


.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--navy);
  --bs-btn-hover-border-color: var(--navy);
}

.hero-slider,
.hero-slide {
  min-height: calc(64vh - 76px);
}

.hero-slider {
  padding-top: 0;
}

.hero-content .min-vh-100 {
  min-height: calc(64vh - 76px) !important;
}

.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 32, 0.86), rgba(5, 13, 32, 0.48), rgba(5, 13, 32, 0.16)),
    linear-gradient(0deg, rgba(5, 13, 32, 0.35), rgba(5, 13, 32, 0.05));
}

.slide-one {
  background-image: url("assets/hero-tech.png");
}

.slide-two {
  background-image: url("assets/engineer.jpg");
}

.slide-three {
  background-image: url("assets/nuqleo.webp");
}

.slide-four {
  background-image: url("assets/security-center.jpg");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.hero-slide h1 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
}

.hero-slide p {
  max-width: 640px;
  margin: 1.15rem 0 0.7rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.55;
}

.hero-slide small {
  display: block;
  max-width: 540px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
}

.carousel-item.active .hero-content .section-label,
.carousel-item.active .hero-content h1,
.carousel-item.active .hero-content p,
.carousel-item.active .hero-content small,
.carousel-item.active .hero-content .btn {
  animation: heroTextIn 0.82s ease both;
}

.carousel-item.active .hero-content h1 {
  animation-delay: 0.1s;
}

.carousel-item.active .hero-content p {
  animation-delay: 0.2s;
}

.carousel-item.active .hero-content small {
  animation-delay: 0.3s;
}

.carousel-item.active .hero-content .btn {
  animation-delay: 0.4s;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-indicators {
  bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 52px;
  height: 4px;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.page-main {
  padding-top: 112px;
}

.page-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.page-hero .container-xl {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  font-weight: 800;
  line-height: 0.98;
}

.page-hero p {
  max-width: 620px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.page-hero small {
  display: block;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  font-weight: 800;
}

.page-about {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.48)),
    url("assets/hero-nosotros.png");
}

.page-code {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.48)),
    url("assets/hero-programacion-util.png");
}

.page-projects {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.48)),
    url("assets/hero-proyectos.png");
}

.page-services {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.48)),
    url("assets/hero-servicios.png");
}

.page-contact {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.48)),
    url("assets/hero-contacto.png");
}

.detail-card {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-card i {
  color: var(--blue);
  font-size: 2rem;
}

.detail-card h3 {
  margin-top: 1.2rem;
  color: var(--navy);
  font-weight: 800;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
  line-height: 1.6;
}

.about-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(35, 199, 232, 0.2), transparent 36%),
    linear-gradient(135deg, #061957, #071321);
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(35, 199, 232, 0.24);
  border-radius: 50%;
}

.about-visual::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: spinSlow 22s linear infinite;
}

.about-orbit {
  position: absolute;
  inset: 1.4rem;
  z-index: 2;
}

.about-orbit span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.about-orbit span:nth-child(1) {
  top: 1rem;
  left: 2rem;
}

.about-orbit span:nth-child(2) {
  top: 4.2rem;
  right: 1rem;
}

.about-orbit span:nth-child(3) {
  right: 3.4rem;
  bottom: 2.2rem;
}

.about-orbit span:nth-child(4) {
  bottom: 4.5rem;
  left: 1rem;
}

.about-panel {
  position: relative;
  z-index: 3;
  width: min(78%, 390px);
  padding: 1.35rem;
  color: #fff;
  border: 1px solid rgba(35, 199, 232, 0.28);
  border-radius: 8px;
  background: rgba(7, 19, 33, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.panel-header {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.panel-header span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--cyan);
}

.about-panel strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.08;
}

.about-panel p {
  margin: 0.75rem 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.about-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.about-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #fff);
}

.about-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.about-kpis div {
  padding: 0.75rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.about-kpis b,
.about-kpis small {
  display: block;
}

.about-kpis b {
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1;
}

.about-kpis small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.section-bridge {
  position: relative;
  min-height: clamp(220px, 30vw, 340px);
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.section-bridge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.86), rgba(7, 19, 33, 0.46), rgba(7, 19, 33, 0.18)),
    linear-gradient(0deg, rgba(0, 111, 175, 0.18), rgba(6, 25, 87, 0.2));
}

.section-bridge .container-xl {
  position: relative;
  z-index: 2;
}

.section-bridge span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-bridge h2 {
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  font-weight: 800;
  line-height: 0.98;
}

.section-bridge p {
  max-width: 520px;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.45;
}

.bridge-about {
  background-image: url("assets/hero-estrategia.png");
}

.bridge-code {
  background-image: url("assets/hero-programacion-util.png");
}

.bridge-projects {
  background-image: url("assets/hero-infraestructura-visible.png");
}

.bridge-services {
  background-image: url("assets/hero-solucion-integral.png");
}

.bridge-contact {
  background-image: url("assets/bridge-contact.svg");
}

.proof-strip {
  padding: 1.2rem 0;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-height: 150px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  background: #fff;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.proof-item span {
  display: block;
  max-width: 300px;
  margin-top: 0.8rem;
  color: var(--muted);
}

.book-section {
  background: #fff;
}

.about-section {
  background: #fff;
}

.about-section h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.about-lead {
  margin: 1.4rem 0 1rem;
  color: var(--navy);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 700;
  line-height: 1.45;
}

.about-value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.about-value-list div {
  min-height: 170px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6f9fc);
  box-shadow: 0 18px 42px rgba(6, 25, 87, 0.06);
}

.about-value-list i {
  color: var(--blue);
  font-size: 1.6rem;
}

.about-value-list span {
  display: block;
  margin-top: 1rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.about-value-list p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.book-section h2,
.projects-section h2,
.services-section h2,
.contact-box h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1;
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.featured-project,
.project-stack article,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.featured-project {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 24px 70px rgba(6, 25, 87, 0.1);
}

.browser-mockup {
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  background: #071321;
  border: 1px solid rgba(35, 199, 232, 0.24);
}

.browser-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-top span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--cyan);
}

.mockup-body {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 1rem;
  padding: 1rem;
}

.mockup-body aside,
.mockup-body main,
.mockup-grid span,
.mockup-chart {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-body aside {
  min-height: 270px;
}

.mockup-body main {
  padding: 1rem;
}

.mockup-line {
  height: 20px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(35, 199, 232, 0.34);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.mockup-grid span {
  height: 72px;
}

.mockup-chart {
  min-height: 136px;
  background: linear-gradient(135deg, rgba(35, 199, 232, 0.3), rgba(0, 111, 175, 0.12));
}

.mini-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-content h3 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.featured-content p,
.project-stack p,
.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.project-stack {
  display: grid;
  gap: 1rem;
}

.project-stack article {
  padding: 1.4rem;
}

.project-stack span {
  color: var(--blue);
  font-weight: 800;
}

.project-stack h3 {
  margin-top: 1.8rem;
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
}

.book-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.72fr);
  gap: 1rem;
}

.book-hero-card,
.book-mini-card,
.book-metrics {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 25, 87, 0.08);
}

.book-hero-card {
  position: relative;
  min-height: 560px;
  color: #fff;
}

.book-hero-card img,
.book-mini-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.book-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 33, 0.08), rgba(7, 19, 33, 0.9)),
    linear-gradient(90deg, rgba(0, 111, 175, 0.26), rgba(6, 25, 87, 0));
}

.book-hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(1.4rem, 4vw, 2.3rem);
}

.book-hero-content .mini-label {
  color: var(--cyan);
}

.book-hero-content h3 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
}

.book-hero-content p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
}

.book-side {
  display: grid;
  gap: 1rem;
}

.book-mini-card {
  position: relative;
  min-height: 205px;
  color: #fff;
}

.book-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 33, 0.06), rgba(7, 19, 33, 0.78));
}

.book-mini-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 1.1rem;
}

.book-mini-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.book-mini-card strong {
  display: block;
  max-width: 320px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.book-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: var(--navy);
}

.book-metrics div {
  min-height: 128px;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.book-metrics div:last-child {
  border-right: 0;
}

.book-metrics strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.book-metrics span {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.28;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-grid-rich {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.portfolio-card:hover {
  color: var(--ink);
  transform: translateY(-5px);
  border-color: rgba(0, 111, 175, 0.34);
  box-shadow: 0 22px 52px rgba(6, 25, 87, 0.12);
}

.portfolio-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.portfolio-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 33, 0), rgba(7, 19, 33, 0.14));
  pointer-events: none;
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.portfolio-logo-visual {
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: #fff;
}

.portfolio-logo-visual::after {
  background: linear-gradient(180deg, rgba(6, 25, 87, 0), rgba(6, 25, 87, 0.04));
}

.portfolio-logo-visual img {
  width: min(82%, 260px);
  height: min(82%, 210px);
  object-fit: contain;
}

.portfolio-card:hover .portfolio-visual img {
  transform: scale(1.05);
}

.portfolio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.portfolio-type {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 1.15rem 0 0.65rem;
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
}

.portfolio-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.portfolio-points {
  display: grid;
  gap: 0.48rem;
  margin: 0.2rem 0 1rem;
  padding: 0;
  list-style: none;
}

.portfolio-points li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.35;
}

.portfolio-points li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--blue);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 1.05rem;
}

.tech-tags span {
  padding: 0.26rem 0.55rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(0, 111, 175, 0.18);
  border-radius: 999px;
  background: rgba(0, 111, 175, 0.06);
}

.portfolio-card strong {
  margin-top: auto;
  color: var(--blue);
  font-size: 0.95rem;
}

.projects-section {
  background: var(--soft);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-main {
  grid-row: span 2;
}

.services-section {
  background: #fff;
}

.service-card {
  min-height: 280px;
  padding: 1.5rem;
}

.service-card i {
  color: var(--blue);
  font-size: 2.2rem;
}

.service-card h3 {
  margin-top: 2.6rem;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
}

.service-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-detail-card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(6, 25, 87, 0.07);
}

.service-detail-card i {
  color: var(--blue);
  font-size: 2rem;
}

.service-detail-card h3 {
  margin: 1.25rem 0 0.7rem;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 800;
}

.service-detail-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-detail-card ul {
  display: grid;
  gap: 0.52rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.service-detail-card li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--blue);
}

.service-detail-wide {
  grid-column: span 3;
}

.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.92), rgba(7, 19, 33, 0.68)),
    url("assets/motherboard.jpg") center / cover;
}

.contact-page-section {
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
}

.contact-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.contact-intro-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  color: #fff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 118, 190, 0.4), transparent 36%),
    linear-gradient(135deg, rgba(4, 17, 38, 0.98), rgba(7, 19, 33, 0.9)),
    url("assets/hero-contacto.png") center / cover;
  box-shadow: 0 24px 60px rgba(4, 17, 38, 0.18);
}

.contact-intro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 38, 0.98) 0%, rgba(4, 17, 38, 0.82) 48%, rgba(4, 17, 38, 0.22) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 90px);
}

.contact-intro-card > * {
  position: relative;
  z-index: 1;
}

.contact-intro-card .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.contact-intro-card h2 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.96;
}

.contact-intro-card p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
}

.contact-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-mini-stats div {
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.contact-mini-stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.contact-mini-stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-channel {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(8, 32, 61, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 32, 61, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-channel::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(15, 118, 190, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(15, 118, 190, 0.08), rgba(6, 25, 87, 0.02));
  opacity: 0.9;
}

.contact-channel:hover {
  transform: translateY(-4px);
  color: var(--ink);
  border-color: rgba(15, 118, 190, 0.28);
  box-shadow: 0 24px 60px rgba(8, 32, 61, 0.14);
}

.contact-channel i {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.25rem;
  color: var(--blue);
  font-size: clamp(4.6rem, 8vw, 6.4rem);
  line-height: 1;
}

.contact-channel span {
  position: relative;
  z-index: 1;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-channel strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.4rem;
  color: var(--navy);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-channel-primary {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #0f76be, #06135f);
}

.contact-channel-primary::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.contact-channel-primary:hover {
  color: #fff;
}

.contact-channel-primary i {
  color: #fff;
}

.contact-channel-primary span,
.contact-channel-primary strong {
  color: #fff;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 2rem;
  align-items: end;
  color: #fff;
}

.contact-box h2 {
  color: #fff;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

.contact-actions a,
.contact-actions span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-actions a:hover {
  background: var(--blue);
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  background: #050f22;
}

.footer-logo-mark {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: #fff;
}

.footer-logo {
  width: 128px;
  max-width: 82%;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  line-height: 1.65;
}

.footer-social {
  margin-top: 1.2rem;
  gap: 1rem;
}

.footer-social a {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-social a:hover {
  color: var(--cyan);
  background: transparent;
}

.footer-social i {
  margin: 0;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer i {
  margin-right: 0.45rem;
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 991.98px) {
  .top-bar .container-xl {
    min-height: 34px;
  }

  .top-actions a {
    font-size: 0.78rem;
  }

  .main-nav {
    background: #fff;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .main-nav .navbar-nav {
    align-items: stretch !important;
    border-radius: 8px;
  }

  .main-nav .nav-item + .nav-item {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .nav-link,
  .main-nav .navbar-nav .btn {
    width: 100%;
    text-align: left;
  }

  .hero-slide h1 {
    font-size: clamp(2.6rem, 10vw, 4.6rem);
  }

  .hero-slider,
  .hero-slide,
  .hero-content .min-vh-100 {
    min-height: calc(76vh - 76px) !important;
  }

  .section-bridge {
    min-height: 260px;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-gallery img,
  .gallery-main {
    height: 280px;
    grid-row: auto;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-visual-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro-card {
    min-height: 360px;
  }

  .about-visual {
    min-height: 460px;
  }

  .book-showcase {
    grid-template-columns: 1fr;
  }

  .book-hero-card {
    min-height: 480px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-wide {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
.top-social {
    display: none;
  }

  .top-bar .container-xl {
    justify-content: center;
  }

  .navbar-brand img {
    width: 158px;
  }

  .hero-slide,
  .hero-slider {
    min-height: calc(76vh - 76px);
  }

  .hero-content {
    padding-top: 6rem;
  }

  .hero-slide h1 {
    font-size: 2.55rem;
  }

  .section-bridge {
    min-height: 230px;
  }

  .section-bridge h2 {
    font-size: 2.2rem;
  }

  .about-visual {
    min-height: 430px;
  }

  .about-orbit span {
    font-size: 0.72rem;
  }

  .about-panel {
    width: min(84%, 340px);
  }

  .about-value-list {
    grid-template-columns: 1fr;
  }

  .book-section h2,
  .projects-section h2,
  .services-section h2,
  .contact-box h2 {
    font-size: 2.4rem;
  }

  .contact-intro-card h2 {
    max-width: 12ch;
    font-size: 2.8rem;
  }

  .contact-mini-stats,
  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    min-height: 220px;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-body aside {
    display: none;
  }

  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-hero-card {
    min-height: 420px;
  }

  .book-mini-card {
    min-height: 190px;
  }

  .book-metrics {
    grid-template-columns: 1fr;
  }

  .book-metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .book-metrics div:last-child {
    border-bottom: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-rich {
    grid-template-columns: 1fr;
  }

  .service-catalog {
    grid-template-columns: 1fr;
  }

  .service-detail-wide {
    grid-column: auto;
  }
}
