/* ========================================================= */
/* HERO - SE QUEDA COMO ESTÁ                                 */
/* ========================================================= */

.hero-title {
  width: 100%;
  height: 55vh;
  min-height: 380px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 6%;
  overflow: hidden;
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-bg {
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 700;
  color: #611232;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
  user-select: none;
}

.hero-front {
  position: absolute;
  left: 5%;
  bottom: 20%;
  transform: translateY(80px);
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #000;
}

.hero-line {
  width: 160px;
  height: 5px;
  background-color: #003366;
  margin-top: 18px;
}

/* ========================================================= */
/* PALETA OFICIAL                                            */
/* ========================================================= */

:root {
  --tech-blue: #4E5BE6;
  --tech-green: #4EE679;
  --tech-red: #E64E4E;
  --tech-gold: #E6C54E;
  --tech-soft-card: #C9D4FF;

  --tech-bg: #030406;
  --tech-bg-2: #070a10;
  --tech-bg-3: #05070c;

  --tech-white: #f8fafc;
  --tech-soft: #cbd5e1;
  --tech-muted: #94a3b8;
  --tech-ink: #0b0f17;
}

/* ========================================================= */
/* GENERAL                                                   */
/* ========================================================= */

.tech-main {
  position: relative;
  background:
    radial-gradient(circle at 12% 14%, rgba(94, 102, 190, 0.16), transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(203, 221, 208, 0.12), transparent 16%),
    radial-gradient(circle at 78% 62%, rgba(238, 236, 231, 0.1), transparent 14%),
    radial-gradient(circle at 24% 72%, rgba(230, 78, 78, 0.08), transparent 14%),
    linear-gradient(180deg, var(--tech-bg) 0%, var(--tech-bg-2) 42%, var(--tech-bg-3) 100%);
  color: var(--tech-white);
  overflow: hidden;
}

.section-mini {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--tech-blue);
  margin-bottom: 14px;
}

.section-heading {
  position: relative;
  max-width: 860px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.section-heading p {
  color: var(--tech-muted);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 740px;
}

/* ========================================================= */
/* FONDO DECORATIVO TECH                                     */
/* ========================================================= */

.tech-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(#4E5BE6 2px, transparent 2px),
    radial-gradient(#4EE679 2px, transparent 2px),
    radial-gradient(#E64E4E 2px, transparent 2px),
    radial-gradient(#E6C54E 2px, transparent 2px);
  background-size: 120px 120px;
  opacity: 0.2;
  animation: particlesMove 25s linear infinite;
  pointer-events: none;
}

@keyframes particlesMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-200px);
  }
}

.tech-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(78, 91, 230, 0.16) 0, rgba(78, 91, 230, 0.10) 10%, transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(78, 230, 121, 0.12) 0, rgba(78, 230, 121, 0.07) 10%, transparent 22%),
    radial-gradient(circle at 74% 72%, rgba(230, 197, 78, 0.10) 0, rgba(230, 197, 78, 0.06) 8%, transparent 18%),
    radial-gradient(circle at 26% 78%, rgba(230, 78, 78, 0.08) 0, rgba(230, 78, 78, 0.04) 8%, transparent 18%),
    radial-gradient(circle at 44% 38%, rgba(145, 97, 97, 0.08) 0, rgba(145, 97, 97, 0.03) 10%, transparent 20%);
  opacity: 0.9;
}

.tech-showcase,
.tech-solutions,
.tech-editorial,
.tech-plans {
  position: relative;
  z-index: 1;
}

/* ORBITAS SUAVES */
.tech-showcase::before,
.tech-solutions::before,
.tech-editorial::before,
.tech-plans::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  opacity: 0.5;
}

/* SHOWCASE */
.tech-showcase::before {
  width: 420px;
  height: 420px;
  top: 20px;
  right: -140px;
  box-shadow:
    0 0 0 38px rgba(78, 91, 230, 0.04),
    0 0 0 86px rgba(78, 91, 230, 0.02);
}

/* SOLUCIONES */
.tech-solutions::before {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -120px;
  box-shadow:
    0 0 0 28px rgba(78, 230, 121, 0.03),
    0 0 0 64px rgba(78, 230, 121, 0.02);
}

