*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#f7f7f7;
  color:#101010;
  font-family:'Montserrat','Poppins','Segoe UI',Arial,sans-serif;
}
a{text-decoration:none;color:inherit}

.site-header{
  background:rgba(0,0,0,.96);
  min-height:92px;
  display:flex;
  align-items:center;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 18px rgba(0,0,0,.16);
}
.header-inner{
  width:100%;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:28px;
}
.logo{
  display:block;
  margin-right:auto;
  flex:0 0 auto;
}
.logo img{
  display:block;
  width:190px;
  height:auto;
  max-height:72px;
  object-fit:contain;
  border:2px solid #c17b28;
  background:#000;
}
.logo span{
  font-size:30px;
  color:#d79235;
  font-weight:700;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:31px;
  margin-left:auto;
}
.main-nav a{
  color:#d99635;
  font-weight:700;
  font-size:15px;
  letter-spacing:.01em;
  white-space:nowrap;
}
.main-nav a:hover{color:#fff}
.social{
  display:flex;
  gap:22px;
  align-items:center;
  margin-left:18px;
}
.social a,.footer-social a{
  color:#d99635;
  font-weight:800;
  font-size:16px;
}
.mobile-toggle{
  display:none;
  background:transparent;
  color:#d99635;
  border:0;
  font-size:28px;
}

/* HERO / partículas */
.hero{
  height:620px;
  background:#f7f7f7;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-text{
  width:90%;
  max-width:920px;
  text-align:center;
  position:relative;
  z-index:3;
  margin-top:-20px;
}
.hero-text p{
  font-size:27px;
  line-height:1.46;
  font-weight:500;
  letter-spacing:.01em;
  margin:0;
  color:#111;
}
.shape{
  position:absolute;
  opacity:.32;
  background:#edf0f3;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  animation:drFloat 9s ease-in-out infinite alternate;
}
.shape-a{width:360px;height:300px;right:70px;top:70px}
.shape-b{width:290px;height:240px;left:-125px;bottom:90px;animation-delay:1.2s}
.shape-c{width:420px;height:330px;right:360px;bottom:-70px;animation-delay:.5s}
.shape-d{width:155px;height:132px;left:38%;top:8px;opacity:.22;animation-delay:2s}
.shape-e{width:240px;height:190px;right:-75px;top:190px;opacity:.26;animation-delay:1.6s}
.shape-f{width:180px;height:145px;right:210px;bottom:92px;opacity:.20;animation-delay:2.4s}
@keyframes drFloat{
  from{transform:translate3d(0,0,0) rotate(0deg)}
  to{transform:translate3d(18px,-14px,0) rotate(2deg)}
}
.slider-dots,.top-dashes{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:34px;
  display:flex;
  gap:18px;
  align-items:center;
}
.slider-dots span,.top-dashes span,.section-title span{
  display:block;
  width:30px;
  height:4px;
  background:#969696;
}
.slider-dots .active,.top-dashes .active,.section-title span{background:#ef963f}

/* CARDS */
.cards-section{
  position:relative;
  padding:64px 0 118px;
  background:#f7f7f7;
}
.top-dashes{
  position:relative;
  bottom:auto;
  margin:0 auto 54px;
  justify-content:center;
}
.cards-grid{
  width:90%;
  max-width:1130px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:30px;
  align-items:stretch;
}
.info-card{
  grid-column:span 2;
  min-height:405px;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
  padding:44px 42px 78px;
  text-align:center;
  position:relative;
  border:1px solid #efefef;
  transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease;
}
.info-card:nth-child(4){grid-column:2 / span 2}
.info-card:nth-child(5){grid-column:4 / span 2}
.info-card:before{
  content:'';
  position:absolute;
  left:-8px;
  top:-8px;
  width:160px;
  height:8px;
  background:#ef963f;
}
.info-card:after{
  content:'';
  position:absolute;
  left:-8px;
  top:-8px;
  width:8px;
  height:170px;
  background:#ef963f;
}
.info-card:hover,
.info-card.is-active:hover{
  background:#e59342;
  color:#fff;
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}
.info-card.is-active{
  background:#fff;
  color:#101010;
}
.info-card.is-active:before,
.info-card.is-active:after{display:block}
.info-card:hover:before,
.info-card:hover:after{display:none}
.info-card:hover p,
.info-card:hover h2,
.info-card:hover .card-icon{color:#fff}
.card-icon{
  font-size:44px;
  color:#ef963f;
  line-height:1;
  margin-bottom:26px;
}
.info-card h2{
  font-size:25px;
  line-height:1.1;
  margin:0 0 26px;
  color:#27303c;
  font-weight:900;
}
.info-card p{
  font-size:16px;
  line-height:1.48;
  margin:0;
  color:#111;
  font-weight:500;
}
.circle-arrow{
  position:absolute;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  width:28px;
  height:28px;
  border:2px solid currentColor;
  border-radius:50%;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* FORMATOS */
.formats-section{
  background:#f7f7f7;
  padding:86px 0 115px;
  text-align:center;
}
.section-title{
  text-align:center;
  margin-bottom:74px;
}
.section-title span{
  margin:0 auto 24px;
  width:48px;
}
.section-title h2{
  font-size:46px;
  letter-spacing:.01em;
  color:#26303d;
  margin:0;
  font-weight:900;
}
.formats-grid{
  width:90%;
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:52px;
}
.format-card{text-align:center}
.format-icon{
  font-size:48px;
  color:#ef963f;
  margin-bottom:24px;
  height:54px;
}
.format-card h3{
  font-size:24px;
  line-height:1.15;
  margin:0 0 28px;
  color:#28303b;
  font-weight:900;
  text-transform:uppercase;
}
.format-card p{
  font-size:17px;
  line-height:1.55;
  margin:0;
  color:#161616;
}

/* SLIDERS */
.gallery-section{
  background:#f7f7f7;
  padding:54px 0 100px;
  overflow:hidden;
}
.dr-slider{
  width:90%;
  max-width:1180px;
  margin:0 auto;
  overflow:hidden;
  position:relative;
  padding:4px 0;
}
.dr-slider-track{
  display:flex;
  gap:28px;
  align-items:center;
  will-change:transform;
  transition:transform .45s ease;
}
.logo-tile{
  flex:0 0 210px;
  height:132px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.035);
  overflow:hidden;
  padding:16px;
}
.partner-tile{
  flex-basis:210px;
  height:150px;
}
.logo-tile img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.logo-tile strong{
  text-align:center;
  text-transform:uppercase;
  color:#2a303b;
  font-size:18px;
  letter-spacing:.02em;
}
.carousel-arrows{
  margin:48px auto 0;
  text-align:center;
  display:flex;
  gap:18px;
  justify-content:center;
}
.carousel-arrows button{
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  background:#e2e3e5;
  color:#999;
  font-size:26px;
  line-height:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.carousel-arrows button:hover{
  background:#ef963f;
  color:#fff;
}

.contact-section{
  padding:40px 0 30px;
  background:#f7f7f7;
}
.contact-box{
  width:90%;
  max-width:850px;
  margin:0 auto;
  text-align:center;
}
.contact-box h2{
  font-size:30px;
  color:#26303d;
  margin:0 0 14px;
}
.contact-box p{
  font-size:17px;
  line-height:1.6;
}
.footer{
  text-align:center;
  padding:36px 20px 58px;
  background:#f7f7f7;
  font-weight:800;
}
.footer p{margin:7px 0}
.footer a{color:#ef963f}
.footer-social{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}
.scroll-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:52px;
  height:52px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 6px 20px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ef963f;
  font-size:26px;
  z-index:50;
}

/* RESPONSIVE */
@media(max-width:1100px){
  .main-nav{gap:20px}
  .social{gap:14px}
  .cards-grid{grid-template-columns:1fr 1fr}
  .info-card,
  .info-card:nth-child(4),
  .info-card:nth-child(5){grid-column:auto}
}
@media(max-width:900px){
  .site-header{height:auto}
  .header-inner{padding:16px 18px;flex-wrap:wrap}
  .mobile-toggle{display:block;margin-left:auto}
  .main-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
    padding:18px 0;
    order:3;
  }
  .main-nav.is-open{display:flex}
  .social{margin-left:0;margin-top:8px}
  .hero{height:430px}
  .hero-text p{font-size:22px}
  .cards-grid{grid-template-columns:1fr;gap:24px}
  .formats-grid{grid-template-columns:repeat(2,1fr);gap:36px}
  .section-title h2{font-size:38px}
  .logo-tile{flex-basis:185px}
}
@media(max-width:620px){
  .logo img{max-width:160px}
  .hero{height:390px}
  .hero-text p{font-size:20px}
  .formats-grid{grid-template-columns:1fr}
  .info-card{min-height:auto;padding-bottom:80px}
  .social{gap:14px}
  .main-nav a{font-size:16px}
}

/* MTG/DR FIX: partículas móviles tipo web original */
.hero-particles{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:1;
  pointer-events:none;
}

.hero-particles .hp{
  position:absolute;
  display:block;
  background:#edf0f3;
  opacity:.32;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  transform:translate3d(0,0,0);
  will-change:transform;
  animation:drParticleFloat 8s ease-in-out infinite alternate;
}

.hp-1{width:360px;height:300px;right:70px;top:70px;animation-duration:10s}
.hp-2{width:290px;height:240px;left:-125px;bottom:90px;animation-duration:12s;animation-delay:1.2s}
.hp-3{width:420px;height:330px;right:360px;bottom:-70px;animation-duration:11s;animation-delay:.5s}
.hp-4{width:155px;height:132px;left:38%;top:8px;opacity:.22;animation-duration:9s;animation-delay:2s}
.hp-5{width:240px;height:190px;right:-75px;top:190px;opacity:.26;animation-duration:13s;animation-delay:1.6s}
.hp-6{width:180px;height:145px;right:210px;bottom:92px;opacity:.20;animation-duration:10s;animation-delay:2.4s}
.hp-7{width:120px;height:100px;left:58%;bottom:75px;opacity:.18;animation-duration:8s;animation-delay:1.1s}
.hp-8{width:95px;height:80px;right:16%;bottom:150px;opacity:.16;animation-duration:9.5s;animation-delay:2.8s}

@keyframes drParticleFloat{
  0%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(12px,-18px,0) rotate(1.8deg)}
  100%{transform:translate3d(-10px,14px,0) rotate(-1.5deg)}
}

/* Ocultamos shapes viejas si quedaron de una versión anterior */
.hero > .shape{
  display:none;
}

/* DR FORCE PARTICLES VISIBLE */
.hero{
  position:relative;
  overflow:hidden;
}

.hero-particles{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:1;
  pointer-events:none;
}

.hero-particles .hp{
  position:absolute;
  display:block;
  background:#e9ecef;
  opacity:.42;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  will-change:transform;
  animation-name:drHexMoveForce;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
  animation-direction:alternate;
}

.hp-1{width:380px;height:315px;right:70px;top:70px;animation-duration:6s}
.hp-2{width:300px;height:250px;left:-110px;bottom:80px;animation-duration:7s;animation-delay:.4s}
.hp-3{width:420px;height:330px;right:360px;bottom:-80px;animation-duration:8s;animation-delay:.8s}
.hp-4{width:160px;height:135px;left:40%;top:12px;opacity:.28;animation-duration:5.5s;animation-delay:1s}
.hp-5{width:245px;height:195px;right:-70px;top:200px;opacity:.32;animation-duration:7.5s;animation-delay:.6s}
.hp-6{width:190px;height:150px;right:220px;bottom:95px;opacity:.25;animation-duration:6.5s;animation-delay:1.2s}
.hp-7{width:130px;height:105px;left:60%;bottom:80px;opacity:.22;animation-duration:5s;animation-delay:.2s}
.hp-8{width:105px;height:85px;right:16%;bottom:155px;opacity:.20;animation-duration:6s;animation-delay:1.5s}
.hp-9{width:230px;height:185px;left:22%;top:110px;opacity:.18;animation-duration:8.2s;animation-delay:1.8s}
.hp-10{width:145px;height:120px;right:6%;bottom:40px;opacity:.18;animation-duration:5.8s;animation-delay:.9s}

@keyframes drHexMoveForce{
  0%{
    transform:translate3d(0,0,0) rotate(0deg) scale(1);
  }
  50%{
    transform:translate3d(26px,-22px,0) rotate(4deg) scale(1.025);
  }
  100%{
    transform:translate3d(-22px,26px,0) rotate(-3deg) scale(.985);
  }
}

.hero-text{
  position:relative;
  z-index:3;
}

/* Apaga shapes viejas si quedaron */
.hero > .shape{
  display:none !important;
}

/* DR FIX: partículas más rápidas como la web original */
.hero-particles .hp{
  animation-duration:3.8s !important;
}

.hp-1{animation-duration:4.2s !important}
.hp-2{animation-duration:4.8s !important}
.hp-3{animation-duration:5.2s !important}
.hp-4{animation-duration:3.5s !important}
.hp-5{animation-duration:4.6s !important}
.hp-6{animation-duration:4.1s !important}
.hp-7{animation-duration:3.3s !important}
.hp-8{animation-duration:3.7s !important}
.hp-9{animation-duration:5s !important}
.hp-10{animation-duration:3.9s !important}

@keyframes drHexMoveForce{
  0%{
    transform:translate3d(0,0,0) rotate(0deg) scale(1);
  }
  35%{
    transform:translate3d(34px,-28px,0) rotate(5deg) scale(1.035);
  }
  70%{
    transform:translate3d(-28px,22px,0) rotate(-4deg) scale(.985);
  }
  100%{
    transform:translate3d(18px,30px,0) rotate(3deg) scale(1.015);
  }
}

/* DR FIX FINAL: partículas tipo motor, cruzándose y rebotando */
.hero-particles{
  position:absolute !important;
  inset:0 !important;
  overflow:hidden !important;
  z-index:1 !important;
  pointer-events:none !important;
}

.hero-particles .hp{
  position:absolute !important;
  display:block !important;
  background:#eceff1 !important;
  opacity:.34 !important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%) !important;
  animation:none !important;
  will-change:transform,left,top !important;
  transition:none !important;
}

.hp-1{width:390px;height:315px}
.hp-2{width:310px;height:250px}
.hp-3{width:430px;height:335px}
.hp-4{width:165px;height:135px;opacity:.24 !important}
.hp-5{width:250px;height:195px;opacity:.28 !important}
.hp-6{width:190px;height:150px;opacity:.23 !important}
.hp-7{width:135px;height:110px;opacity:.22 !important}
.hp-8{width:110px;height:90px;opacity:.18 !important}
.hp-9{width:230px;height:185px;opacity:.18 !important}
.hp-10{width:150px;height:120px;opacity:.17 !important}

.hero-text{
  position:relative !important;
  z-index:3 !important;
}

.hero > .shape{
  display:none !important;
}

/* DR FIX: header nace transparente y al scroll se vuelve negro */
.site-header{
  transition:background .28s ease, box-shadow .28s ease, min-height .28s ease;
}

.site-header.is-transparent{
  background:rgba(247,247,247,.15) !important;
  box-shadow:none !important;
}

.site-header.is-transparent .main-nav a{
  color:#111 !important;
}

.site-header.is-transparent .social a{
  color:#111 !important;
}

.site-header.is-transparent .logo img{
  background:#000;
  border-color:#c17b28;
}

.site-header.is-scrolled{
  background:rgba(0,0,0,.98) !important;
  box-shadow:0 2px 18px rgba(0,0,0,.18) !important;
}

.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .social a{
  color:#d99635 !important;
}

.site-header.is-scrolled .main-nav a:hover{
  color:#fff !important;
}

/* DR FIX: 5 partículas adicionales */
.hp-11{width:270px;height:220px;left:4%;top:92px;opacity:.20 !important}
.hp-12{width:175px;height:145px;left:28%;bottom:82px;opacity:.18 !important}
.hp-13{width:320px;height:260px;right:25%;top:38px;opacity:.17 !important}
.hp-14{width:120px;height:98px;right:38%;bottom:172px;opacity:.16 !important}
.hp-15{width:230px;height:185px;right:-30px;bottom:34px;opacity:.20 !important}

/* DR CLEAN: dejar solo las rayitas inferiores del hero */
.top-dashes{
  display:none !important;
}

/* DR CLEAN: sliders más grandes y con logos bien contenidos */
.dr-slider{
  width:92% !important;
  max-width:1240px !important;
  padding:8px 0 12px !important;
}

.dr-slider-track{
  gap:34px !important;
}

.logo-tile{
  flex:0 0 245px !important;
  width:245px !important;
  height:155px !important;
  padding:18px !important;
  background:#fff !important;
  overflow:hidden !important;
}

.partner-tile{
  flex-basis:245px !important;
  width:245px !important;
  height:165px !important;
}

.logo-tile img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
}

