/*1.Root*/
:root{
--blue:#1D4ED8;
--green:#15803D;
--dark:#1F2937;
--text:#6B7280;
--light:#F3F4F6;
--white:#FFF;
--shadow:0 10px 30px rgba(0,0,0,.08);
--radius:18px;
--speed:.35s;
--max:1200px;
}

/*2.Reset*/
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
font:400 16px/1.7 "Poppins",sans-serif;
color:var(--dark);
background:var(--white);
overflow-x:hidden;
}
img{display:block;width:100%}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button,input,textarea{
font:inherit;
border:0;
outline:0;
background:none;
}
button{cursor:pointer}
section{padding:90px 0}

/*3.General*/
.container{
max-width:1200px;
padding:0 25px;
margin:auto;
}
.section-title{
max-width:720px;
margin:0 auto 55px;
text-align:center;
}
.section-title span{
display:inline-block;
color:var(--blue);
font:700 .9rem "Space Grotesk",sans-serif;
letter-spacing:2px;
margin-bottom:10px;
}
.section-title h2{
font:700 clamp(2rem,4vw,2.8rem) "Space Grotesk",sans-serif;
margin-bottom:15px;
}
.section-title p{color:var(--text)}

/*4.Botones*/
.btn,.btn-whatsapp{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
padding:14px 28px;
border-radius:50px;
font-weight:600;
transition:var(--speed);
}
.btn{
background:var(--blue);
color:var(--white);
}
.btn:hover{
transform:translateY(-4px);
box-shadow:var(--shadow);
}
.btn-whatsapp{
background:var(--green);
color:#fff;
font-weight:700;
}
.btn-whatsapp:hover{
transform:translateY(-4px);
box-shadow:var(--shadow);
}

/*5.Header*/
#header{
position:sticky;
top:0;
z-index:1000;
background:rgba(255,255,255,.95);
backdrop-filter:blur(12px);
box-shadow:0 3px 18px rgba(0,0,0,.05);
}
.nav{
height:78px;
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
}
.logo img{
height:58px;
width:auto;
}
#menu{
display:flex;
align-items:center;
gap:30px;
}
#menu a{
position:relative;
font-weight:500;
transition:var(--speed);
}
#menu a:hover,
#menu .active{
color:var(--blue);
}
#menu a::after{
content:"";
position:absolute;
left:0;
bottom:-8px;
width:0;
height:2px;
background:var(--blue);
transition:var(--speed);
}
#menu a:hover::after,
#menu .active::after{
width:100%;
}
#menu-btn{
display:none;
width:46px;
height:46px;
border-radius:12px;
background:var(--light);
}
#menu-btn span{
display:block;
width:22px;
height:2px;
margin:5px auto;
background:var(--dark);
transition:var(--speed);
}

/*6.Footer*/
footer{
background:#0F172A;
color:#fff;
padding:70px 0 35px;
text-align:center;
}
.footer-content img{
width:75px;
margin:0 auto 20px;
}
.footer-content h3{
font:700 1.5rem "Space Grotesk",sans-serif;
margin-bottom:10px;
}
.footer-content p{
color:#CBD5E1;
}
.footer-content hr{
width:120px;
margin:28px auto;
border:0;
border-top:1px solid rgba(255,255,255,.15);
}
.footer-content small{
color:#94A3B8;
}
/*7.Banner y Hero*/
.banner,.hero{
display:grid;
align-items:center;
min-height:380px;
}
.banner{
text-align:center;
background:linear-gradient(135deg,#1E3A8A,#2563EB);
color:var(--white);
}
.banner h1,.hero h1{
font:800 clamp(2.3rem,5vw,4rem) "Space Grotesk",sans-serif;
margin:15px 0;
}
.banner p{
max-width:700px;
margin:auto;
color:#E5E7EB;
}

.hero p{
max-width:580px;
margin:20px 0 35px;
color:var(--text);
font-size:1.08rem;
}
.tag,.banner span{
display:inline-block;
padding:8px 18px;
border-radius:30px;
background:rgba(255,255,255,.12);
font:700 .85rem "Space Grotesk",sans-serif;
letter-spacing:2px;
}

/*8.Hero*/
.hero{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
align-items:center;
gap:50px;
padding:120px 25px 90px;
max-width:1200px;
margin:auto;
}
.hero-list{
display:grid;
gap:18px;
margin:30px 0 40px;
padding-left:8px;
}
.hero-list li{
display:flex;
align-items:center;
gap:12px;
font-weight:500;
}
.hero-list i{color:var(--green);}
.hero-image img{
border-radius:var(--radius);
box-shadow:var(--shadow);
}

/*9.Proceso*/
.process-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}
.step{
padding:35px 25px;
border-radius:var(--radius);
background:var(--white);
box-shadow:var(--shadow);
text-align:center;
transition:var(--speed);
}
.step:hover{
transform:translateY(-6px);
}
.step-icon{
width:75px;
height:75px;
margin:auto auto 20px;
display:grid;
place-items:center;
border-radius:50%;
background:#EEF4FF;
color:var(--blue);
font-size:1.7rem;
}
.step h3{
font:700 1.25rem "Space Grotesk",sans-serif;
margin-bottom:10px;
}
.step p{color:var(--text);}