/* EDITORIAL */
.tech-editorial::before {
  width: 260px;
  height: 260px;
  bottom: 0;
  right: -100px;
  box-shadow:
    0 0 0 24px rgba(145, 97, 97, 0.05),
    0 0 0 54px rgba(145, 97, 97, 0.02);
}

/* PLANES */
.tech-plans::before {
  width: 300px;
  height: 300px;
  top: 40px;
  right: -120px;
  box-shadow:
    0 0 0 24px rgba(230, 197, 78, 0.03),
    0 0 0 58px rgba(230, 197, 78, 0.015);
}

/* PARTICULAS DECORATIVAS */
.section-heading::before,
.section-heading::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0.2px);
}

.section-heading::before {
  width: 8px;
  height: 8px;
  top: -18px;
  left: 18%;
  background: rgba(78, 91, 230, 0.8);
  box-shadow:
    120px 20px 0 rgba(78, 230, 121, 0.5),
    260px 40px 0 rgba(230, 197, 78, 0.45),
    380px 0 0 rgba(230, 78, 78, 0.35);
}

.section-heading::after {
  width: 5px;
  height: 5px;
  bottom: -10px;
  right: 22%;
  background: rgba(255,255,255,0.45);
  box-shadow:
    -140px -26px 0 rgba(78, 91, 230, 0.28),
    90px -18px 0 rgba(78, 230, 121, 0.24),
    -260px 14px 0 rgba(230, 197, 78, 0.22);
}

/* LINEAS SUAVES TIPO TRAYECTORIA */
.tech-showcase__right::before,
.tech-showcase__right::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.08);
}

.tech-showcase__right::before {
  width: 520px;
  height: 520px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.22;
}

.tech-showcase__right::after {
  width: 380px;
  height: 380px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.14;
}

/* ANIMACION SUTIL */
.tech-main::after,
.tech-orb,
.tech-showcase::before,
.tech-solutions::before,
.tech-editorial::before,
.tech-plans::before {
  animation: floatBackground 10s ease-in-out infinite;
}

.tech-solutions::before {
  animation-delay: 1.5s;
}

.tech-editorial::before {
  animation-delay: 2.5s;
}

.tech-plans::before {
  animation-delay: 3.5s;
}

@keyframes floatBackground {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-10px) translateX(6px);
  }
}

@media (max-width: 768px) {
  .tech-main::before {
    opacity: 0.10;
    background-size: 34px 34px;
  }

  .tech-main::after {
    opacity: 0.65;
  }

  .tech-showcase::before,
  .tech-solutions::before,
  .tech-editorial::before,
  .tech-plans::before,
  .tech-showcase__right::before,
  .tech-showcase__right::after {
    opacity: 0.12;
  }

  .section-heading::before,
  .section-heading::after {
    display: none;
  }
}

/* ========================================================= */
/* SHOWCASE                                                  */
/* ========================================================= */

.tech-showcase {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.tech-showcase__left {
  position: relative;
  z-index: 2;
}

.tech-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tech-soft);
}

.tech-showcase__left h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 24px;
  max-width: 760px;
}

.tech-showcase__left p {
  max-width: 620px;
  color: var(--tech-muted);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0 0 30px;
}

.tech-showcase__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tech-btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tech-btn--primary {
  background: linear-gradient(90deg, var(--tech-blue), var(--tech-red));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(78, 91, 230, 0.24);
}

.tech-btn--primary:hover {
  transform: translateY(-2px);
}

.tech-btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--tech-white);
  border: 1px solid rgba(255,255,255,0.1);
}

.tech-btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}

.tech-showcase__right {
  position: relative;
  min-height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(78, 91, 230, 0.38), rgba(78, 230, 121, 0.14) 45%, rgba(0,0,0,0) 70%);
  filter: blur(10px);
  animation: floatOrb 7s ease-in-out infinite;
}

.tech-device-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  background: linear-gradient(180deg, rgba(18,18,18,0.78), rgba(10,10,10,0.92));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.4);
}

.tech-device-card img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(17,17,17,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.28);
  min-width: 210px;
}

