/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px; 
    }

html{
  scroll-behavior:smooth;
}

:root {
    --primary-color: #1ca701;     /* Verde de la sección clásica */
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333333;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    
    /* Variables de la sección deportiva */
    --neon-green: #39ff14; 
    --dark-bg: #121212;     
    --font-accent: 'Orbitron', sans-serif; 
    --font-body: 'Rajdhani', sans-serif;    
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white); /* El fondo general es blanco */
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 60px 20px;
}

.section-title {
    font-size: 2rem;
    color: #1ca701;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #666;
    font-size: 1.1rem;
}

/* HR */

.header{
    width:100%;
    height:90px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 5%;
    position:fixed;
    top:0;
    left:0;
    z-index:9999;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.logo{
    width:90px;
}

.logo img{
    width:100%;
}

.menu-toggle{
    display:none;
    font-size:2rem;
    cursor:pointer;
    color:#1ca701;
}

.navbar a {
    text-decoration: none;
    color: #1ca701;
    font-weight: 600;
    position: relative;
    padding: 5px ;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: black;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #1ca701;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

.socials{
    display:flex;
    gap:10px;
}

.socials a{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#1ca701;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size: 0.75rem; 
    transition: transform 0.3s ease, background 0.3s ease;
}

.socials a:hover{
    transform: scale(1.15);
    background: #000000;
}

section{
  padding:90px 8%;
}
img{
  width:100%;
  display:block;
}
.hero{
  width:100%;
  min-height:100vh;
  background-image:url("../Galeria/Imagenes/Reciclaje-banner-maquiplastic.png");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
  position:relative;
  display:flex;
  
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background:rgba(0,0,0,0.4);
}

.hero-content{
  position:absolute;
  top:50%;
  left:8%;
  
  max-width:950px; /*T-letter*/
  padding: 20px;
  transform:translateY(-50%);
}

.hero-content h1{
font-weight:bold;
  color:#fff;
  font-size:5rem;
  margin-bottom:10px;
  gap: 5px;
}

.banner-content{
  position:relative;
  top:50%;
  left:8%;
  transform:translateY(-50%);
  color:white;
}




.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #141414;

}

.card h3 {
    margin-bottom: 10px;
    color: #1ca701;
    font-size: 1.4rem;
}


/* ========== */
.process-section {
    /*background-color: var(--dark-bg); */
    color: var(--white);
    padding: 180px 0 50px 0;
    overflow: hidden; /* Evita desbordes de las diagonales */
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-header p {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: #131313;
}

/* Bloques de la Línea de Tiempo */
.diagonal-block {
    position: relative;
    width: 100%;
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
    margin-top: -60px; /* Hace que se traslapen entre sí */
    padding: 120px 20px;
}

.diagonal-block:first-of-type {
    margin-top: 0;
    clip-path: polygon(0 0, 100% 0%, 100% 92%, 0% 100%);
}

/* Esquemas de color individuales */
.step-white {
    background-color: var(--white);
    color: #121212;
}

.step-green {
    background-color: var(--neon-green);
    color: #121212;
}

.step-dark {
    background-color: #1a1a1a;
    color: var(--white);
}

/* Columnas internas */
.block-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-side img {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    transform: skewX(-4deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.image-side img:hover {
    transform: skewX(-4deg) scale(1.03);
}

.step-num {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.15;
    margin-bottom: -5px;
}

.step-white .step-num, 
.step-green .step-num { color: #000; }
.step-dark .step-num { color: var(--neon-green); opacity: 0.4; }

.text-side h3 {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.text-side p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Invertido */
.inverted .block-content {
    flex-direction: row-reverse;
}
.inverted .image-side img {
    transform: skewX(4deg);
}
.inverted .image-side img:hover {
    transform: skewX(4deg) scale(1.03);
}


/* ==========================================================================
   4. SECCIÓN 3:
   ========================================================================== */
.myth-section {
    background-color: #fcfcfc; /* Gris ultra oscuro para dar contraste con el proceso */
    padding: 100px 0;
    font-family: var(--font-body);
}

.myth-section-header {
    text-align: center;
    margin-bottom: 60px;
}



.myth-section-header h2 {
    font-family: var(--font-accent);
    color: #1ca701;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.myth-section-header p {
    color: #888888;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Contenedor de Tarjetas */
.cyber-myths-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Estructura de la tarjeta dividida (Mito/Realidad) */
.cyber-myth-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 12px;
    overflow: hidden;
    background-color: #16181c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #23272e;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 900px) {

    
    .cyber-myth-card {
        grid-template-columns: 1fr 1.2fr; /* Lado a lado en PC */
    }
}

.cyber-myth-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-green);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.15);
}

/* Lados de la Tarjeta */
.card-half {
    padding: 40px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Lado del Mito (Izquierda / Rojo) */
.myth-side {
    background: linear-gradient(135deg, #1f1416 0%, #16181c 100%);
    border-right: 1px solid #23272e;
    overflow: hidden;
}

.card-bg-number {
    position: absolute;
    right: 15px;
    bottom: -15px;
    font-family: var(--font-accent);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
}

.myth-side h3 {
    font-family: var(--font-accent);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 15px;
    z-index: 1;
}

/* Lado de la Realidad (Derecha / Verde) */
.truth-side {
    background-color: #1c1e24;
}

.truth-side p {
    color: #cccccc;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 500;
    margin-top: 15px;
}

.truth-side strong {
    color: var(--neon-green);
    font-size: 1.25rem;
    font-family: var(--font-accent);
    display: block;
    margin-bottom: 8px;
}

/* Badges de Estado */
.status-badge {
    width: fit-content;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 1;
}

.status-false {
    background-color: rgba(211, 47, 47, 0.15);
    color: #ff5252;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.status-true {
    background-color: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

/* ==========================================================================
   5. SECCIÓN 4: CALCULADORA DE IMPACTO
   ========================================================================== */


.calc-section {
    background-color: #1ca701; /* Misma sintonía de fondo oscuro */
    padding: 100px 0;
    
}

.calc-header {
    text-align: center;
    margin-bottom: 60px;
}

.calc-header h2 {
    font-family: var(--font-accent);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-top: 10px;
}

.calc-header p {
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-family: var(--font-body);
}

/* Caja de la Calculadora */
.calc-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background-color: #16181c;
    border: 1px solid #23272e;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

@media (min-width: 900px) {
    .calc-container {
        grid-template-columns: 1fr 1.2fr; /* Dos columnas simétricas en computadoras */
    }
}

/* Columna de Controles (Izquierda) */
.calc-control {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-control h3 {
    font-family: var(--font-accent);
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Grupo de Input de texto */
.input-group {
    display: flex;
    align-items: stretch;
    background-color: #0d0e10;
    border: 2px solid #2d3139;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.input-group:focus-within {
    border-color: var(--neon-green);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 2.5rem;
    padding: 10px 20px;
    width: 100%;
}

/* Quitar flechas del input number nativo */
.input-group input::-webkit-outer-spin-button,
.input-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-unit {
    background-color: #1c1e24;
    color: var(--neon-green);
    font-family: var(--font-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 25px;
    border-left: 2px solid #2d3139;
    font-size: 1.1rem;
}

.input-tip {
    font-family: var(--font-body);
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Slider Personalizado */
.cyber-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #2d3139;
    outline: none;
    margin-bottom: 10px;
}

.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--neon-green);
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-green);
    transition: transform 0.1s;
}

.cyber-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: #555;
}

/* Columna de Resultados (Derecha / Panel digital) */
.calc-results {
    background-color: #0d0e10;
    border: 1px solid #23272e;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-header {
    font-family: var(--font-accent);
    color: #555;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-bottom: 1px solid #1a1c23;
    padding-bottom: 10px;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.01);
    border: 1px dashed #1c1e24;
}

.result-icon {
    font-size: 2.2rem;
    background-color: #1ca701;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #23272e;
}
.result-icon i{
  color: white;
}

.result-data {
    display: flex;
    flex-direction: column;
}

.result-val {
    font-family: var(--font-accent);
    color: var(--neon-green);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.result-unit {
    font-family: var(--font-body);
    color: #888888;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.results-footer {
    font-family: var(--font-body);
    color: #444;
    font-size: 0.85rem;
    margin-top: 30px;
    text-align: center;
}
 

@media (min-width: 768px) {
    
    .myth-card {
        grid-template-columns: 1fr 1.2fr; /* Divide el mito y la realidad en dos columnas en PC */
    }
}

.myth-wrong {
    background-color: #ffebee;
    color: var(--danger);
    padding: 25px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.myth-wrong span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.myth-truth {
    background-color: var(--white);
    color: var(--text-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #eee;
}

.myth-truth strong {
    color: var(--success);
    margin-bottom: 8px;
}
/**/

.footer{
  background:#111;
  color:#fff;
  padding:70px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.footer-logo{
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;  
}
.footer-logo img{
    width: 100%;
    object-fit: contain;
    border-radius:50%;
}
.footer-info h2{
  margin-bottom:10px;
  font-size:2.5rem;
}
.footer-info{

    display:flex;

    flex-direction:column;
}

.footer-links, .footer-text{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:5px;
}

.footer-links a{
    text-decoration:none;
    color:white;
    transition:0.3s;
}
.footer-links a:hover{
    color:#4cff4c;
    transform:translateX(5px);
    text-decoration:none;
}

.footer-lists{
    display:flex;
    gap:60px;  
    align-items:flex-start;
    margin:25px 0;
}


.footer-socials{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    flex-wrap: nowrap !important; 
    margin-bottom: 25px;
    text-decoration:none;
    
}

.footer-socials a{
    width:32px;
    height:32px;
    border-radius:50%;
    background:green;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    transition:0.3s;
}

.footer-socials a:hover{
    transform:scale(1.15);
    background:#0b8a0b;
}

/* ========================= */

@media(max-width:992px){
   /* HR */

  .menu-toggle{
        display:block;
    }

    .header{
        width:100%;
        height:90px;
        background:#fff;
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:0 5%;
        position:fixed;
        overflow:visible;
    }

    .socials a{
        width:22px;
        height:22px;
        font-size:0.75rem;
    }

    .socials {
        gap: 5px;
    }

    .navbar{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:5px;
        height:0;
        overflow:hidden;
        transition:height 0.35s ease;
        box-shadow:0 10px 20px rgba(0,0,0,0.08);
    }
 
    .navbar a{
        font-size:12px;
        padding:5px 0;
    }

    .navbar.active{
        height:170px;
    }
    
    .navbar:not(.active){
        pointer-events:none;
    }

  section{
    padding:70px 6%;
  }

  .hero{
    background-attachment:scroll;
    min-height:80vh;
  }

  .hero-content h1{
    font-size:55px;
  }

   .catalog-item,
  .catalog-item.reverse{
    flex-direction:column;
  }

  .catalog-img{
    width:100%;
    height:350px;
  }

  .catalog-text{
    padding:45px;
  }

  .catalog-text h2{
    font-size:34px;
  }

  .footer{
    text-align:center;
    justify-content:center;
    gap:40px;
}
}


@media(max-width:600px){

  section{
    padding:60px 5%;
  }

  .hero-content h1{
    font-size:42px;
  }

  .hero-content p{
    font-size:15px;
  }

  .catalog-img{
    height:280px;
  }

  .catalog-text{
    padding:35px 25px;
  }

  .catalog-text h2{
    font-size:28px;
  }

  .catalog-text p{
    font-size:15px;
  }

   /* HR */

  .menu-toggle{
        display:block;
    }

    .header{
        width:100%;
        height:90px;
        background:#fff;
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:0 5%;
        position:fixed;
        overflow:visible;
    }

    .socials a{
        width:18px;
        height:18px;
        font-size:0.45rem;
    }

    .socials{
        gap:4px;
        padding:0;
    }

    .navbar{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:5px;
        height:0;
        overflow:hidden;
        transition:height 0.35s ease;
        box-shadow:0 10px 20px rgba(0,0,0,0.08);
    }
 
    .navbar a{
        font-size:12px;
        padding:5px 0;
    }

    .navbar.active{
        height:170px;
    }
    
    .navbar:not(.active){
        pointer-events:none;
    }

    .footer-info{
        align-items:center;
        text-align:center;
    }

    .footer-lists{
        width:100%;
        display:flex;
        flex-direction:row;
        justify-content:center;
        align-items:flex-start;
        gap:35px;
        text-align:left;
    }

    .footer-links,
    .footer-text{
        align-items:flex-start;
        text-align:left;
    }

    .footer-socials{
        width:100%;
        justify-content:center;
    }
    .calc-container {
        padding: 20px;
    }
    
    .input-group input {
        font-size: 1.8rem;
    }
    
    .input-unit {
        padding: 0 15px;
        font-size: 0.9rem;
    }

    .result-val {
        font-size: 1.8rem;
    }
    
    .result-icon {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
    }

}
