/* Loader */
html.is-loading body {
  overflow: hidden;
}
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #1a2a5a 0%, #030303 55%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.site-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader__inner {
  text-align: center;
  width: min(90vw, 360px);
}
.site-loader__ring {
  width: 56px;
  height: 56px;
  margin: 20px auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #8bd3ff;
  animation: loaderSpin 0.9s linear infinite;
}
.site-loader__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-loader__bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}
.site-loader__bar span {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #6844fc, #5689f7);
  animation: loaderBar 1.1s ease-in-out infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* Mapa Perú — MapLibre (estilo mapcn / CARTO dark) */
.mapa-peru {
  padding: 80px 0;
}
.mapa-peru__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}
.mapa-peru__head h3 {
  color: #fff;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 8px 0 12px;
}
.mapa-peru__head > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 22px;
}
.mapa-peru__stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mapa-peru__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
}
.mapa-peru__stat strong {
  color: #fff;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.mapa-peru__stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mapa-peru__layout {
  display: grid;
  grid-template-columns: 1.4fr minmax(240px, 300px);
  gap: 16px;
  align-items: stretch;
}
.peru-map {
  width: 100%;
  height: min(64vh, 540px);
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
  background: #0a0c14;
}
.mapa-peru__sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(64vh, 540px);
  overflow-y: auto;
  padding-right: 4px;
}
.mapa-peru__city-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 56px;
}
.mapa-peru__city-row:hover,
.mapa-peru__city-row.is-active {
  background: rgba(104, 68, 252, 0.18);
  border-color: rgba(139, 211, 255, 0.35);
}
.mapa-peru__city-row.is-active {
  transform: translateX(2px);
}
.mapa-peru__pin-icon {
  color: #8bd3ff;
  flex-shrink: 0;
  display: flex;
}
.mapa-peru__city-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mapa-peru__city-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.mapa-peru__city-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mapa-peru__city-count {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8bd3ff;
  background: rgba(139, 211, 255, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  min-width: 36px;
  text-align: center;
}
/* legacy cards kept harmless */
.mapa-peru__city-card { display: none; }

.peru-map-marker {
  width: 32px;
  height: 40px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  filter: drop-shadow(0 6px 12px rgba(104, 68, 252, 0.55));
}
.peru-map-marker__pin {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 0;
}
.peru-map-marker__pulse {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: rgba(139, 211, 255, 0.35);
  animation: pinPulse 2s ease-in-out infinite;
  z-index: 1;
}
.peru-map-popup .maplibregl-popup-content {
  background: rgba(8, 10, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body, "DM Sans", sans-serif);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  min-width: 180px;
}
.peru-map-popup .maplibregl-popup-content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.peru-map-popup__label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem !important;
  margin-bottom: 6px !important;
}
.peru-map-popup .maplibregl-popup-content p {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.peru-map-popup .maplibregl-popup-content span {
  font-size: 0.78rem;
  color: #8bd3ff;
}
.peru-map-popup .maplibregl-popup-tip {
  border-top-color: rgba(8, 10, 20, 0.96);
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.55); opacity: 0.15; }
}

@media (max-width: 991px) {
  .mapa-peru {
    padding: 48px 0;
  }
  .mapa-peru__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .peru-map {
    height: 320px;
    min-height: 280px;
    border-radius: 16px;
  }
  .mapa-peru__sidebar {
    max-height: none;
    overflow: visible;
  }
  .mapa-peru__stats {
    gap: 16px;
  }
}

