/* MDL Services Landing Page CSS — v3 (rediseño navy/cyan) */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#122a4b;
  --navy-mid:#1a3d6b;
  --navy-light:#234f88;
  --cyan:#06b6d4;
  --cyan-light:#22d3ee;
  --white:#ffffff;
  --off-white:#f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-400:#94a3b8;
  --slate-600:#475569;
  --slate-800:#1e293b;
  --text:#0f172a;
}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--white);color:var(--text);overflow-x:hidden;-webkit-font-smoothing:antialiased}

/* ─── NAV ─── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;justify-content:space-between;align-items:center;
  padding:0 5%;height:72px;
  background:rgba(18,42,75,0.97);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:all 0.3s;
}
.nav-logo img{height:36px;display:block}
.nav-links{display:flex;gap:2.5rem;list-style:none;align-items:center}
.nav-links a{font-size:0.82rem;font-weight:400;color:rgba(255,255,255,0.7);text-decoration:none;letter-spacing:0.02em;transition:color 0.2s}
.nav-links a:hover{color:var(--white)}
.nav-cta{
  background:var(--cyan);color:var(--navy)!important;
  padding:9px 22px;border-radius:8px;
  font-weight:600!important;font-size:0.82rem!important;
  transition:all 0.2s!important;
}
.nav-cta:hover{background:var(--cyan-light)!important;transform:translateY(-1px)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.hamburger span{display:block;width:24px;height:2px;background:white;border-radius:2px;transition:all 0.3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ─── HERO ─── */
.hero{
  min-height:100vh;
  background:linear-gradient(160deg,var(--navy) 0%,var(--navy-mid) 50%,#0f2040 100%);
  display:flex;align-items:center;
  padding:100px 5% 60px;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 70% 50%,rgba(6,182,212,0.08) 0%,transparent 60%);
}
.hero::after{
  content:'';position:absolute;
  right:-200px;top:50%;transform:translateY(-50%);
  width:700px;height:700px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(6,182,212,0.04) 0%,transparent 70%);
}
.hero-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:4rem;align-items:center;
  max-width:1280px;margin:0 auto;width:100%;
  position:relative;z-index:1;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(6,182,212,0.12);border:1px solid rgba(6,182,212,0.25);
  border-radius:100px;padding:6px 16px;
  font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--cyan);font-weight:500;margin-bottom:1.5rem;
}
.badge-dot{width:6px;height:6px;border-radius:50%;background:var(--cyan);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
.hero h1{
  font-family:'Poppins',sans-serif;
  font-size:clamp(2.4rem,4.5vw,3.8rem);
  font-weight:800;line-height:1.1;
  color:var(--white);margin-bottom:1.5rem;
  overflow-wrap:break-word;word-break:break-word;
}
.hero h1 span{
  background:linear-gradient(135deg,var(--cyan) 0%,var(--cyan-light) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-desc{
  font-size:1.05rem;line-height:1.75;
  color:rgba(255,255,255,0.65);
  max-width:520px;margin-bottom:2.5rem;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap}
.btn-primary{
  background:var(--cyan);color:var(--navy);
  padding:14px 32px;border-radius:10px;
  font-size:0.9rem;font-weight:600;
  text-decoration:none;display:inline-block;
  transition:all 0.2s;border:none;cursor:pointer;
}
.btn-primary:hover{background:var(--cyan-light);transform:translateY(-2px);box-shadow:0 8px 32px rgba(6,182,212,0.3)}
.btn-ghost{
  background:transparent;color:white;
  padding:14px 32px;border-radius:10px;
  font-size:0.9rem;font-weight:500;
  text-decoration:none;display:inline-block;
  border:1.5px solid rgba(255,255,255,0.2);
  transition:all 0.2s;
}
.btn-ghost:hover{border-color:rgba(255,255,255,0.5);background:rgba(255,255,255,0.05)}
.hero-stats{
  display:flex;gap:2.5rem;margin-top:3rem;
  padding-top:2rem;border-top:1px solid rgba(255,255,255,0.1);
}
.stat{display:flex;flex-direction:column;gap:4px}
.stat-num{font-family:'Poppins',sans-serif;font-size:1.9rem;font-weight:700;color:var(--white)}
.stat-num span{color:var(--cyan)}
.stat-label{font-size:0.72rem;color:rgba(255,255,255,0.45);letter-spacing:0.06em;text-transform:uppercase}

/* Hero imagen */
.hero-visual{position:relative}
.hero-img-wrap{
  border-radius:20px;overflow:hidden;
  box-shadow:0 40px 80px rgba(0,0,0,0.4);
  position:relative;
}
.hero-img-wrap img{width:100%;height:420px;object-fit:cover;display:block}
.hero-img-badge{
  position:absolute;bottom:24px;left:24px;
  background:rgba(18,42,75,0.95);backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:14px;padding:14px 18px;
  display:flex;align-items:center;gap:12px;
}
.badge-icon{
  width:40px;height:40px;border-radius:10px;
  background:rgba(6,182,212,0.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.badge-icon svg{width:20px;height:20px;stroke:var(--cyan);fill:none;stroke-width:2}
.badge-text strong{display:block;font-size:0.85rem;font-weight:600;color:white;margin-bottom:2px}
.badge-text span{font-size:0.72rem;color:rgba(255,255,255,0.5)}
.gdp-badge{
  position:absolute;top:24px;right:24px;
  background:rgba(6,182,212,0.15);backdrop-filter:blur(16px);
  border:1px solid rgba(6,182,212,0.3);
  border-radius:10px;padding:10px 16px;
  font-size:0.72rem;font-weight:600;
  color:var(--cyan);letter-spacing:0.1em;text-transform:uppercase;
}

/* ─── CLIENTES ─── */
.clients{
  background:var(--off-white);
  padding:3rem 5%;
  border-top:1px solid var(--slate-200);
  border-bottom:1px solid var(--slate-200);
}
.clients-inner{
  max-width:1280px;margin:0 auto;
  display:flex;align-items:center;gap:3rem;flex-wrap:wrap;
}
.clients-label{font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--slate-400);font-weight:500;flex-shrink:0}
.clients-logos{display:flex;gap:3rem;align-items:center;flex-wrap:wrap}
.client-logo{
  font-family:'Poppins',sans-serif;font-size:0.92rem;font-weight:700;
  color:var(--slate-400);letter-spacing:0.04em;
  opacity:0.6;transition:opacity 0.2s;
}
.client-logo:hover{opacity:1}

/* ─── SERVICIOS ─── */
.services{padding:7rem 5%;background:var(--white)}
.section-inner{max-width:1280px;margin:0 auto}
.section-eyebrow{
  font-size:0.7rem;letter-spacing:0.15em;text-transform:uppercase;
  color:var(--cyan);font-weight:600;
  display:flex;align-items:center;gap:10px;margin-bottom:1rem;
}
.section-eyebrow::before{content:'';width:24px;height:2px;background:var(--cyan);border-radius:2px;display:block}
.section-title{
  font-family:'Poppins',sans-serif;
  font-size:clamp(1.8rem,3vw,2.8rem);
  font-weight:800;line-height:1.15;
  color:var(--navy);margin-bottom:1rem;
  overflow-wrap:break-word;word-break:break-word;
}
.section-sub{font-size:0.95rem;color:var(--slate-600);line-height:1.7;max-width:600px;margin-bottom:4rem}
.services-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2rem;margin-bottom:4rem;flex-wrap:wrap}
.services-head .section-sub{margin-bottom:0}

.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;
}
.service-card{
  background:var(--white);border:1.5px solid var(--slate-200);
  border-radius:18px;padding:2.2rem;
  transition:all 0.3s;cursor:default;
  position:relative;overflow:hidden;
}
.service-card::after{
  content:'';position:absolute;
  bottom:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--cyan),var(--navy-light));
  transform:scaleX(0);transform-origin:left;
  transition:transform 0.3s;
}
.service-card:hover{
  border-color:rgba(6,182,212,0.3);
  box-shadow:0 20px 60px rgba(18,42,75,0.1);
  transform:translateY(-4px);
}
.service-card:hover::after{transform:scaleX(1)}
.svc-icon{
  width:52px;height:52px;border-radius:14px;
  background:linear-gradient(135deg,rgba(6,182,212,0.12),rgba(18,42,75,0.06));
  border:1.5px solid rgba(6,182,212,0.2);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.5rem;
}
.svc-icon svg{width:24px;height:24px;stroke:var(--cyan);fill:none;stroke-width:1.8}
.svc-title{font-family:'Poppins',sans-serif;font-size:1.05rem;font-weight:700;color:var(--navy);margin-bottom:0.75rem}
.svc-desc{font-size:0.85rem;line-height:1.75;color:var(--slate-600)}
.svc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:1.2rem}
.svc-tag{
  font-size:0.68rem;font-weight:500;letter-spacing:0.04em;
  background:var(--slate-100);color:var(--slate-600);
  padding:4px 10px;border-radius:100px;
}