/*10.Efectos*/
.card,.service,.project{
transition:var(--speed);
}
.card:hover,
.service:hover,
.project:hover{
transform:translateY(-6px);
box-shadow:var(--shadow);
}
.service img,
.project img{
aspect-ratio:4/3;
object-fit:cover;
transition:var(--speed);
}
.service:hover img,
.project:hover img{
transform:scale(1.05);
}
/*11.Grid*/
.cards,
.service-grid,
.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

/*12.Card*/
.card{
background:var(--white);
border-radius:var(--radius);
padding:35px;
box-shadow:var(--shadow);
transition:var(--speed);
}
.card:hover{
transform:translateY(-6px);
}
.service img,
.project img{
width:100%;
aspect-ratio:4/3;
object-fit:cover;
transition:var(--speed);
display:block;
}
.service:hover img,
.project:hover img{
transform:scale(1.05);
}
.card i{
font-size:2rem;
color:var(--blue);
margin-bottom:18px;
}
.card h3{
font:700 1.35rem "Space Grotesk",sans-serif;
margin-bottom:10px;
}
.card p{
color:var(--text);
}
.contact-card i{
font-size:2.3rem;
margin-bottom:18px;
}
.contact-card h3{
margin-bottom:15px;
}
.contact-card p{
margin-bottom:25px;
}
.contact-card .btn{
margin-top:auto;
}
.contact .cards{
margin-bottom:60px;
}
/*13.About*/
.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
align-items:center;
gap:60px;
}
.about-img img{
border-radius:var(--radius);
box-shadow:var(--shadow);
}
.about-text p{
margin-bottom:18px;
color:var(--text);
}

/*14. SERVICIOS*/
.services{
padding:100px 0;
background:#f8fafc;
}
.services-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:35px;
margin-top:60px;
}
.service-card{
display:flex;
align-items:center;
gap:28px;
background:#fff;
padding:30px;
border-radius:22px;
border:1px solid rgba(37,99,235,.08);
box-shadow:0 12px 30px rgba(0,0,0,.06);
transition:.35s;
overflow:hidden;
position:relative;
}
.service-card::before{
content:"";
position:absolute;
left:0;
top:0;
width:6px;
height:100%;
background:var(--primary);
transform:scaleY(0);
transform-origin:top;
transition:.35s;
}
.service-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,.12);
}
.service-card:hover::before{
transform:scaleY(1);
}
.service-image{
flex:0 0 170px;
display:flex;
justify-content:center;
align-items:center;
}
.service-image img{
width:100%;
max-width:160px;
transition:.4s;
}
.service-card:hover .service-image img{
transform:scale(1.08);
}
.service-content{
flex:1;
}
.service-content h3{
font-size:1.45rem;
margin-bottom:12px;
color:#111827;
}
.service-content p{
color:#6b7280;
line-height:1.8;
margin-bottom:18px;
}
.service-content ul{
list-style:none;
display:grid;
gap:10px;
padding:0;
margin:0;
}
.service-content li{
display:flex;
align-items:center;
gap:10px;
font-size:.95rem;
color:#374151;
}
.service-content li::before{
content:"✓";
display:flex;
justify-content:center;
align-items:center;
width:22px;
height:22px;
border-radius:50%;
background:#22C55E;
color:#fff;
font-size:.8rem;
font-weight:700;
flex-shrink:0;
}
/*15.Filters*/
.filters{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
margin:40px 0;
}
.filters button{
padding:10px 22px;
border-radius:30px;
background:var(--light);
font-weight:600;
transition:var(--speed);
}
.filters button:hover,
.filters .active{
background:var(--blue);
color:var(--white);
}
/*16.Contact*/
.contact-grid{
display:grid;
grid-template-columns:340px 1fr;
gap:45px;
align-items:start;
}
.contact-info{
display:grid;
gap:25px;
}
.contact-card{
padding:35px;
}
.contact-card i{
font-size:2.3rem;
color:var(--blue);
margin-bottom:20px;
}
.contact-card h3{
margin-bottom:12px;
}
.contact-card p{
margin-bottom:25px;
color:var(--text);
line-height:1.7;
}
.contact-form{
display:grid;
gap:22px;
}
.input-group{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}
.contact input,
.contact textarea{
width:100%;
padding:16px 18px;
border:1px solid #D1D5DB;
border-radius:12px;
transition:var(--speed);
}
.contact input:focus,
.contact textarea:focus{
border-color:var(--blue);
box-shadow:0 0 0 4px rgba(29,78,216,.12);
}
.contact textarea{
resize:none;
min-height:220px;
}
.location iframe{
width:100%;
height:450px;
border:0;
border-radius:var(--radius);
box-shadow:var(--shadow);
}
@media(max-width:900px){
.contact-grid{
grid-template-columns:1fr;
}
.input-group{
grid-template-columns:1fr;
}
}
/*17.Scroll*/
.scroll-top{
position:fixed;
right:25px;
bottom:25px;
width:50px;
height:50px;
display:grid;
place-items:center;
border-radius:50%;
background:var(--blue);
color:#fff;
box-shadow:var(--shadow);
opacity:0;
visibility:hidden;
transition:var(--speed);
}
.scroll-top.show{
opacity:1;
visibility:visible;
}
.scroll-top:hover{
transform:translateY(-4px);
}