.floating-card span {
  display: block;
  color: var(--tech-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.floating-card strong {
  display: block;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.35;
}

.floating-card--top {
  top: 70px;
  right: -10px;
}

.floating-card--bottom {
  bottom: 65px;
  left: 0;
}

/* ========================================================= */
/* METRICS                                                   */
/* ========================================================= */

.tech-metrics {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 10px 0 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  position: relative;
  border-radius: 26px;
  padding: 30px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 35px rgba(0,0,0,0.22);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 22px 45px rgba(0,0,0,0.30);
}

.metric-card:nth-child(1) {
  background: linear-gradient(180deg, #5d68ea 0%, #4E5BE6 100%);
}

.metric-card:nth-child(2) {
  background: linear-gradient(180deg, #63eb89 0%, #4EE679 100%);
}

.metric-card:nth-child(3) {
  background: linear-gradient(180deg, #ef6868 0%, #E64E4E 100%);
}

.metric-card:nth-child(4) {
  background: linear-gradient(180deg, #edd066 0%, #E6C54E 100%);
}

.metric-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(11,15,23,0.65);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.metric-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.12;
  color: #0b0f17;
}

.metric-card p {
  margin: 0;
  color: rgba(11,15,23,0.78);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========================================================= */
/* SOLUTIONS                                                 */
/* ========================================================= */

.tech-solutions {
  width: min(1500px, 94%);
  margin: 0 auto;
  padding: 20px 0 110px;
}

.tech-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  justify-content: center;
}

.tech-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 55px rgba(0,0,0,0.32);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 520px;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}

.tech-service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 28px 70px rgba(0,0,0,0.36);
}

/* COLORES DE LAS CARDS */
.tech-service-card:nth-child(1) {
  background: linear-gradient(180deg, #d7e0ff 0%, #c9d4ff 100%);
}

.tech-service-card:nth-child(2) {
  background: linear-gradient(180deg, #1e2a78 0%, #4E5BE6 100%);
}

.tech-service-card:nth-child(3) {
  background: linear-gradient(180deg, #edd066 0%, var(--tech-gold) 100%);
}

/* BODY */
.tech-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 34px 30px 30px;
}

/* ETIQUETA */
.service-tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.tech-service-card:nth-child(1) .service-tag,
.tech-service-card:nth-child(3) .service-tag {
  color: rgba(11,15,23,0.55);
}

.tech-service-card:nth-child(2) .service-tag {
  color: var(--tech-blue);
}

/* TITULO */
.tech-service-card__body h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.tech-service-card:nth-child(1) .tech-service-card__body h3,
.tech-service-card:nth-child(3) .tech-service-card__body h3 {
  color: #0b0f17;
}

.tech-service-card:nth-child(2) .tech-service-card__body h3 {
  color: var(--tech-white);
}

/* TEXTO */
.tech-service-card__body p {
  margin: 0 0 22px;
  line-height: 1.8;
  font-size: 1rem;
}

.tech-service-card:nth-child(1) .tech-service-card__body p,
.tech-service-card:nth-child(3) .tech-service-card__body p {
  color: rgba(11,15,23,0.78);
}

.tech-service-card:nth-child(2) .tech-service-card__body p {
  color: #e2e8f0;
}

/* LISTA */
.tech-service-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.tech-service-card__body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1rem;
}

.tech-service-card:nth-child(1) .tech-service-card__body li,
.tech-service-card:nth-child(3) .tech-service-card__body li {
  color: rgba(11,15,23,0.86);
}

.tech-service-card:nth-child(2) .tech-service-card__body li {
  color: #f1f5f9;
}

.tech-service-card__body li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--tech-red);
  font-weight: 700;
}

.tech-service-card:nth-child(2) .tech-service-card__body li::before {
   color: #ffffff;
}

/* BOTÓN */
.solution-btn {
  margin-top: auto;
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-service-card:nth-child(1) .solution-btn,
.tech-service-card:nth-child(3) .solution-btn {
  background: rgba(11,15,23,0.08);
  color: #0b0f17;
  border: 1px solid rgba(11,15,23,0.12);
}

.tech-service-card:nth-child(1) .solution-btn:hover,
.tech-service-card:nth-child(3) .solution-btn:hover {
  background: #0b0f17;
  color: #ffffff;
  transform: translateY(-2px);
}

.tech-service-card:nth-child(2) .solution-btn {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}

.tech-service-card:nth-child(2) .solution-btn:hover {
   background: #ffffff;
  color: #1e2a78;
}

/* RESPONSIVE SOLUTIONS */
@media (max-width: 1180px) {
  .tech-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-service-card {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .tech-solutions-grid {
    grid-template-columns: 1fr;
  }

  .tech-service-card {
    min-height: auto;
  }
}

@media (max-width: 630px) {
  .tech-service-card {
    border-radius: 24px;
  }

  .tech-service-card__body {
    padding: 24px 20px;
  }

  .tech-service-card__body h3 {
    font-size: 1.5rem;
  }

  .tech-service-card__body p,
  .tech-service-card__body li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .solution-btn {
    font-size: 0.74rem;
  }
}

/* ========================================================= */
/* EDITORIAL                                                 */
/* ========================================================= */

.tech-editorial {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 20px 0 110px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.editorial-left {
  padding: 30px 12px 0 0;
}

.editorial-left h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 520px;
}

.editorial-left p {
  color: var(--tech-muted);
  line-height: 1.85;
  max-width: 520px;
  margin: 0;
}

.editorial-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* EDITORIAL CARDS NUEVAS */

.editorial-card {
  border-radius: 26px;
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 16px 40px rgba(0,0,0,0.24);
  transition: all 0.35s ease;
}

.editorial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 50px rgba(0,0,0,0.30);
}

.editorial-card:nth-child(1) {
  background: linear-gradient(135deg, #a81e2d 0%, #E64E4E 100%);
}

.editorial-card:nth-child(2) {
  background: linear-gradient(135deg, #d7e0ff 0%, #c9d4ff 100%);
}

.editorial-card:nth-child(3) {
  background: linear-gradient(135deg, #3fdc84 0%, #4EE679 100%);
}

.editorial-card:nth-child(1) h3 {
  color: #ffffff;
}

.editorial-card:nth-child(1) p {
  color: #e2e8f0;
}

.editorial-card:nth-child(2) h3,
.editorial-card:nth-child(3) h3 {
  color: #0b0f17;
}

.editorial-card:nth-child(2) p,
.editorial-card:nth-child(3) p {
  color: rgba(11,15,23,0.75);
}

.editorial-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.editorial-card p {
  margin: 0;
  line-height: 1.75;
}

.editorial-card:nth-child(1):hover {
  box-shadow: 0 0 35px rgba(230, 78, 78, 0.45);
}

.editorial-card:nth-child(3):hover {
  box-shadow: 0 0 30px rgba(78, 230, 121, 0.4);
}

/* ========================================================= */
/* PLANS                                                     */
/* ========================================================= */

.tech-plans {
  width: min(1500px, 94%);
  margin: 0 auto;
  padding: 20px 0 120px;
}

.tech-plans .section-heading {
  max-width: 900px;
  margin: 0 auto 60px;
}

.tech-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.plan-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  border-radius: 34px;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 55px rgba(0,0,0,0.30);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.plan-panel:hover {
  transform: translateY(-10px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 28px 68px rgba(0,0,0,0.36);
}

/* COLORES */
.plan-panel:nth-child(1) {
   background: linear-gradient(135deg, #4E5BE6 0%, #2f3acb 100%);
}

.plan-panel:nth-child(2) {
  background: linear-gradient(180deg, #edd066 0%, var(--tech-gold) 100%);
}

.plan-panel:nth-child(3) {
  background: linear-gradient(180deg, #d7e0ff 0%, var(--tech-soft-card) 100%);
}

/* RECOMENDADO */
.plan-panel.featured {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 28px 70px rgba(0,0,0,0.32),
    0 0 0 1px rgba(230,197,78,0.22);
}

.plan-panel.featured:hover {
  transform: translateY(-18px) scale(1.025);
}

.featured-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11,15,23,0.10);
  border: 1px solid rgba(11,15,23,0.12);
  color: #0b0f17;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
}

/* TOP */
.plan-panel__top {
  position: relative;
  margin-bottom: 26px;
  padding-right: 120px;
}

.plan-index {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.20em;
  font-weight: 700;
}

.plan-panel__top h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-panel__top p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

/* TEXTOS SEGÚN COLOR */
.plan-panel:nth-child(1) .plan-index {
  color: var(--tech-blue);
}

.plan-panel:nth-child(1) .plan-panel__top h3 {
  color: #ffffff;
}

.plan-panel:nth-child(1) .plan-panel__top p,
.plan-panel:nth-child(1) li,
.plan-panel:nth-child(1) .plan-footer-note {
  color: rgba(255,255,255,0.85);
}

.plan-panel:nth-child(2) .plan-index,
.plan-panel:nth-child(3) .plan-index {
  color: rgba(11,15,23,0.58);
}

.plan-panel:nth-child(2) .plan-panel__top h3,
.plan-panel:nth-child(3) .plan-panel__top h3 {
  color: #0b0f17;
}

.plan-panel:nth-child(2) .plan-panel__top p,
.plan-panel:nth-child(3) .plan-panel__top p,
.plan-panel:nth-child(2) li,
.plan-panel:nth-child(3) li,
.plan-panel:nth-child(2) .plan-footer-note,
.plan-panel:nth-child(3) .plan-footer-note {
  color: rgba(11,15,23,0.82);
}

/* LISTA */
.plan-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-panel li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1rem;
}

.plan-panel li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.plan-panel:nth-child(1) .plan-index {
  color: #ffffff; /* azul marino elegante */
}

.plan-panel:nth-child(1) li::before {
  color: var(--tech-blue);
}

.plan-panel:nth-child(2) li::before {
  color: var(--tech-red);
}

.plan-panel:nth-child(3) li::before {
  color: var(--tech-green);
}

/* FOOTER NOTE */
.plan-footer-note {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.plan-panel:nth-child(2) .plan-footer-note,
.plan-panel:nth-child(3) .plan-footer-note {
  border-top: 1px solid rgba(11,15,23,0.10);
}

/* DETALLE VISUAL EXTRA EN TARJETAS */
.plan-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  border-radius: 999px;
  opacity: 0.9;
}

.plan-panel:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, var(--tech-blue), transparent);
  box-shadow: 0 0 16px rgba(78, 91, 230, 0.35);
}

.plan-panel:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, rgba(11,15,23,0.45), transparent);
  box-shadow: 0 0 16px rgba(11, 15, 23, 0.14);
}

.plan-panel:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, var(--tech-green), transparent);
  box-shadow: 0 0 16px rgba(78, 230, 121, 0.22);
}

/* BRILLO SUAVE INTERNO */
.plan-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.015) 18%,
    rgba(255,255,255,0) 42%
  );
}

