/* REDISEÑO DIGITO UNO 2026 */

body{
  background:linear-gradient(180deg,#f8faff 0,#f3f6fb 100%);
  color:#17233a;
}

.wrap{
  max-width:1180px;
  padding:22px 22px 48px;
}

/* LOGO */
.brand{
  margin:4px 0 10px;
}
.brand img{
  width:min(390px,86vw);
  max-height:135px;
}

/* PRESENTACION */
.hero{
  max-width:850px;
  margin:0 auto 30px;
}
.hero h1{
  font-size:clamp(32px,5vw,50px);
  font-weight:800;
  color:#123b79;
  letter-spacing:-.5px;
}
.hero p{
  max-width:780px;
  font-size:17px;
  line-height:1.65;
  color:#56647a;
}
.hero p strong{
  color:#243f70;
  font-size:20px;
}
.hero .cue{
  display:inline-block;
  margin-top:20px;
  padding:9px 20px;
  border-radius:30px;
  background:#eef3fb;
  color:#123b79;
  font-size:15px;
}
.hero .cue:before,
.hero .cue:after{
  display:none;
}

/* OPCIONES */
.areas{
  gap:18px;
  margin:28px 0 30px;
}
.area{
  min-height:132px;
  padding:20px;
  border-radius:18px;
  box-shadow:0 8px 25px rgba(22,48,89,.10);
  overflow:hidden;
}
.area:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 35px rgba(22,48,89,.17);
}
.area .ico{
  width:60px;
  height:60px;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
}
.area .label{
  font-size:17px;
  letter-spacing:.1px;
}
.area .arrow{
  width:34px;
  height:34px;
}

/* FORMULARIOS */
.formcard{
  border:0;
  border-top:6px solid var(--active);
  border-radius:20px;
  padding:30px;
  box-shadow:0 14px 45px rgba(16,39,74,.11);
}
.formhead{
  padding-bottom:18px;
  margin-bottom:24px;
}
.formhead h2{
  font-size:26px;
}
.formbadge{
  width:54px;
  height:54px;
}
label{
  font-size:14px;
  color:#2d3d56;
}
input,
select,
textarea{
  padding:14px 14px;
  border:1px solid #d5dce7;
  border-radius:10px;
  transition:.15s ease;
}
input:hover,
select:hover,
textarea:hover{
  border-color:#aeb9c9;
}
.send{
  min-height:54px;
  border-radius:11px;
  font-size:17px;
  box-shadow:0 6px 16px rgba(20,50,90,.12);
}

/* PRODUCTOS */
.showcase{
  margin-top:48px;
  border:0;
  border-radius:20px;
  padding:28px;
  box-shadow:0 10px 35px rgba(16,39,74,.08);
}
.showcase h3{
  font-size:22px;
  margin-bottom:25px;
}

/* CONTACTO */
.contacts{
  margin-top:24px;
  border:0;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(16,39,74,.07);
}
.contact{
  padding:18px;
}
.contact .round{
  width:42px;
  height:42px;
}

/* MOBILE */
@media(max-width:600px){
  .wrap{
    padding:16px 14px 35px;
  }
  .brand img{
    width:min(330px,92vw);
  }
  .hero{
    margin-bottom:22px;
  }
  .hero h1{
    font-size:32px;
  }
  .hero p{
    font-size:15px;
  }
  .hero p strong{
    font-size:18px;
  }
  .areas{
    gap:12px;
  }
  .area{
    min-height:105px;
    padding:15px;
  }
  .area .ico{
    width:52px;
    height:52px;
  }
  .formcard{
    padding:20px 16px;
  }
}