/* En logos blancos o imágenes muy pequeñas, mantener fondo blanco limpio */
.logo-tile strong{
  font-size:20px !important;
  line-height:1.15 !important;
  padding:8px !important;
}

/* DR CLEAN: eliminar espacio visual de Contactenos si quedó CSS viejo */
.contact-section,
.contact-box{
  display:none !important;
}

/* DR CLEAN: footer nuevo */
.footer{
  padding-top:52px !important;
}

.footer .made-peru{
  margin-top:10px !important;
  font-weight:800 !important;
}

.footer .made-peru a{
  color:#e33b2e !important;
}

.footer .made-peru span{
  color:#e33b2e !important;
  font-size:18px !important;
  display:inline-block;
  transform:translateY(1px);
}

/* Rayitas del hero: solo una fila abajo */
.slider-dots{
  bottom:28px !important;
}

/* Ajuste responsive slider */
@media(max-width:900px){
  .logo-tile{
    flex-basis:210px !important;
    width:210px !important;
    height:140px !important;
  }

  .partner-tile{
    flex-basis:210px !important;
    width:210px !important;
    height:150px !important;
  }
}

@media(max-width:620px){
  .logo-tile{
    flex-basis:185px !important;
    width:185px !important;
    height:125px !important;
  }

  .partner-tile{
    flex-basis:185px !important;
    width:185px !important;
    height:135px !important;
  }
}

