:root{
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --primary: #ff6600;
  --primary-light: #ff8533;
  --max: 1280px;
  --gutter: 32px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.grid{display:grid;gap:32px}
.grid-2{grid-template-columns:1.2fr .8fr}
.grid-3{grid-template-columns:repeat(3,1fr)}
.section{padding:120px 0;position:relative}
.page-cotizacion .section{padding-top:48px}

.top-contact-bar{
  height:30px;
  background:#283142;
  display:flex;
  align-items:center;
}
.top-contact-bar .container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
  color:rgba(255,255,255,0.9);
  font-size:0.6875rem;
}
.top-contact-bar .top-bar-inner{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  flex-wrap:wrap;
  transform:translateX(30px);
}
.top-bar-social{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.top-bar-social a{
  color:rgba(255,255,255,0.9);
  transition:color 0.2s ease, transform 0.2s ease;
}
.top-bar-social a:hover{
  color:var(--primary-light);
  transform:translateY(-1px);
}
.top-bar-social i{
  font-size:0.875rem;
}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:all 0.3s ease;
}
.site-header.scrolled{
  background:rgba(255,255,255,0.95);
  box-shadow:var(--shadow-md);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;gap:24px
}
.logo{display:flex;align-items:center;gap:12px;transition:transform 0.2s ease}
.logo:hover{transform:scale(1.02)}
.logo-img{height:48px;width:auto}
.nav-links{display:flex;align-items:center;gap:8px}
.nav-links a{
  color:var(--text-secondary);
  font-weight:500;
  font-size:0.9375rem;
  position:relative;
  padding:10px 16px;
  border-radius:8px;
  transition:all 0.2s ease;
}
.nav-links a:hover{
  color:var(--text);
  background:var(--bg-secondary);
}
.nav-links a i{margin-right:6px;opacity:0.7}

.btn{
  padding:14px 24px;
  border-radius:8px;
  font-weight:600;
  font-size:0.9375rem;
  border:1px solid transparent;
  font-family:"Inter",system-ui;
  cursor:pointer;
  transition:all 0.2s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-primary{
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#ffffff;
  box-shadow:0 4px 12px rgba(255,102,0,0.3);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(255,102,0,0.4);
}
.btn-secondary{
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color:#ffffff;
  box-shadow:0 4px 12px rgba(99,102,241,0.22);
}
.btn-secondary:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(99,102,241,0.32);
}
.btn-ghost{
  border-color:var(--line);
  background:transparent;
  color:var(--text);
}
.btn-ghost:hover{
  background:var(--bg-secondary);
  border-color:var(--text-secondary);
}
.btn-sm{padding:10px 18px;font-size:0.875rem}

.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:64px;
  align-items:center;
  padding:40px 0 80px;
  min-height:auto;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:60%;
  height:100%;
  background:linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(255,102,0,0.08) 50%, rgba(236,72,153,0.08) 100%);
  border-radius:50% 0 0 50%;
  z-index:-1;
}
.kicker{
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:.75rem;
  color:var(--muted);
  font-weight:600;
  margin-bottom:20px;
  display:inline-block;
}
.title{
  font-family:"Space Grotesk",system-ui;
  font-weight:700;
  line-height:1.1;
  font-size:clamp(3rem,7vw,5.5rem);
  letter-spacing:-.03em;
  margin:0 0 24px;
  color:var(--text);
}
.subtitle{
  color:var(--text-secondary);
  font-size:1.125rem;
  line-height:1.75;
  margin:0 0 32px;
  max-width:600px;
}
.cta{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px}

.hero-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  transition:all 0.3s ease;
}
.hero-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-xl);
}
.hero-card h3{
  font-family:"Space Grotesk";
  margin:0 0 12px;
  font-size:1.5rem;
  color:var(--text);
}
.hero-card p{
  color:var(--text-secondary);
  margin:0 0 24px;
  line-height:1.7;
  font-size:0.9375rem;
}

.photo{
  height:400px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.2)),
    url("assets/imagen-principal.png");
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow-md);
}

/* Slideshow flyers con transición squares */
.flyer-slideshow{
  display:block;
  position:relative;
  height:400px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  text-decoration:none;
  color:inherit;
}
.flyer-slideshow-slides{
  position:absolute;
  inset:0;
}
.flyer-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 0.4s ease;
  z-index:0;
}
.flyer-slide.active{
  opacity:1;
  z-index:1;
}
.flyer-squares{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(8, 1fr);
  grid-template-rows:repeat(5, 1fr);
  gap:0;
  pointer-events:none;
  z-index:2;
}
.flyer-squares .sq{
  background-size:800% 500%;
  background-position:center;
  background-repeat:no-repeat;
  opacity:1;
  transition:opacity 0.35s ease;
}
.flyer-squares .sq.out{
  opacity:0;
}

.caption{
  color:var(--muted);
  font-size:.875rem;
  margin-top:12px;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:all 0.3s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--accent);
}
.card h3{
  margin:0 0 12px;
  font-family:"Space Grotesk";
  font-size:1.25rem;
  color:var(--text);
}
.card p{
  margin:0;
  color:var(--text-secondary);
  line-height:1.7;
  font-size:0.9375rem;
}