/* ===== PORTADA COMERCIAL DIGITO UNO ===== */
.landing-hero{
  position:relative;
  display:grid;
  grid-template-columns:44% 56%;
  align-items:center;
  min-height:480px;
  margin:8px 0 46px;
  overflow:hidden;
  background:linear-gradient(115deg,#ffffff 0%,#f4f8ff 46%,#eaf2ff 100%);
  border-radius:24px;
  box-shadow:0 18px 50px rgba(20,52,100,.12);
}

.landing-copy{
  position:relative;
  z-index:2;
  padding:48px 10px 48px 48px;
}

.eyebrow{
  display:inline-block;
  margin-bottom:16px;
  color:#df1217;
  font-size:13px;
  font-weight:800;
  letter-spacing:1.1px;
}

.landing-copy h1{
  margin:0;
  max-width:520px;
  color:#123b79;
  font-size:clamp(35px,4.5vw,56px);
  line-height:1.02;
  letter-spacing:-1.5px;
}

.landing-copy p{
  max-width:530px;
  margin:20px 0 0;
  color:#53647c;
  font-size:18px;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.hero-btn{
  display:inline-block;
  padding:14px 21px;
  border-radius:9px;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  transition:.18s ease;
}

.hero-btn.primary{
  background:#df1217;
  color:white;
  box-shadow:0 7px 18px rgba(223,18,23,.22);
}

.hero-btn.secondary{
  background:#123b79;
  color:white;
}

.hero-btn:hover{
  transform:translateY(-2px);
}

.landing-visual{
  align-self:stretch;
  min-height:480px;
}

.landing-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:480px;
  object-fit:cover;
  object-position:center;
}

/* CENTRO DE ATENCION DEBAJO DE LA PORTADA */
#centro-atencion{
  padding-top:10px;
}

#centro-atencion h1{
  font-size:clamp(30px,4vw,43px);
}

/* CELULAR */
@media(max-width:800px){
  .landing-hero{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .landing-copy{
    padding:34px 25px 30px;
    text-align:center;
  }

  .landing-copy h1,
  .landing-copy p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-actions{
    justify-content:center;
  }

  .landing-visual{
    min-height:300px;
  }

  .landing-visual img{
    min-height:300px;
    max-height:400px;
  }
}

/* ===== TARJETAS CENTRO DE ATENCION - ESTILO COMERCIAL ===== */

.areas{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
  margin:28px 0 30px;
}

.area{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  text-align:center;
  gap:12px;
  min-height:225px;
  padding:22px 10px 18px;
  border:1px solid #e8ebf1;
  border-radius:15px;
  background:#fff !important;
  color:#17233a !important;
  box-shadow:0 7px 22px rgba(20,43,80,.08);
}

.area:hover{
  transform:translateY(-5px);
  box-shadow:0 13px 30px rgba(20,43,80,.14);
}

.area .ico{
  width:60px;
  height:60px;
  background:transparent;
  color:var(--c);
  box-shadow:none;
}

.area .ico svg{
  width:46px;
  height:46px;
  stroke-width:2;
}

.area .label{
  color:#151b27;
  font-size:14px;
  font-weight:800;
  line-height:1.35;
}

.area .arrow{
  margin:auto 0 0;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--c);
  color:#fff;
  font-size:24px;
}

.area.active{
  outline:2px solid var(--c);
  transform:translateY(-3px);
}

.area.active:after{
  display:none;
}

@media(max-width:1000px){
  .areas{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:600px){
  .areas{
    grid-template-columns:repeat(2,1fr);
  }

  .area{
    min-height:190px;
    padding:18px 8px 14px;
  }
}


/* ===== NUESTRAS SOLUCIONES ===== */

.showcase{
  margin-top:44px;
  padding:0;
  background:transparent;
  box-shadow:none;
  border:0;
}

.showcase h3{
  position:relative;
  margin:0 0 24px;
  text-align:center;
  color:#123b79;
  font-size:28px;
  font-weight:850;
}

.showcase h3:before,
.showcase h3:after{
  content:"";
  display:inline-block;
  width:90px;
  height:1px;
  margin:0 16px 7px;
  background:#d7deea;
}

.productrow{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  align-items:stretch;
}

.clocks,
.media{
  min-height:340px;
  padding:22px 18px 18px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e7ebf2;
  box-shadow:0 8px 26px rgba(20,43,80,.08);
}

.clocks{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:8px;
  padding-top:75px;
}

.clocks:before{
  content:"RELOJES DE CONTROL HORARIO";
  position:absolute;
  top:16px;
  left:18px;
  right:18px;
  padding:7px 10px;
  border-radius:18px;
  background:#123f91;
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-align:center;
}

.clocks:after{
  content:"Biométricos • Faciales • Huella • Tarjeta • Cartulina";
  position:absolute;
  top:52px;
  left:12px;
  right:12px;
  color:#4e5d73;
  font-size:13px;
  text-align:center;
}

.clocks img{
  max-width:24%;
  max-height:190px;
  object-fit:contain;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.12));
}