/* DR FIX: sliders más parecidos al original, cards grandes e imágenes grandes */
.dr-slider{
  width:94% !important;
  max-width:1320px !important;
  overflow:hidden !important;
  padding:10px 0 18px !important;
}

.dr-slider-track{
  gap:36px !important;
  align-items:center !important;
}

.logo-tile{
  flex:0 0 285px !important;
  width:285px !important;
  height:190px !important;
  padding:12px !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(0,0,0,.035) !important;
  border:0 !important;
}

.partner-tile{
  flex-basis:285px !important;
  width:285px !important;
  height:190px !important;
}

.logo-tile img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
}

/* Para imágenes con mucho blanco, subir escala interna sin cortar demasiado */
.logo-tile:not(.partner-tile) img{
  transform:scale(1.08);
}

.partner-tile img{
  transform:scale(1.02);
}

.logo-tile strong{
  font-size:22px !important;
  line-height:1.1 !important;
  color:#2b313d !important;
}

/* Footer definitivo */
.footer .made-peru,
.footer .made-peru a{
  color:#e33b2e !important;
  font-weight:900 !important;
}

.footer .made-peru span{
  color:#e33b2e !important;
}

/* Ocultar por completo contacto eliminado */
.contact-section,
.contact-box{
  display:none !important;
}
