    :root {
      --bg: #050816;
      --bg-soft: #0b1020;
      --primary: #00c897;
      --primary-soft: rgba(0, 200, 151, 0.1);
      --accent: #ffb647;
      --text-main: #f9fafb;
      --text-muted: #9ca3af;
      --card-bg: #10172a;
      --border-soft: #1f2937;
      --danger: #f97373;
      --radius-lg: 18px;
      --radius-md: 12px;
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
      --shadow-chip: 0 6px 18px rgba(0, 0, 0, 0.35);
      --max-width: 1120px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
      color: var(--text-main);
      line-height: 1.6;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* HERO */
    .hero {
      padding: 3.5rem 0 3rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
      gap: 2.5rem;
      align-items: center;
    }

    @media (max-width: 840px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.3);
      font-size: 0.75rem;
      color: var(--text-muted);
      box-shadow: var(--shadow-chip);
    }

    .chip-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--primary);
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    }

    .hero-title {
      margin-top: 0.9rem;
      font-size: clamp(2rem, 3vw + 1rem, 3rem);
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .hero-title span {
      color: var(--primary);
    }

    .hero-subtitle {
      margin-top: 0.75rem;
      color: var(--text-muted);
      max-width: 32rem;
      font-size: 0.98rem;
    }

    .hero-ctas {
      margin-top: 1.4rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
    }

    .btn {
      border-radius: 999px;
      padding: 0.7rem 1.3rem;
      font-size: 0.9rem;
      font-weight: 600;
      border: 1px solid transparent;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
        border-color 0.12s ease, color 0.12s ease;
    }

    .btn-primary {
      background: linear-gradient(to right, #22c55e, #0ea5e9);
      color: #0b1120;
      box-shadow: var(--shadow-soft);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 45px rgba(34, 197, 94, 0.5);
    }

    .btn-ghost {
      background: rgba(15, 23, 42, 0.85);
      color: var(--text-main);
      border-color: rgba(148, 163, 184, 0.4);
    }

    .btn-ghost:hover {
      background: rgba(30, 64, 175, 0.6);
      border-color: rgba(129, 140, 248, 0.9);
      transform: translateY(-1px);
      box-shadow: var(--shadow-chip);
    }

    .hero-tags {
      margin-top: 1.3rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      opacity: 0.9;
    }

    .tag {
      border-radius: 999px;
      padding: 0.2rem 0.65rem;
      border: 1px solid rgba(148, 163, 184, 0.35);
      font-size: 0.7rem;
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.9);
    }

    /* HERO CARD DERECHA */
    .hero-card {
      border-radius: 24px;
      background: radial-gradient(circle at top, #1f2937 0, #020617 80%);
      padding: 1.3rem 1.3rem 1.1rem;
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .hero-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
    }

    .hero-card-title {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .pill {
      border-radius: 999px;
      padding: 0.18rem 0.55rem;
      font-size: 0.7rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--text-muted);
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.7rem;
      margin-top: 0.2rem;
    }

    .stat {
      border-radius: var(--radius-md);
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(55, 65, 81, 0.9);
      padding: 0.6rem 0.7rem;
      font-size: 0.75rem;
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.7rem;
    }

    .stat-value {
      font-weight: 600;
      margin-top: 0.15rem;
      display: inline-flex;
      align-items: baseline;
      gap: 0.2rem;
    }

    .stat-value span:last-child {
      font-size: 0.7rem;
      color: var(--text-muted);
      font-weight: 400;
    }

    .hero-card-footer {
      margin-top: 0.1rem;
      padding-top: 0.45rem;
      border-top: 1px dashed rgba(75, 85, 99, 0.8);
      font-size: 0.72rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: space-between;
    }

    .hero-card-footer strong {
      color: var(--primary);
    }

    /* SECCIONES GENERALES */
    section {
      padding: 2.5rem 0 2rem;
    }

    .section-header {
      margin-bottom: 1.5rem;
    }

    .section-eyebrow {
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      max-width: 34rem;
    }

    /* GRID TARJETAS GENÉRICO */
    .grid-cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (max-width: 960px) {
      .grid-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .grid-cards {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* GRID ESPECÍFICO PARA "EL PROYECTO" (2 columnas) */
    .grid-cards--proyecto {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (max-width: 640px) {
      .grid-cards--proyecto {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      border-radius: var(--radius-lg);
      background: var(--card-bg);
      border: 1px solid var(--border-soft);
      padding: 0.9rem 1rem 1rem;
      box-shadow: var(--shadow-soft);
      font-size: 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .card-icon {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #22c55e, #0ea5e9);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      margin-bottom: 0.2rem;
    }

    .card-title {
      font-weight: 600;
      margin-bottom: 0.15rem;
    }

    .card-text {
      color: var(--text-muted);
    }

    /* CÓMO FUNCIONA */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (max-width: 840px) {
      .steps {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .step {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at top, #111827 0, #020617 80%);
      border: 1px solid rgba(55, 65, 81, 0.9);
      padding: 0.9rem 1rem;
      box-shadow: var(--shadow-soft);
      font-size: 0.85rem;
    }

    .step-number {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 0.25rem;
    }

    .step-title {
      font-weight: 600;
      margin-bottom: 0.2rem;
    }

    .step-text {
      color: var(--text-muted);
    }

    /* DIFERENCIAL */
    .list-diff {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.7rem;
      margin-top: 0.6rem;
    }

    @media (max-width: 640px) {
      .list-diff {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .diff-item {
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .diff-bullet {
      margin-top: 0.18rem;
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--primary);
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    }

    /* CONTACTO / CTA FINAL */
    .contact-section {
      padding-bottom: 3rem;
    }

    .contact-box {
      border-radius: 22px;
      background: radial-gradient(circle at top, #111827 0, #020617 80%);
      border: 1px solid rgba(148, 163, 184, 0.4);
      padding: 1.4rem 1.4rem 1.3rem;
      box-shadow: var(--shadow-soft);
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 1.2rem;
      align-items: center;
    }

    @media (max-width: 840px) {
      .contact-box {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .contact-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    .contact-text {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 0.7rem;
    }

    .contact-mini {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .contact-mini span {
      border-radius: 999px;
      padding: 0.2rem 0.6rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: rgba(15, 23, 42, 0.8);
    }

    .contact-actions {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      font-size: 0.86rem;
    }

    .contact-actions a {
      color: var(--primary);
      text-decoration: underline;
      text-decoration-color: rgba(45, 212, 191, 0.6);
      text-underline-offset: 3px;
    }

    footer {
      padding: 1.2rem 0 1.6rem;
      font-size: 0.78rem;
      color: var(--text-muted);
      border-top: 1px solid rgba(15, 23, 42, 0.9);
      margin-top: auto;
    }

    footer .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.6rem;
      align-items: center;
    }

    /* MODAL INTRO */
/* Fondo oscuro que cubre toda la pantalla */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;              /* margen en móviles */
}

/* Caja del modal */
.modal-box {
  position: relative;
  background: #000;           /* marco negro */
  border-radius: 16px;
  overflow: hidden;
  max-width: 520px;           /* 🔹 más angosto */
  max-height: 760px;          /* 🔹 más bajo */
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen: siempre entera, sin cortar */
.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* NO recorta nada */
  display: block;
}

/* Botón de cierre (X) */
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}
    
	/* HEADER PRINCIPAL */
.pg-header {

  position: sticky;

  top: 0;

  z-index: 100;

  background:
    rgba(5, 8, 13, 0.94);

  backdrop-filter: blur(14px);

  border-bottom:
    1px solid rgba(255,255,255,0.12);

}


.pg-header__container {

  width: min(1380px, 94%);

  min-height: 76px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  position: relative;

}

/* =========================================================
   LOGO
========================================================= */

.pg-brand {

  display: flex;

  align-items: center;

  flex-shrink: 0;

}

.pg-brand img {

  height: 80px;

  width: auto;

  display: block;

  transition:
    transform 0.25s ease;

}

.pg-brand:hover img {

  transform:
    scale(1.04);

}

/* ===== MENÚ PRINCIPAL ===== */
    .pg-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      justify-content: center;
    }

    .pg-tabs a {
      font-size: 0.8rem;
      font-weight: 600;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: #e5e7eb;
      background: rgba(15, 23, 42, 0.9);
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .pg-tabs a:hover {
      background: rgba(30, 64, 175, 0.75);
      border-color: rgba(129, 140, 248, 0.9);
    }

    .pg-tabs .activo {
      background: linear-gradient(to right, #f97316, #facc15);
      color: #111827;
      border-color: transparent;
    }

    .pg-social {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .pg-social img {
      width: 40px;
      height: 40px;
      display: block;
    }

    .pg-subnav {
      border-top: 1px solid rgba(15, 23, 42, 0.9);
      border-bottom: 1px solid rgba(15, 23, 42, 0.9);
      background: rgba(15, 23, 42, 0.96);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      padding: 0.45rem 1.5rem;
    }

    .pg-subnav__link {
      font-size: 0.8rem;
      color: #9ca3af;
      padding: 0.2rem 0;
      border-bottom: 2px solid transparent;
      transition: color 0.15s ease, border-color 0.15s ease;
    }

    .pg-subnav__link:hover {
      color: #e5e7eb;
      border-color: var(--primary);
    }

    .pg-subnav__link--active {
      color: #f9fafb;
      border-color: var(--primary);
    }

    @media (max-width: 840px) {
      .pg-header__container {
        flex-wrap: wrap;
        justify-content: center;
      }
    }
	
/* =========================================================
   PELOTA
========================================================= */

.giratoria {

  width: 33px;

  height: 33px;

  object-fit: contain;

  position: absolute;

  left: 121px;

  top: 22px;

  z-index: 9999;

  pointer-events: none;

  transition: transform 0.1s linear;

}

@media (max-width: 768px) {
  .giratoria {
    display: none;
  }
}

/* Contenedor general del traductor */
#google_translate_element {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0;              /* escondo texto genérico, luego fuerzo el del select */
}

/* Caja simple del gadget */
#google_translate_element .goog-te-gadget-simple {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

/* El SELECT de idiomas: más chico */
#google_translate_element select {
  font-size: 11px;
  padding: 2px 4px;
}

/* Texto “Con la tecnología de” más discreto pero visible */
#google_translate_element .goog-te-gadget span {
  font-size: 9px;
  color: #9ca3af;
}

/* ===== AJUSTAR TAMAÑO DEL TRADUCTOR ===== */

#google_translate_element {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Caja principal del widget */
#google_translate_element .goog-te-gadget {
  font-size: 0;                /* “apaga” tamaños por defecto */
}

/* El combo de idioma (select) */
#google_translate_element .goog-te-combo {
  font-size: 11px !important;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Texto "Con la tecnología de" + logo: hacerlo más discreto */
#google_translate_element .goog-te-gadget span {
  font-size: 9px !important;
  color: #9ca3af;
}

/* Si quieres el logo de Google más pequeño */
#google_translate_element img {
  max-height: 14px;
}

 /* “oculta by google */
#google_translate_element .goog-te-gadget span,
#google_translate_element img {
  display: none !important;
}

/* =========================================================
   SELECTOR DE IDIOMA PERSONALIZADO · PASE GOL
   Google Translate funciona por detrás y su interfaz original
   permanece completamente oculta.
========================================================= */

.google-translate-hidden,
#google_translate_element{

  position:absolute !important;

  width:1px !important;
  height:1px !important;

  overflow:hidden !important;

  opacity:0 !important;

  pointer-events:none !important;

  left:-9999px !important;
  top:-9999px !important;

  margin:0 !important;
  padding:0 !important;

}


#google_translate_element .goog-te-gadget,
#google_translate_element .goog-te-combo,
#google_translate_element img,
#google_translate_element span{

  display:none !important;

}


.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-logo-link,
.goog-te-gadget-icon{

  display:none !important;

}


body{

  top:0 !important;

}


/* CONTENEDOR DEL SELECTOR */

.pg-social .language-selector-custom{

  position:relative !important;

  width:78px !important;
  height:35px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  flex:0 0 78px !important;

  z-index:1000 !important;

}


/* BOTÓN PRINCIPAL */

.pg-social .language-button{

  width:78px !important;
  height:35px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  gap:5px !important;

  padding:0 9px !important;
  margin:0 !important;

  border:1px solid rgba(255,255,255,.18) !important;

  border-radius:999px !important;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.09),
      rgba(255,255,255,.035)
    ) !important;

  color:#ffffff !important;

  font-family:inherit !important;
  font-size:12px !important;
  font-weight:700 !important;

  line-height:1 !important;

  cursor:pointer !important;

  outline:none !important;

  box-shadow:
    0 6px 20px rgba(0,0,0,.18) !important;

  box-sizing:border-box !important;

  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease !important;

}


.pg-social .language-button:hover{

  transform:translateY(-1px) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.14),
      rgba(255,255,255,.06)
    ) !important;

  border-color:var(--pg-blue-light) !important;

}


.pg-social .language-button:focus{

  border-color:var(--pg-blue-light) !important;

  box-shadow:
    0 0 0 3px rgba(66,165,245,.14),
    0 8px 25px rgba(0,0,0,.20) !important;

}


/* MUNDO */

.pg-social .language-world{

  display:inline-flex !important;

  align-items:center !important;
  justify-content:center !important;

  font-size:16px !important;
  line-height:1 !important;

}


/* IDIOMA ACTUAL */

.pg-social .language-current{

  color:#ffffff !important;

  font-size:12px !important;
  font-weight:800 !important;

}


/* FLECHA */

.pg-social .language-arrow{

  color:var(--pg-blue-light) !important;

  font-size:11px !important;
  line-height:1 !important;

}


/* MENÚ DESPLEGABLE */

.pg-social .language-menu{

  position:absolute !important;

  top:calc(100% + 9px) !important;
  right:0 !important;

  width:190px !important;

  padding:7px !important;

  display:none !important;

  flex-direction:column !important;

  gap:2px !important;

  background:#101827 !important;

  border:1px solid rgba(255,255,255,.16) !important;

  border-radius:14px !important;

  box-shadow:
    0 18px 45px rgba(0,0,0,.45) !important;

  z-index:99999 !important;

  box-sizing:border-box !important;

}


.pg-social .language-menu.open{

  display:flex !important;

}


/* OPCIONES */

.pg-social .language-menu button{

  width:100% !important;

  min-height:38px !important;
  height:38px !important;

  display:flex !important;

  align-items:center !important;

  padding:0 11px !important;
  margin:0 !important;

  border:0 !important;

  border-radius:8px !important;

  background:transparent !important;

  color:#ffffff !important;

  font-family:inherit !important;
  font-size:13px !important;
  font-weight:600 !important;

  line-height:1.2 !important;

  text-align:left !important;

  cursor:pointer !important;

  box-sizing:border-box !important;

  transition:
    background .18s ease,
    color .18s ease !important;

}


.pg-social .language-menu button:hover{

  background:rgba(66,165,245,.14) !important;

  color:var(--pg-blue-light) !important;

}


/* AJUSTE DE LAS REDES PARA EL NUEVO SELECTOR */

.pg-social{

  flex-wrap:nowrap;

}


/* MÓVIL */

@media (max-width:560px){

  .pg-social{

    width:100%;

    justify-content:center;

    flex-wrap:wrap;

  }


  .pg-social .language-selector-custom{

    width:42px !important;
    height:30px !important;

    flex-basis:42px !important;

  }


  .pg-social .language-button{

    width:42px !important;
    height:30px !important;

    padding:0 !important;

    gap:0 !important;

  }


  .pg-social .language-current,
  .pg-social .language-arrow{

    display:none !important;

  }


  .pg-social .language-world{

    font-size:17px !important;

  }


  .pg-social .language-menu{

    top:calc(100% + 8px) !important;

    right:0 !important;

  }

}
