:root{
  --azul-principal:#0A4DFF;
  --azul-hover:#3B82F6;
  --azul-oscuro-menu:#07142E;
  --azul-degradado:#001B4E;
  --oscuro:#0f172a;
  --gris:#64748b;
  --blanco:#ffffff;
  --fondo:#f8fafc;
  --linea:rgba(255,255,255,.10);
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  overflow-x:hidden;
  scroll-behavior:smooth;
  background:var(--fondo);
}

body{
  font-family:'Poppins',sans-serif;
  font-size:16px;
  background:var(--fondo);
  color:var(--oscuro);
  line-height:1.5;
  padding-top:88px;
  overflow-x:hidden;
}

body.menu-open{
  overflow:hidden;
}

/* TÍTULOS */
h1,h2,h3{
  font-family:'Playfair Display',serif;
  font-weight:600;
  letter-spacing:.5px;
}

h1{font-size:48px;}
h2{font-size:36px;}
h3{font-size:28px;}

/* HEADER PREMIUM */
.header{
  width:100%;
  background:rgba(7,20,46,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  box-shadow:0 10px 35px rgba(0,0,0,.28);
  padding-top:env(safe-area-inset-top,0px);
}

.container{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
}

.header-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
  min-height:60px;
}

.logo img{
   height:58px;
   width:auto;
   display:block;
   border-radius:16px;
   box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* NAV */
.desktop-nav{
  display:flex;
  align-items:center;
  gap:12px;
}

.desktop-nav a{
  text-decoration:none;
  color:rgba(255,255,255,.88);
  font-size:15px;
  font-weight:500;
  letter-spacing:.3px;
  padding:10px 14px;
  border-radius:12px;
  transition:.25s ease;
}

.desktop-nav a:hover{
  color:#ffffff;
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}

/* HAMBURGUESA */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.menu-toggle span{
  width:30px;
  height:3px;
  background:white;
  border-radius:2px;
}

/* MENÚ MÓVIL */
.mobile-menu{
  position:fixed;
  top:-100%;
  left:0;
  width:100%;
  height:100vh;
  height:100dvh;
  background:linear-gradient(135deg,#07142E,#001B4E);
  transition:.4s;
  padding:calc(env(safe-area-inset-top,0px) + 80px) 20px 40px;
  z-index:9999;
}

.mobile-menu.active{
  top:0;
}

.mobile-menu-close{
  position:absolute;
  top:calc(env(safe-area-inset-top,0px) + 12px);
  right:25px;
  font-size:42px;
  color:white;
  cursor:pointer;
}

.mobile-nav{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:20px;
}

.mobile-nav a{
  color:white;
  text-decoration:none;
  font-size:24px;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:12px;
}

/* SLIDER PREMIUM */
.slider{
  width:100%;
  height:calc(100vh - 88px);
  min-height:650px;
  position:relative;
  overflow:hidden;
  background:#07142E;
}

.slider::after{
  content:"";
  position:absolute;
  inset:0;

  z-index:1;
  pointer-events:none;
}

.slider-container{
  width:100%;
  height:100%;
  position:relative;
}

.slide{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1s ease;
  filter:brightness(.97) contrast(1.05);
}

.slide.active{
  opacity:1;
}

.slide-placa{
  object-fit:contain;
  object-position:center center;
  background:#07142E;
}

/* DOTS */
.dots{
  position:absolute;
  bottom:22px;
  width:100%;
  text-align:center;
  z-index:5;
}

.dot{
  width:9px;
  height:9px;
  margin:0 5px;
  border-radius:50%;
  background:rgba(255,255,255,.45);
  display:inline-block;
  transition:.25s ease;
}

.dot.active{
  width:26px;
  border-radius:999px;
  background:white;
}

/* FLECHAS */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.15);
  color:white;
  text-align:center;
  line-height:44px;
  border-radius:50%;
  cursor:pointer;
  opacity:.55;
  z-index:5;
  user-select:none;
  backdrop-filter:blur(6px);
  transition:.25s ease;
}

.slider:hover .arrow{
  opacity:1;
}

.arrow:hover{
  background:rgba(10,77,255,.65);
}

.arrow.left{left:18px;}
.arrow.right{right:18px;}