/* Experiencia UI/UX (nosotros) */
.uiux-block{
  margin-top:48px;
  padding:40px 32px 48px;
  background:var(--bg-secondary);
  border:1px solid var(--line);
  border-radius:var(--radius);
  display:grid;
  grid-template-columns:minmax(200px, 1fr) minmax(280px, 1.4fr);
  gap:40px;
  align-items:start;
}
.uiux-image-wrap{
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}
.uiux-image{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}
.uiux-content{
  min-width:0;
}
.uiux-title{
  margin:0 0 16px;
  font-family:"Space Grotesk",system-ui,sans-serif;
  font-weight:700;
  font-size:1.5rem;
  color:var(--text);
}
.uiux-excerpt{
  margin:0 0 32px;
  color:var(--text-secondary);
  line-height:1.7;
  font-size:1rem;
  max-width:720px;
}
.uiux-icons{
  display:flex;
  flex-wrap:wrap;
  gap:24px 32px;
  align-items:flex-start;
}
.uiux-icon-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:100px;
}
.uiux-icon-wrap{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#fff;
  border-radius:12px;
  font-size:1.25rem;
  box-shadow:0 4px 12px rgba(255,102,0,0.25);
}
.uiux-icon-item span:last-child{
  font-size:0.8125rem;
  font-weight:600;
  color:var(--text);
  text-align:center;
}
@media (max-width: 768px){
  .uiux-block{
    grid-template-columns:1fr;
    gap:28px;
  }
  .uiux-image-wrap{
    max-width:360px;
    margin:0 auto;
  }
}
@media (max-width: 640px){
  .uiux-block{
    padding:28px 20px 36px;
  }
  .uiux-icons{
    gap:20px 24px;
  }
  .uiux-icon-item{
    min-width:80px;
  }
}

