:root {
  --gtr-azul: #0d47a1;      /* confianza */
  --gtr-morado: #6d5dfc;   /* tecnología */
  --gtr-gris: #f4f7fb;     /* fondo suave */
  --gtr-oscuro: #111827;   /* texto fuerte */
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
  background: #d62121; /* gris claro o blanco */
}



img {
    max-width: 100%;
}


.header {
   position: relative;
    top: 0;
    width: 100%;
    background: #88b8ce;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(240, 232, 232, 0.08);
}



.menu {
    position: relative; /* ✅ CLAVE */
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #ffffff;
    display: block;
}

.menu .navbar ul li a:hover{
 color: #0a4863;
}

.logo-traxion {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 7px;        /* 🔑 CLAVE TRAXION */
    text-transform: uppercase;
    color: #000000;
}

.logo-traxion span {
    color: #5a44ff;
    font-weight: 600;
}



#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}
.menu label {
    cursor: pointer;
    display: none;
}

.header-content{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: auto;
  padding: clamp(48px, 8vh, 120px) 0;
}


.header-txt h1 {
    line-height: 1;
    color: #323232;
    text-transform: uppercase;
    font-size: 75px;
    margin-bottom: 10px;
}
.header-txt h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.header-txt p {
    font-size: 16px;
    color: #fffbfb;
    margin-bottom: 45px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 25px;
    background-color: #042ee6;
    color: #FFFFFF;
    border-radius: 15px;
}

.about {
    padding: 100px;
    display: flex;
}

.about-img img {
    width: 500px;
    border-radius: 15px;
}

.about-txt {
    width: 50%;
    margin-left: 25px;
}

.about-txt h2 {
    color:  #323232;
    font-size: 50px;
    margin-bottom: 15px;
}

.about-txt p {
    font-size: 16px;
    color: #818181;
}

/* CONTENEDOR PRINCIPAL */
/* SECCIÓN */
.servicios {
  background: linear-gradient(
    180deg,
    #f3f5f7,
    #ebe7e7
  );
}

/* GRID */
.servicios-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

/* TARJETA */
.servicio-1 {
    background: #ffffff;
    border-radius: 22px;
    padding: 60px 30px 40px;
    position: relative;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    overflow: hidden;
    
}

/* FRANJA SUPERIOR CORPORATIVA */
.servicio-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #0f56c3, #0f56c3);
}

/* HOVER REAL */
.servicio-1:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 65px rgba(0,0,0,0.18);
}

/* ICONO FLOTANTE */
.servicio-1 i {
    font-size: 32px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #910b38, #0f56c3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 15px 35px rgba(11,60,145,0.4);
    position: relative;
    z-index: 2;
}

/* TEXTO */
.servicio-1 h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}