/* PATRÓN MUY SUTIL */
.plan-panel .plan-panel__top::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.12;
  background-image: repeating-radial-gradient(
    circle,
    transparent 0 10px,
    rgba(255,255,255,0.09) 11px 12px
  );
}

.plan-panel:nth-child(2) .plan-panel__top::after,
.plan-panel:nth-child(3) .plan-panel__top::after {
  opacity: 0.08;
}

/* RESPONSIVE PLANES */
@media (max-width: 1180px) {
  .tech-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-panel {
    min-height: 450px;
  }
}

@media (max-width: 900px) {
  .tech-plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-panel,
  .plan-panel.featured {
    min-height: auto;
    transform: none;
  }

  .plan-panel.featured:hover,
  .plan-panel:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 630px) {
  .tech-plans {
    width: min(100%, 92%);
    padding: 10px 0 100px;
  }

  .plan-panel {
    border-radius: 24px;
    padding: 26px 22px 22px;
  }

  .plan-panel__top {
    padding-right: 0;
    margin-bottom: 22px;
  }

  .featured-badge {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .plan-panel__top h3 {
    font-size: 1.6rem;
  }

  .plan-panel__top p,
  .plan-panel li,
  .plan-footer-note {
    font-size: 0.95rem;
  }
}

/* ========================================================= */
/* MODAL                                                     */
/* ========================================================= */

.modern-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.74);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9999;
}