/* ===== Project detail ===== */
.project-detail-page .header_app {
  background: transparent;
}
.project-hero {
  padding: 160px 0 60px;
  background: radial-gradient(circle at 12% -10%, rgba(104, 68, 252, 0.28), transparent 50%),
              radial-gradient(circle at 95% 0%, rgba(139, 211, 255, 0.15), transparent 55%);
}
.project-hero__inner {
  max-width: 880px;
}
.project-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 22px;
}
.project-hero__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 720px;
}
.project-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.project-hero__meta .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.project-hero__meta strong { color: #fff; font-weight: 600; }
.project-hero__link {
  display: inline-flex;
  padding: 10px 18px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.project-hero__link:hover { transform: translateY(-2px); color: #000; }

.project-cover { padding: 20px 0 60px; }

/* ===== Device mockup (Laptop) ===== */
.device-mockup {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.device-mockup--laptop .device-mockup__screen {
  position: relative;
  background: #0a0b0e;
  border-radius: 14px 14px 6px 6px;
  padding: 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 50px 100px -30px rgba(104, 68, 252, 0.25);
  overflow: hidden;
}
.device-mockup--laptop .device-mockup__screen::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 5px;
  background: #050608;
  border-radius: 3px;
  z-index: 2;
}
.device-mockup--laptop .device-mockup__screen > img,
.device-mockup--laptop .device-mockup__screen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 3px;
  background: #111;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.device-mockup--laptop .device-mockup__base {
  position: relative;
  width: calc(100% + 80px);
  margin-left: -40px;
  height: 16px;
  background: linear-gradient(180deg, #d0d3da, #8c919b 55%, #4a4e57);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.device-mockup--laptop .device-mockup__base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 6px;
  background: #2c2f37;
  border-radius: 0 0 8px 8px;
}
.device-mockup--sm {
  max-width: 100%;
}
.device-mockup--sm .device-mockup__screen {
  padding: 12px 6px 6px;
  border-radius: 10px 10px 4px 4px;
}
.device-mockup--sm .device-mockup__screen::before {
  top: 5px;
  width: 32px;
  height: 3px;
}
.device-mockup--sm .device-mockup__screen > img,
.device-mockup--sm .device-mockup__screen img {
  min-height: 140px;
  aspect-ratio: 16 / 10;
}
.device-mockup--sm .device-mockup__base {
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 10px;
  border-radius: 0 0 12px 12px;
}
.device-mockup--sm .device-mockup__base::after {
  width: 60px;
  height: 4px;
}

/* Phone mockup (detalle servicio) */
.device-mockup--phone {
  width: min(260px, 72%);
  margin-left: auto;
  margin-right: 0;
}
.device-mockup--phone .device-mockup__screen {
  position: relative;
  background: #0a0b0e;
  border-radius: 28px;
  padding: 12px 10px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(104, 68, 252, 0.15);
  overflow: hidden;
}
.device-mockup--phone .device-mockup__screen::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  background: #1a1c22;
  border-radius: 99px;
  z-index: 2;
}
.device-mockup--phone .device-mockup__screen img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  background: #111;
}

.project-section { padding: 70px 0; }
.project-overview {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.project-overview h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
}
.project-overview__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px 32px;
}
.project-gallery__item {
  margin: 0;
  position: relative;
}
.project-gallery__item .device-mockup {
  transition: transform 0.5s ease;
}
.project-gallery__item:hover .device-mockup {
  transform: translateY(-6px);
}
.project-gallery__item figcaption {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.project-cta__box {
  background: linear-gradient(135deg, rgba(104, 68, 252, 0.25), rgba(139, 211, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.project-cta__box h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 8px 0 0;
}
.project-cta__box .btn-hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 26px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease;
}
.project-cta__box .btn-hero-cta:hover { transform: translateY(-2px); color: #000; }

.project-tile--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.project-tile--link:hover { transform: translateY(-4px); }
.project-tile__cta {
  display: inline-block;
  margin-top: 10px;
  color: #8bd3ff;
  font-weight: 500;
  font-size: 0.92rem;
}

/* Grid de proyectos público (listado) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 48px 28px;
}
.project-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform 0.4s var(--ease-out-expo);
}
.project-card:hover { transform: translateY(-6px); color: inherit; }
.project-card__device { margin-bottom: 8px; }
.project-card__body {
  padding-top: 4px;
}
.project-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 6px;
}
.project-card__body h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.project-card__body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0 0 6px;
  line-height: 1.5;
}
.project-card__cta {
  display: inline-block;
  margin-top: 8px;
  color: #8bd3ff;
  font-weight: 500;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .project-overview { grid-template-columns: 1fr; gap: 20px; }
  .project-gallery { grid-template-columns: 1fr; gap: 30px; }
  .project-cta__box { padding: 26px; }
  .projects-grid { grid-template-columns: 1fr; gap: 36px; }
  .device-mockup--laptop .device-mockup__screen { padding: 14px 14px 10px; border-radius: 10px 10px 4px 4px; }
  .device-mockup--laptop .device-mockup__screen::before { width: 38px; height: 4px; top: 6px; }
  .device-mockup--laptop .device-mockup__base { height: 10px; width: calc(100% + 40px); margin-left: -20px; }
}

/* Confían en nosotros */
.trust-wall {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.trust-wall__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.trust-wall__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 16px;
  display: grid;
  place-items: center;
  min-height: 110px;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.25s ease;
}
.trust-wall__item:nth-child(even) {
  transform: translateY(10px);
}
.trust-wall__item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
}
.trust-wall__item img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

/* Servicios / Proyectos pages */
.page-hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 20px 96px;
  background: radial-gradient(circle at 50% 0%, rgba(104, 68, 252, 0.25), transparent 55%),
    url(../img/fondo_banner.png) center/cover no-repeat;
}
.page-hero + section {
  padding-top: clamp(48px, 6vw, 80px);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  max-width: 16ch;
  margin: 0 auto 16px;
}
.page-hero p {
  max-width: 52ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.service-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.service-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.service-card ul li::before {
  content: "→ ";
  color: #8bd3ff;
}
.service-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-card h2.h3,
.service-card .h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}

/* Botones de sitio (páginas internas) */
.btn-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
    background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-site--primary {
  background: #fff;
  color: #0a0a0a !important;
  border-color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.btn-site--primary:hover,
.btn-site--primary:focus {
  transform: translateY(-2px);
  color: #0a0a0a !important;
  background: #f3f4f6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.btn-site--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-site--ghost:hover,
.btn-site--ghost:focus {
  transform: translateY(-2px);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-site--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

/* Compat: btn-hero-cta en páginas internas (no el hero del home) */
.service-detail-page .btn-hero-cta,
.project-detail-page .btn-hero-cta,
.main_black .project-cta .btn-hero-cta,
.main_black .project-cta__box .btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  background: #fff;
  color: #0a0a0a !important;
  border: 1px solid #fff;
  transition: transform 0.3s ease, background-color 0.25s ease;
}
.service-detail-page .btn-hero-cta:hover,
.project-detail-page .btn-hero-cta:hover,
.main_black .project-cta .btn-hero-cta:hover,
.main_black .project-cta__box .btn-hero-cta:hover {
  transform: translateY(-2px);
  background: #f3f4f6;
  color: #0a0a0a !important;
}

/* Hero home: texto siempre visible */
.main_hv .section_banner .button_banner .btn-hero-cta {
  color: #ffffff !important;
  background-color: rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
}
.main_hv .section_banner .button_banner .btn-hero-cta:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Breadcrumbs */
.site-breadcrumb {
  margin: 0 0 clamp(28px, 4vw, 40px);
  position: relative;
  z-index: 2;
}
.site-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}
.site-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.site-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.28);
}
.site-breadcrumb__item a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-breadcrumb__item a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.site-breadcrumb__item.is-current span,
.site-breadcrumb__item.is-current {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 280px);
}