.media{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  text-align:center;
  padding-top:55px;
}

.media:nth-child(2):before{
  content:"CLOCKY – FICHAJE MÓVIL";
  position:absolute;
  top:16px;
  left:18px;
  right:18px;
  padding:7px 10px;
  border-radius:18px;
  background:#123f91;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.media:nth-child(3):before{
  content:"FICHAJE POR WHATSAPP";
  position:absolute;
  top:16px;
  left:18px;
  right:18px;
  padding:7px 10px;
  border-radius:18px;
  background:#08a43c;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.media img{
  width:100%;
  max-height:235px;
  object-fit:contain;
  border-radius:12px;
}

.media small{
  display:block;
  margin-top:12px;
  color:#44536a;
  font-size:14px;
  line-height:1.45;
  font-weight:600;
}

@media(max-width:900px){
  .productrow{
    grid-template-columns:1fr;
  }

  .clocks,
  .media{
    min-height:300px;
  }

  .showcase h3:before,
  .showcase h3:after{
    width:35px;
    margin-left:8px;
    margin-right:8px;
  }
}


/* ===== BOTON TIENDA ONLINE ===== */

.tienda-link{
  text-align:center;
  margin-top:26px;
}

.tienda-link a{
  display:inline-block;
  padding:14px 22px;
  border-radius:10px;
  background:#123b79;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  box-shadow:0 7px 18px rgba(18,59,121,.18);
  transition:.18s ease;
}

.tienda-link a:hover{
  transform:translateY(-2px);
  background:#0d3268;
}


/* ===== NUESTRAS SOLUCIONES - DISEÑO FINAL ===== */

#soluciones{
  margin-top:50px;
  padding:38px 0 20px;
}

#soluciones h3{
  margin:0;
  text-align:center;
  color:#123b79;
  font-size:30px;
  font-weight:900;
  letter-spacing:.4px;
}

.solutions-intro{
  max-width:680px;
  margin:10px auto 28px;
  text-align:center;
  color:#5b6677;
  font-size:16px;
  line-height:1.5;
}

#soluciones .productrow{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  align-items:stretch;
}

.solution-card{
  display:flex;
  flex-direction:column;
  min-height:430px;
  padding:18px;
  background:#fff;
  border:1px solid #e5eaf1;
  border-radius:18px;
  box-shadow:0 9px 28px rgba(22,48,86,.09);
  transition:transform .2s ease, box-shadow .2s ease;
}

.solution-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 34px rgba(22,48,86,.14);
}

.solution-title{
  padding:10px 12px;
  border-radius:10px;
  text-align:center;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.2px;
}

.solution-title.blue{
  background:#123f91;
}

.solution-title.green{
  background:#079b3a;
}

.solution-subtitle{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:10px 0;
  text-align:center;
  color:#58667a;
  font-size:13px;
  font-weight:650;
}

.solution-images,
.solution-main-image{
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
}

.clocks-new{
  gap:7px;
}

.clocks-new img{
  width:23%;
  max-height:190px;
  object-fit:contain;
  filter:drop-shadow(0 5px 6px rgba(0,0,0,.12));
}

.solution-main-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:10px;
}