.modern-modal.active {
  opacity: 1;
  visibility: visible;
}

.modern-modal-content {
  position: relative;
  background: linear-gradient(180deg, #111827, #0b0f17);
  color: #f8fafc;
  padding: 48px 36px;
  border-radius: 28px;
  width: 90%;
  max-width: 520px;
  transform: translateY(40px);
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 25px 60px rgba(0,0,0,0.35);
}

.modern-modal.active .modern-modal-content {
  transform: translateY(0);
}

.modern-modal-content h3 {
  margin: 0 0 22px;
  font-size: 1.7rem;
}

.modern-modal-content ul {
  padding-left: 18px;
  margin: 0;
}

.modern-modal-content li {
  margin-bottom: 12px;
  color: var(--tech-soft);
  line-height: 1.65;
}

.modern-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--tech-soft);
}

/* ========================================================= */
/* ANIMACIONES                                               */
/* ========================================================= */

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

/* ========================================================= */
/* RESPONSIVE                                                */
/* ========================================================= */

@media (max-width: 1180px) {
  .tech-showcase,
  .tech-editorial {
    grid-template-columns: 1fr;
  }

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

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

  .tech-showcase__right {
    min-height: 560px;
  }

  .floating-card--top {
    right: 30px;
  }

  .floating-card--bottom {
    left: 20px;
  }
}