/* PRODUCTOS PREMIUM */
.servicios{
  padding:100px 20px;
  background:
    radial-gradient(900px 500px at 20% 10%,rgba(10,77,255,.28),transparent 60%),
    radial-gradient(800px 500px at 85% 20%,rgba(59,130,246,.18),transparent 55%),
    linear-gradient(180deg,#07142E 0%,#0f172a 100%);
}

.titulo-seccion{
  text-align:center;
  margin-bottom:50px;
  color:white;
}

.servicios-container{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}

.card-servicio{
  position:relative;
  min-height:340px;
  border-radius:24px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:30px;
  text-decoration:none;
  box-shadow:0 22px 55px rgba(0,0,0,.35);
  transition:.35s ease;
  isolation:isolate;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}

.card-servicio{
  transition:all .35s ease;
}

/* hover general */
.card-servicio:hover{
  background:#ffffff;
  transform:translateY(-8px);
  box-shadow:0 30px 60px rgba(0,0,0,.18);
  border:1px solid rgba(10,77,255,.12);
}

/* TITULO */
.card-servicio:hover h2{
  color:#0A4DFF !important;
}

/* TEXTO */
.card-servicio:hover p{
  color:#475569 !important;
}

/* BOTÓN VER MÁS */
.card-servicio:hover .card-action{
  color:#0A4DFF !important;
  border-color:#0A4DFF;
}

/* ETIQUETA */
.card-servicio:hover .card-tag{
  background:rgba(10,77,255,.08);
  color:#0A4DFF !important;
  border:1px solid rgba(10,77,255,.12);
}

.card-servicio::before{
  content:"";
  position:absolute;
  top:-60px;
  right:-60px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(10,77,255,.18);
  z-index:0;
}

.card-servicio::after{
  content:"";
  position:absolute;
  bottom:28px;
  right:28px;
  width:95px;
  height:95px;
  border:2px solid rgba(255,255,255,.08);
  border-radius:18px;
  transform:rotate(18deg);
  z-index:0;
}

.card-overlay{
  position:absolute;
  inset:0;

  z-index:1;
}

.card-content{
  position:relative;
  z-index:2;
  width:100%;
  text-align:left;
}

.card-tag{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(10,77,255,.25);
  border:1px solid rgba(96,165,250,.35);
  color:#bfdbfe;
  font-size:12px;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
}

.card-servicio h2{
  color:white;
  margin-bottom:12px;
  font-size:clamp(28px,3vw,38px);
  line-height:1.15;
}

.card-servicio p{
  font-size:15px;
  line-height:1.7;
  color:rgba(255,255,255,.76);
  max-width:420px;
  margin-bottom:18px;
}

.card-action{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#60A5FA;
  font-weight:700;
  font-size:15px;
  padding-bottom:3px;
  border-bottom:1px solid rgba(96,165,250,.35);
  transition:.25s ease;
}

.card-action::after{
  content:"→";
  font-size:16px;
  transition:.25s ease;
}

.card-servicio:hover .card-action{
  gap:14px;
  border-color:#60A5FA;
}

.card-servicio:hover .card-action::after{
  transform:translateX(4px);
}

/* NOSOTROS */
.nosotros{
  padding:100px 20px;
  background:
  radial-gradient(800px 500px at 15% 20%, rgba(10,77,255,.08), transparent 60%),
  linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

.nosotros-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:40px;
  align-items:center;
}

.nosotros-info h1{
  font-size:clamp(34px,4vw,52px);
  color:#07142E;
  margin:18px 0;
}

.nosotros-info p{
  font-size:17px;
  line-height:1.9;
  color:#475569;
  margin-bottom:18px;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:30px;
}

.stat-card{
  background:white;
  padding:26px;
  border-radius:22px;
  box-shadow:0 18px 35px rgba(15,23,42,.08);
  border:1px solid #eef2f7;
}

.stat-card h3{
  font-size:34px;
  color:#0A4DFF;
  margin-bottom:6px;
}

.stat-card span{
  color:#64748b;
  font-size:14px;
}

.nosotros-box{
  background:linear-gradient(135deg,#07142E,#0A4DFF);
  padding:42px;
  border-radius:28px;
  color:white;
  box-shadow:0 25px 55px rgba(10,77,255,.18);
}

.nosotros-box h2{
  font-size:34px;
  margin-bottom:18px;
  color:white;
}

.nosotros-box p{
  color:rgba(255,255,255,.92);
  line-height:1.9;
  margin-bottom:18px;
}

.nosotros-box .btn-mapa{
  background:white;
  color:#0A4DFF;
}

@media(max-width:768px){

.nosotros{
 padding:70px 16px;
}

.nosotros-grid{
 grid-template-columns:1fr;
 gap:25px;
}

.stats-grid{
 grid-template-columns:1fr 1fr;
}

.nosotros-box{
 padding:28px;
}

.nosotros-info h1{
 font-size:34px;
}

.nosotros-box h2{
 font-size:28px;
}

}






#titulo-nosotros{
  min-height:130px;
  display:block;
  color:#07142E;
  white-space:normal;
  overflow:visible;
  line-height:1.15;
}

#titulo-nosotros.escribiendo::after{
  content:"|";
  color:#0A4DFF;
  margin-left:4px;
  animation:parpadeo .7s infinite;
}