.service-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}
.service-detail-cta .btn-site {
  flex-shrink: 0;
}
.service-card__cta {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: #8bd3ff;
  letter-spacing: 0.02em;
}

/* ——— Detalle de servicio ——— */
.service-detail-page .header_app {
  background: transparent;
}
.service-detail-hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.service-detail-hero + .service-detail-section {
  padding-top: clamp(88px, 12vw, 140px);
}
.service-detail-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(104, 68, 252, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(56, 189, 248, 0.18), transparent 55%),
    linear-gradient(180deg, #050505 0%, #0a0a0f 100%);
  z-index: 0;
}
.service-detail-hero .container {
  position: relative;
  z-index: 1;
}
.service-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.service-detail-hero__copy h1 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  max-width: 14ch;
  margin: 0 0 20px;
}
.service-detail-hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
  margin: 0 0 28px;
  line-height: 1.55;
}
.service-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}
.service-detail-hero__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.device-mockup--phone-empty .device-mockup__screen {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-mockup__placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 24px;
}
.device-mockup__placeholder span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(139, 211, 255, 0.55);
}
.service-detail-hero__icon {
  width: min(220px, 50vw);
  margin-left: auto;
  opacity: 0.9;
}
.service-detail-hero__icon img {
  width: 100%;
  height: auto;
}