/* Esquema animado proceso de desarrollo (soluciones) */
.process-wrap{
  margin-bottom:56px;
  padding:40px 24px 48px;
  background:var(--bg-secondary);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.process-title{
  margin:0 0 32px;
  font-family:"Space Grotesk",system-ui,sans-serif;
  font-weight:700;
  font-size:1.125rem;
  color:var(--text-secondary);
  text-align:center;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.process-diagram{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:0;
  max-width:100%;
}
.process-step{
  --i: 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:140px;
  max-width:160px;
  padding:20px 16px;
  background:var(--surface);
  border:2px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  opacity:0;
  transform:translateY(20px);
  animation:processStepIn 0.6s ease forwards;
  animation-delay:calc(var(--i) * 0.12s);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.process-step:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--primary);
}
.process-step-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#fff;
  border-radius:12px;
  font-size:1.25rem;
}
.process-step-label{
  font-family:"Space Grotesk",system-ui,sans-serif;
  font-weight:700;
  font-size:0.9375rem;
  color:var(--text);
  margin-bottom:4px;
}
.process-step-desc{
  font-size:0.75rem;
  color:var(--text-secondary);
  text-align:center;
  line-height:1.4;
}
.process-arrow{
  display:flex;
  align-items:center;
  padding:0 8px;
  color:var(--primary);
  opacity:0;
  animation:processArrowIn 0.5s ease forwards;
  animation-delay:calc((var(--i, 0) + 1) * 0.12s);
}
.process-diagram .process-arrow{ flex-shrink:0; }
.process-arrow .process-arrow-line{
  width:24px;
  height:2px;
  background:linear-gradient(90deg, var(--line), var(--primary));
  margin-right:2px;
  border-radius:1px;
  animation:processLinePulse 2s ease-in-out infinite;
}
.process-arrow i{
  font-size:0.75rem;
  animation:processChevronPulse 2s ease-in-out infinite;
}
@keyframes processStepIn{
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@keyframes processArrowIn{
  to{ opacity:1; }
}
@keyframes processLinePulse{
  0%, 100%{ opacity:0.6; }
  50%{ opacity:1; }
}
@keyframes processChevronPulse{
  0%, 100%{ transform:translateX(0); opacity:0.8; }
  50%{ transform:translateX(4px); opacity:1; }
}
@media (max-width: 900px){
  .process-diagram{
    flex-direction:column;
    gap:12px;
  }
  .process-arrow{
    transform:rotate(90deg);
    padding:4px 0;
  }
  .process-arrow .process-arrow-line{
    width:20px;
    margin-right:0;
    margin-bottom:2px;
  }
  .process-step{
    min-width:180px;
    max-width:220px;
  }
}

/* Esquema proceso portada: cuadrado 698×369, animado */
.process-portada-wrap{
  width:100%;
  max-width:698px;
  height:369px;
  margin-top:32px;
  padding:24px 20px;
  background:var(--bg-secondary);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-sizing:border-box;
}
.process-portada-diagram{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  gap:0;
}
.process-box-step{
  --i: 0;
  width:110px;
  height:110px;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:12px;
  background:var(--surface);
  border:2px solid var(--line);
  border-radius:10px;
  box-shadow:var(--shadow-sm);
  opacity:0;
  transform:scale(0.85) translateY(8px);
  animation:processBoxStepIn 0.5s ease forwards;
  animation-delay:calc(var(--i) * 0.1s);
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.process-box-step:hover{
  transform:scale(1.02);
  box-shadow:var(--shadow-lg);
  border-color:var(--primary);
}
.process-box-icon{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#fff;
  border-radius:10px;
  font-size:1rem;
}
.process-box-label{
  font-family:"Space Grotesk",system-ui,sans-serif;
  font-weight:700;
  font-size:0.6875rem;
  color:var(--text);
  text-align:center;
  line-height:1.2;
}
.process-box-arrow{
  --i: 0;
  flex-shrink:0;
  width:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--primary);
  opacity:0;
  animation:processBoxArrowIn 0.4s ease forwards;
  animation-delay:calc((var(--i) + 1) * 0.1s);
}
.process-box-arrow i{
  font-size:0.625rem;
  animation:processBoxChevronPulse 2.2s ease-in-out infinite;
}
@keyframes processBoxStepIn{
  to{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}
@keyframes processBoxArrowIn{
  to{ opacity:1; }
}
@keyframes processBoxChevronPulse{
  0%, 100%{ transform:translateX(0); opacity:0.7; }
  50%{ transform:translateX(3px); opacity:1; }
}
@media (max-width: 768px){
  .process-portada-wrap{
    max-width:100%;
    height:auto;
    min-height:320px;
    padding:20px 16px;
  }
  .process-portada-diagram{
    flex-wrap:wrap;
    justify-content:center;
    gap:12px 8px;
  }
  .process-box-step{
    width:90px;
    height:90px;
    padding:10px;
  }
  .process-box-icon{
    width:36px;
    height:36px;
    font-size:0.875rem;
  }
  .process-box-label{
    font-size:0.625rem;
  }
  .process-box-arrow{
    transform:rotate(90deg);
    width:auto;
    height:14px;
  }
}

.metric{
  display:flex;
  gap:12px;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:20px;
}
.metric strong{
  font-family:"Space Grotesk";
  font-size:1.75rem;
  color:var(--text);
}
.metric span{
  color:var(--text-secondary);
  font-size:0.9375rem;
}

.accent-line{
  height:4px;
  width:64px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
  border-radius:2px;
  margin:24px 0 32px;
}

.site-footer{
  background:linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-top:1px solid rgba(255,255,255,0.1);
  padding:80px 0 32px;
  color:rgba(255,255,255,0.8);
  position:relative;
}
.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1.2fr;
  gap:48px;
}
.footer-brand .footer-social-links{
  display:flex;
  gap:16px;
  margin-top:1.25rem;
  flex-wrap:wrap;
}
.footer-brand .footer-social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  color:rgba(255,255,255,0.85);
  font-size:1.25rem;
  transition:all 0.2s ease;
}
.footer-brand .footer-social-links a:hover{
  background:var(--primary);
  color:#ffffff;
  transform:translateY(-2px);
}
.footer-brand p{
  margin:16px 0 0;
  line-height:1.7;
  font-size:0.875rem;
  color:rgba(255,255,255,0.7);
}
.footer-tarjetas{
  margin-top:1.5rem;
  max-width:180px;
  height:auto;
  display:block;
}
.footer-col h4{
  margin:0 0 20px;
  font-family:"Space Grotesk";
  color:#ffffff;
  font-weight:700;
  font-size:1rem;
}
.footer-links a{
  display:block;
  color:rgba(255,255,255,0.7);
  margin:8px 0;
  font-size:0.875rem;
  transition:all 0.2s ease;
}
.footer-links a:hover{
  color:#ffffff;
  padding-left:4px;
}
.footer-bottom{
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,0.1);
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:0.875rem;
  color:rgba(255,255,255,0.6);
}
.footer-legal{
  color:rgba(255,255,255,0.8);
  text-decoration:none;
  transition:color 0.2s ease;
}
.footer-legal:hover{
  color:#ffffff;
}
.icon{margin-right:8px;opacity:0.8}
.nav-links i{opacity:0.7}
.card h3 i{margin-right:8px;color:var(--primary)}
.btn i{margin-right:6px}
.footer-col h4 i{margin-right:8px;color:var(--primary)}
.footer-links i{margin-right:6px;opacity:0.6}
.parallax{
  position:relative;
  min-height:400px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.parallax-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(15,23,42,.4), rgba(15,23,42,.8));
}
.parallax-content{
  position:relative;
  z-index:1;
  padding:80px 0;
}
.parallax-title{
  font-family:"Space Grotesk";
  font-size:clamp(2rem,4vw,3.5rem);
  margin:0;
  color:#ffffff;
}
.whatsapp-widget{
  position:fixed;
  right:32px;
  bottom:32px;
  z-index:1200;
  font-family:"Inter",system-ui;
}
.whatsapp-button{
  position:relative;
  width:64px;
  height:64px;
  border-radius:50%;
  background:#25d366;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,0.35);
  transition:all 0.3s ease;
}
.whatsapp-button:hover{
  transform:scale(1.08);
  background:#20ba5a;
  box-shadow:0 12px 32px rgba(37,211,102,0.45);
}
.whatsapp-button svg{
  width:34px;
  height:34px;
  color:#ffffff;
  position:relative;
  z-index:2;
}
.button-pulse{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#25d366;
  opacity:0.5;
  animation:buttonPulse 2s infinite;
}
.notification-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#ff4444;
  color:#ffffff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:3px solid #ffffff;
  animation:badgeBounce 1s infinite;
}
.whatsapp-chat{
  position:absolute;
  right:0;
  bottom:88px;
  width:360px;
  max-height:500px;
  background:#ffffff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.25);
  opacity:0;
  transform:translateY(20px) scale(0.95);
  pointer-events:none;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  border:1px solid var(--line);
}
.whatsapp-widget.active .whatsapp-chat{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.whatsapp-widget.active .whatsapp-button{
  transform:scale(0.96);
}
.chat-header{
  background:linear-gradient(135deg,#25d366,#20ba5a);
  padding:20px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#ffffff;
}
.chat-avatar{
  position:relative;
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.chat-avatar svg{
  width:28px;
  height:28px;
  color:#ffffff;
}
.avatar-pulse{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
  animation:avatarPulse 2s infinite;
}
.chat-info h4{
  margin:0 0 4px;
  font-size:1rem;
  color:#ffffff;
  font-weight:600;
}
.chat-status{
  margin:0;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.75rem;
  opacity:0.9;
}
.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#4ade80;
  animation:statusBlink 2s infinite;
}
.chat-close{
  background:rgba(255,255,255,0.2);
  border:none;
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  cursor:pointer;
  transition:all 0.2s ease;
  margin-left:auto;
}
.chat-close:hover{
  transform:rotate(90deg);
  background:rgba(255,255,255,0.3);
}
.chat-close svg{
  width:18px;
  height:18px;
}
.chat-messages{
  padding:20px;
  max-height:300px;
  overflow-y:auto;
  background:#f0f2f5;
}
.message{
  margin-bottom:16px;
  animation:messageSlideIn 0.35s ease-out;
}
.message-received{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.message-bubble{
  background:#ffffff;
  padding:14px 16px;
  border-radius:12px 12px 12px 4px;
  box-shadow:0 1px 2px rgba(0,0,0,0.1);
  max-width:85%;
}
.message-bubble p{
  margin:0;
  font-size:0.9rem;
  line-height:1.5;
  color:#111111;
}
.message-bubble p + p{
  margin-top:8px;
}
.message-time{
  font-size:0.7rem;
  color:#6b7280;
  margin-top:6px;
  padding-left:8px;
}
.chat-footer{
  padding:16px;
  background:#ffffff;
  border-top:1px solid var(--line);
}
.chat-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding:14px 18px;
  background:#25d366;
  color:#ffffff;
  border-radius:12px;
  font-weight:600;
  font-size:0.9rem;
  box-shadow:0 4px 12px rgba(37,211,102,0.3);
  transition:all 0.2s ease;
}
.chat-button:hover{
  background:#20ba5a;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(37,211,102,0.4);
}
.chat-button svg{
  width:20px;
  height:20px;
}
@keyframes buttonPulse{
  0%{transform:scale(1);opacity:0.6}
  50%{transform:scale(1.2);opacity:0}
  100%{transform:scale(1);opacity:0.6}
}
@keyframes badgeBounce{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.1)}
}
@keyframes avatarPulse{
  0%{transform:scale(1);opacity:0.3}
  50%{transform:scale(1.3);opacity:0}
  100%{transform:scale(1);opacity:0.3}
}
@keyframes statusBlink{
  0%,100%{opacity:1}
  50%{opacity:0.5}
}
@keyframes messageSlideIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
.scroll-top{
  position:fixed;
  right:32px;
  bottom:112px;
  z-index:1100;
  width:52px;
  height:52px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--accent), var(--accent-hover));
  color:#ffffff;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(99,102,241,0.35);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:all 0.3s ease;
  cursor:pointer;
}
.scroll-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.scroll-top:hover{
  transform:translateY(-4px);
  background:linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow:0 12px 32px rgba(99,102,241,0.45);
}
.scroll-top:active{
  transform:translateY(-2px);
}
.scroll-top svg{
  width:22px;
  height:22px;
}
@media (max-width:768px){
  .whatsapp-widget{right:20px;bottom:20px}
  .whatsapp-button{width:58px;height:58px}
  .whatsapp-button svg{width:30px;height:30px}
  .whatsapp-chat{width:calc(100vw - 40px);max-width:360px;bottom:92px}
  .scroll-top{right:20px;bottom:100px;width:48px;height:48px}
}