@keyframes parpadeo{
  0%,50%{opacity:1;}
  51%,100%{opacity:0;}
}

@media(max-width:768px){
  #titulo-nosotros{
    min-height:120px;
    font-size:34px;
    line-height:1.15;
    white-space:normal;
    overflow:visible;
  }
}
/* UBICACIÓN */
.ubicacion{
  padding:100px 20px;
  background:
    radial-gradient(800px 500px at 85% 15%, rgba(10,77,255,.10), transparent 60%),
    linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
}

.ubicacion-grid{
  display:grid;
  grid-template-columns:.9fr 1.2fr;
  gap:40px;
  align-items:center;
}

.ubicacion-info h1{
  font-size:clamp(34px,4vw,50px);
  color:#07142E;
  margin:18px 0;
}

.ubicacion-info p{
  color:#475569;
  font-size:17px;
  line-height:1.8;
  margin-bottom:20px;
}

.ubicacion-card{
  background:#ffffff;
  border:1px solid #e8eef8;
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.ubicacion-card h3{
  color:#0A4DFF;
  font-size:24px;
  margin-bottom:10px;
}

.ubicacion-card p{
  margin-bottom:22px;
}

.mapa-modern{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 25px 55px rgba(15,23,42,.16);
  border:8px solid #ffffff;
  position:relative;
}

.mapa-modern::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(10,77,255,.10);
  z-index:2;
}

.mapa-modern iframe{
  display:block;
  filter:saturate(.9) contrast(1.02);
}

@media(max-width:768px){
  .ubicacion{
    padding:70px 16px;
  }

  .ubicacion-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .mapa-modern iframe{
    height:360px;
  }
}