.service-detail-section#casos,
#casos {
  scroll-margin-top: 110px;
}
.service-detail-section {
  padding: clamp(72px, 10vw, 120px) 0;
}
.service-detail-section h2 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 12px;
  color: #fff;
}
.service-detail-muted {
  color: rgba(255, 255, 255, 0.55);
  max-width: 48ch;
  margin: 0 auto;
}

.service-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.service-detail-overview__text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.service-detail-benefits-head {
  margin-bottom: 36px;
  max-width: 28ch;
}
.service-detail-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.service-detail-benefits li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}
.service-detail-benefits__num {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: 0.95rem;
  color: #8bd3ff;
  letter-spacing: 0.06em;
}

.service-detail-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}
.service-detail-process::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(139, 211, 255, 0.5), rgba(104, 68, 252, 0.15));
}
.service-detail-process__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 18px 0 28px;
  position: relative;
}
.service-detail-process__index {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0c0c12;
  border: 1px solid rgba(139, 211, 255, 0.45);
  color: #8bd3ff;
  font-family: var(--font-display, Syne, sans-serif);
  font-weight: 700;
  z-index: 1;
}
.service-detail-process__item h3 {
  font-size: 1.25rem;
  margin: 6px 0 8px;
  color: #fff;
}
.service-detail-process__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.service-detail-metrics {
  padding-top: 40px;
  padding-bottom: 40px;
}
.service-detail-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(104, 68, 252, 0.12), transparent 50%),
    rgba(255, 255, 255, 0.03);
}
.service-detail-metric {
  text-align: center;
}
.service-detail-metric strong {
  display: block;
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, #8bd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-detail-metric span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.service-detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(104, 68, 252, 0.28), transparent 45%),
    rgba(255, 255, 255, 0.04);
}
.service-detail-cta h2 {
  margin-bottom: 8px;
}
.service-detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}
.service-detail-back {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.95rem;
}
.service-detail-back:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .site-breadcrumb {
    margin-bottom: 24px;
  }
  .site-breadcrumb__item.is-current span,
  .site-breadcrumb__item.is-current {
    max-width: min(70vw, 220px);
  }
  .service-detail-hero__actions .btn-site {
    width: 100%;
    max-width: 320px;
  }
  .service-detail-hero {
    min-height: auto;
    padding: 120px 0 72px;
  }
  .service-detail-hero + .service-detail-section {
    padding-top: 64px;
  }
  .service-detail-hero__grid,
  .service-detail-overview {
    grid-template-columns: 1fr;
  }
  .service-detail-hero__copy h1 {
    max-width: none;
  }
  .service-detail-hero__media {
    order: -1;
    max-width: 280px;
    margin: 0 auto 8px;
    justify-content: center;
  }
  .device-mockup--phone {
    margin-left: auto;
    margin-right: auto;
  }
  .service-detail-metrics__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-detail-process::before {
    left: 23px;
  }
}

@media (max-width: 575px) {
  .service-detail-benefits li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    font-size: 1.02rem;
  }
  .service-detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.projects-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.project-tile {
  grid-column: span 4;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  min-height: 280px;
}
.project-tile:nth-child(1),
.project-tile:nth-child(2) {
  grid-column: span 6;
  min-height: 340px;
}
.project-tile__img {
  height: 62%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(104, 68, 252, 0.2), rgba(3, 3, 3, 0.5));
  padding: 24px;
}
.project-tile__img img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}
.project-tile__body {
  padding: 20px 22px 24px;
}
.project-tile__body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.project-tile__meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

