/* ==========================================================
   tecnologias.css — ON Solutions S.A.S.
   Estilos corporativos para la página de Tecnología.
   ========================================================== */

:root {
  --tech-panel: #f4fbfe;
  --tech-panel-strong: #ebf8fd;
  --tech-border: rgba(7, 59, 99, 0.09);
  --tech-text-soft: #5b7388;
  --tech-shadow: 0 18px 40px rgba(7, 59, 99, 0.08);
}

body {
  background: #f7fbfd;
}

.page-hero--tech {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #052c4b 0%, #073b63 52%, #0d4f7b 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(2, 242, 251, 0.28);
  padding: 76px 0 88px;
}

.page-hero--tech::after {
  border-color: rgba(2, 242, 251, 0.22);
  background: radial-gradient(circle, rgba(2, 242, 251, 0.15) 0%, transparent 72%);
}

.page-hero--tech .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero--tech .breadcrumb a {
  color: var(--cyan);
}

.page-hero--tech .page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.tech-hero-copy {
  max-width: 840px;
  margin: 52px auto 0;
  text-align: center;
}

.page-hero--tech h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
}

.page-hero--tech .page-hero-description {
  max-width: 760px;
  margin: 0 auto;
  color: #d9edf9;
  font-size: 1.08rem;
  line-height: 1.8;
}

.tech-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 16px;
  border: 1px solid rgba(2, 242, 251, 0.28);
  border-radius: 999px;
  background: rgba(2, 242, 251, 0.12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tech-feature {
  padding: 94px 0;
  background: #ffffff;
}

.tech-feature + .tech-feature {
  border-top: 1px solid var(--tech-border);
}

.tech-feature--capture,
.tech-feature--platform,
.tech-feature--bulk,
.tech-feature--migration,
.tech-feature--architecture {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.split-layout,
.security-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.split-layout--reverse {
  direction: rtl;
}

.split-layout--reverse > * {
  direction: ltr;
}

.feature-copy,
.security-copy {
  max-width: 560px;
}

.feature-copy h2,
.section-header h2,
.security-copy h2,
.cta-card h2 {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: clamp(2rem, 2vw + 0.8rem, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.feature-copy p,
.section-header p,
.security-copy p,
.cta-card p {
  color: var(--tech-text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.section-small {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-media {
  min-width: 0;
  margin: 0;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--tech-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--tech-shadow);
  padding: clamp(12px, 2vw, 22px);
}

.feature-media img {
  display: block;
  width: 100%;
  max-height: 560px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.media-card--featured {
  padding: clamp(16px, 2.5vw, 30px);
}

.media-card--featured img {
  max-height: 680px;
}

.indicator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.indicator-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(2, 242, 251, 0.22);
  border-radius: 999px;
  background: rgba(2, 242, 251, 0.08);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.platform-layout,
.migration-layout {
  display: grid;
  gap: 30px;
}

.section-header {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-header p {
  max-width: 720px;
  margin: 0 auto;
}

.platform-layout .feature-media {
  width: min(100%, 1040px);
  justify-self: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 22px 16px 20px;
  border: 1px solid rgba(2, 242, 251, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, #f4fbff 0%, #ecf9ff 100%);
  text-align: center;
  box-shadow: 0 14px 30px rgba(7, 59, 99, 0.04);
}

.step-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-card strong {
  color: var(--blue);
  font-size: 1.02rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(2, 242, 251, 0.18);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(2, 242, 251, 0.08), rgba(2, 242, 251, 0.02));
  color: var(--blue);
  font-weight: 600;
}

.feature-list--check li::before {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(2, 242, 251, 0.14);
  color: var(--blue);
  content: "✓";
  font-size: 0.85rem;
  font-weight: 800;
}

.tech-feature--upcoming {
  background: linear-gradient(180deg, #f4fbfe 0%, #ffffff 100%);
}

.tech-feature--upcoming .section-header {
  margin-bottom: 38px;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  margin: 0 auto;
}

.upcoming-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--tech-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 59, 99, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.upcoming-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(7, 59, 99, 0.11);
}

.upcoming-card-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(2, 242, 251, 0.28);
  border-radius: 14px;
  background: rgba(2, 242, 251, 0.1);
  color: var(--blue);
}

.upcoming-badge {
  display: table;
  margin-bottom: 14px;
  padding: 6px 11px;
  border: 1px solid rgba(7, 59, 99, 0.12);
  border-radius: 999px;
  background: var(--tech-panel-strong);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.upcoming-card h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1.35;
}

.upcoming-card p {
  color: var(--tech-text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.tech-cta {
  padding: 0 0 92px;
  background: #ffffff;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 54px 36px;
  border-radius: 26px;
  background: linear-gradient(135deg, #052c4b 0%, #073b63 60%, #0d4f7b 100%);
  text-align: center;
  box-shadow: 0 25px 50px rgba(7, 59, 99, 0.18);
}

.cta-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(2, 242, 251, 0.18), transparent 36%);
  content: "";
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-small {
  color: var(--cyan);
}

.cta-card h2,
.cta-card p {
  color: var(--white);
}

.cta-card p {
  max-width: 680px;
  margin: 0 auto 26px;
}

@media (max-width: 1024px) {
  .split-layout,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .feature-copy,
  .security-copy {
    max-width: none;
  }

  .split-layout--reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .page-hero--tech {
    padding: 58px 0 68px;
  }

  .tech-hero-copy {
    margin-top: 40px;
    text-align: left;
  }

  .page-hero--tech .page-hero-description {
    font-size: 1rem;
  }

  .tech-feature {
    padding: 68px 0;
  }

  .feature-media img,
  .media-card--featured img {
    max-height: none;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cta-card {
    padding: 42px 22px;
  }
}

@media (max-width: 420px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .indicator-row span {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