.btn-mapa{
  display:inline-block;
  margin-bottom:30px;
  padding:13px 28px;
  background:linear-gradient(135deg,#0A4DFF,#2563EB);
  color:white;
  text-decoration:none;
  border-radius:12px;
  font-weight:600;
  transition:.25s ease;
  box-shadow:0 14px 30px rgba(37,99,235,.25);
}

.btn-mapa:hover{
  transform:translateY(-3px);
}

/* CONTACTO */
.contacto{
  padding:110px 20px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(800px 450px at 90% 20%, rgba(10,77,255,.18), transparent 55%),
    linear-gradient(135deg,#07142E 0%, #0A4DFF 100%);
  position:relative;
  overflow:hidden;
}

.contacto::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:rgba(255,255,255,.15);
}

.contacto-grid-modern{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:40px;
  align-items:center;
}

.contacto-info h1{
  color:white;
  font-size:clamp(38px,4vw,56px);
  margin:18px 0;
}

.contacto-info p{
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.9;
  max-width:520px;
}

.section-tag.light{
  background:rgba(255,255,255,.10);
  color:white;
  border:1px solid rgba(255,255,255,.18);
}

.contact-lines{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contact-lines span{
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}

.contact-lines span:nth-child(1){width:180px;}
.contact-lines span:nth-child(2){width:130px;}
.contact-lines span:nth-child(3){width:90px;}

.contact-form-box{
  background:#ffffff;
  padding:34px;
  border-radius:28px;
  box-shadow:0 28px 55px rgba(0,0,0,.18);
  border-top:5px solid #C8A96B;
}

.form-contacto{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.form-contacto input,
.form-contacto textarea{
  padding:15px;
  border-radius:14px;
  border:1px solid #dbe3ef;
  background:#f8fafc;
  font-size:15px;
  outline:none;
  transition:.25s ease;
}

.form-contacto input:focus,
.form-contacto textarea:focus{
  border-color:#0A4DFF;
  background:white;
  box-shadow:0 0 0 4px rgba(10,77,255,.10);
}

.form-contacto textarea{
  min-height:140px;
  resize:none;
}

.btn-enviar{
  background:linear-gradient(135deg,#0A4DFF,#2563EB);
  color:white;
  border:none;
  padding:16px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:0 18px 35px rgba(37,99,235,.22);
}

.btn-enviar:hover{
  transform:translateY(-3px);
}

#respuesta-form{
  min-height:20px;
  color:#0A4DFF;
  font-size:14px;
  font-weight:600;
}

@media(max-width:768px){

.contacto{
  padding:75px 16px;
}

.contacto-grid-modern{
  grid-template-columns:1fr;
  gap:28px;
}

.contact-form-box{
  padding:24px;
}

.contacto-info h1{
  font-size:34px;
}

}

.btn-enviar{
  background:linear-gradient(135deg,#0A4DFF,#2563EB);
  color:white;
  padding:14px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  transition:.25s ease;
  font-size:16px;
  font-weight:600;
  box-shadow:0 14px 30px rgba(37,99,235,.25);
}

.btn-enviar:hover{
  transform:translateY(-3px);
}

#respuesta-form{
  margin-top:12px;
  font-size:14px;
  font-weight:500;
  color:#0A4DFF;
  min-height:20px;
}

.btn-enviar:disabled{
  opacity:.7;
  cursor:not-allowed;
}

.link-card{
  text-decoration:none;
  color:inherit;
}

.whatsapp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  width:56px;
  height:56px;
  z-index:9999;
  border-radius:16px;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 28px rgba(37,211,102,.35);
  transition:.25s ease;
  padding:14px;
}

.whatsapp-float svg{
  width:100%;
  height:100%;
  display:block;
}

.whatsapp-float:hover{
  transform:translateY(-3px) scale(1.04);
}

/* RESPONSIVE */
@media(max-width:768px){
  body{
    padding-top:86px;
  }

  .container{
    padding:12px 16px;
  }

  .logo img{
    height:52px;
  }

  .desktop-nav{
    display:none;
  }

  .menu-toggle{
    display:flex;
  }

  .slider{
    height:calc(100vh - 86px);
    height:calc(100dvh - 86px);
    min-height:430px;
  }

  .slide{
    object-position:center center;
  }

  .arrow{
    opacity:.6;
    width:38px;
    height:38px;
    line-height:38px;
    font-size:18px;
  }

  .arrow.left{left:10px;}
  .arrow.right{right:10px;}

  .servicios{
    padding:70px 16px;
  }

  .servicios-container{
    grid-template-columns:1fr;
    gap:22px;
  }

  .card-servicio{
    min-height:290px;
    padding:22px;
    border-radius:20px;
  }

  h1{font-size:34px;}
  h2{font-size:26px;}
  h3{font-size:22px;}

  .mobile-nav a{
    font-size:20px;
  }

  .nosotros,
  .ubicacion,
  .contacto{
    padding:65px 16px;
  }

  .nosotros-texto p{
    font-size:16px;
  }

  .direccion{
    font-size:16px;
  }

  .mapa iframe{
    height:320px;
  }

  .whatsapp-float{
    width:54px;
    height:54px;
    right:18px;
    bottom:18px;
  }
}




@media(max-width:768px){

  .ubicacion-grid{
    display:grid;
    grid-template-columns:1fr;
  }

  .mapa-modern{
    width:100%;
    min-height:360px;
    height:360px;
    display:block;
  }

  .mapa-modern iframe{
    width:100% !important;
    height:360px !important;
    min-height:360px;
    display:block;
  }

}

.stat-wide{
  grid-column: 1 / -1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}