/* Blog mejorado */
.blog-page .blog-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  height: 100%;
  transition: transform 0.35s var(--ease-out-expo);
}
.blog-page .blog-card:hover {
  transform: translateY(-5px);
}
.blog-page .blog-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(104, 68, 252, 0.15);
}
.blog-page .blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-page .blog-card__body {
  padding: 20px;
}
.blog-page .blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.blog-page .blog-card__tags span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.clientes .section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 12px;
}
.clientes .section-intro p {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
  .trust-wall__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .project-tile,
  .project-tile:nth-child(1),
  .project-tile:nth-child(2) {
    grid-column: span 12;
    min-height: 260px;
  }
  .mapa-peru__layout {
    grid-template-columns: 1fr;
  }
  .peru-map {
    min-height: 320px;
    height: 50vh;
  }
}
@media (max-width: 575px) {
  .trust-wall__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Productos propios (ecosistema DIINTEC) ===== */
.page-hero--products {
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(104, 68, 252, 0.28), transparent 50%),
    url(../img/fondo_banner.png) center/cover no-repeat;
}
.products-section {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
}
.products-rail {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.product-panel:nth-child(even) .product-panel__visual {
  order: 2;
}
.product-panel__visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, rgba(104, 68, 252, 0.25), rgba(10, 12, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.product-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-panel__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(139, 211, 255, 0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(104, 68, 252, 0.4), transparent 45%);
}
.product-panel__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.04em;
}
.product-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.product-panel__kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.product-panel__status {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
}
.product-panel__status.is-live {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}
.product-panel__status.is-soon {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
}
.product-panel__status.is-build {
  border-color: rgba(139, 211, 255, 0.4);
  color: #8bd3ff;
  background: rgba(56, 189, 248, 0.1);
}
.product-panel__body h2 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.product-panel__tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0 0 12px;
  line-height: 1.45;
  max-width: 36ch;
}
.product-panel__desc {
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 18px;
  line-height: 1.6;
  max-width: 48ch;
}
.product-panel__hits {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-panel__hits li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}
.product-panel__hits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8bd3ff;
}
.product-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.products-aside {
  padding: 0 0 clamp(72px, 10vw, 120px);
}
.products-aside__box {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(48px, 7vw, 72px);
  max-width: 42rem;
}
.products-aside__box h2 {
  font-family: var(--font-display, Syne, sans-serif);
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 10px;
}
.products-aside__box p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 20px;
  line-height: 1.55;
}

.product-detail-hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}
.product-detail-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(104, 68, 252, 0.28), transparent 50%),
    linear-gradient(180deg, #050505 0%, #0a0a0f 100%);
  z-index: 0;
}
.product-detail-hero .container {
  position: relative;
  z-index: 1;
}
.product-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.product-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.product-detail-hero__copy h1 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #fff;
}
.product-detail-hero__tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
  max-width: 36ch;
  line-height: 1.4;
}
.product-detail-hero__lead {
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 28px;
  max-width: 46ch;
  line-height: 1.6;
}
.product-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-detail-hero__frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
}
.product-detail-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-hero__frame--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 30%, rgba(104, 68, 252, 0.35), transparent 55%),
    #0c0d12;
}
.product-detail-hero__frame--empty span {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 24px;
}
.product-detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(104, 68, 252, 0.12), rgba(255, 255, 255, 0.02));
}
.product-detail-cta h2 {
  font-family: var(--font-display, Syne, sans-serif);
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.product-detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42ch;
}

@media (max-width: 991px) {
  .product-panel,
  .product-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .product-panel:nth-child(even) .product-panel__visual {
    order: 0;
  }
  .product-detail-hero {
    padding: 120px 0 72px;
  }
  .product-detail-hero__grid {
    grid-template-columns: 1fr;
  }
  .product-detail-hero__media {
    max-width: 480px;
  }
}