@media (max-width: 980px){
  .schedule-section{
    padding-top:72px;
    padding-bottom:72px;
  }
  .schedule-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .schedule-form{
    padding:28px;
  }
  .schedule-datetime{
    grid-template-columns:1fr;
  }
  .hero{
    grid-template-columns:1fr;
    gap:48px;
    padding:30px 0 60px;
    min-height:auto;
  }
  .hero::before{
    width:100%;
    height:50%;
    border-radius:0;
  }
  .grid-2,.grid-3{
    grid-template-columns:1fr;
  }
  .nav-links{
    display:none;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
  .section{
    padding:80px 0;
  }
  .title{
    font-size:clamp(2.5rem,6vw,4rem);
  }
}
@media (max-width: 640px){
  .container{
    padding:0 20px;
  }
  .hero{
    padding:24px 0 40px;
  }
  .cta{
    flex-direction:column;
  }
  .btn{
    width:100%;
    justify-content:center;
  }
  .schedule-form{
    padding:24px 20px;
  }
}

/* Estilos adicionales para formularios y otros elementos */
input,textarea,select{
  width:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
  padding:12px 16px;
  font-family:inherit;
  font-size:0.9375rem;
  transition:all 0.2s ease;
}
input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(99,102,241,0.1);
}
label{
  display:block;
  margin:14px 0 6px;
  color:var(--text-secondary);
  font-weight:500;
  font-size:0.875rem;
}
button[type="submit"],button.btn-submit{
  padding:14px 24px;
  border-radius:8px;
  border:1px solid transparent;
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#ffffff;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
  box-shadow:0 4px 12px rgba(255,102,0,0.3);
}
button[type="submit"]:hover,button.btn-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(255,102,0,0.4);
}