/*18.Responsive*/
@media(max-width:992px){
.hero,
.about-grid{
grid-template-columns:1fr;
text-align:center;
}
.hero-list{
justify-content:center;
}
.nav{
height:72px;
}
.logo img{
height:50px;
}
}

@media(max-width:768px){

#menu{
position:fixed;
top:78px;
right:-100%;
width:290px;
height:calc(100vh - 78px);
background:var(--white);
display:flex;
flex-direction:column;
justify-content:flex-start;
padding:40px 30px;
gap:25px;
box-shadow:-10px 0 25px rgba(0,0,0,.08);
transition:var(--speed);
}

#menu.active{
right:0;
}

#menu-btn{
display:block;
}

.btn-whatsapp span{
display:none;
}

section{
padding:70px 0;
}

.banner,
.hero{
min-height:auto;
padding:100px 0;
}

.cards,
.service-grid,
.gallery-grid{
grid-template-columns:1fr;
}

.footer-content img{
width:60px;
}
}
/*20. EMR Slider Inicio*/
.emr-projects{
padding:90px 0;
background:#fff;
overflow:hidden;
}
.emr-slider{
position:relative;
max-width:1000px;
margin:0 auto;
}
.emr-wrapper{
overflow:hidden;
border-radius:22px;
}
.emr-track{
display:flex;
transition:transform .55s ease;
}
.emr-slide{
min-width:100%;
flex-shrink:0;
padding:8px;
}
.emr-card{
background:#fff;
border-radius:22px;
overflow:hidden;
box-shadow:0 18px 45px rgba(0,0,0,.10);
}
.emr-card img{
display:block;
width:100%;
height:520px;
object-fit:cover;
}
.emr-info{
padding:24px 30px;
}
.emr-info h3{
font-family:"Space Grotesk",sans-serif;
font-size:1.45rem;
font-weight:700;
margin-bottom:6px;
color:#1F2937;
}
.emr-info p{
margin:0;
font-size:.95rem;
color:#6B7280;
}
.emr-prev,
.emr-next{
position:absolute;
top:50%;
transform:translateY(-50%);
width:56px;
height:56px;
border-radius:50%;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 12px 30px rgba(0,0,0,.15);
cursor:pointer;
transition:.3s;
z-index:20;
}
.emr-prev{
left:-28px;
}
.emr-next{
right:-28px;
}
.emr-prev:hover,
.emr-next:hover{
background:#2563EB;
color:#fff;
transform:translateY(-50%) scale(1.08);
}
.emr-dots{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin:28px 0 18px;
}
.emr-dots button{
width:11px;
height:11px;
border:none;
border-radius:50%;
background:#D1D5DB;
cursor:pointer;
transition:.35s;
padding:0;
}
.emr-dots button.active{
width:34px;
border-radius:30px;
background:#2563EB;
}
.emr-button{
text-align:center;
margin-top:10px;
}
.emr-button .link-more{
display:inline-flex;
align-items:center;
gap:10px;
font-weight:600;
color:#2563EB;
transition:.3s;
}
.emr-button .link-more:hover{
gap:16px;
}
@media(max-width:992px){
.emr-slider{
max-width:90%;
}
.emr-card img{
height:420px;
}
.emr-prev{
left:-18px;
}
.emr-next{
 right:-18px;
}
}
@media(max-width:768px){
.emr-projects{
padding:70px 0;
}
.emr-slider{
max-width:100%;
}
.emr-card{
border-radius:18px;
}
.emr-card img{
height:300px;
}
.emr-info{
padding:20px;
}
.emr-info h3{
font-size:1.2rem;
}
.emr-prev,
.emr-next{
width:42px;
height:42px;
}
.emr-prev{
left:8px;
}
.emr-next{
right:8px;
}
}