.formulario {
    margin-top: 100px;
    margin-bottom: 100px; 
    display: flex;
    justify-content: center; 
    align-items: center;
}
form {
    padding: 50px;
    width: 500px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

form h2 {
    font-size: 25px;
    color: #323232;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.input-container {
    position: relative;
}

.input-container > i {
    padding: 14px;
    border-radius: 50%;
    background-color: #5a44ff;
    position: absolute;
    font-size: 20px;
    top: 4px;
    left: 10px;
}

.input-container > input, textarea {
    padding: 17px 15px 17px 65px;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 35px;
    background-color: transparent;
    border: 2px solid #5a44ff;
    font-size: 16px;
    outline: none;
    color: #323232
}

textarea {
    font-family: 'poppins', sans-serif;
    height: 150px;
}
::placeholder {
    color: #070707;
    font-size: 16px;
}

.btn {
    background-color: #5a44ff;
    padding: 17px 30px;
    width: 100%;
    border: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 15px;
    cursor: pointer;
}   

.footer {
    padding: 50px;
    background-color:#fafafa;
}

.link ul {
    display: flex;
    justify-content: space-between;
}

.link ul li {
    margin-right: 50px;
}

.link ul li a {
    color: #323232;
    font-size: 17px;
}
.link ul li a:hover {
    color: #5a44ff;
}

@media (max-width:991px){
    .menu {
        padding: 20px;
    }
    .menu label {
        display: initial;
    }
    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        display: none;
    }
    .menu .navbar ul li {
        width: 100%;
    }
    #menu:checked ~ .navbar {
        display: initial;
    }

    .header {
        min-height: 0vh;
        padding:  80px 30px 50px 30px;
    }

    .header-content {
        flex-direction: column;
    }

    .header-txt {
        text-align: center;
        width: 100%;
        margin-bottom: 25px;
    }

    .header-img {
        width: 100%;
    }

    .header-img img {
        width: 100%;
    }

    .about {
        padding: 30px;
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        order: 2;
    }

    .about-img img{
        width: 100%;
    }

    .about-txt {
        width: 100%;
        margin-left: 0;
        text-align: center;
        margin-bottom: 25px;
    }

    .servicios {
        padding: 30px;
    }
    .servicios-content {
        margin-top: 25px;
    }

    .servicio-1 {
        margin-bottom: 20px;
    }
    .formulario {
        padding: 30px;
        margin-top: 0;
        margin-bottom: 0;
    }

    form {
        width: 100%;
    }
    
    .footer {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .link ul {
        flex-direction: column;
    }

    .link ul li{
        margin: 0 0 15px 0;
    }

}
/* ===== MENÚ GTR FIJO, LIMPIO Y ELEGANTE ===== */
.menu-gtr {
    width: 100%;
    background: #fff;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);

    position: sticky;   /* ✅ AQUÍ VA */
    top: 0;
    z-index: 99999;

    backdrop-filter: blur(6px);
}


.menu-gtr .container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.menu-gtr .logo {
    font-size: 28px;
    font-weight: 600;            /* antes 700 */
    color: #111;
    letter-spacing: 0.5px;       /* CLAVE para que se vea premium */
    text-decoration: none;
}

.menu-gtr .logo span {
    color: #5a44ff;
    font-weight: 800;            /* fuerza en RUGERIO */
}

/* NAV */
.menu-gtr .navbar ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-gtr .navbar ul li a {
    font-size: 16px;             /* bajamos 1px = más fino */
    font-weight: 500;
    color: #444;
    transition: .3s;
    text-decoration: none;
}

.menu-gtr .navbar ul li a:hover {
    color: #5a44ff;
}


/* Botón estilo administrador */
.btn-admin {
    padding: 8px 22px;
    border: 1px solid #b9b3ff;
    border-radius: 20px;
    color: #5a44ff !important;
    transition: .3s;
}

.btn-admin:hover {
    background: #5a44ff;
    color: #fff !important;
}

/* ===== FIX: EL HEADER YA NO EMPUJA EL MENÚ ===== */
.header {
    background: linear-gradient(
        180deg,
        #0d47a1 0%,
        #88b8ce 100%
    );
}
/* FUENTE FUTURISTA */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* ESTILO DEL LOGO */
.logo {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 28px;
    font-weight: 700;
    color: #cc0c0c;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeSlide 1.2s ease forwards;
}



/* ANIMACIÓN */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --------------------------------------
   ANIMACIONES PROFESIONALES GTR
---------------------------------------*/