/* Formulario de cotización */
.quote-form{
  margin-top:24px;
  display:flex;
  flex-direction:column;
}
.quote-form__intro{
  padding:12px 16px;
  margin-bottom:4px;
  border:1px dashed var(--line);
  border-radius:10px;
  background:var(--bg-secondary);
  color:var(--text-secondary);
  font-size:0.9rem;
  line-height:1.6;
}
.quote-form__actions{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.quote-submit{
  justify-content:center;
  gap:10px;
}
.quote-form.is-submitting .quote-submit{
  opacity:0.7;
  pointer-events:none;
}
.quote-form.is-submitting .quote-submit i{
  animation:pulse 1s infinite;
}
.quote-status{
  min-height:20px;
  margin:0;
  font-size:0.95rem;
  color:var(--text-secondary);
}
.quote-status.success{
  color:#15803d;
}
.quote-status.error{
  color:#b91c1c;
}
.form-honeypot{
  position:absolute;
  left:-5000px;
  height:0;
  overflow:hidden;
  opacity:0;
}
.schedule-section{
  background:var(--bg-secondary);
  position:relative;
  padding-top:96px;
  padding-bottom:96px;
}
.schedule-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:48px;
  align-items:flex-start;
}
.schedule-info .kicker{
  margin-bottom:16px;
}
.schedule-title{
  font-size:clamp(2.2rem,5vw,3.6rem);
  margin-bottom:20px;
}
.schedule-subtitle{
  margin-bottom:32px;
  max-width:560px;
}
.schedule-points{
  list-style:none;
  padding:0;
  margin:0 0 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
  color:var(--text-secondary);
  font-size:0.95rem;
}
.schedule-points li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.6;
}
.schedule-points i{
  color:var(--accent);
  margin-top:2px;
}
.schedule-note{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border-radius:10px;
  background:rgba(99,102,241,0.08);
  border:1px solid rgba(99,102,241,0.18);
  color:var(--text-secondary);
  font-size:0.9rem;
}
.schedule-note i{
  color:var(--accent);
  margin-top:3px;
}
.schedule-form{
  gap:0;
}
.schedule-form label:first-of-type{
  margin-top:0;
}
.schedule-form label{
  margin-top:18px;
}
.schedule-datetime{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:12px;
}
.schedule-datetime label{
  margin-top:0;
}
.schedule-interactive{
  display:flex;
  flex-direction:column;
  gap:28px;
}
@media (min-width: 640px){
  .quote-form__actions{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .quote-status{
    flex:1;
  }
  .quote-submit{
    width:auto;
  }
}

@keyframes pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.1);}
}

/* Showroom y Fichas Técnicas de Productos */
.showroom-page .showroom-hero{
  margin-bottom:40px;
}
.showroom-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 28px;
  background:var(--bg-secondary);
  border:2px solid var(--line);
  border-radius:16px;
  margin-bottom:40px;
}
.showroom-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
  flex:1;
  min-width:0;
}
.showroom-search{
  flex:1;
  min-width:260px;
  max-width:400px;
  position:relative;
}
.showroom-search input{
  width:100%;
  padding:12px 16px 12px 44px;
  border-radius:10px;
  border:2px solid var(--line);
  background:var(--surface);
  font-size:0.9375rem;
  transition:all 0.2s ease;
}
.showroom-search input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(255,102,0,0.1);
}
.showroom-search i{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  font-size:0.9375rem;
}
.showroom-categories{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.filter-label{
  font-size:0.8125rem;
  font-weight:600;
  color:var(--text-secondary);
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.showroom-menu{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:0;
  border:none;
  background:transparent;
}
.showroom-menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:10px;
  border:2px solid var(--line);
  background:var(--surface);
  color:var(--text-secondary);
  font-weight:600;
  font-size:0.8125rem;
  transition:all 0.2s ease;
  text-decoration:none;
}
.showroom-menu a i{
  font-size:0.875rem;
  opacity:0.9;
}
.showroom-menu a:hover,
.showroom-menu a.active{
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 4px 12px rgba(255,102,0,0.25);
}
.showroom-stats{
  flex-shrink:0;
  padding:8px 16px;
  background:var(--surface);
  border-radius:10px;
  border:2px solid var(--line);
  color:var(--text-secondary);
  font-size:0.875rem;
}
.showroom-stats strong{
  color:var(--text);
  font-weight:700;
  margin-right:4px;
}
.showroom-grid-wrapper{
  scroll-margin-top:100px;
}
#product-grid{
  scroll-margin-top:100px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  gap:28px;
}