.solution-text{
  margin:auto 4px 2px;
  padding-top:15px;
  border-top:1px solid #edf0f4;
  text-align:center;
  color:#34445b;
  font-size:14px;
  line-height:1.5;
  font-weight:600;
}

.solutions-more{
  margin:28px auto 0;
  text-align:center;
  color:#536176;
  font-size:15px;
}

.solutions-more a{
  display:inline-block;
  margin-left:5px;
  color:#123f91;
  font-weight:850;
  text-decoration:none;
}

.solutions-more a:hover{
  text-decoration:underline;
}

@media(max-width:900px){
  #soluciones .productrow{
    grid-template-columns:1fr;
  }

  .solution-card{
    min-height:auto;
  }

  .solution-images,
  .solution-main-image{
    height:260px;
  }
}


/* ===== AJUSTE VISUAL IMAGENES SOLUCIONES ===== */

.solution-card{
  min-height:390px;
}

.solution-images,
.solution-main-image{
  height:260px;
}

.clocks-new{
  gap:4px;
}

.clocks-new img{
  width:25%;
  max-height:230px;
  object-fit:contain;
}

.solution-main-image img{
  width:100%;
  height:100%;
  max-width:340px;
  object-fit:contain;
  transform:scale(1.18);
}

.solution-text{
  padding-top:10px;
}

.solutions-more{
  margin-top:24px;
  padding:15px 20px;
  background:#f4f7fb;
  border-radius:12px;
}

.solutions-more a{
  font-size:16px;
  color:#0d43a0;
}


/* ===== RELOJES MAS GRANDES ===== */

.clocks-new{
  height:270px !important;
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
  justify-items:center;
  gap:2px;
  padding:0 !important;
  overflow:visible !important;
}

.clocks-new img{
  width:100% !important;
  max-width:115px !important;
  height:220px !important;
  max-height:none !important;
  object-fit:contain !important;
  transform:scale(1.15);
  filter:drop-shadow(0 7px 8px rgba(0,0,0,.14));
}

@media(max-width:900px){
  .clocks-new{
    height:300px !important;
  }

  .clocks-new img{
    max-width:140px !important;
    height:250px !important;
  }
}


/* ===== TAMANO DEFINITIVO RELOJES ===== */

.clocks-new{
  height:285px !important;
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:0 !important;
  padding:0 !important;
  overflow:visible !important;
}

.clocks-new img{
  width:135px !important;
  max-width:none !important;
  height:245px !important;
  max-height:none !important;
  object-fit:contain !important;
  transform:none !important;
  filter:drop-shadow(0 7px 8px rgba(0,0,0,.14));
}


/* ===== AJUSTE FINAL TAMANO RELOJES ===== */

.clocks-new img{
  width:145px !important;
  height:260px !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain !important;
}


/* ===== TRES RELOJES - DISTRIBUCION FINAL ===== */

.clocks-new{
  height:285px !important;
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  align-items:center !important;
  justify-items:center !important;
  gap:12px !important;
  padding:0 10px !important;
}

.clocks-new img{
  width:100% !important;
  max-width:165px !important;
  height:255px !important;
  max-height:none !important;
  object-fit:contain !important;
  transform:none !important;
}


/* ===== RELOJ 1 MAS GRANDE ===== */

.clocks-new img:first-child{
  width:190px !important;
  max-width:190px !important;
  height:275px !important;
  transform:scale(1.12) !important;
  transform-origin:center center;
}


/* ===== PROPORCION FINAL TRES RELOJES ===== */

.clocks-new{
  height:285px !important;
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  align-items:center !important;
  justify-items:center !important;
  gap:8px !important;
  padding:0 8px !important;
}

.clocks-new img{
  width:165px !important;
  max-width:165px !important;
  height:260px !important;
  max-height:260px !important;
  object-fit:contain !important;
  transform:none !important;
}

/* Solo el primero un poco más grande */
.clocks-new img:first-child{
  width:180px !important;
  max-width:180px !important;
  height:270px !important;
  max-height:270px !important;
  transform:none !important;
}