@media (max-width: 900px) {
  .tech-solutions-grid,
  .tech-plans-grid,
  .tech-metrics {
    grid-template-columns: 1fr;
  }

  .tech-showcase {
    padding: 70px 0 60px;
  }

  .tech-showcase__left h2 {
    font-size: clamp(2.3rem, 8vw, 4rem);
  }

  .tech-device-card {
    width: min(420px, 100%);
  }
}

@media (max-width: 768px) {
  .hero-title {
    height: 48vh;
    min-height: 340px;
    padding: 0 6%;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: clamp(4rem, 18vw, 5rem);
  }

  .hero-front {
    left: 4%;
    bottom: 12%;
    transform: translateY(70px);
  }

  .hero-subtitle {
    font-size: 1.6rem;
    letter-spacing: 0.28em;
  }

  .hero-line {
    width: 110px;
  }

  .tech-showcase,
  .tech-metrics,
  .tech-solutions,
  .tech-editorial,
  .tech-plans {
    width: min(100%, 92%);
  }

  .tech-showcase__right {
    min-height: 500px;
  }

  .tech-device-card img {
    height: 420px;
  }

  .floating-card {
    min-width: 180px;
    padding: 14px 16px;
  }
}

@media (max-width: 630px) {
  .hero-title {
    height: auto;
    min-height: 340px;
    padding: 90px 6% 48px;
  }

  .hero-bg {
    font-size: clamp(3.8rem, 14vw, 3.8rem);
    line-height: 1.05;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 32px;
  }

  .hero-subtitle {
    font-size: 1.45rem;
    letter-spacing: 0.24em;
  }

  .hero-line {
    width: 100px;
    height: 4px;
    margin-top: 14px;
  }

  .tech-showcase__right {
    min-height: 420px;
  }

  .tech-device-card {
    padding: 12px;
    border-radius: 24px;
  }

  .tech-device-card img {
    height: 320px;
    border-radius: 18px;
  }

  .tech-orb {
    width: 290px;
    height: 290px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .tech-showcase__right {
    display: block;
  }

  .tech-showcase__left p,
  .section-heading p,
  .metric-card p,
  .editorial-left p,
  .editorial-card p,
  .tech-service-card__body p {
    font-size: 0.96rem;
  }

  .tech-service-card__body h3,
  .plan-panel__top h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    height: auto;
    min-height: 320px;
    padding: 80px 6% 40px;
    margin-top: 10px;
  }

  .hero-bg {
    font-size: 3.1rem;
  }

  .hero-front {
    position: relative;
    left: 0;
    bottom: auto;
    transform: none;
    margin-top: 24px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    letter-spacing: 0.22em;
  }

  .hero-line {
    width: 90px;
    height: 4px;
    margin-top: 12px;
  }

  .tech-showcase {
    gap: 28px;
  }

  .tech-showcase__left h2 {
    font-size: 2.2rem;
  }

  .tech-btn {
    width: 100%;
    text-align: center;
  }

  .metric-card,
  .editorial-card,
  .plan-panel,
  .tech-service-card__body,
  .modern-modal-content {
    border-radius: 22px;
  }

  .tech-service-card {
    border-radius: 24px;
  }

  .tech-service-card__media img {
    height: 220px;
  }

  .solution-btn {
    font-size: 0.74rem;
  }
}