/* ─── POR QUÉ MDL ─── */
.why{
  padding:7rem 5%;
  background:linear-gradient(160deg,var(--navy) 0%,#0f2040 100%);
  position:relative;overflow:hidden;
}
.why::before{
  content:'';position:absolute;
  right:-300px;bottom:-300px;
  width:700px;height:700px;border-radius:50%;
  background:radial-gradient(circle,rgba(6,182,212,0.06) 0%,transparent 70%);
}
.why-inner{max-width:1280px;margin:0 auto;position:relative;z-index:1}
.why .section-eyebrow{color:var(--cyan)}
.why .section-title{color:var(--white)}
.why .section-sub{color:rgba(255,255,255,0.6)}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.why-features{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.why-feature{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;padding:1.8rem;
  transition:all 0.3s;
}
.why-feature:hover{
  background:rgba(6,182,212,0.07);
  border-color:rgba(6,182,212,0.2);
}
.wf-icon{
  width:42px;height:42px;border-radius:10px;
  background:rgba(6,182,212,0.12);
  display:flex;align-items:center;justify-content:center;margin-bottom:1rem;
}
.wf-icon svg{width:20px;height:20px;stroke:var(--cyan);fill:none;stroke-width:1.8}
.wf-title{font-size:0.92rem;font-weight:600;color:var(--white);margin-bottom:0.4rem}
.wf-desc{font-size:0.8rem;line-height:1.65;color:rgba(255,255,255,0.5)}

/* Visual lado derecho */
.why-visual{position:relative}
.why-img-main{
  border-radius:20px;overflow:hidden;
  box-shadow:0 40px 80px rgba(0,0,0,0.4);
}
.why-img-main img{width:100%;height:380px;object-fit:cover;display:block}
.why-card-overlay{
  position:absolute;bottom:-24px;left:-24px;
  background:var(--navy);border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;padding:1.5rem;
  display:flex;gap:1.5rem;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
}
.wco-stat{text-align:center}
.wco-num{font-family:'Poppins',sans-serif;font-size:1.6rem;font-weight:800;color:var(--cyan)}
.wco-label{font-size:0.7rem;color:rgba(255,255,255,0.4);letter-spacing:0.06em;text-transform:uppercase;margin-top:3px}
.wco-divider{width:1px;background:rgba(255,255,255,0.1)}

/* ─── PROCESO ─── */
.process{padding:7rem 5%;background:var(--off-white)}
.process-steps{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:0;margin-top:4rem;position:relative;
}
.process-steps::before{
  content:'';position:absolute;top:28px;left:calc(12.5% + 1rem);right:calc(12.5% + 1rem);height:2px;
  background:linear-gradient(90deg,var(--cyan),var(--navy-light));
  z-index:0;
}
.process-step{
  display:flex;flex-direction:column;align-items:center;
  text-align:center;padding:0 1rem;position:relative;z-index:1;
}
.step-num{
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  color:white;font-family:'Poppins',sans-serif;font-size:1.1rem;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.5rem;position:relative;z-index:1;
  box-shadow:0 0 0 6px var(--off-white);
}
.step-title{font-size:0.92rem;font-weight:600;color:var(--navy);margin-bottom:0.5rem}
.step-desc{font-size:0.8rem;line-height:1.65;color:var(--slate-600)}

/* ─── CTA FINAL / CONTACTO ─── */
.cta-section{
  padding:7rem 5%;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 0%,rgba(6,182,212,0.1) 0%,transparent 60%);
}
.cta-inner{max-width:1280px;margin:0 auto;position:relative;z-index:1;text-align:center}
.cta-section h2{
  font-family:'Poppins',sans-serif;
  font-size:clamp(2rem,3.5vw,3rem);
  font-weight:800;color:white;margin-bottom:1.2rem;line-height:1.15;
  overflow-wrap:break-word;word-break:break-word;
}
.cta-section > .cta-inner > p{font-size:1rem;color:rgba(255,255,255,0.65);line-height:1.7;margin:0 auto 2.5rem;max-width:680px}
.cta-buttons{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-bottom:4rem}

.contact-form{
  background:var(--white);color:var(--text);border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,0.25);
  padding:2.5rem;max-width:560px;width:100%;
  margin:0 auto;text-align:left;
}
.contact-form h3{font-family:'Poppins',sans-serif;font-size:1.15rem;font-weight:700;margin-bottom:.4rem;color:var(--navy)}
.contact-form-note{color:var(--slate-600);font-size:.9rem;margin-bottom:1.5rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.contact-form label{display:block;margin-bottom:.35rem;font-weight:600;font-size:.82rem;color:var(--navy)}
.contact-form input,
.contact-form textarea{
  width:100%;padding:.65rem .75rem;border-radius:8px;border:1.5px solid var(--slate-200);
  margin-bottom:.25rem;font-size:.9rem;font-family:'Inter',sans-serif;
  transition:border-color .2s;background:var(--off-white);
}
.contact-form input:focus,
.contact-form textarea:focus{outline:none;border-color:var(--cyan);background:var(--white)}
.contact-form textarea{min-height:90px;resize:vertical}
.contact-form .btn-primary{width:100%;margin-top:.5rem;text-align:center}

/* ─── FOOTER ─── */
footer{
  background:var(--slate-800);color:rgba(255,255,255,0.6);
  padding:3rem 5%;
}
.footer-inner{
  max-width:1280px;margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.5rem;
}
.footer-logo img{height:28px;opacity:0.8}
.footer-links{display:flex;gap:2rem;list-style:none}
.footer-links a{font-size:0.8rem;color:rgba(255,255,255,0.5);text-decoration:none;transition:color 0.2s}
.footer-links a:hover{color:white}
.footer-copy{font-size:0.75rem;color:rgba(255,255,255,0.35)}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:3rem}
  .hero-visual{display:none}
  .services-grid{grid-template-columns:1fr 1fr}
  .why-grid{grid-template-columns:1fr}
  .why-visual{display:none}
  .process-steps{grid-template-columns:1fr 1fr;gap:3rem}
  .process-steps::before{display:none}
}
@media(max-width:768px){
  .nav-links{display:none}
  .nav-links.open{
    display:flex;flex-direction:column;align-items:flex-start;gap:1.25rem;
    position:absolute;top:72px;left:0;right:0;
    background:rgba(18,42,75,0.98);backdrop-filter:blur(20px);
    padding:1.5rem 5%;border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .hamburger{display:flex}
  .hero h1{font-size:1.9rem}
  .services-grid{grid-template-columns:1fr}
  .services-head{grid-template-columns:1fr}
  .why-features{grid-template-columns:1fr}
  .process-steps{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;text-align:center}
  .hero-stats{flex-wrap:wrap;gap:1.5rem}
  .clients-inner{justify-content:center;text-align:center}
  .form-grid{grid-template-columns:1fr}
  .contact-form{padding:1.75rem}
}