/* MENÚ */
.menu-gtr {
    animation: fadeMenu 1.2s ease-out forwards;
    backdrop-filter: blur(6px);
}
@keyframes fadeMenu {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* HERO TEXT */
.header-txt {
    opacity: 0;
    animation: heroText 1.3s ease-out forwards;
}
@keyframes heroText {
    0% { opacity:0; transform:translateY(40px); }
    100% { opacity:1; transform:translateY(0); }
}

/* HERO IMAGE */
.header-img img {
    opacity: 0;
    animation: heroImg 1.5s ease-out forwards;
}
@keyframes heroImg {
    0% { opacity:0; transform:translateX(80px) scale(1.1); }
    100% { opacity:1; transform:translateX(0) scale(1); }
}

/* SERVICIOS */
.servicio-1 {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
    animation: serviceItem .8s ease-out forwards;
}

/* FORMULARIO */
.formulario {
    opacity: 0;
    animation: fadeUp 1.4s ease-out forwards;

    background: #ffffff;      /* 👈 CLAVE */
    padding: 60px 50px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.fondo-formulario {
    background: linear-gradient(
        180deg,
        #a10d14,
        #ce8888
    );
    padding: 120px 0;
}

@keyframes fadeUp {
    0% { opacity:0; transform:translateY(40px); }
    100% { opacity:1; transform:translateY(0); }
}

/* FOOTER */
.pie-pagina {
    opacity: 0;
    animation: footerFade 2s ease-out forwards;
}
@keyframes footerFade {
    to { opacity: 1; }
}

/* ===== SECCIÓN GENERAL ===== */
/* ===== SECCIÓN GENERAL ===== */
.impacto-gtr {
    padding: 50px 20px 70px; /* ¡IMPORTANTE! Faltaba el padding */
    background: 
        linear-gradient(rgba(7, 7, 7, 0.85), rgba(7, 7, 7, 0.85)),
        url('images/left.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.impacto-gtr h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px; /* Espacio después del título */
}

.impacto-texto {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* ===== CONTENEDOR DE CÍRCULOS ===== */
.impacto-contenedor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== ITEM INDIVIDUAL ===== */
.impacto-item {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    color: #ffffff;
}

/* ===== WRAPPER DEL CÍRCULO ===== */
.circle-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== SVG ===== */
.progress-ring {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 8;
}

.progress-ring .bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.progress-ring .progress {
    stroke: #5a44ff;
    stroke-width: 8;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 1.8s ease;
}

/* ===== NÚMERO CENTRADO ===== */
.numero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== TEXTO DESCRIPTIVO ===== */
.impacto-item p {
    margin-top: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 14px;
}
.servicio-1 p {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
    line-height: 1.4;
    text-align: center;
}
/* CONTENEDOR GENERAL */
.pilares-home { 
  padding: 90px 0;
  background: #d4c3c3;
}

/* TEXTO SUPERIOR */
.pilares-texto {
  text-align: center;
  max-width: 900px;
  margin-bottom: 50px;
}

.pilares-texto p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* GRID */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* TARJETA */
.pilar-card {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f4f7ff 100%
  );
  border-radius: 26px;
  padding: 42px 36px;
  text-align: left;
  transition: all .35s ease;
  border: 1px solid #c7d6f3;
}

/* HOVER */
.pilar-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    135deg,
    #e8f0ff 0%,
    #d9e6ff 100%
  );
  box-shadow: 0 18px 40px rgba(13, 71, 161, 0.18);
}

/* TÍTULO */
.pilar-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #8d1f40; /* Azul GTR */
}

.pilar-card p {
  font-size: 15px;
  color: #1f2933;
  line-height: 1.6;
}
/* TITULO */
.animate-title {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.8s ease forwards;
}

/* TEXTO */
.animate-text {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.top-bar {
    height: 24px;              /* 🔴 más delgada */
    background: #696060;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;           /* menos padding */
    font-size: 11px;           /* texto más fino */
}
/* CONTENEDOR */
.logo-traxion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

/* TEXTO PRINCIPAL – ESTILO TRAXION */
.logo-traxion .logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;          /* 🔥 negrita pareja */
    letter-spacing: 5px;       /* 🔑 tracking uniforme */
    text-transform: uppercase;
    color: #111;
    white-space: nowrap;
}

/* RUGERIO DESTACADO (color, NO peso extra) */
.logo-traxion .logo-main span {
    color: #5a44ff;
    font-weight: 700;          /* MISMO peso → no se ve disparejo */
}

