/* ...existing styles... */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;align-items:center;justify-content:center;z-index:40}
.modal.open{display:flex}
.modal-content{position:relative;max-width:90vw;max-height:80vh;display:grid;gap:10px;color:#fff}
.modal-media img{max-width:100%;max-height:70vh;object-fit:contain}
.modal-caption{font-size:14px;color:#ddd;text-align:center}
.modal-controls{display:flex;justify-content:space-between;align-items:center;gap:10px}
.modal-btn{border:1px solid #fff;background:transparent;color:#fff;padding:8px 12px;border-radius:8px;cursor:pointer}
.modal-close{position:absolute;top:12px;right:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans",system-ui,sans-serif;color:var(--text);background:var(--bg);padding-bottom:88px}
.container{max-width:1100px;margin:auto;padding:0 20px}
.site-header{position:sticky;top:0;background:var(--bg);border-bottom:1px solid var(--line);z-index:20}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}
/*.logo{font-weight:800;letter-spacing:.5px;color:var(--text);text-decoration:none}*/
.nav-toggle{display:none;background:transparent;border:0;width:36px;height:36px;position:relative}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:8px;right:8px;height:2px;background:var(--text);transition:.25s}
.nav-toggle span{top:17px}.nav-toggle span::before{top:-8px}.nav-toggle span::after{top:8px}
.nav-links{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.nav a{color:var(--text);text-decoration:none;font-weight:600}
.cta-link{border:1px solid var(--text);padding:8px 12px;border-radius:999px}

.hero{position:relative;min-height:68vh;display:grid;place-items:center;border-bottom:1px solid var(--line)}
.hero-media{position:absolute;inset:0;overflow:hidden}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:saturate(.9)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.15))}
.hero-content{position:relative;color:#fff;text-align:center;padding:80px 0}
.hero h1{font-weight:800;font-size:clamp(28px,5vw,48px);margin:0 0 10px}
.hero p{color:#eaeaea;margin:0 auto 24px;max-width:720px}

.btn{display:inline-block;padding:12px 18px;border-radius:12px;border:1px solid #fff;color:#fff;text-decoration:none;transition:transform .15s ease,opacity .2s}
.btn.primary{background:#000;border-color:#000}
.btn.ghost{background:transparent}
.btn:hover{transform:translateY(-2px);opacity:.9}

.hero-stats{display:flex;gap:24px;justify-content:center;margin-top:24px}
.stat strong{font-size:28px;display:block}
.stat span{color:#cfcfcf;font-size:14px}

.section{padding:72px 0}
.section-header h2{font-size:28px;margin:0 0 8px}
.section-header p{color:var(--muted);margin:0 0 24px}

.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.06)}
.card img{width:100%;height:150px;object-fit:cover;border-bottom:1px solid var(--line)}
.card h3{margin:12px 12px 6px}
.card p{margin:0 12px 16px;color:var(--muted)}

.filters{display:flex;gap:10px;margin-bottom:18px}
.filter-btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:8px 12px;border-radius:999px;cursor:pointer}
.filter-btn.active{border-color:#000;background:#000;color:#fff}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.item{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}
.item img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.item figcaption{padding:8px 10px;color:var(--muted);font-size:14px;border-top:1px solid var(--line)}

.before-after{
  margin-top:42px;
  padding:32px;
  background:linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius:16px;
  border:1px solid var(--line);
}
.ba-wrap{
  position:relative;
  max-width:900px;
  margin:auto;
  aspect-ratio:16/9;
  border:2px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.ba-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ba-after{
  clip-path:inset(0 50% 0 0);
}
.ba-slider{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  appearance:none;
  background:transparent;
  cursor:ew-resize;
  z-index:2;
}
.ba-slider::-webkit-slider-thumb{
  appearance:none;
  width:4px;
  height:100%;
  background:#fff;
  box-shadow:0 0 12px rgba(0,0,0,.3);
  cursor:ew-resize;
}
.ba-slider::-moz-range-thumb{
  width:4px;
  height:100%;
  background:#fff;
  box-shadow:0 0 12px rgba(0,0,0,.3);
  cursor:ew-resize;
  border:none;
}
.ba-label{
  display:flex;
  justify-content:space-between;
  color:#6b7280;
  font-size:14px;
  font-weight:600;
  margin-top:16px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.g-meta{
  text-align:center;
  margin-bottom:24px;
  font-size:15px;
  color:#374151;
}
.g-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:6px;
  background:linear-gradient(135deg, #4285F4 0%, #34A853 100%);
  color:#fff;
  font-weight:600;
  font-size:13px;
  margin-right:6px;
}
.stars{
  color:#fbbf24;
  font-size:18px;
  letter-spacing:2px;
}

.testimonials{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  max-width:1200px;
  margin:0 auto;
}

.t-track{
  display:flex;
  overflow-x:auto;
  scroll-behavior:smooth;
  gap:20px;
  padding:12px 4px;
  scrollbar-width:none;
}
.t-track::-webkit-scrollbar{display:none}

.t-card{
  flex:0 0 280px;
  min-width:280px;
  border:2px solid #e5e7eb;
  border-radius:16px;
  padding:24px;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  transition:all .3s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
}

.t-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}

.t-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
  border-color:#3b82f6;
}

.t-card:hover::before{
  transform:scaleX(1);
}

.t-card .t-stars{
  color:#fbbf24;
  font-size:16px;
  letter-spacing:1px;
  margin-bottom:12px;
}

.t-card p{
  font-size:15px;
  line-height:1.6;
  color:#374151;
  font-style:italic;
  margin:0 0 16px;
}

.t-author{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e5e7eb;
}

.t-author img{
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid #e5e7eb;
}

.t-author .avatar-fallback{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #e5e7eb;
  background:linear-gradient(135deg,#4285F4,#34A853);
  color:#fff;
  font-weight:700;
  font-size:16px;
}

.t-author strong{
  display:block;
  font-size:15px;
  color:#1a1a1a;
}

.t-author span{
  display:block;
  font-size:13px;
  color:#6b7280;
}

.t-arrow{
  border:2px solid #e5e7eb;
  background:#fff;
  border-radius:50%;
  width:48px;
  height:48px;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:24px;
  color:#374151;
  transition:all .25s ease;
  flex-shrink:0;
}

.t-arrow:hover{
  background:#3b82f6;
  border-color:#3b82f6;
  color:#fff;
  transform:scale(1.1);
}

.process{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  counter-reset:step;
  position:relative;
  margin-top:32px;
}

.process::before{
  content:"";
  position:absolute;
  top:40px;
  left:10%;
  right:10%;
  height:4px;
  background:#e5e7eb;
  z-index:0;
}

.process li{
  position:relative;
  padding:24px 16px;
  text-align:center;
  cursor:pointer;
  transition:all .3s ease;
  z-index:1;
  list-style:none;
}

.process li::before{
  counter-increment:step;
  content:counter(step);
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:80px;
  height:80px;
  border-radius:50%;
  background:#fff;
  border:4px solid #e5e7eb;
  display:grid;
  place-items:center;
  font-size:32px;
  font-weight:800;
  color:#d1d5db;
  transition:all .4s cubic-bezier(.4,0,.2,1);
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.process li h3{
  font-size:16px;
  margin:76px 0 8px;
  color:#374151;
  transition:color .3s ease;
}

.process li p{
  font-size:14px;
  color:#6b7280;
  margin:0;
  line-height:1.5;
  transition:color .3s ease;
}

.process li:hover{
  transform:translateY(-4px);
}

.process li:hover::before{
  transform:translateX(-50%) scale(1.15);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.process li.active::before{
  background:linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-color:#3b82f6;
  color:#fff;
  animation:pulse 2s infinite;
}

.process li.active h3{
  color:#1a1a1a;
  font-weight:700;
}

.process li.active p{
  color:#374151;
}

@keyframes pulse{
  0%, 100%{
    box-shadow:0 4px 12px rgba(59,130,246,.4);
  }
  50%{
    box-shadow:0 8px 24px rgba(59,130,246,.6);
  }
}

.process-progress{
  height:8px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
  margin:0 0 24px;
  position:relative;
}

.process-progress .bar{
  height:100%;
  width:0;
  background:linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  transition:width .6s cubic-bezier(.4,0,.2,1);
  position:relative;
  border-radius:999px;
}

.process-progress .bar::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  background:#fff;
  border:3px solid #3b82f6;
  border-radius:50%;
  box-shadow:0 2px 8px rgba(59,130,246,.4);
}

.about{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:32px;
  align-items:center;
  padding:32px;
  background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius:16px;
  border:1px solid var(--line);
}

.about img{
  width:100%;
  border-radius:12px;
  border:2px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transition:transform .3s ease, box-shadow .3s ease;
}

.about img:hover{
  transform:scale(1.02);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
}

.about > div{
  padding:0 12px;
}

.about p{
  font-size:16px;
  line-height:1.7;
  color:#374151;
  margin:0 0 20px;
}

.badges{
  display:flex;
  gap:12px;
  list-style:none;
  padding:0;
  margin:20px 0 0;
  flex-wrap:wrap;
}

.badges li{
  border:2px solid #e5e7eb;
  border-radius:999px;
  padding:10px 18px;
  font-size:14px;
  font-weight:600;
  color:#374151;
  background:#fff;
  transition:all .25s ease;
}

.badges li:hover{
  border-color:#3b82f6;
  color:#3b82f6;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(59,130,246,.2);
}

.contact-form{
  border:1px solid var(--line);
  border-radius:16px;
  padding:32px;
  background:linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  transition:box-shadow .25s;
  max-width:900px;
  margin:0 auto;
}

.contact-form:focus-within{box-shadow:0 12px 32px rgba(0,0,0,.08)}

.contact-form .grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.contact-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:600;
  font-size:14px;
  color:#1a1a1a;
}

.contact-form label.full{
  grid-column:1/-1;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  padding:12px 16px;
  border:2px solid #e5e7eb;
  border-radius:10px;
  font-family:inherit;
  font-size:15px;
  transition:all .2s ease;
  background:#fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#3b82f6;
  box-shadow:0 0 0 3px rgba(59,130,246,.1);
}

input.invalid,select.invalid,textarea.invalid{
  border-color:#ef4444;
  background:#fef2f2;
}

.error{
  min-height:18px;
  font-size:13px;
  color:#ef4444;
  font-weight:400;
  margin-top:-4px;
}

.contact-form label.consent{
  flex-direction:row;
  align-items:center;
  gap:10px;
  font-weight:400;
  font-size:13px;
  color:#6b7280;
}

.contact-form label.consent input[type="checkbox"]{
  width:20px;
  height:20px;
  margin:0;
  cursor:pointer;
  accent-color:#3b82f6;
}

.counter{
  text-align:right;
  font-size:12px;
  color:#9ca3af;
  margin-top:4px;
}

.form-actions{
  display:flex;
  gap:12px;
  margin-top:8px;
}

.form-actions .btn{
  flex:1;
  text-align:center;
  padding:14px 24px;
  font-weight:600;
  font-size:15px;
  border-radius:10px;
}

.form-actions .btn.primary{
  background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border:none;
  color:#fff;
  box-shadow:0 4px 12px rgba(59,130,246,.3);
}

.form-actions .btn.primary:hover{
  background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(59,130,246,.4);
}

.form-actions .btn.ghost{
  background:#fff;
  border:2px solid #e5e7eb;
  color:#374151;
}

.form-actions .btn.ghost:hover{
  background:#f9fafb;
  border-color:#d1d5db;
}

.btn.primary.loading{position:relative;pointer-events:none;opacity:.85}
.btn.primary.loading::after{content:"";position:absolute;right:12px;top:50%;width:16px;height:16px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;transform:translateY(-50%);animation:spin .8s linear infinite}

.form-note{
  text-align:center;
  font-size:12px;
  color:#9ca3af;
  margin:12px 0 0;
}

#contacto .section-header{
  text-align:center;
  margin-bottom:40px;
}

#contacto .section-header h2{
  font-size:36px;
  background:linear-gradient(135deg, #1a1a1a 0%, #3b82f6 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

#contacto .section-header p{
  font-size:16px;
  color:#6b7280;
}

@keyframes spin{to{transform:translateY(-50%) rotate(360deg)}}

.footer{
  border-top:2px solid #e5e7eb;
  padding:48px 0 24px;
  background:linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:32px;
  margin-bottom:32px;
}

.footer-grid > div:first-child strong{
  font-size:24px;
  font-weight:800;
  display:block;
  margin-bottom:8px;
  background:linear-gradient(135deg, #1a1a1a 0%, #3b82f6 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.footer-grid > div:first-child p{
  color:#6b7280;
  margin:0;
  font-size:15px;
}

.footer-grid > div > p{
  font-weight:700;
  color:#1a1a1a;
  margin:0 0 12px;
  font-size:15px;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-links a{
  color:#6b7280;
  text-decoration:none;
  font-size:15px;
  transition:color .2s ease;
}

.footer-links a:hover{
  color:#3b82f6;
}

.social{
  display:inline-block;
  border:2px solid #e5e7eb;
  padding:10px 18px;
  border-radius:999px;
  color:#374151;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:all .25s ease;
  background:#fff;
}

.social:hover{
  border-color:#3b82f6;
  color:#3b82f6;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(59,130,246,.2);
}

.legal{
  color:#9ca3af;
  font-size:13px;
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid #e5e7eb;
  text-align:center;
}

.whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#25D366;
  display:grid;
  place-items:center;
  box-shadow:0 10px 20px rgba(0,0,0,.15);
  z-index:30;
}

.whatsapp img{
  width:26px;
  height:26px;
  filter:brightness(0) invert(1);
}

.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .5s ease,transform .5s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

@media (max-width:960px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .process{grid-template-columns:repeat(3,1fr)}
  .process::before{
    display:none;
  }
  .about{grid-template-columns:1fr}
}

  
img{max-width:100%;height:auto;display:block}

.chatbot-widget{
  position:fixed;
  bottom:88px;
  right:18px;
  z-index:35;
}

.chatbot-toggle{
  width:56px;
  height:56px;
  border-radius:50%;
  background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border:none;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(59,130,246,.4);
  display:grid;
  place-items:center;
  transition:all .3s ease;
  color:#fff;
  font-size:24px;
}

.chatbot-toggle:hover{
  transform:scale(1.1);
  box-shadow:0 12px 24px rgba(59,130,246,.5);
}

.chatbot-toggle.open{
  background:linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.chatbot-window{
  position:absolute;
  bottom:70px;
  right:0;
  width:360px;
  height:520px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  display:none;
  flex-direction:column;
  overflow:hidden;
  transform-origin:bottom right;
  animation:chatSlideIn .3s cubic-bezier(.4,0,.2,1);
}

.chatbot-window.open{
  display:flex;
}

@keyframes chatSlideIn{
  from{
    opacity:0;
    transform:scale(.8) translateY(20px);
  }
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}

.chatbot-header{
  background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color:#fff;
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
}

.chatbot-header .avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#fff;
  color:#3b82f6;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:18px;
}

.chatbot-header .info h4{
  margin:0;
  font-size:16px;
  font-weight:700;
}

.chatbot-header .info p{
  margin:0;
  font-size:12px;
  opacity:.9;
}

.chatbot-messages{
  flex:1;
  overflow-y:auto;
  padding:20px;
  background:#f9fafb;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.chatbot-message{
  display:flex;
  gap:8px;
  align-items:flex-end;
  animation:messageSlide .3s ease;
}

@keyframes messageSlide{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.chatbot-message.bot{
  align-self:flex-start;
}

.chatbot-message.user{
  align-self:flex-end;
  flex-direction:row-reverse;
}

.chatbot-message .bubble{
  max-width:75%;
  padding:12px 16px;
  border-radius:16px;
  font-size:14px;
  line-height:1.5;
}

.chatbot-message.bot .bubble{
  background:#fff;
  color:#1a1a1a;
  border:1px solid #e5e7eb;
  border-bottom-left-radius:4px;
}

.chatbot-message.user .bubble{
  background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color:#fff;
  border-bottom-right-radius:4px;
}

.chatbot-options{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}

.chatbot-option{
  background:#fff;
  border:2px solid #e5e7eb;
  border-radius:12px;
  padding:12px 16px;
  text-align:left;
  cursor:pointer;
  transition:all .2s ease;
  font-size:14px;
  color:#374151;
  font-weight:600;
}

.chatbot-option:hover{
  border-color:#3b82f6;
  background:#f0f9ff;
  transform:translateX(4px);
}

.chatbot-input-area{
  padding:16px;
  background:#fff;
  border-top:1px solid #e5e7eb;
  display:flex;
  gap:8px;
}

.chatbot-input{
  flex:1;
  border:2px solid #e5e7eb;
  border-radius:12px;
  padding:10px 14px;
  font-family:inherit;
  font-size:14px;
  outline:none;
  transition:border-color .2s ease;
}

.chatbot-input:focus{
  border-color:#3b82f6;
}

.chatbot-send{
  width:40px;
  height:40px;
  border-radius:12px;
  background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border:none;
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:18px;
  transition:all .2s ease;
}

.chatbot-send:hover{
  transform:scale(1.05);
}

.chatbot-send:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.typing-indicator{
  display:flex;
  gap:4px;
  padding:12px 16px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  border-bottom-left-radius:4px;
  width:fit-content;
}

.typing-indicator span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#9ca3af;
  animation:typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2){
  animation-delay:.2s;
}

.typing-indicator span:nth-child(3){
  animation-delay:.4s;
}

@keyframes typingBounce{
  0%, 60%, 100%{
    transform:translateY(0);
  }
  30%{
    transform:translateY(-8px);
  }
}

@media (max-width:640px){
  .chatbot-window{
    width:calc(100vw - 32px);
    max-width:360px;
    height:480px;
  }
  
  .chatbot-widget{
    bottom:80px;
  }
}


/* CSS del logo y el título de la página*/

.site-header {
  background-color: #050505; /* Puedes cambiar el color del fondo */
  padding: 10px 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre logo y texto */
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;  
}

.logo-text {
  color: #ffffff !important; /* Forzar color blanco */
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #f1c40f; /* color dorado al pasar el mouse */
}

/*Footer diseño profesional*/

.footer {
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 60%, #2c2c2c 100%);
  color: #f1f1f1;
  padding: 0 20px 50px;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 10px;
  border-bottom: 1px solid #333;
}

.footer-logo-center {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  border-bottom: 1px solid #333;
  padding: 40px 0;
}

.footer-section h4,
.footer-title {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #f1c40f; /* dorado elegante */
}

.company-info p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
}

.social-links a {
  display: inline-block;
  color: #ccc;
  margin-bottom: 8px;
}

.social-links a:hover {
  color: #f1c40f;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #fff;
}


/*Menú móviles y llamada botón*/

/* Header fijo y capas correctas */
.site-header{
  position: sticky; top:0; z-index:1000;
  background:#000;
}

/* Layout base */
.nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 16px; }
.logo-container{ display:flex; align-items:center; gap:10px; }
.logo-img{ width:42px; height:42px; object-fit:contain; }
.logo-text{ color:#fff; font-weight:700; text-decoration:none; }

/* Links escritorio */
.nav-links{ display:flex; gap:22px; list-style:none; margin:0; padding:0; }
.nav-links a{ color:#fff; text-decoration:none; font-weight:500; }
.nav-links a:hover{ color:#f1c40f; }

/* Hamburguesa */
.nav-toggle{ display:none; width:42px; height:42px; background:transparent; border:0; cursor:pointer; }
.nav-toggle span{
  display:block; height:2px; background:#fff; margin:8px 0; border-radius:2px; transition:.3s;
}


/* ====== Mobile ====== */
@media (max-width: 992px){
  .nav-toggle{ display:block; }
  /* Panel deslizante */
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:78%;
    max-width:320px; background:#111; padding:80px 24px 24px;
    flex-direction:column; gap:18px; transform:translateX(100%);
    transition:transform .3s ease; z-index:999; box-shadow:-6px 0 18px rgba(0,0,0,.4);
  }
  .nav-links a{ font-size:1.05rem; }
  /* Estado abierto */
  .nav.open .nav-links{ transform:translateX(0); }
  .nav.open + .nav-overlay, .nav.open .nav-overlay{ display:block; }
  .nav.open .nav-overlay[hidden]{ display:block; } /* asegurar visibilidad */
  /*.nav.open .nav-overlay{ hidden:false; }*/
  .nav-overlay[hidden] { display: none !important; }
  .nav.open .nav-toggle span:nth-child(1){ transform:translateY(10px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2){ opacity:0; }
  .nav.open .nav-toggle span:nth-child(3){ transform:translateY(-10px) rotate(-45deg); }

  /* Evitar solape con widgets flotantes */
  .hero-actions{ flex-direction:column; align-items:stretch; gap:12px; }
  .btn{ width:100%; }

  /* Empujar contenido al abrir (opcional) */
  body.menu-lock{ overflow:hidden; }
}

/* CTA: Request a quote más llamativo en móvil */
.btn.primary.cta-call{
  background: linear-gradient(90deg,#ffd166,#f1c40f);
  color:#111; font-weight:800;
  border-radius:14px; padding:14px 22px;
  box-shadow: 0 10px 22px rgba(241,196,15,.35), 0 2px 0 rgba(0,0,0,.2) inset;
  outline:2px solid rgba(255,255,255,.15);
  transition: transform .06s ease, box-shadow .2s ease;
}
.btn.primary.cta-call:hover{ transform: translateY(-2px); }
.btn.primary.cta-call:active{ transform: translateY(0); box-shadow: 0 6px 14px rgba(241,196,15,.35); }


/* Pequeña “onda” de atención en móvil */
@media (max-width: 992px){
  .btn.primary.cta-call{
    animation: pulseCta 1.8s ease-in-out infinite;
    font-size:1.05rem;
  }
}
@keyframes pulseCta{
  0%,100%{ box-shadow:0 0 0 0 rgba(241,196,15,.55); }
  50%{ box-shadow:0 0 0 12px rgba(241,196,15,0); }
}

/* Overlay del menú */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  display: none;         /* Oculto por defecto */
}

/* Mostrar overlay cuando el menú está abierto */
.nav.open .nav-overlay{
  display: block;        /* Visible cuando .nav tiene .open */
}


/* Base */
.site-header{ position:sticky; top:0; z-index:1000; background:#000; }
.nav{ display:flex; justify-content:space-between; align-items:center; padding:10px 16px; }
.logo-container{ display:flex; align-items:center; gap:10px; }
.logo-text{ color:#fff; text-decoration:none; font-weight:700; }
.nav-links{ display:flex; gap:22px; list-style:none; margin:0; padding:0; }
.nav-links a{ color:#fff; text-decoration:none; }
.nav-toggle{ display:none; width:42px; height:42px; border:0; background:transparent; cursor:pointer; }
.nav-toggle span{ display:block; height:2px; background:#fff; margin:8px 0; border-radius:2px; transition:.3s; }

/* Overlay global */
.nav-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  z-index:998; display:none;
}
.nav-overlay[hidden]{ display:none !important; }

/* ====== Mobile ====== */
/* ===== Mobile slide panel ===== */
@media (max-width: 992px){
  .nav-toggle{ display:block; }

  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px;
    background:#111; padding:80px 24px 24px; display:flex; flex-direction:column; gap:18px;
    transform:translateX(100%); transition:transform .3s ease; z-index:999;
    box-shadow:-6px 0 18px rgba(0,0,0,.4);
  }

  /* Estado abierto controlado por <body> */
  body.menu-open .nav-links{ transform:translateX(0); }
  body.menu-open .nav-overlay{ display:block; }
  body.menu-open{ overflow:hidden; }

  /* Animación del botón hamburguesa */
  body.menu-open .nav-toggle span:nth-child(1){ transform:translateY(10px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
  body.menu-open .nav-toggle span:nth-child(3){ transform:translateY(-10px) rotate(-45deg); }
}
