   /* RESET */ 
   *{ margin:0; 
      padding:0; 
      box-sizing:border-box; 
   } 
   body{ 
      font-family:'Raleway', sans-serif; 
      background:#f4f4f4; 
      color:#111; } 
      /* ========================= */ 
      /* HEADER */ 
      /* ========================= */ 

      .header{ width:100%; 
         background:#fff; 
         padding:18px 0; 
         box-shadow:0 5px 20px rgba(0,0,0,0.05); 
         position:sticky; top:0; z-index:999; 
      } 
      
   .nav-container{
   width:90%;
   max-width:1200px;
   margin:auto;
   display:flex;
   justify-content:space-between;
   align-items:center;
   }
      .logo img{ 
         height:55px;
         width:auto; 
         display:block; 
         object-fit:contain; 
      } 
      .nav a{ 
         margin-left:25px; 
         text-decoration:none; 
         color:#222; 
         font-weight:500; 
         transition:0.3s; 
         position:relative; 
      } 
      .nav a:hover{ 
         color:#FF6522; } 
      
      .nav a.active{ 
         color:#FF6522; 
         font-weight:600; 
      } 
      .nav a.active::after{ 
         content:""; 
         position:absolute; 
         bottom:-6px; 
         left:0; 
         width:100%; 
         height:3px; 
         background:#FF6522; 
         border-radius:5px; } 
         
      /* HERO */ 
         
   .hero{ 
      position:relative; 
      height:100vh;
      display:flex;
      align-items:center;   /* centra vertical */
      justify-content:flex-start; /* pega a la izquierda */
      color:white;
      overflow:hidden;
   }
         
      .hero-bg{ 
         position:absolute; 
         width:100%; 
         height:100%; 
         object-fit:cover; 
         filter:brightness(0.45); 
         color:#eee 
      } 
      
      .hero-overlay{ 
         position:absolute; 
         width:100%; 
         height:100%; 
         background:rgba(0,0,0,0.45); 
      } 
      
   .hero-content{
   position:absolute;
   left:5%;
   top:50%;
   transform:translateY(-50%);
   z-index:2;
   max-width:650px;
   text-align:left;
   color:#eee;
   }
   .hero-content img{
   width:420px;
   max-width:100%;
   }
      
   .hero-text{
   font-style:italic;
   font-weight:500;
   font-size:22px;
   line-height:1.6;
   max-width:600px;
   margin-top:15px;
   margin-left:0;
   text-align:left;
   }
   .hero h1{ 
   font-size:70px; 
   font-weight:800; 
   } 
   .hero-slogan{
   width:420px;
   max-width:100%;
   display:block;
   }        
   /* CONTAINER */ 
   .container{ 
      width:90%; 
      max-width:1200px;
      margin:auto; 
      padding:80px 0; 
   } 
   .section-title{ 
      font-size:38px; 
      font-weight:800; 
      margin-bottom:20px; 
   } 
   .section-text{ 
      max-width:700px; 
      color:#555; 
   } 
   /* SERVICES */ 

   .services-grid{ 
      display:grid; 
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); 
      gap:30px; margin-top:40px; 
   } 
   .service-card{ 
      background:#fff; 
      padding:35px; 
      border-radius:20px; 
      position:relative; 
      box-shadow:0 10px 25px rgba(0,0,0,0.05); 
      transition:0.3s; overflow:hidden; 
   } 
   .service-card h3{
   margin-bottom:10px;
   }
   .service-card:hover{ 
      transform:translateY(-8px); 
   } 
   .service-line{ 
      position:absolute; 
      left:0; 
      top:0; 
      width:6px; 
      height:100%; 
      background:#FF6522; 
   } 
   .service-hover-btn{ 
      position:absolute; 
      top:20px; 
      right:20px; 
      background:#fc1010; 
      color:#fff; 
      padding:8px 14px; 
      border-radius:30px; 
      font-size:13px; 
      text-decoration:none; 
      opacity:0; 
      transition:0.3s; 
   } 
      .service-card:hover 
      .service-hover-btn{ 
         opacity:1; } 

   /* PORTAFOLIO */

   .portfolio-preview-home{
   margin-top:90px;
   text-align:center;
   width:95%;
   max-width:1400px;
   margin:90px auto 0 auto;
   }

   .portfolio-preview-home .portfolio-grid-preview{
   display:grid;
   grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
   gap:40px;
   margin:40px 0;
   }

   .portfolio-preview-home .portfolio-item{
   text-align:center;
   }

   .portfolio-item:hover{
   transform:translateY(-6px);
   }

   /* CONTENEDOR DE IMAGEN */

   .portfolio-img{
   position:relative;
   overflow:hidden;
   border-radius:0;
   }

   .portfolio-img img{
   width:100%;
   height:200px;
   object-fit:cover;
   display:block;
   transition:0.4s;
   border-radius:0;
   }
   .portfolio-img:hover img{
   transform:scale(1.08);
   }

   /* OVERLAY */

   .portfolio-overlay{
   position:absolute;
   inset:0;
   background:rgba(0,0,0,0.5);
   display:flex;
   align-items:center;
   justify-content:center;
   opacity:0;
   transition:0.4s;
   text-decoration:none; /* 👈 quita subrayado */
   color:inherit; /* 👈 mantiene el color normal */
   }

   .portfolio-img:hover .portfolio-overlay{
   opacity:1;
   }

   .portfolio-overlay span{
   background:#f50f0f;
   color:#fff;
   padding:10px 22px;
   border-radius:30px;
   font-size:14px;
   font-weight:600;
   }

   /* ETIQUETA */

   .project-label{
   display:inline-block;
   margin-top:18px;
   padding:10px 26px;
   background:#e60023;
   color:#fff;
   font-weight:600;
   font-size:14px;
   border-radius:30px;
   border:none;
   transition:0.3s;
   }

   .project-label:hover{
   background:#c9001e;
   }
   /* CONTACTO */ 
   .home-contact{ 
      margin-top:100px; 
      display:flex; 
      justify-content:center; 
   } 
   .contact-box{ 
      background:#fff; 
      padding:40px; 
      border-radius:20px; 
      position:relative; 
      box-shadow:0 10px 30px rgba(0,0,0,0.05); 
      text-align:center; 
      max-width:600px;
   } 
   .contact-line{
   position:absolute;
   left:0;
   top:15px;
   bottom:15px;
   width:6px;
   background:#FF6522;
   border-radius:4px;
   }
   .btn-primary{ 
      display:inline-block; 
      margin-top:20px; 
      background:#f00c0c; 
      color:#fff; 
      padding:12px 30px; 
      border-radius:40px; 
      text-decoration:none; 
      transition:0.3s; 
   } 
   .btn-primary:hover{ 
      background:#FF0000; 
   }
   .title-section{
   font-family:'Raleway', sans-serif;
   line-height:1.1;
   margin-bottom:25px;
   }

   .title-main{
   display:block;
   font-size:48px;
   font-weight:700;
   color:#FF6522;
   }

   .title-sub{
   display:block;
   font-size:32px;
   font-weight:500;
   color:#111;
   }

   /* QUIENES SOMOS NUEVO */

   .about-box{
   width:90%;
   max-width:1200px;
   margin:80px auto;
   background:#f1f1f1;
   border-radius:25px;
   padding:60px;
   box-shadow:0 10px 30px rgba(0,0,0,0.08);
   }

   .about-container{
   display:grid;
   grid-template-columns:1fr 1fr;
   gap:50px;
   align-items:center;
   }

   .about-title{
   font-family:'Raleway', sans-serif;
   margin-bottom:25px;
   }
   .about-highlight{
   margin-top:20px;
   font-style:italic;
   color:#FF6522;
   font-weight:500;
   }
   .title-red{
   display:block;
   font-size:48px;
   font-weight:700;
   color:#f00f0f !important; 
   }

   .title-black{
   display:block;
   font-size:34px;
   font-weight:500;
   color:#111 !important;
   }

   .about-text p{
   font-size:16px;
   line-height:1.7;
   color:#444;
   margin-bottom:18px;
   max-width:500px;
   }

   .about-img{
   background:#fff;
   padding:0;              /* QUITA EL BORDE */
   border-radius:0px;
   box-shadow:0 30px 70px rgba(0,0,0,0.12);
   overflow:hidden;
   }

   .about-img img{
   width:100%;
   height:100%;
   object-fit:cover;
   display:block;
   }

   .about-img:hover{
   transform:translateY(-10px);
   box-shadow:0 20px 35px rgba(0,0,0,0.15);
   }
   .about-box{
   width:90%;
   max-width:1200px;
   margin:80px auto;
   background:#f1f1f1;
   border-radius:25px;
   padding:60px;
   box-shadow:0 10px 30px rgba(0,0,0,0.08);
   position:relative;
   }

   .about-box::before{
   content:"";
   position:absolute;
   right:0;
   top:20px;
   width:6px;
   height:90%;
   background:#FF6522;
   border-radius:6px;
   }
   /* ===========================
      ESTADISTICAS
   =========================== */

   .stats-section{
   display:flex;
   justify-content:center;
   gap:40px;
   margin:90px 0;
   flex-wrap:wrap;
   }

   .stat-card{
   background:#fff;
   padding:30px 40px;
   border-radius:20px;
   box-shadow:0 10px 25px rgba(0,0,0,0.05);
   text-align:center;
   transition:0.3s;
   }

   .stat-card:hover{
   transform:translateY(-6px);
   }

   .stat-circle{
   width:70px;
   height:70px;
   background:#FF6522;
   color:#fff;
   border-radius:50%;
   display:flex;
   align-items:center;
   justify-content:center;
   margin:0 auto 15px auto;
   font-weight:700;
   }

   /* ===========================
      TIMELINE PILARES
   =========================== */



   .timeline-item.left .timeline-number{
   right:-22px;
   }

   .timeline-item.right .timeline-number{
   left:-22px;
   }
   /* ===========================
      PORTAFOLIO PAGE
   =========================== */

   .portfolio-section{
   margin-top:20px;
   }

   .portfolio-grid{
   display:grid;
   grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
   gap:30px;
   margin-top:60px;
   }

   .portfolio-card{
   background:#fff;
   border-radius:20px;
   box-shadow:0 10px 30px rgba(0,0,0,0.05);
   overflow:hidden;
   position:relative;
   cursor:pointer;
   transition:0.3s;
   }

   .portfolio-card:hover{
   transform:translateY(-8px);
   }

   .portfolio-card img{
   width:100%;
   display:block;
   transition:0.3s;
   }

   .portfolio-card:hover img{
   transform:scale(1.05);
   }

   .portfolio-line{
   position:absolute;
   left:0;
   top:0;
   width:6px;
   height:100%;
   background:#FF6522;
   }

   /* MODAL */

   .portfolio-modal{
   position:fixed;
   top:0;
   left:0;
   width:100%;
   height:100%;
   background:rgba(0,0,0,0.85);
   display:flex;
   align-items:center;
   justify-content:center;
   opacity:0;
   visibility:hidden;
   transition:0.3s;
   z-index:2000;
   }

   .portfolio-modal.active{
   opacity:1;
   visibility:visible;
   }

   #carouselImage{
   max-width:80%;
   max-height:80%;
   border-radius:15px;
   box-shadow:0 20px 50px rgba(0,0,0,0.5);
   }

   .close-modal{
   position:absolute;
   top:40px;
   right:60px;
   font-size:40px;
   color:white;
   cursor:pointer;
   }
   /* PORTAFOLIO PREVIEW ORDENADO */

   .portfolio-grid-preview{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:30px;
   margin:50px 0;
   }

   .portfolio-item{
   background:#fff;
   padding:18px;
   border-radius:20px;
   box-shadow:0 10px 25px rgba(0,0,0,0.05);
   text-align:center;
   overflow:visible;
   transition:0.3s;
   }

   .portfolio-item img{
   width:100%;
   display:block;
   transition:0.3s;
   }

   .portfolio-item:hover img{
   transform:scale(1.08);
   }

   @media(max-width:900px){
   .portfolio-grid-preview{
   grid-template-columns:1fr;
   }
   }
   /* ABOUT MEJORADO */

   .about-grid{
   display:grid;
   grid-template-columns:1.2fr 1fr;
   gap:50px;
   align-items:center;
   margin-top:20px;
   }

   .about-text p{
   margin-bottom:15px;
   color:#555;
   line-height:1.7;
   }

   .about-image{
   position:relative;
   display:flex;
   justify-content:center;
   align-items:center;
   }

   .about-image img{
   width:100%;
   border-radius:25px;
   box-shadow:0 30px 70px rgba(0,0,0,0.12);
   transition:0.5s;
   }

   .about-section.reverse{
   padding-top:0px;
   }
   @media(max-width:900px){
   .about-grid{
   grid-template-columns:1fr;
   }
   }
   .service-img{
   width:100%;
   height:160px;
   object-fit:cover;
   border-radius:0;
   margin-bottom:15px;
   }
   .title-kualis{
   display:flex;
   flex-direction:column;
   font-family:'Raleway', sans-serif;
   line-height:1.1;
   margin-bottom:20px;
   }

   .title-kualis .red{
   color:#ff0000;
   font-weight:800; /* bold */
   font-size:42px;
   }

   .title-kualis{
   font-weight:300; /* light */
   font-size:32px;
   color:#111;
   }

   .title-kualis::after{
   content:"";
   display:block;
   width:60px;
   height:4px;
   background:#FF6522;
   margin-top:12px;
   border-radius:4px;
   }
   .home-services{
   width:95%;
   max-width:1400px;
   margin:0 auto;
   }
   .home-services .section-title{
   text-align:center;
   }
   .title-kualis span:last-child{
   color:#111 !important;
   font-weight:300;
   }
   /* ================= PORTAFOLIO DISTINTIVO ================= */

   .portfolio-item{
   position:relative;
   height:280px;
   border-radius:20px;
   box-shadow:0 15px 40px rgba(0,0,0,0.08);
   cursor:pointer;
   }

   .portfolio-item img{
   width:100%;
   object-fit:cover;
   transition:0.5s;
   }

   /* Línea naranja superior elegante */
   .portfolio-item::before{
   content:"";
   position:absolute;
   top:0;
   left:20px;
   right:20px;
   height:6px;
   background:#FF6522;
   border-radius:4px;
   }

   .portfolio-item:hover img{
   transform:scale(1.1);
   }

   .portfolio-item:hover .portfolio-overlay{
   opacity:1;
   }
   /* HERO NOSOTROS */
   .nosotros-hero{
      width:100%;
      min-height:100vh;
      position:relative;

      background-image:url("../img/nosotros.jpg"); /* 👈 ESTA ES LA CLAVE */
      background-size:cover;
      background-position:center;
      background-repeat:no-repeat;

      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      color:white;
   }
   .hero-content p{
      font-size:20px;
      line-height:1.7;
      margin-bottom:15px;
   }
   .hero-subtext{
   font-style:italic;
   font-weight:500;
   font-size:22px;
   line-height:1.6;
   max-width:600px;
   color:#eee;
   }
   .page-hero-title{
   font-size:64px;
   font-weight:800;
   line-height:1.1;
   margin:0;
   color:#fff;
   }

   .page-hero-title span{
   display:block; /* 👈 esto hace que baje */
   }

   .page-hero-sub{
   font-size:18px; /* 👈 tamaño correcto */
   line-height:1.6;
   margin-top:20px;
   max-width:600px;
   color:#fff;
   }

   .page-hero-sub{
   font-size:22px;
   font-style:italic;
   line-height:1.6;
   max-width:600px;
   }
   /* ========================= */
   /* RESULTADOS */
   /* ========================= */

   .results-section{
      padding:140px 8%;
      background:#f4f6f9;
      text-align:center;
   }

   /* TÍTULO */
   .results-section h2{
      font-size:36px;
      font-weight:800;
      margin-bottom:15px;
   }

   .results-section p{
      max-width:700px;
      margin:0 auto 70px auto; /* MÁS ESPACIO */
      font-size:17px;
      color:#555;
   }

   /* GRID */
   .about-stats{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:40px;
   }

   /* TARJETA */
   .stat-box{
      background:#ffffff;
      padding:40px 20px;
      border-radius:25px;
      position:relative;
      transition:0.4s;
      box-shadow:0 20px 60px rgba(0,0,0,0.06);
      overflow:hidden;
   }

   /* BORDE DEGRADADO SUTIL */
   .stat-box::before{
      content:"";
      position:absolute;
      inset:0;
      border-radius:25px;
      padding:2px;
      background:linear-gradient(135deg,#FF6522,#FF0000);
      -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
   }

   /* HOVER */
   .stat-box:hover{
      transform:translateY(-12px);
      box-shadow:0 35px 80px rgba(0,0,0,0.12);
   }

   /* CÍRCULO */
   .stat-icon{
      width:85px;
      height:85px;
      border-radius:50%;
      margin:0 auto 30px auto;
      background:linear-gradient(135deg,#FF6522,#FF0000);
      opacity:0.95;
   }

   /* NÚMEROS (AHORA NEGROS) */
   .stat-box h3{
      font-size:46px;
      font-weight:900;
      margin-bottom:12px;
      color:#111;   /* NEGRO */
   }

   /* TEXTO MÁS FUERTE */
   .stat-box p{
      font-size:18px;
      font-weight:600;
      color:#222;
   }

   /* RESPONSIVE */
   @media(max-width:900px){
      .about-stats{
         grid-template-columns:1fr;
      }
   }

   /* ========================= */
   /* PILARES */
   /* ========================= */

   .about-pillars{
   padding:120px 0;
   }

   .about-pillars h2{
   text-align:center;
   font-size:34px;
   margin-bottom:70px;
   }

   .about-pillars span{
   color:#FF6522;
   }

   .pillars-grid{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:40px;
   }

   .pillar-card{
   background:#fff;
   padding:50px 35px 40px 35px;
   border-radius:20px;
   box-shadow:0 20px 60px rgba(0,0,0,0.06);
   position:relative;
   transition:0.4s;
   }

   .pillar-card:hover{
   transform:translateY(-8px);
   }

   .pillar-number{
   position:absolute;
   top:0;
   left:0;
   background:linear-gradient(135deg,#FF6522,#FF0000);
   color:#fff;
   font-weight:700;
   font-size:14px;
   padding:8px 18px;
   border-top-left-radius:20px;
   border-bottom-right-radius:20px;
   letter-spacing:1px;
   }

   .pillar-card h3{
   margin-bottom:15px;
   font-size:20px;
   }

   .pillar-card p{
   color:#555;
   line-height:1.6;
   }

   /* ========================= */
   /* RESPONSIVE */
   /* ========================= */

   @media(max-width:900px){

   .about-section,
   .about-stats,
   .pillars-grid{
   grid-template-columns:1fr;
   }

   }
   /* ========================= */
   /* FOOTER PROFESIONAL */
   /* ========================= */

   .footer{
   width:100%;
   background:linear-gradient(135deg,#FF0000,#FF0000);
   color:#fff;
   padding:80px 0 0 0;
   margin-top:100px;
   font-family:'Raleway', sans-serif;
   }

   .footer-container{
   display:grid;
   grid-template-columns:repeat(4,1fr);
   gap:40px;
   align-items:flex-start;

   width:90%;
   max-width:1200px;
   margin:auto;
   }

   .footer-logo{
   width:160px;
   margin-bottom:20px;
   }

   .footer-col h4{
   margin-bottom:20px;
   font-size:18px;
   font-weight:700;
   color:#fff;
   }

   .footer-col p{
   font-size:14px;
   line-height:1.6;
   color:#fff;
   }

   .footer-col ul{
   list-style:none;
   padding:0;
   }

   .footer-col ul li{
   margin-bottom:10px;
   font-size:14px;
   color:#fff;
   }

   .footer-col ul li a{
   color:#fff;
   text-decoration:none;
   transition:0.3s;
   }

   .footer-col ul li a:hover{
   opacity:0.7;
   }

   /* CONTACTO PERFECTAMENTE ALINEADO */

   .footer-contact .contact-item{
   display:flex;
   align-items:center;        /* centra verticalmente */
   gap:14px;
   margin-bottom:22px;
   text-decoration:none;
   color:#fff;
   font-size:17px;
   font-weight:500;
   line-height:1;             /* 🔥 clave para que no se desplace */
   transition:0.3s;
   }

   .footer-contact .contact-item:hover{
   transform:translateX(4px);
   opacity:0.9;
   }
   .footer-contact strong{
   font-weight:400 !important;
   }
   /* ÍCONO PERFECTAMENTE CENTRADO */
   .contact-icon{
   width:24px;
   height:24px;
   object-fit:contain;
   flex-shrink:0; /* 🔥 evita que se estire */
   margin-right:10px;
   }

   /* TELÉFONO */
   .footer-phone{
   font-size:20px;
   font-weight:800;
   letter-spacing:0.5px;
   font-variant-numeric:tabular-nums;
   }
   .footer-col{
   display:flex;
   flex-direction:column;
   }
   .footer-bottom{
   text-align:center;
   padding:25px 0;
   margin-top:60px;
   background:rgba(0, 0, 0, 0.15);
   font-size:14px;
   color:#fff;
   }

   /* RESPONSIVE */

   @media(max-width:900px){
   .footer-container{
   grid-template-columns:1fr;
   text-align:center;
   }

   .footer-contact .contact-item{
   display:flex;
   align-items:center;
   gap:12px;
   }
   }
   /* ========================= */
   /* BLOQUE INICIO - QUIÉNES SOMOS */
   /* ========================= */

   .home-about{
   padding:10px 0 100px 0;
   }

   .home-about .container{
   width:90%;
   max-width:1200px;
   margin:auto;
   }

   .home-about-grid{
   display:grid;
   grid-template-columns:1fr 1fr;
   gap:60px;
   align-items:center;
   }

   .home-about-text h2{
   font-size:34px;
   margin-bottom:20px;
   font-weight:800;
   }

   .home-about-text span{
   color:#FF6522;
   }

   .home-about-text p{
   font-size:17px;
   line-height:1.7;
   color:#444;
   margin-bottom:18px;
   }

   .home-about-image img{
   width:100%;
   border-radius:20px;
   box-shadow:0 20px 60px rgba(0,0,0,0.08);
   }

   /* Responsive */

   @media(max-width:900px){
   .home-about-grid{
   grid-template-columns:1fr;
   }
   }
   /* ========================= */
   /* CAJAS GENERALES */
   /* ========================= */

   .info-box{
      margin:70px auto;      /* antes 120 */
      padding:70px 6%;       /* antes 100 */
      border-radius:25px;
      width:90%;
      position:relative;
      overflow:hidden;
   }

   .info-box:hover{
      transform:translateY(-6px);
   }
   /* ========================= */
   /* LÍNEA LATERAL PERSONALIZADA */
   /* ========================= */

   /* QUIÉNES SOMOS - línea izquierda */
   .box-light{
      background:#ffffff;
      box-shadow:0 25px 70px rgba(0,0,0,0.05);
      position:relative;
   }

   .box-light::before{
      content:"";
      position:absolute;
      top:40px;
      bottom:40px;
      left:0;
      width:6px;
      background:#FF6522;
      border-radius:4px;
   }


   /* QUÉ SABEMOS HACER - línea derecha */
   .box-gray{
      background:#f5f5f5;
      box-shadow:0 25px 70px rgba(0,0,0,0.05);
      position:relative;
   }

   .box-gray::before{
      content:"";
      position:absolute;
      top:40px;
      bottom:40px;
      right:0;
      width:6px;
      background:#FF6522;
      border-radius:4px;
   }

   .box-gray{
      background:#f5f5f5;
      box-shadow:0 25px 70px rgba(0,0,0,0.05);
   }
   /* ========================= */
   /* LAYOUT HORIZONTAL */
   /* ========================= */

   .about-section{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:60px;
      align-items:center;
   }

   /* Invertir orden */
   .about-section.reverse{
      direction:rtl;
   }

   .about-section.reverse .about-text{
      direction:ltr;
   }

   /* ========================= */
   /* TEXTO */
   /* ========================= */

   .about-text h2:not(.material-title){
   font-size:28px;
   margin-bottom:20px;
   font-weight:700;
   }
   .material-title{
   font-size:42px;
   font-weight:800;
   margin-bottom:25px;
   line-height:1.2;
   position:relative;
   }

   .material-title span{
   color:#FF6522;
   }

   .material-title::after{
   content:"";
   display:block;
   width:60px;
   height:4px;
   background:#FF6522;
   margin-top:12px;
   border-radius:3px;
   }

   .about-text span{
      color:#FF6522;
   }

   .about-text p{
      font-size:17px;
      line-height:1.8;
      color:#444;
      margin-bottom:15px;
      max-width:500px;
   }

   /* Línea decorativa */
   .about-text h2::after{
      content:"";
      display:block;
      width:60px;
      height:4px;
      background:#FF6522;
      margin-top:12px;
      border-radius:3px;
   }

   /* ========================= */
   /* IMAGEN */
   /* ========================= */

   .about-image{
   position:relative;
   }

   .about-image img{
   width:100%;
   height:630px;          /* 🔥 más larga */
   object-fit:cover;
   border-radius:0;       /* esquinas rectas */
   box-shadow:0 25px 60px rgba(0,0,0,0.1);
   transition:0.4s;
   }

   .about-image img:hover{
      transform:scale(1.03);
   }

   /* ========================= */
   /* RESPONSIVE */
   /* ========================= */

   @media(max-width:900px){
      .about-section{
         grid-template-columns:1fr;
         text-align:center;
      }

      .about-text p{
         max-width:100%;
      }

      .about-image::before{
         display:none;
      }
   }
   /* ===========================
      SERVICES PROFESSIONAL FINAL
   =========================== */

   .services-section{
   padding:90px 0 120px 0;
   background:#f5f5f5;
   font-family:'Raleway', sans-serif;
   }

   .services-container{
   width:90%;
   max-width:1300px;
   margin:0 auto;
   padding:0 20px;
   }

   /* HEADER */
   .services-header{
   margin-bottom:70px;
   }

   .services-header h1{
   font-size:42px;
   font-weight:800;
   color:#000;
   }

   .services-header h1 span{
   color:#FF6522;
   }

   .services-header p{
   max-width:700px;
   margin-top:15px;
   font-size:17px;
   color:#555;
   line-height:1.6;
   }

   /* SERVICE BOX */
   .service-box{
   background:#fff;
   border-radius:18px;
   padding:80px;
   margin-bottom:110px;
   display:flex;
   gap:100px;
   align-items:center;
   }
   /* Por defecto línea derecha */
   .service-box{
   border-right:5px solid #FF6522;
   }

   /* Cuando quiero línea izquierda */
   .service-box.line-left{
   border-right:none;
   border-left:5px solid #FF6522;
   }
   .service-box:hover{
   transform:translateY(-4px);
   box-shadow:0 15px 35px rgba(0,0,0,0.08);
   }

   /* FEATURED */
   .service-box.featured{
   padding:50px;
   }

   /* HORIZONTAL LAYOUT */
   .service-box.horizontal{
   display:flex;
   }

   .service-box.horizontal.reverse{
   flex-direction:row-reverse;
   }

   /* TITULOS */
   .service-text h2{
   font-size:34px;
   font-weight:800;
   margin-bottom:25px;
   color:#000;
   }

   .service-text h2 span{
   color:#FF6522;
   }

   /* TEXTOS */
   .service-text p{
   font-size:18px;
   line-height:1.9;
   color:#555;
   margin-bottom:20px;
   }
   .service-text{
   flex:1;
   }

   /* IMAGEN */
   .service-image{
   flex:1;
   display:flex;
   justify-content:center;
   align-items:center;
   }

   .service-image img{
   width:100%;
   max-width:550px;
   height:auto;
   object-fit:contain;
   border-radius:0;
   box-shadow:0 25px 60px rgba(0,0,0,0.12);
   }

   /* RESPONSIVE */
   @media(max-width:900px){
   .service-box{
   flex-direction:column;
   text-align:left;
   }

   .service-box.horizontal.reverse{
   flex-direction:column;
   }

   .service-image img{
   width:100%;
   height:220px;
   }
   }
   /* HERO GENERAL PARA MENÚS */

   .page-hero{
   position:relative;
   height:90vh;          /* imagen más grande */
   display:flex;
   align-items:center;
   justify-content:center;
   text-align:center;
   color:#fff;
   overflow:hidden;
   }
   .hero-content h1{
   font-size:72px;
   font-weight:800;
   margin-bottom:20px;
   }

   .hero-subtext{
   font-size:22px;
   line-height:1.6;
   font-style:italic;
   color:#eee;
   }
   /* ================= SERVICIOS ================= */
   .portfolio-service{
   margin:80px auto;        /* centra el bloque */
   padding:60px 70px;
   border-radius:30px;
   background:#fff5ef;
   border:3px solid #FF6522;
   box-shadow:0 20px 60px rgba(0,0,0,0.08);
   position:relative;

   max-width:1100px;        /* 👈 evita que toque los lados */
   width:90%;
   }

   .portfolio-service::before{
   content:"";
   position:absolute;
   left:0;
   top:0;
   width:6px;
   height:100%;
   background:#FF6522;
   border-radius:25px 0 0 25px;
   }

   /* DESTACADO */
   .badge{
   background:#FF6522;
   color:#fff;
   padding:6px 15px;
   border-radius:30px;
   font-size:13px;
   margin-left:15px;
   }

   /* HEADER */
   .service-header{
   display:flex;
   align-items:center;
   margin-bottom:25px;
   }

   /* CARRUSEL */
   /* ================= CARRUSEL CONTENEDOR ================= */

   .service-carousel{
   overflow:hidden;
   position:relative;
   }
   @keyframes scrollPortfolio{

   0%{
   transform:translateX(0);
   }

   100%{
   transform:translateX(-50%);
   }

   }

   .carousel-track{
   display:flex;
   gap:25px;
   animation:scrollPortfolio 40s linear infinite;
   width:max-content;
   }

   .carousel-track img{
   width:320px;
   height:240px;
   object-fit:cover;
   border-radius:25px;
   border:3px solid rgba(255,101,34,0.2);
   flex-shrink:0;
   transition:0.4s;
   box-shadow:0 15px 40px rgba(0,0,0,0.15);
   }

   .carousel-track img:hover{
   transform:scale(1.05);
   border:3px solid #FF6522;
   }

   /* Animación infinita */


   /* Imágenes */
   .carousel-track img{
   width:320px;
   height:240px;
   object-fit:cover;
   border-radius:25px;
   border:3px solid rgba(255,101,34,0.2);
   transition:0.4s;
   box-shadow:0 15px 40px rgba(0,0,0,0.15);
   flex-shrink:0;
   }

   /* Hover suave SIN que se corte */
   .carousel-track img:hover{
   transform:scale(1.08);
   border:3px solid #FF6522;
   box-shadow:
   0 30px 80px rgba(0,0,0,0.25),
   0 20px 60px rgba(255,101,34,0.4);
   }

   /* ================= CINTAS UNIFICADAS ================= */

   .carousel-track{
   display:flex;
   gap:25px;
   }

   .carousel-track img{
   width:320px;
   height:240px;
   object-fit:cover;
   border-radius:25px;
   border:3px solid rgba(255,101,34,0.15);
   cursor:pointer;
   transition:0.4s;
   box-shadow:0 10px 30px rgba(0,0,0,0.1);
   }

   .carousel-track img:hover{
   transform:scale(1.1);
   border:3px solid #FF6522;
   box-shadow:
   0 25px 60px rgba(0,0,0,0.25),
   0 15px 40px rgba(255,101,34,0.3);
   }

   /* ================= MODAL ================= */

   .portfolio-modal{
   position:fixed;
   inset:0;
   display:flex;
   align-items:center;
   justify-content:center;
   background:linear-gradient(
   135deg,
   rgba(255,255,255,0.95) 0%,
   rgba(245,245,245,0.95) 50%,
   rgba(255,101,34,0.15) 100%
   );
   backdrop-filter:blur(6px);
   opacity:0;
   visibility:hidden;
   transition:0.3s;
   z-index:3000;
   }

   /* ================= MODAL NUEVO ================= */

   .portfolio-modal{
   position:fixed;
   inset:0;
   display:flex;
   align-items:center;
   justify-content:center;
   background:rgba(0,0,0,0.35);
   backdrop-filter:blur(10px);
   opacity:0;
   visibility:hidden;
   transition:0.3s;
   z-index:3000;
   }

   .portfolio-modal.active{
   opacity:1;
   visibility:visible;
   }

   .modal-content{
   position:relative;
   display:flex;
   flex-direction:column;
   align-items:center;
   justify-content:center;
   gap:25px;
   animation:zoomIn 0.4s ease;
   }

   /* Imagen protagonista */
   #modalImage{
   max-width:80vw;
   max-height:75vh;
   object-fit:contain;
   border-radius:30px;
   border:5px solid #FF6522;
   box-shadow:
   0 40px 100px rgba(0,0,0,0.4),
   0 20px 60px rgba(255,101,34,0.5);
   transition:0.4s;
   transform-origin:center;
   }
   #modalImage:hover{
   transform:scale(1.05);
   }
   /* Título más fuerte */
   #modalTitle{
   padding:14px 35px;
   font-size:20px;
   font-weight:700;
   color:#fff;
   border-radius:40px;
   background:linear-gradient(
   90deg,
   #ff0000,
   #FF6522
   );
   box-shadow:
   0 15px 40px rgba(255,0,0,0.4),
   0 15px 40px rgba(255,101,34,0.4);
   }
   /* X visible */
   .close-modal{
   position:absolute;
   top:-60px;
   right:-60px;
   width:55px;
   height:55px;
   background:#FF6522;
   color:#fff;
   display:flex;
   align-items:center;
   justify-content:center;
   border-radius:50%;
   font-size:24px;
   font-weight:bold;
   cursor:pointer;
   box-shadow:0 15px 40px rgba(0,0,0,0.3);
   transition:0.3s;
   }

   .close-modal:hover{
   transform:scale(1.15) rotate(90deg);
   background:#ff4a00;
   }
   /* ================= EFECTO VISUAL CINTAS ================= */

   .portfolio-service{
   margin-top:80px;
   padding:40px;
   border-radius:30px;
   background:#fff5ef;
   border:3px solid #FF6522;
   box-shadow:0 20px 60px rgba(0,0,0,0.08);
   position:relative;
   }

   /* Glow lateral */
   .portfolio-service::before{
   content:"";
   position:absolute;
   left:-80px;
   top:-80px;
   width:200px;
   height:200px;
   background:radial-gradient(circle, rgba(255,101,34,0.25), transparent 70%);
   }
   .service-carousel:hover .carousel-track{
   animation-play-state:paused;
   }
   .portfolio-modal{
   overflow:visible;
   }
   /* ================= CARRUSEL INFINITO ================= */

   .service-carousel{
   overflow:hidden;
   position:relative;
   width:100%;
   }

   .carousel-track{
      display: flex;
      gap: 30px;
      align-items: center;
      width: max-content;
   }

   .carousel-track img{
      width: 320px;
      height: 240px;
      object-fit: cover;
      border-radius: 25px;
      border: 3px solid rgba(255,101,34,0.2);
      flex-shrink: 0;
      transition: 0.3s;
   }

   .carousel-track img:hover{
      transform: scale(1.05);
      border-color: #FF6522;
   }


   /* Pausa al pasar el mouse */
   .service-carousel:hover .carousel-track{
   animation-play-state:paused;
   }
   /* ========================= */
   /* CONTACT PAGE */
   /* ========================= */

   .contact-hero{
   height:85vh;
   min-height:500px;
   background:url('../img/hero.jpg') center/cover no-repeat;
   position:relative;
   display:flex;
   align-items:center;
   justify-content:center;
   text-align:center;
   color:#fff;
   margin-top: 0;
   }

   .contact-hero .hero-overlay{
   position:absolute;
   width:100%;
   height:100%;
   background:rgba(0,0,0,0.6);
   }

   .contact-hero .hero-content{
   position:relative;
   z-index:2;
   }

   .contact-hero h1{
   font-size:60px;
   font-weight:800;
   }

   .contact-hero h1 span{
   color:#FF6522;
   }

   .contact-hero p{
   margin-top:15px;
   font-size:18px;
   }

   .contact-section{
   padding:100px 0;
   background:#f5f5f5;
   }

   .contact-container{
   width:90%;
   max-width:1200px;
   margin:auto;
   display:grid;
   grid-template-columns:1fr 1fr;
   gap:60px;
   }

   .contact-form-box{
   background:#fff;
   padding:50px;
   border-radius:16px;
   box-shadow:0 10px 35px rgba(0,0,0,0.06);
   }

   .contact-form-box h3{
   font-size:24px;
   margin-bottom:15px;
   }

   .contact-form-box form{
   display:flex;
   flex-direction:column;
   gap:18px;
   }

   .contact-form-box input,
   .contact-form-box textarea{
   padding:14px;
   border-radius:10px;
   border:1px solid #ddd;
   font-size:14px;
   outline:none;
   }

   .contact-form-box input:focus,
   .contact-form-box textarea:focus{
   border-color:#FF6522;
   }

   .contact-form-box textarea{
   min-height:130px;
   resize:none;
   }

   .contact-form-box button{
   background:#FF6522;
   color:#fff;
   border:none;
   padding:14px;
   border-radius:10px;
   font-weight:600;
   cursor:pointer;
   }

   .contact-form-box button:hover{
   background:#e5541d;
   }

   .contact-info-box h3{
   font-size:26px;
   margin-bottom:15px;
   }

   .contact-info-box p{
   margin-bottom:30px;
   color:#555;
   }

   .contact-cards{
   display:flex;
   flex-direction:column;
   gap:18px;
   }

   .info-card{
   background:#fff;
   padding:18px;
   border-radius:14px;
   display:flex;
   align-items:center;
   gap:16px;
   text-decoration:none;
   color:#000;
   box-shadow:0 8px 25px rgba(0,0,0,0.05);
   transition:0.3s;
   }

   .info-card:hover{
   transform:translateY(-4px);
   border-left:4px solid #FF6522;
   }

   .icon{
   font-size:22px;
   color:#FF6522;
   }

   @media(max-width:900px){
   .contact-container{
   grid-template-columns:1fr;
   }
   }
   /* ========================= */
   /* HEADER / MENU PROFESIONAL */
   /* ========================= */

   .header{
   background:#fff;
   padding:20px 0;
   box-shadow:0 2px 10px rgba(0,0,0,0.05);
   font-family:'Raleway', sans-serif;
   }

   .nav-container{
   width:90%;
   max-width:1200px;
   margin:auto;
   display:flex;
   justify-content:space-between;
   align-items:center;
   }

   /* LOGO */
   .logo img{
   height:55px;
   width:auto;
   display:block;
   }

   /* MENU */
   .menu{
   list-style:none;
   margin:0;
   padding:0;
   }

   .menu li a{
   text-decoration:none;
   color:#000;
   font-weight:600;
   position:relative;
   padding-bottom:6px;
   transition:0.3s;
   }

   .menu li a::after{
   content:"";
   position:absolute;
   left:0;
   bottom:0;
   width:0%;
   height:2px;
   background:#FF6522;
   transition:0.3s;
   }

   .menu li a:hover::after,
   .menu li a.active::after{
   width:100%;
   }

   .menu li a.active{
   color:#FF6522;
   }
   /* ========================= */
   /* NAVBAR PROFESIONAL */
   /* ========================= */

   .navbar{
   display:flex;
   justify-content:space-between;
   align-items:center;
   padding:20px 8%;
   background:#fff;
   box-shadow:0 2px 10px rgba(0,0,0,0.05);
   font-family:'Raleway', sans-serif;
   }

   .nav-links{
   list-style:none;
   display:flex;
   gap:35px;
   margin:0;
   padding:0;
   }

   .menu li a,
   .menu li a:visited{
   text-decoration:none;
   color:#000;
   font-weight:600;
   position:relative;
   padding-bottom:6px;
   transition:0.3s;
   }

   /* Línea animada debajo */
   .nav-links li a::after{
   content:"";
   position:absolute;
   left:0;
   bottom:-6px;
   width:0%;
   height:3px;
   background:#FF6522;
   transition:0.3s;
   border-radius:3px;
   }

   /* Hover */
   .menu li a:hover{
   color:#ff0000;
   }
   .nav-links li a:hover::after{
   width:100%;
   }

   /* Activo */
   .menu li a.active{
   color:#ff0000;
   font-weight:700;
   }

   .nav-links li a.active::after{
   width:100%;
   }
   /* RESET GLOBAL */
   *{
      margin:0;
      padding:0;
      box-sizing:border-box;
   }
   /* SELECT Y FORMULARIO MEJORADO */

   .contact-form-box select{
   padding:14px;
   border-radius:10px;
   border:1px solid #ddd;
   font-size:14px;
   outline:none;
   background:#fff;
   }

   .contact-form-box select:focus{
   border-color:#FF6522;
   }

   /* PRIVACY BOX */

   .privacy-box{
   display:flex;
   gap:10px;
   align-items:flex-start;
   font-size:13px;
   line-height:1.6;
   color:#555;
   }

   .privacy-box input{
   margin-top:4px;
   accent-color:#FF6522;
   }

   .contact-form-box button{
   margin-top:10px;
   background:#FF6522;
   color:#fff;
   border:none;
   padding:15px;
   border-radius:10px;
   font-weight:700;
   font-size:15px;
   cursor:pointer;
   transition:0.3s;
   }

   .contact-form-box button:hover{
   background:#e5531c;
   transform:translateY(-2px);
   }
   /* MENSAJE PREMIUM */

   .message-box{
   display:flex;
   flex-direction:column;
   gap:10px;
   margin-top:10px;
   }

   .message-box label{
   font-weight:600;
   font-size:14px;
   color:#333;
   }

   .message-box textarea{
   min-height:170px;
   padding:18px;
   border-radius:14px;
   border:2px solid #eee;
   font-size:15px;
   resize:none;
   outline:none;
   transition:0.3s;
   background:#fafafa;
   }

   .message-box textarea:focus{
   border-color:#FF6522;
   background:#fff;
   box-shadow:0 5px 20px rgba(255,101,34,0.15);
   }

   .message-hint{
   font-size:12px;
   color:#777;
   line-height:1.4;
   }
   /* =========================
      CLIENTES HERO
   ========================= */

   .clientes-hero{
   height:60vh;
   background:url('../img/hero.jpg') center/cover no-repeat;
   position:relative;
   display:flex;
   align-items:center;
   justify-content:center;
   text-align:center;
   color:#fff;
   }

   .clientes-hero .hero-overlay{
   position:absolute;
   inset:0;
   background:rgba(0,0,0,0.6);
   }

   .clientes-hero .hero-content{
   position:relative;
   z-index:2;
   }

   /* =========================
      EMPRESAS CLIENTES
   ========================= */

   .clients-section{
   padding:120px 0;
   text-align:center;
   background:#fff;
   }

   .clients-section h2 span{
   color:#FF6522;
   }
   /* =========================
      TESTIMONIOS DINÁMICOS
   ========================= */
   .testimonial-card{
   background:#fff;
   padding:40px;
   border-radius:25px;
   box-shadow:0 20px 60px rgba(0,0,0,0.05);
   transition:0.3s;
   text-align:left;
   }

   .testimonial-card:hover{
   transform:translateY(-6px);
   }
   @media(max-width:900px){
   .clients-grid{
   grid-template-columns:1fr 1fr;
   }
   }
   .testimonial-card{
   background:#fff;
   padding:30px;
   border-radius:20px;
   box-shadow:0 15px 40px rgba(0,0,0,0.05);
   text-align:left;
   transition:0.3s;
   }

   .testimonial-card:hover{
   transform:translateY(-6px);
   }

   /* RESPONSIVE */
   .production-modules{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:30px;
   margin:60px 0;
   }
   /* ===== BOTONES TIPO APP (ROJO FULL) ===== */

   .module-card{
   display:inline-flex;
   align-items:center;
   justify-content:center;

   padding:14px 38px;
   border-radius:50px;

   background:#ff0000;   /* 🔥 relleno rojo */
   border:2px solid #ff0000;

   color:#fff;           /* texto blanco */
   font-weight:600;
   font-size:16px;

   cursor:pointer;
   transition:all 0.3s ease;
   }

   /* TEXTO */
   .module-card h3{
   margin:0;
   font-size:18px;
   font-weight:600;
   color:#fff;
   }

   /* HOVER */
   .module-card:hover{
   transform:translateY(-4px);
   box-shadow:0 12px 30px rgba(255,0,0,0.3);
   background:#e60000;
   }
   .module-modal{
   position:fixed;
   inset:0;
   background:rgba(0,0,0,0.6);
   display:none;
   align-items:center;
   justify-content:center;
   z-index:5000;
   }

.module-content{
background:#fff;
display:flex;
gap:40px;
padding:50px;
border-radius:20px;
max-width:900px;
width:90%;
box-shadow:0 25px 70px rgba(0,0,0,0.2);
animation:zoomModal .3s ease;
position:relative;

/* 🔥 CLAVE */
align-items:center;
justify-content:center;
flex-wrap:wrap;
}

/* IMAGEN */
.module-content img{
width:320px;
height:240px;
object-fit:cover;
border-radius:15px;
flex-shrink:0;
}

/* TEXTO */
.module-text{
max-width:400px;
flex:1;
}

.module-text h2{
font-size:28px;
margin-bottom:15px;
}

.module-text p{
font-size:16px;
line-height:1.6;
color:#444;
}
.close-module{
position:absolute;
top:15px;
right:15px;

width:40px;
height:40px;

background:#ff0000;
color:#fff;

display:flex;
align-items:center;
justify-content:center;

border-radius:50%;
font-size:20px;
cursor:pointer;

z-index:10;
}
   /* TITULOS SERVICIOS */
   .service-title{
   font-size:28px;
   font-weight:800;
   margin-bottom:25px;
   }

   .title-red{
   color:#ff0000;
   }

   .service-title .title-red{
   color:#ff0000;
   font-size:38px;
   font-weight:800;
   display:block;
   }

   .service-title .title-black{
   color:#111;
   font-size:34px;
   font-weight:500;
   display:block;
   }


   /* MODULOS PRODUCCION */

   .production-modules{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:25px;
   margin-top:40px;
   }
   /* MODAL PRODUCCION */

   .module-modal{
   position:fixed;
   inset:0;
   background:rgba(0,0,0,0.45);
   backdrop-filter:blur(8px);
   display:none;
   align-items:center;
   justify-content:center;
   z-index:9999;
   }
   @keyframes zoomModal{
   from{
   transform:scale(0.8);
   opacity:0;
   }
   to{
   transform:scale(1);
   opacity:1;
   }
   }
   /* MODULOS PRODUCCION NUEVOS */

   .production-modules{
   display:grid;
   grid-template-columns:repeat(3,1fr);
   gap:20px;
   margin-top:40px;
   }

   /* DISEÑO */

   .module-text{
   max-width:450px;
   }

   .module-text h2{
   font-size:30px;
   margin-bottom:15px;
   }

   .module-text p{
   font-size:17px;
   line-height:1.7;
   color:#444;
   }
   /* SOLO LINEA DE PRODUCCION */

   .service-box:first-child .service-image{
   flex:1.5;
   }

   .service-box:first-child .service-image img{
   height:720px;
   max-width:none;
   }
   .service-box:first-child .service-text{
   flex:0.8;
   } 
   /* AJUSTE SOLO PARA LINEA DE PRODUCCION */

   .services-section .service-box:first-child{
   max-width:1250px;
   margin-left:auto;
   margin-right:auto;
   }
   /* LINEA DE PRODUCCION - agrandar cuadro imagen */

   .service-box:first-child .service-image{
   flex:2.2;
   }

   .service-box:first-child .service-text{
   flex:0.9;
   }
   .clients-sectors{
   padding:120px 0;
   background:#fff;
   text-align:center;
   }

   .sectors-grid{
   width:90%;
   max-width:1200px;
   margin:60px auto;
   display:grid;
   grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
   gap:40px;
   }

   .sector-card{
   background:#fff;
   padding:50px;
   border-radius:25px;
   border:3px solid #FF6522;
   box-shadow:0 20px 60px rgba(0,0,0,0.06);
   transition:0.4s;
   }

   .sector-card:hover{
   transform:translateY(-10px);
   }

   .sector-card h3{
   font-size:26px;
   margin-bottom:15px;
   }

   .sector-card p{
   color:#555;
   line-height:1.7;
   margin-bottom:20px;
   }

   .sector-btn{
   display:inline-block;
   padding:12px 25px;
   background:#ff0000;
   color:#fff;
   border-radius:30px;
   text-decoration:none;
   font-weight:600;
   transition:0.3s;
   }

   .sector-btn:hover{
   background:#c70000;
   transform:translateY(-2px);
   }

   .testimonios-section{
   padding:120px 0;
   background:#f5f5f5;
   text-align:center;
   }

   .testimonios-grid{
   width:90%;
   max-width:1100px;
   margin:70px auto;
   display:grid;
   grid-template-columns:repeat(2,1fr);
   gap:50px;
   }

   /* TESTIMONIO */

   .testimonio-card{
   position:relative;
   padding:30px 40px;
   text-align:left;
   }

   /* COMILLAS */

   .testimonio-card::before{
   content:"“";
   position:absolute;
   left:-10px;
   top:-20px;
   font-size:80px;
   color:#FF6522;
   font-weight:800;
   opacity:0.2;
   }

   /* TEXTO */

   .testimonio-card p{
   font-size:17px;
   line-height:1.7;
   margin-bottom:15px;
   color:#444;
   }

   /* AUTOR */

   .testimonio-card strong{
   color:#FF6522;
   font-weight:700;
   }

   /* LINEA DECORATIVA */

   .testimonio-card::after{
   content:"";
   display:block;
   width:40px;
   height:3px;
   background:#FF6522;
   margin-top:12px;
   border-radius:3px;
   }
   @media(max-width:900px){

   .sectors-grid{
   grid-template-columns:1fr;
   }

   .testimonios-grid{
   grid-template-columns:1fr;
   }

   }
   .page-hero-content{
   position:absolute;
   left:5%;
   top:50%;
   transform:translateY(-50%);
   max-width:650px;
   color:#fff;
   text-align:left;
   }

   .page-hero-title{
   font-size:70px;
   font-weight:800;
   margin-bottom:15px;
   color: #fff
   }

   .page-hero-sub{
   font-size:22px;
   font-style:italic;
   line-height:1.6;
   max-width:600px;
   }
   .material-img{
   display:flex;
   justify-content:center;
   align-items:center;
   }

   .material-img img{
   max-width:420px;
   width:100%;
   height:auto;
   object-fit:contain;
   border-radius:10px;
   }
   .project-card img{
   width:100%;
   height:200px;
   object-fit:cover;
   }

   .project-card h3{
   margin:15px 0;
   }

   .project-card button{
   background:#FF6522;
   color:#fff;
   border:none;
   padding:10px 20px;
   border-radius:30px;
   cursor:pointer;
   }
   .recent-post{
   display:flex;
   gap:10px;
   margin-bottom:15px;
   }

   .recent-post img{
   width:60px;
   height:60px;
   object-fit:cover;
   border-radius:6px;
   }

   .project-modal{
   position:fixed;
   inset:0;
   background:rgba(0,0,0,0.7);
   display:none;
   align-items:center;
   justify-content:center;
   z-index:5000;
   }
   .close-modal{
   position:absolute;
   top:20px;
   right:40px;
   font-size:30px;
   cursor:pointer;
   }
   /* ===== TITULOS UNIFICADOS (COMO QUIENES SOMOS) ===== */

   .service-title{
   line-height:1.1;
   margin-bottom:25px;
   }

   .service-title .title-red{
   display:block;
   font-size:48px;
   font-weight:800;
   color:#ff0000 !important;
   }

   .service-title .title-black{
   display:block;
   font-size:34px;
   font-weight:400;
   color:#111 !important;
   }

   /* LINEA NARANJA DEBAJO */
   .service-title::after{
   content:"";
   display:block;
   width:60px;
   height:4px;
   background:#FF6522;
   margin-top:12px;
   border-radius:3px;
   }
   .kualis-school-title{
   margin-bottom:25px;
   }

   .kualis-school-title img{
   height:80px;   /* ajusta si quieres */
   width:auto;
   display:block;
   }
   body{
   font-family:'Raleway', sans-serif;
   background:#f5f5f5;
   margin:0;
   overflow-x:hidden;
   }
   /* ================= BLOG NUEVO ================= */

   .sidebar-box{
   background:#fff;
   padding:20px;
   border-radius:10px;
   box-shadow:0 10px 30px rgba(0,0,0,0.05);
   }

   .sidebar-box input{
   width:100%;
   padding:10px;
   border-radius:8px;
   border:1px solid #ddd;
   }
   .sidebar-box h4{
   margin-bottom:20px;
   font-size:16px;
   font-weight:700;
   color:#222;
   }

   .recent-item{
   display:flex;
   gap:10px;
   align-items:center;
   margin-bottom:10px;
   }

   .recent-item img{
   width:60px;
   height:60px;
   object-fit:cover;
   border-radius:8px;
   }

   /* ================= BLOG LAYOUT ================= */

   .blog-wrapper{
   display:grid;
   grid-template-columns:1.5fr 1fr;
   gap:60px;
   max-width:1200px;
   margin:60px auto;
   padding:0 20px;
   align-items:start;
   }

   /* ================= CARD VERTICAL ================= */
   .blog-posts{
   display:flex;
   flex-direction:column;
   align-items:flex-start; /* 👈 IMPORTANTE */
   gap:30px;
   }

   .blog-card{
   width:100%;
   max-width:550px; /* 👈 ESTO ES LO QUE LA HACE MÁS PEQUEÑA */
   background:#fff;
   border-radius:18px;
   overflow:hidden;
   border:1px solid #eee;
   cursor:pointer;
   transition:0.3s;
   text-align:left;
   box-shadow:0 10px 30px rgba(0,0,0,0.05);
   }

   .blog-card:hover{
   transform:translateY(-6px);
   border-color:red;
   }

   .blog-card img{
   width:100%;
   height:220px;
   object-fit:cover;
   }

   .blog-card-content{
   padding:20px;
   }

   .blog-card h3{
   font-size:20px;
   font-weight:700;
   margin-bottom:8px;
   line-height:1.3;
   color:#222;
   }

   .blog-card p{
   font-size:14px;
   color:#666;
   line-height:1.6;
   margin-bottom:20px;
   max-width:90%;
   }

   .blog-card span{
   display:inline-block;
   margin-left:auto;
   background:#ff0000;
   color:#fff;
   padding:8px 16px;
   font-size:13px;
   font-weight:600;
   border-radius:20px 5px 20px 5px; /* 👈 forma diseño */
   transition:0.3s;
   }

   .blog-card span:hover{
   background:#d90000;
   transform:translateX(3px);
   }
   .blog-card-content{
   display:flex;
   flex-direction:column;
   }
   /* ================= SIDEBAR ================= */

   .blog-sidebar{
   display:flex;
   flex-direction:column;
   gap:20px;
   }

   .sidebar-box{
   background:#fff;
   padding:20px;
   border-radius:12px;
   }

   .sidebar-box input{
   width:100%;
   padding:10px;
   border-radius:8px;
   border:1px solid #ddd;
   }

   .recent-item{
   display:flex;
   gap:10px;
   align-items:center;
   }

   .recent-item img{
   width:60px;
   height:60px;
   object-fit:cover;
   border-radius:8px;
   }
   .blog-meta p{
   font-size:13px;
   color:#777;
   margin:3px 0;
   }

   .blog-btn{
   display:inline-block;
   margin-top:15px;
   align-self:flex-end;
   background:#ff0000;
   color:#fff;
   padding:10px 18px;
   border-radius:20px 5px 20px 5px;
   text-decoration:none;
   font-size:13px;
   font-weight:600;
   transition:0.3s;
   }

   .blog-btn:hover{
   background:#d90000;
   transform:translateX(3px);
   }
   .post-page{
   padding:60px 20px;
   background:#f5f5f5;
   }

   .post-container{
   max-width:900px;
   margin:auto;
   background:#fff;
   padding:50px;
   border-radius:15px;
   box-shadow:0 20px 60px rgba(0,0,0,0.08);
   }

   .post-container h1{
   font-size:36px;
   margin-bottom:10px;
   }

   .post-meta{
   color:#777;
   font-size:14px;
   margin-bottom:25px;
   }

   .post-container p{
   line-height:1.8;
   color:#444;
   margin-bottom:20px;
   }

   .post-container h2{
   margin-top:40px;
   font-size:22px;
   }

   .post-img{
   width:100%;
   border-radius:12px;
   margin:30px 0;
   }
   .post-quote{
   max-width:620px; /* 🔥 más largo */
   margin:80px auto; /* más espacio arriba y abajo */

   text-align:left;
   font-style:italic;
   color:#666; /* 🔥 más oscuro */

   font-size:16px; /* 🔥 más grande */
   line-height:1.9;

   padding:30px 0; /* 🔥 separa texto de las líneas */
   position:relative;
   }

   /* líneas */
   .post-quote::before,
   .post-quote::after{
   content:"";
   display:block;
   width:100%;
   height:1.5px; /* 🔥 más gruesa */
   background:#999; /* 🔥 más oscura */
   }

   .post-quote::before{
   margin-bottom:30px; /* 🔥 más espacio */
   }

   .post-quote::after{
   margin-top:30px; /* 🔥 más espacio */
   }

   .post-gallery{
   display:grid;
   grid-template-columns:1fr 1fr;
   gap:15px;
   margin:30px 0;
   }

   .post-gallery img{
   width:100%;
   border-radius:10px;
   }

   .authors{
   font-weight:600;
   }

   .volver-btn{
   display:inline-block;
   margin-bottom:30px;
   color:#ff0000;
   font-weight:600;
   text-decoration:none;
   }
   /* ========================= */
   /* HERO SOLO CONTACTO */
   /* ========================= */

   .contact-hero .hero-bg{
   width:100%;
   height:100%;
   object-fit:cover;
   filter:none;

   /* 🔥 CLAVE */
   object-position:center 10%; 
   }

   .contact-hero .hero-overlay{
   background:rgba(0,0,0,0.1); /* 🔥 casi invisible */
   }

   /* TEXTO PARA FONDO CLARO */
   .contact-hero .page-hero-sub{
   color:#222;
   background:rgba(255,255,255,0.75);
   padding:15px 20px;
   border-radius:10px;
   display:inline-block;
   font-weight:600;
   }

   /* POSICIÓN DEL TEXTO */
   .contact-hero .page-hero-content{
   left:8%;
   top:80%;
   transform:translateY(-50%);
   }
   /* ========================= */
   /* SOLO PRODUCCION (AISLADO) */
   /* ========================= */

   .produccion-image{
   display:flex;
   justify-content:center;
   align-items:flex-start;
   }

   /* imagen SOLO de producción */
   .produccion-image img{
   width:130%;
   max-width:750px;   /* 🔥 tamaño grande */
   height:auto;
   object-fit:cover;
   display:block;
   }
   /* NUEVO CONTACTO PERSONALIZADO */

   .contact-info-custom h2{
   margin-bottom:15px;
   }

   .contact-text{
   margin-bottom:30px;
   color:#555;
   font-size:16px;
   line-height:1.7;
   }

   /* Ajuste del grid */
   .contact-container{
   align-items:flex-start;
   }

   /* Para que se vea más limpio */
   .contact-info-custom{
   display:flex;
   flex-direction:column;
   justify-content:flex-start;
   }
   /* AJUSTES NUEVOS CONTACTO */

   .contact-info-custom{
   display:flex;
   flex-direction:column;
   gap:18px;
   }

   /* cuadro grande del título */
   .big-card{
   padding:30px !important;
   display:block !important;
   }

   /* texto dentro del cuadro */
   .contact-text{
   margin:0;
   font-size:16px;
   line-height:1.7;
   color:#555;
   }

   /* que no se vea raro el título dentro del cuadro */
   .big-card .title-kualis{
   margin:0;
   }
   /* CUADRO IZQUIERDO COMPLETO */
   .contact-main-card{
   background:#fff;
   padding:35px;
   border-radius:20px;
   box-shadow:0 10px 25px rgba(0,0,0,0.08);
   display:flex;
   flex-direction:column;
   gap:20px;
   }

   /* frase mejor organizada */
   .contact-text{
   font-size:16px;
   line-height:1.7;
   color:#555;
   margin-top:10px;
   }

   /* contenedor de items */
   .contact-items{
   display:flex;
   flex-direction:column;
   gap:15px;
   margin-top:10px;
   }

   /* cada fila */
   .info-row{
   display:flex;
   align-items:center;
   gap:15px;
   background:#f7f7f7;
   padding:15px 18px;
   border-radius:12px;
   transition:0.3s;
   }

   /* hover elegante */
   .info-row:hover{
   background:#fff;
   transform:translateY(-2px);
   box-shadow:0 8px 18px rgba(0,0,0,0.08);
   }

   /* iconos */
   .contact-icon{
   width:28px;
   }
   .info-row{
   text-decoration: none;
   color: inherit;
   }


   /* LINKEDIN ICON PRO */

   .linkedin-icon{
   display:inline-flex;
   align-items:center;
   justify-content:center;
   width:40px;
   height:40px;
   border:1px solid rgba(255,255,255,0.3);
   border-radius:50%;
   color:#fff;
   font-size:18px;
   margin-top:20px;
   transition:0.3s;
   }

   .linkedin-icon:hover{
   background:#fff;
   color:#E10600; /* rojo de tu marca */
   transform:scale(1.1);
   }
   .footer a{
   text-decoration:none;
   }
   /* ========================= */
   /* MENU MOBILE PROFESIONAL */
   /* ========================= */

   /* oculto en PC */
   .menu-toggle{
   display:none;
   }

   /* ========================= */
   /* MOBILE */
   /* ========================= */

   @media(max-width:900px){

   /* BOTÓN HAMBURGUESA */
   .menu-toggle{
   display:block;
   font-size:26px;
   cursor:pointer;
   z-index:1001;
   }

   /* MENÚ */
   .menu{
   position:absolute;
   top:80px;
   left:50%;
   transform:translateX(-50%);

   width:92%;
   max-width:360px;

   background:#fff;
   border-radius:20px;

   display:flex;
   flex-direction:column;
   align-items:center;
   gap:20px;

   padding:30px 20px;

   box-shadow:0 25px 70px rgba(0,0,0,0.18);

   /* animación */
   opacity:0;
   transform:translate(-50%, -20px);
   pointer-events:none;
   transition:0.3s ease;
   }

   .menu.active{
   opacity:1;
   transform:translate(-50%, 0);
   pointer-events:auto;
   }

   /* ITEMS */
   .menu li{
   list-style:none;
   }
   }
   /* ========================= */
   /* HERO AJUSTE (SUAVE, NO TAN OSCURO) */
   /* ========================= */

   /* MOBILE */
   @media(max-width:900px){

   .hero{
   height:85vh;
   }

   /* un poquito más oscuro en móvil para legibilidad */
   .hero-slogan{
   width:260px;
   }

   .hero-text{
   font-size:16px;
   }

   }


   /* ========================= */
   /* FOOTER MOBILE (ORDENADO) */
   /* ========================= */

   @media(max-width:900px){
   .footer-container{
   grid-template-columns:1fr;
   text-align:center;
   }
   }

   @media(max-width:900px){

   .hero-content{
   left:20px;
   right:20px;
   top:50%;
   transform:translateY(-50%);
   }

   .hero h1{
   font-size:42px;
   }

   .hero-text{
   font-size:16px;
   }

   }
   .hero-bg{
   filter:brightness(0.55);
   }

   .hero-overlay{
   background:rgba(0,0,0,0.4);
   }
   @media(max-width:900px){

   .hero-bg{
      filter:brightness(0.6) !important;
   }

   .hero-overlay{
      background:rgba(0,0,0,0.25) !important;
   }

   }
   @media(max-width:900px){

   .footer-container{
   grid-template-columns:1fr !important;
   text-align:center !important;
   }

   .footer-col{
   align-items:center;
   }

   .footer-contact .contact-item{
   justify-content:center;
   }

   }


   /* ========================= */
/* MOBILE SOLUCIONES (LIMPIO) */
/* ========================= */

/* BOTÓN MENU */
.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media(max-width:900px){

/* ===== HEADER ===== */
.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
}

/* BOTÓN ☰ */
.menu-toggle{
display:block;
font-size:34px;
cursor:pointer;
z-index:10001;
}

/* LOGO A LA DERECHA */
.logo{
margin-left:auto;
}

/* ========================= */
/* MENU */
/* ========================= */

/* oculto por defecto */
.menu{
position:fixed;
top:80px;
left:50%;
transform:translateX(-50%) scale(0.9);

width:85%;
max-width:320px;

background:#fff;
border-radius:20px;
padding:30px 20px;

display:flex;
flex-direction:column;
align-items:center;
gap:20px;

box-shadow:0 20px 60px rgba(0,0,0,0.15);

opacity:0;
visibility:hidden;
transition:0.3s;
z-index:9999;
}

/* activo */
.menu.active{
opacity:1;
visibility:visible;
transform:translateX(-50%) scale(1);
}

/* items */
.menu li{
list-style:none;
text-align:center;
}

.menu li a{
font-size:18px;
font-weight:600;
}

/* ========================= */
/* SECCIONES */
/* ========================= */

.service-box{
flex-direction:column !important;
gap:25px;
padding:30px 20px;
}

.service-box .service-text{
order:1;
width:100%;
}

.service-box .service-image,
.service-box .produccion-image{
order:2;
width:100%;
display:flex;
justify-content:center;
}

.service-image img,
.produccion-image img{
width:100%;
height:auto;
border-radius:12px;
}

/* ========================= */
/* BOTONES */
/* ========================= */

.production-modules{
display:flex;
flex-direction:column;
gap:15px;
margin-top:25px;
}

.module-card{
width:100%;
text-align:center;
padding:14px;
border-radius:40px;
background:#ff0000;
color:#fff;
font-weight:600;
}

/* ========================= */
/* MODAL */
/* ========================= */

.module-modal{
position:fixed;
inset:0;
background:rgba(0,0,0,0.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}

/* contenido */
.module-content{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
gap:20px;
padding:30px;
background:#fff;
border-radius:20px;
width:90%;
max-width:350px;
position:relative;
}

/* texto */
.module-text{
width:100%;
}
@media(max-width:900px){

.module-content{
margin:0 auto;
left:0;
right:0;
}
}
}
@media(max-width:900px){

.module-content{
flex-direction:column;
text-align:center;
padding:30px 20px;
}

.module-content img{
width:100%;
height:auto;
}

.module-text{
max-width:100%;
}

}



/* ========================= */
/* MENU MOBILE FINAL LIMPIO */
/* ========================= */

/* BOTON MENU */
.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
position:relative;
z-index:10001;
}