/* TAGLINE IGUAL A TRAXION */
.logo-traxion .logo-tagline {
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #6b7280;
    text-transform: uppercase;
}
@media (max-width: 768px) {

    /* TOP BAR */
    .top-bar {
        justify-content: center;
        font-size: 10px;
        padding: 0 10px;
    }

    /* MENÚ */
    .menu-gtr {
        padding: 10px 0;
    }

    .menu-gtr .container {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    /* LOGO */
    .logo-traxion {
        align-items: center;
        text-align: center;
    }

    .logo-traxion .logo-main {
        font-size: 18px;          /* 🔑 MÁS PEQUEÑO */
        letter-spacing: 3px;      /* 🔑 MENOS ESPACIADO */
        white-space: normal;      /* 🔑 PERMITE AJUSTE */
    }

    .logo-traxion .logo-tagline {
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* NAV LINKS */
    .menu-gtr .navbar ul {
        gap: 16px;
    }

    .menu-gtr .navbar ul li a {
        font-size: 14px;
        padding: 6px 8px;
    }
}
/* ===== FIX RESPONSIVE GLOBAL (GTR) ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CONTENEDOR FLUIDO */
.container{
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* LAPTOPS GRANDES */
@media (min-width: 1280px){
  .container{
    width: min(1320px, calc(100% - 64px));
  }
}

/* MONITORES GRANDES */
@media (min-width: 1536px){
  .container{
    width: min(1480px, calc(100% - 80px));
  }
}

/* 4K */
@media (min-width: 1920px){
  .container{
    width: min(1680px, calc(100% - 96px));
  }
}

/* ===== HERO / HEADER RESPONSIVE ===== */
.header{
  padding-bottom: 40px;
}

.header-content{
  min-height: clamp(520px, 72vh, 820px);
  padding: clamp(16px, 4vw, 48px) 0;
  align-items: center;
}

.header-txt h1{
  font-size: clamp(42px, 5.2vw, 92px);
  line-height: 0.95;
}

.header-txt h2{
  font-size: clamp(18px, 2.2vw, 32px);
}

.header-txt p{
  font-size: clamp(14px, 1.2vw, 18px);
  max-width: 60ch;
}

.header-img{
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-img img{
  width: min(640px, 100%);
  height: auto;
  object-fit: contain;
}

@media (min-width: 1536px){
  .header-img img{
    width: min(820px, 100%);
  }
}

/* ===== SECCIONES ===== */
.about{
  padding: clamp(32px, 6vw, 110px) 0;
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
}

.about-img img{
  width: min(560px, 100%);
}

.servicios{
  padding: clamp(32px, 6vw, 100px) 0;
}

.servicios-content{
  gap: clamp(18px, 3vw, 40px);
}

/* ===== FIX MENÚ MÓVIL ===== */
@media (max-width: 991px){
  .menu .navbar ul li a{
    color: #111827;
  }
  .menu .navbar ul li a:hover{
    color: #5a44ff;
  }
}
/* ===== HERO FULL WIDTH DEFINITIVO ===== */
.header{
  width: 100%;
  background: #d62121;
}

.header-content{
  max-width: none;
  width: 100%;
  padding-inline: clamp(24px, 6vw, 140px);

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);

  min-height: clamp(560px, 80vh, 920px);
}

/* TEXTO */
.header-txt{
  max-width: 720px;
}

/* IMAGEN PROTAGONISTA */
.header-img img{
  width: min(1100px, 100%);
  height: auto;
}

/* MONITORES GRANDES */
@media (min-width: 1536px){
  .header-img img{
    width: min(1250px, 100%);
  }
}

/* MÓVIL */
@media (max-width: 991px){
  .header-content{
    grid-template-columns: 1fr;
    text-align: center;
    padding-inline: 24px;
  }

  .header-img img{
    width: min(520px, 100%);
    margin-inline: auto;
  }
}
.header{
  background: linear-gradient(
    180deg,
    #c41616 0%,
    #e02020 100%
  ) !important;
}

/* ===== HERO IMAGE FULL SCALE ===== */
.header-img{
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-img img{
  width: clamp(300px, 35vw, 900px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 1280px){
  .header-content{
    min-height: 70vh;
  }
}