/* ===== Nosotros ===== */
.about-story {
  position: relative;
  padding: 140px 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.about-story__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 88% 70%, rgba(104, 68, 252, 0.22), transparent 50%),
    linear-gradient(180deg, #050505 0%, #0a0a0f 100%);
  z-index: 0;
}
.about-story .container {
  position: relative;
  z-index: 1;
}
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.about-story__copy h1 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 24px;
  max-width: 16ch;
}
.about-story__message {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 42ch;
}
.about-story__frame {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(104, 68, 252, 0.12);
  background: #0c0d12;
}
.about-story__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}
.about-story__frame--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 30%, rgba(104, 68, 252, 0.35), transparent 55%),
    #0c0d12;
}
.about-story__frame--empty span {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

.team-orbit {
  padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}
.team-orbit__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.team-orbit__head h2 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.team-orbit__controls {
  display: flex;
  gap: 10px;
}
.team-orbit__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.team-orbit__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(139, 211, 255, 0.45);
  transform: translateY(-1px);
}
.team-orbit__stage {
  position: relative;
  cursor: grab;
  padding: 8px 0 28px;
  margin-left: max(0px, calc((100vw - min(1140px, 100vw)) / -2));
  margin-right: max(0px, calc((100vw - min(1140px, 100vw)) / -2));
  padding-left: max(20px, calc((100vw - min(1140px, 100vw)) / 2 + 12px));
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}
.team-orbit__stage.is-dragging {
  cursor: grabbing;
}
.team-orbit__track {
  display: flex;
  gap: clamp(18px, 2.5vw, 28px);
  will-change: transform;
}
.team-card {
  flex: 0 0 min(320px, 78vw);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.55;
  filter: saturate(0.75);
  transform: scale(0.94);
}
.team-card.is-near {
  opacity: 0.78;
  filter: saturate(0.9);
  transform: scale(0.97);
}
.team-card.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
}
.team-card__visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}
.team-card.is-active .team-card__visual {
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 211, 255, 0.22);
}
.team-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card.is-active .team-card__visual img {
  transform: scale(1.08);
}
.team-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.2), transparent 50%),
    linear-gradient(320deg, rgba(104, 68, 252, 0.35), #0c0d14 70%);
}
.team-card__placeholder span {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
}
.team-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}
.team-card__quote {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.team-card.is-active .team-card__quote {
  opacity: 1;
  transform: translateY(0);
}
.team-card__meta {
  padding: 16px 4px 0;
}
.team-card__meta h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.15rem;
  font-family: var(--font-display, Syne, sans-serif);
  letter-spacing: -0.01em;
}
.team-card__meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.team-card__social {
  display: inline-block;
  margin-top: 8px;
  color: #8bd3ff;
  text-decoration: none;
  font-size: 0.88rem;
}
.team-card__social:hover {
  color: #fff;
}
.team-orbit__progress {
  margin-top: 22px;
  margin-right: max(20px, calc((100vw - min(1140px, 100vw)) / 2 + 12px));
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  max-width: 280px;
}
.team-orbit__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8bd3ff, #6844fc);
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-mv {
  padding: clamp(64px, 9vw, 110px) 0;
}
.about-mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.about-mv__card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(104, 68, 252, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.02);
  min-height: 280px;
}
.about-mv__card--vision {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.about-mv__card h2 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.about-mv__card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36ch;
}
.about-cta {
  padding: 0 0 clamp(72px, 10vw, 120px);
}

@media (max-width: 991px) {
  .about-story__grid,
  .about-mv__grid {
    grid-template-columns: 1fr;
  }
  .about-story__media {
    max-width: 420px;
  }
  .about-story__copy h1 {
    max-width: none;
  }
  .team-card {
    flex-basis: min(280px, 82vw);
  }

  .page-hero {
    min-height: auto;
    padding: 110px 18px 56px;
  }
  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .page-hero p {
    font-size: 1rem;
  }
  .project-hero {
    padding: 110px 0 48px;
  }
  .project-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }
  .about-story {
    padding: 110px 0 64px;
  }
  .about-story__copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }
  .product-detail-hero {
    padding: 110px 0 64px;
  }
  .service-detail-hero {
    padding: 110px 0 64px;
  }
  .device-mockup--laptop .device-mockup__base {
    width: calc(100% + 36px);
    margin-left: -18px;
    height: 12px;
  }
  .device-mockup--sm .device-mockup__base {
    width: calc(100% + 24px);
    margin-left: -12px;
  }
  .device-mockup--phone-empty .device-mockup__screen {
    min-height: 280px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .team-orbit__stage {
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 0;
  }
  .team-orbit__progress {
    margin-right: 16px;
  }
  .service-card {
    padding: 22px;
  }
  .product-panel__actions .btn-site {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .page-hero {
    padding: 96px 16px 44px;
  }
  .project-hero,
  .about-story,
  .product-detail-hero,
  .service-detail-hero {
    padding-top: 96px;
  }
  .device-mockup--laptop .device-mockup__base,
  .device-mockup--sm .device-mockup__base {
    width: calc(100% + 20px);
    margin-left: -10px;
    height: 8px;
  }
  .team-card {
    flex-basis: min(260px, 86vw);
  }
  .team-card__quote {
    font-size: 1rem;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .about-mv__card {
    min-height: auto;
    padding: 24px;
  }
  .product-panel__mark {
    font-size: 3.2rem;
  }
  .product-detail-cta,
  .about-cta .product-detail-cta {
    padding: 24px;
  }
  .trust-wall__item:nth-child(even) {
    transform: none;
  }
}