/* OVERLAY */
.menu-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
opacity:0;
visibility:hidden;
transition:0.3s;
z-index:9998;
}

.menu-overlay.active{
opacity:1;
visibility:visible;
}

/* ========================= */
/* SOLO MOVIL */
/* ========================= */

@media(max-width:900px){

/* MOSTRAR BOTON */
.menu-toggle{
display:block;
}

/* MENU LATERAL */
.menu{
position:fixed;
top:0;
left:-100%;
width:75%;
max-width:300px;
height:100vh;

background:#fff;

display:flex;
flex-direction:column;
align-items:flex-start;

padding:90px 25px;
gap:25px;

transition:0.3s;
z-index:9999;

overflow-y:auto;
}

/* CUANDO ABRE */
.menu.active{
left:0;
}

/* LINKS */
.menu li{
width:100%;
}

.menu li a{
display:block;
width:100%;
font-size:20px;
}

}
/* FIX DEFINITIVO MENU MOBILE */
@media(max-width:900px){

.menu{
display:flex;
flex-direction:column !important;
position:fixed !important;
top:0;
left:-100%;
width:75%;
max-width:300px;
height:100vh;

background:#fff;
padding:90px 25px;
gap:35px;

z-index:9999;
transition:0.3s;
}

.menu.active{
left:0 !important;
}

}