/* Showroom: tarjetas estilo galería (preview + etiqueta), mismo tamaño */
.showroom-page .showroom-grid-wrapper .product-grid{
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.showroom-page .showroom-grid-wrapper .product-grid .product-card{
  height:380px !important;
  min-height:380px !important;
  max-height:380px !important;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.showroom-page .product-card .product-badge{
  top:12px;
  right:12px;
  padding:4px 10px;
  font-size:0.65rem;
}
.showroom-page .product-image{
  height:240px;
  min-height:240px;
  max-height:240px;
  flex-shrink:0;
}
.showroom-page .product-card .product-quick-view{
  padding:8px 16px;
  font-size:0.8125rem;
}
.showroom-page .product-header{
  flex-shrink:0;
  padding:12px 16px 8px;
}
.showroom-page .product-header .product-id{
  font-size:0.7rem;
  margin-bottom:4px;
}
.showroom-page .product-header .product-category{
  padding:4px 10px;
  font-size:0.65rem;
}
.showroom-page .product-content{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:0 16px 16px;
  min-height:0;
  overflow:hidden;
}
.showroom-page .product-title{
  flex-shrink:0;
  font-size:1.0625rem;
  margin:0 0 10px;
  -webkit-line-clamp:1;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.showroom-page .product-description,
.showroom-page .product-features,
.showroom-page .product-pricing{
  display:none !important;
}
.showroom-page .product-cta{
  flex-shrink:0;
  margin-top:auto;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.showroom-page .product-cta .product-btn{
  flex:1;
  min-width:0;
  padding:10px 14px;
  font-size:0.8125rem;
  justify-content:center;
}
.showroom-page .product-cta .product-btn:last-child{
  flex:0 1 auto;
}
.showroom-page .product-actions{
  display:none;
}

.product-card{
  background:var(--surface);
  border:2px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
  transition:all 0.4s cubic-bezier(0.4,0,0.2,1);
  display:flex;
  flex-direction:column;
  position:relative;
  cursor:pointer;
}
.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:2px;
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity 0.3s ease;
}
.product-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 40px rgba(0,0,0,0.12),0 0 0 1px rgba(255,102,0,0.1);
  border-color:var(--primary);
}
.product-card:hover::before{
  opacity:1;
}
.product-card.featured{
  border-color:var(--primary);
  box-shadow:0 8px 24px rgba(255,102,0,0.15);
}
.product-card.featured::before{
  opacity:1;
}

.product-image{
  width:100%;
  height:280px;
  background:linear-gradient(135deg,#f8fafc,#ffffff);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-image img{
  transform:scale(1.08);
}
.product-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,0.03) 100%);
  pointer-events:none;
}
.product-badge{
  position:absolute;
  top:16px;
  right:16px;
  padding:6px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  color:#ffffff;
  font-size:0.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  z-index:10;
  box-shadow:0 4px 12px rgba(255,102,0,0.3);
}
.product-quick-view{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%) translateY(20px);
  padding:12px 24px;
  border-radius:999px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  color:var(--text);
  font-weight:600;
  font-size:0.875rem;
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
  box-shadow:0 4px 16px rgba(0,0,0,0.15);
  border:2px solid var(--primary);
  z-index:10;
}
.product-card:hover .product-quick-view{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.product-quick-view:hover{
  background:var(--primary);
  color:#ffffff;
  transform:translateX(-50%) translateY(-2px);
  box-shadow:0 6px 20px rgba(255,102,0,0.4);
}

.product-header{
  padding:20px 24px 16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.product-id{
  font-size:0.75rem;
  color:var(--muted);
  font-weight:600;
  letter-spacing:0.05em;
  margin-bottom:6px;
}
.product-category{
  display:inline-flex;
  align-items:center;
  padding:6px 14px;
  border-radius:999px;
  font-size:0.75rem;
  font-weight:700;
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  color:#ffffff;
  white-space:nowrap;
  text-transform:uppercase;
  letter-spacing:0.05em;
  box-shadow:0 2px 8px rgba(255,102,0,0.2);
}
.product-actions{
  display:flex;
  gap:6px;
  margin-left:auto;
}
.product-action-btn{
  width:36px;
  height:36px;
  border-radius:10px;
  border:2px solid var(--line);
  background:var(--surface);
  color:var(--text-secondary);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.2s ease;
  font-size:0.875rem;
  position:relative;
}
.product-action-btn:hover{
  background:var(--bg-secondary);
  border-color:var(--primary);
  color:var(--primary);
  transform:scale(1.1) rotate(5deg);
}
.product-action-btn.share:hover{background:#6366f1;border-color:#6366f1;color:#ffffff}
.product-action-btn.save:hover{background:#10b981;border-color:#10b981;color:#ffffff}
.product-action-btn.save.active{background:#10b981;border-color:#10b981;color:#ffffff}
.product-action-btn.edit{display:none}
.product-action-btn.delete{display:none}

.product-content{
  padding:0 24px 24px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.product-title{
  font-family:"Space Grotesk";
  font-size:1.375rem;
  font-weight:700;
  color:var(--text);
  margin:0 0 10px;
  line-height:1.3;
  transition:color 0.2s ease;
}
.product-card:hover .product-title{
  color:var(--primary);
}
.product-description{
  color:var(--text-secondary);
  font-size:0.9375rem;
  line-height:1.7;
  margin:0 0 20px;
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.product-features{
  list-style:none;
  padding:0;
  margin:0 0 24px;
}
.product-feature{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
  color:var(--text-secondary);
  font-size:0.875rem;
}
.product-feature i{
  color:var(--primary);
  margin-top:2px;
  flex-shrink:0;
}

.product-pricing{
  border-top:2px solid var(--line);
  padding-top:20px;
  margin-top:auto;
}
.pricing-title{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--muted);
  font-weight:700;
  margin:0 0 16px;
}
.pricing-options{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pricing-option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:10px;
  background:var(--bg-secondary);
  transition:all 0.2s ease;
  border:2px solid transparent;
}
.pricing-option:hover{
  background:var(--surface);
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  border-color:var(--primary);
  transform:translateX(4px);
}
.pricing-icon{
  width:44px;
  height:44px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:1.25rem;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}
.pricing-icon.individual{background:linear-gradient(135deg,#a855f7,#9333ea);color:#ffffff}
.pricing-icon.student{background:linear-gradient(135deg,var(--muted),#475569);color:#ffffff}
.pricing-icon.enterprise{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#ffffff}
.pricing-info{
  flex:1;
}
.pricing-name{
  font-weight:600;
  color:var(--text);
  font-size:0.9375rem;
  margin:0 0 2px;
}
.pricing-price{
  font-family:"Space Grotesk";
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary);
}
.pricing-price.student{color:#10b981}
.product-cta{
  margin-top:20px;
  display:flex;
  gap:10px;
}
.product-btn{
  flex:1;
  padding:14px 24px;
  border-radius:10px;
  border:2px solid var(--primary);
  background:transparent;
  color:var(--primary);
  font-weight:700;
  font-size:0.9375rem;
  cursor:pointer;
  transition:all 0.2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
}
.product-btn:hover{
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(255,102,0,0.3);
}
.product-btn-primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  color:#ffffff;
  border-color:transparent;
}
.product-btn-primary:hover{
  box-shadow:0 8px 24px rgba(255,102,0,0.4);
  transform:translateY(-3px);
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
  backdrop-filter:blur(10px);
}
.lightbox.open{
  opacity:1;
  visibility:visible;
}
.lightbox-content{
  position:relative;
  max-width:90vw;
  max-height:90vh;
}
.lightbox-content img{
  max-width:100%;
  max-height:90vh;
  object-fit:contain;
  border-radius:var(--radius);
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close{
  position:absolute;
  top:-48px;
  right:0;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  color:#ffffff;
  font-size:1.5rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.2s ease;
}
.lightbox-close:hover{
  background:rgba(255,255,255,0.2);
  transform:rotate(90deg);
}

/* Zoom imagen producto (producto.html) — en styles.css para que funcione aunque producto.css no cargue */
.producto-hero-image{
  cursor:zoom-in;
  overflow:hidden;
}
.producto-hero-image img{
  transition:transform 0.4s ease;
}
.producto-hero-image:hover img{
  transform:scale(1.08);
}

/* Highlights Section */
.highlights-section{
  padding:120px 0;
  background:linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  position:relative;
  overflow:hidden;
}
.highlights-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--line), transparent);
}
.highlights-section .product-grid{
  margin-top:48px;
}
.highlights-section .product-card{
  height:100%;
}
.highlights-section .product-image{
  height:240px;
}
.highlights-section .product-content{
  padding-bottom:20px;
}
.highlights-section .product-pricing{
  border-top:none;
  padding-top:0;
  margin-top:16px;
}
.highlights-section .product-pricing .pricing-title{
  font-size:0.75rem;
  margin-bottom:4px;
}
.highlights-section .product-cta{
  margin-top:16px;
}
.highlights-section .product-btn{
  width:100%;
  justify-content:center;
}

@media (max-width: 980px){
  .product-grid{
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:24px;
  }
  .showroom-page .showroom-grid-wrapper .product-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
  .showroom-toolbar{
    flex-direction:column;
    align-items:stretch;
  }
  .showroom-filters{
    flex-direction:column;
    align-items:stretch;
  }
  .showroom-search{
    min-width:100%;
    max-width:100%;
  }
  .showroom-categories{
    flex-direction:column;
    align-items:flex-start;
  }
  .highlights-section .product-grid{
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:24px;
  }
}
@media (max-width: 640px){
  .product-grid{
    grid-template-columns:1fr;
  }
  .showroom-page .showroom-grid-wrapper .product-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .showroom-page .showroom-grid-wrapper .product-grid .product-card{
    height:360px !important;
    min-height:360px !important;
    max-height:360px !important;
  }
  .showroom-page .product-image{
    height:220px;
    min-height:220px;
    max-height:220px;
  }
  .product-header{
    flex-wrap:wrap;
  }
  .product-actions{
    order:-1;
    width:100%;
    justify-content:flex-end;
  }
  .product-image{
    height:240px;
  }
  .highlights-section .product-grid{
    grid-template-columns:1fr;
  }
  .highlights-section .product-image{
    height:220px;
  }
}

/* Estilos para Fichas Técnicas */
.product-detail-section{
  margin-bottom:32px;
}
.product-detail-card{
  background:var(--surface);
  border:2px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
  transition:all 0.3s ease;
}
.product-detail-card:hover{
  box-shadow:var(--shadow-lg);
  border-color:var(--primary);
}
.product-detail-header{
  padding:24px 32px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  cursor:pointer;
  background:linear-gradient(135deg,#f8fafc,#ffffff);
  border-bottom:2px solid var(--line);
  transition:all 0.3s ease;
}
.product-detail-header:hover{
  background:linear-gradient(135deg,#ffffff,#f8fafc);
}
.product-detail-pdf{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:8px;
  background:var(--surface);
  border:2px solid var(--line);
  color:var(--primary);
  font-weight:600;
  font-size:0.875rem;
  text-decoration:none;
  transition:all 0.2s ease;
  flex-shrink:0;
}
.product-detail-pdf:hover{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 4px 12px rgba(255,102,0,0.3);
}
.product-detail-pdf i{
  font-size:1rem;
}
.product-detail-code{
  font-size:0.75rem;
  font-weight:700;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:0.1em;
  margin-bottom:8px;
}
.product-detail-title{
  font-size:1.5rem;
  font-weight:700;
  color:var(--text);
  margin:0 0 8px;
}
.product-detail-category{
  display:inline-block;
  padding:4px 12px;
  background:var(--primary);
  color:#ffffff;
  border-radius:6px;
  font-size:0.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.product-detail-toggle{
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid var(--line);
  background:var(--surface);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.3s ease;
  flex-shrink:0;
}
.product-detail-toggle:hover{
  background:var(--primary);
  color:#ffffff;
  border-color:var(--primary);
  transform:rotate(180deg);
}
.product-detail-card.expanded .product-detail-toggle{
  transform:rotate(180deg);
  background:var(--primary);
  color:#ffffff;
  border-color:var(--primary);
}
.product-detail-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.5s ease;
}
.product-detail-card.expanded .product-detail-content{
  max-height:5000px;
}
.product-detail-description,
.product-detail-specs,
.product-detail-quotation,
.product-detail-access{
  padding:24px 32px;
  border-bottom:1px solid var(--line);
}
.product-detail-description:last-child,
.product-detail-specs:last-child,
.product-detail-quotation:last-child,
.product-detail-access:last-child{
  border-bottom:none;
}
.product-detail-description h4,
.product-detail-specs h4,
.product-detail-quotation h4,
.product-detail-access h4{
  font-size:1.125rem;
  font-weight:700;
  color:var(--text);
  margin:0 0 16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.product-detail-description h4::before,
.product-detail-specs h4::before,
.product-detail-quotation h4::before,
.product-detail-access h4::before{
  content:"";
  width:4px;
  height:20px;
  background:var(--primary);
  border-radius:2px;
}
.product-detail-description p{
  color:var(--text-secondary);
  line-height:1.8;
  margin:0;
}
.product-detail-specs ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;
}
.product-detail-specs li{
  padding:12px 16px;
  background:var(--bg-secondary);
  border-radius:8px;
  color:var(--text);
  font-size:0.9375rem;
  position:relative;
  padding-left:32px;
}
.product-detail-specs li::before{
  content:"✓";
  position:absolute;
  left:12px;
  color:var(--primary);
  font-weight:700;
}
.product-detail-quotation .quotation-text{
  background:var(--bg-secondary);
  border-radius:12px;
  padding:24px;
  overflow-x:auto;
}
.product-detail-quotation pre{
  margin:0;
  font-family:"Courier New",Courier,monospace;
  font-size:0.875rem;
  line-height:1.8;
  color:var(--text);
  white-space:pre-wrap;
  word-wrap:break-word;
}
.product-detail-access p{
  margin:8px 0;
  color:var(--text-secondary);
  font-size:0.9375rem;
}
.product-detail-access strong{
  color:var(--text);
  font-weight:600;
  min-width:120px;
  display:inline-block;
}
.product-detail-access a{
  color:var(--primary);
  text-decoration:underline;
  transition:color 0.2s ease;
}
.product-detail-access a:hover{
  color:var(--accent);
}

@media (max-width: 640px){
  .product-detail-header{
    padding:20px;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  .product-detail-toggle{
    align-self:flex-end;
  }
  .product-detail-description,
  .product-detail-specs,
  .product-detail-quotation,
  .product-detail-access{
    padding:20px;
  }
  .product-detail-specs ul{
    grid-template-columns:1fr;
  }
  .product-detail-quotation pre{
    font-size:0.75rem;
  }
}

/* Cookie consent banner */
.cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:9999;
  background:linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color:#e2e8f0;
  padding:20px var(--gutter);
  box-shadow:0 -4px 20px rgba(0,0,0,0.2);
  border-top:1px solid rgba(255,255,255,0.1);
  transform:translateY(0);
  transition:transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.cookie-banner--hidden{
  transform:translateY(100%);
  opacity:0;
  pointer-events:none;
}
.cookie-banner-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.cookie-banner-text{
  margin:0;
  font-size:0.9375rem;
  line-height:1.5;
  flex:1;
  min-width:280px;
}
.cookie-banner-text i{
  margin-right:8px;
  color:var(--primary-light);
}
.cookie-banner-link{
  color:var(--primary-light);
  text-decoration:underline;
  white-space:nowrap;
}
.cookie-banner-link:hover{
  color:#fff;
}
.cookie-banner-actions{
  flex-shrink:0;
}
.cookie-banner-actions .btn-primary{
  box-shadow:0 2px 8px rgba(255,102,0,0.4);
}
@media (max-width: 640px){
  .cookie-banner-inner{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
  }
  .cookie-banner-text{
    min-width:auto;
  }
  .cookie-banner-actions .btn{
    width:100%;
    justify-content:center;
  }
}
