:root {
  --navy: #1d3686;
  --navy-dark: #0f1e4a;
  --deep: #0a1428;
  --blue: #0052cc;
  --blue-hover: #1e66d4;
  --bright: #2563eb;
  --cyan: #e1edf5;
  --ice-bg: #f2f7fc;
  --green: #059669;
  --green-light: #d1fae5;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --pale: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --shell: 1240px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow-sm: 0 2px 10px rgba(29, 54, 134, 0.06);
  --shadow-md: 0 12px 36px rgba(29, 54, 134, 0.12);
  --shadow-lg: 0 24px 48px rgba(10, 20, 40, 0.18);
  --glow-blue: 0 0 25px rgba(0, 82, 204, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* LOCK HORIZONTAL OVERFLOW ON MOBILE DEVICES STRICTLY */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main, header, footer, section, article, nav, aside {
  max-width: 100%;
  box-sizing: border-box;
}

/* FIX CABECERA: Ocultar menú móvil en escritorio y cuando tenga hidden */
[hidden], .mobile-nav[hidden] {
  display: none !important;
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

body:has(.drawer-backdrop.active),
body:has(.product-modal.active) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 50;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 10px;
}

/* Announcement Bar */
.announcement {
  background: var(--navy-dark);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(225, 237, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  overflow: hidden;
  max-width: 100%;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  box-shadow: 0 4px 25px rgba(10, 20, 40, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  height: 74px;
  width: min(var(--shell), calc(100% - 32px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--white);
  font-weight: 800;
}

.brand-copy small {
  font-size: 9px;
  letter-spacing: .14em;
  color: #7dd3fc;
  margin-top: 2px;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  transition: color .2s ease;
  position: relative;
  padding: 6px 0;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: width .2s ease;
  border-radius: 2px;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.icon-button svg, .search-inner svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.quote-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(225, 237, 245, 0.25);
  color: var(--white);
  background: rgba(29, 54, 134, 0.6);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s ease;
}

.quote-button:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.4);
}

.quote-button em {
  font-style: normal;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #38bdf8;
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
}

.menu-button {
  display: none;
  background: transparent;
  width: 38px;
  padding: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

.search-bar {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-inner {
  height: 65px;
  width: min(var(--shell), calc(100% - 32px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-inner input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  outline: 0;
  font-size: 16px;
}

.search-inner input::placeholder {
  color: #94a3b8;
}

.search-inner > svg {
  color: #38bdf8;
}

.search-inner button {
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  opacity: .7;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .mobile-nav:not([hidden]) {
    display: flex !important;
    padding: 18px 24px 24px;
    flex-direction: column;
    gap: 16px;
    background: var(--deep);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-nav a {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
  }
}

/* HERO SECTION CON IMÁGENES COMPATIBLES CON HOSTINGER */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--navy-dark);
  color: var(--white);
  width: 100%;
  max-width: 100%;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.02);
}

.hero-slide-1 {
  background-image: linear-gradient(90deg, rgba(10, 20, 40, 0.88) 0%, rgba(29, 54, 134, 0.75) 50%, rgba(10, 20, 40, 0.65) 100%), url('../images/hero-1.jpg');
}

.hero-slide-2 {
  background-image: linear-gradient(90deg, rgba(10, 20, 40, 0.88) 0%, rgba(29, 54, 134, 0.75) 50%, rgba(10, 20, 40, 0.65) 100%), url('../images/hero-2.jpg');
}

.hero-slide-3 {
  background-image: linear-gradient(90deg, rgba(10, 20, 40, 0.88) 0%, rgba(29, 54, 134, 0.75) 50%, rgba(10, 20, 40, 0.65) 100%), url('../images/hero-3.jpg');
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.hero-content {
  position: relative;
  padding: 95px 0 85px;
  z-index: 2;
  max-width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow span:first-child {
  width: 24px;
  height: 3px;
  background: currentColor;
  display: inline-block;
  border-radius: 2px;
}

.eyebrow.light {
  color: #38bdf8;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 20px 0;
  max-width: 820px;
  font-weight: 800;
}

.hero h1 strong {
  color: #7dd3fc;
  text-shadow: 0 2px 20px rgba(0, 82, 204, 0.4);
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 550px;
  margin: 0 0 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all .22s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.button span {
  font-size: 16px;
  line-height: 1;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover {
  background: var(--cyan);
  color: var(--navy-dark);
}

.button-dark {
  background: var(--deep);
  color: var(--white);
}

.button-dark:hover {
  background: var(--navy);
}

.button-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-outline:hover {
  background: var(--cyan);
}

.button-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.button-whatsapp:hover {
  background: #1eb954;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.text-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.text-link span {
  font-size: 16px;
  margin-left: 6px;
}

.light-link {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
}

.hero-proof {
  display: flex;
  gap: 30px;
  margin-top: 55px;
  flex-wrap: wrap;
}

.hero-proof > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid rgba(255,255,255,0.25);
  padding-left: 16px;
}

.hero-proof b {
  font-size: 26px;
  color: #38bdf8;
}

.hero-proof span {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cbd5e1;
}

/* Trust Strip */
.trust-strip {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  width: 100%;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.trust-inner > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.brand-list {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--navy);
  font-weight: 800;
  opacity: .88;
  flex-wrap: wrap;
}

.brand-list b {
  font-size: 15px;
  letter-spacing: .08em;
}

/* Catalog Section */
.catalog-section {
  padding: 70px 0 90px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 35px;
}

.section-heading h2, .about-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 12px 0 0;
  color: var(--ink);
}

.section-heading h2 em, .about-copy h2 em {
  color: var(--navy);
  font-style: normal;
}

.section-heading > p {
  max-width: 440px;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* TÍTULOS EN SECCIONES OSCURAS CON ALTO CONTRASTE */
.light-heading h2 {
  color: #ffffff !important;
}

.light-heading h2 em {
  color: #38bdf8 !important;
}

.light-heading > p {
  color: #e2e8f0 !important;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  flex-wrap: wrap;
  max-width: 100%;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
  max-width: 100%;
  width: 100%;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all .22s ease;
  box-shadow: 0 2px 6px rgba(10, 20, 40, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.category-tab:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--cyan);
}

.category-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 54, 134, 0.35);
}

.category-tab.active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.result-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: all .28s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-media {
  height: 230px;
  background: linear-gradient(145deg, var(--ice-bg), var(--white));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-media img {
  position: relative;
  z-index: 1;
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.badge.blue {
  background: var(--blue);
}

.badge.sold {
  background: #94a3b8;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 8px 0 16px;
  font-weight: 700;
  min-height: 40px;
  color: var(--ink);
}

.product-info h3 a {
  color: inherit;
  transition: color .2s ease;
}

.product-info h3 a:hover {
  color: var(--navy);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-meta span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.product-actions-btn {
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-view-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--cyan);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all .2s ease;
}

.product-view-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.product-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}

.product-add:hover {
  background: var(--blue);
  transform: rotate(90deg);
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-footer b {
  color: var(--ink);
}

/* SUBPÁGINA DETALLE DE PRODUCTO */
.breadcrumb-nav {
  padding: 18px 0;
  background: var(--ice-bg);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb-list a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.product-detail-section {
  padding: 50px 0 80px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
}

.product-media-wrapper {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.view-mode-tabs {
  display: flex;
  background: var(--ice-bg);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  gap: 4px;
}

.view-mode-tab {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.view-mode-tab:hover {
  color: var(--navy);
}

.view-mode-tab.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(29, 54, 134, 0.25);
}

.product-gallery-container {
  min-height: 440px;
  background: linear-gradient(145deg, var(--ice-bg), var(--white));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.product-gallery-container img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity .3s ease;
}

#canvas3dContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffffff 0%, #edf4fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#canvas3dContainer canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  cursor: grab;
}

#canvas3dContainer canvas:active {
  cursor: grabbing;
}

.controls-3d-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 20, 40, 0.85);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.controls-3d-btn-group {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.btn-3d-action {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}

.btn-3d-action:hover {
  background: var(--cyan);
}

.product-header-info {
  display: flex;
  flex-direction: column;
}

.product-brand-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-title-main {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
}

.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 24px;
}

.product-description-text {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 28px;
}

.product-tags-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.product-tag-pill {
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-detail-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}

.product-specs-card {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
}

.product-specs-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--navy);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.spec-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 3px;
}

.features-list-card {
  margin-top: 35px;
}

.features-list-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink);
}

.features-list-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.features-list-card li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
}

.features-list-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
  font-size: 16px;
}

.related-products-section {
  padding: 60px 0 90px;
  background: var(--ice-bg);
  border-top: 1px solid var(--line);
}

.related-products-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--ink);
}

/* SECCIONES INTERACTIVAS CON CONTROL ESTRICTO EN MÓVIL */
.interactive-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-top: 35px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 35px;
  backdrop-filter: blur(10px);
  max-width: 100%;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group-item label {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.select-styled, .input-styled {
  width: 100%;
  background: rgba(10, 20, 40, 0.85);
  border: 1px solid rgba(225, 237, 245, 0.25);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: all .2s ease;
}

.select-styled option {
  background: var(--deep);
  color: var(--white);
}

.select-styled:focus, .input-styled:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.range-styled {
  width: 100%;
  accent-color: #38bdf8;
  height: 8px;
  border-radius: 4px;
}

.simulator-output-box {
  background: rgba(29, 54, 134, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.simulator-output-box small {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.simulator-output-box strong {
  font-size: 22px;
  color: #38bdf8;
}

.canvas-wrapper {
  height: 360px;
  background: radial-gradient(circle at center, rgba(15, 30, 74, 0.95) 0%, rgba(4, 11, 20, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-width: 100%;
}

#coverageCanvas {
  width: 100%;
  height: 100%;
}

.comparator-section {
  padding: 80px 0;
  background: var(--ice-bg);
  width: 100%;
  overflow: hidden;
}

.comparator-tabs-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
  max-width: 100%;
}

.comparator-tabs-header::-webkit-scrollbar {
  display: none;
}

.tech-tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  transition: all .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-tab.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(29, 54, 134, 0.25);
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 100%;
}

.tech-card-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .28s var(--ease);
  overflow: hidden;
}

.tech-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.tech-card-header {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.tech-card-header h3 {
  font-size: 20px;
  margin: 6px 0 0;
  color: var(--navy);
}

.meter-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.meter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meter-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.meter-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--bright) 100%);
  border-radius: 999px;
}

.wizard-section {
  padding: 80px 0;
  background: var(--white);
  width: 100%;
  overflow: hidden;
}

.wizard-card-box {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 30px auto 0;
  width: 100%;
}

.wizard-indicators-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
  position: relative;
  width: 100%;
}

.wizard-step-indicator {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  transition: all .2s ease;
  z-index: 2;
}

.wizard-step-indicator.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 54, 134, 0.3);
}

.wizard-step-indicator.completed {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 30px;
  width: 100%;
}

.wizard-option-btn {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  transition: all .2s ease;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

.wizard-option-btn:hover {
  border-color: var(--blue);
  background: var(--cyan);
}

.wizard-option-btn.selected {
  border-color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 4px 12px rgba(29, 54, 134, 0.15);
}

.wizard-nav-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.solution-recommendation-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--navy);
  padding: 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rec-model-highlight {
  margin: 14px 0;
  font-size: 15px;
  color: var(--navy);
}

.rec-benefit-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 12px;
}

.quote-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy-dark) 100%);
  color: var(--white);
  width: 100%;
  overflow: hidden;
}

.quote-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 35px;
  backdrop-filter: blur(12px);
  max-width: 960px;
  margin: 30px auto 0;
  width: 100%;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(10, 20, 40, 0.85);
  border: 1px solid rgba(225, 237, 245, 0.2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: all .2s ease;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-actions-bar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}

/* REDISEÑO ELEGANTE Y DE ALTO IMPACTO PARA LA SECCIÓN CTA (#contacto) */
.cta-section {
  position: relative;
  padding: 95px 0;
  background: #0a1428 !important;
  color: #ffffff !important;
  overflow: hidden;
  width: 100%;
}

.cta-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  z-index: 0;
  background-image: linear-gradient(135deg, rgba(10, 20, 40, 0.94) 0%, rgba(29, 54, 134, 0.86) 60%, rgba(10, 20, 40, 0.94) 100%), url('../images/cta-bg.jpg');
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta-left-content h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.12;
  color: #ffffff !important;
  margin: 16px 0;
  font-weight: 800;
}

.cta-left-content h2 em {
  color: #38bdf8 !important;
  font-style: normal;
}

.cta-left-content p {
  font-size: 16px;
  color: #e2e8f0 !important;
  margin-bottom: 30px;
  max-width: 520px;
  line-height: 1.6;
}

.cta-action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-support-card {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 480px;
}

.support-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
}

/* RESTRICCIÓN ESTRICTA DE TAMAÑO PARA EVITAR CIRCULOS GIGANTES EN EL AVATAR */
.support-avatar {
  position: relative;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--white);
  flex-shrink: 0 !important;
  align-self: center;
}

.support-avatar svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor;
}

.live-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--deep);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
}

.support-card-head strong {
  display: block;
  font-size: 16px;
  color: var(--white);
}

.support-card-head small {
  color: #7dd3fc;
  font-size: 12px;
}

.support-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-stat span {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.support-phone-num {
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
  transition: color .2s ease;
}

.support-phone-num:hover {
  color: var(--white);
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin-top: 6px;
  width: fit-content;
}

.result-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 20, 40, 0.75);
  place-items: center;
  padding: 20px;
}

.result-modal.active {
  display: grid;
}

.modal-content-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-content-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin: 14px 0 8px;
}

.modal-ref-code {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  background: var(--ice-bg);
  padding: 8px;
  border-radius: 8px;
  margin: 14px 0 20px;
}

/* FOOTER ORGANIZADO */
.site-footer {
  background: var(--deep);
  color: var(--white);
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr;
  gap: 45px;
  padding-bottom: 55px;
}

.footer-brand p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.6;
  margin: 16px 0;
}

.footer-badge-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-tag-pill {
  background: rgba(29, 54, 134, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  font-size: 12px;
  color: #38bdf8;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.25);
  padding-bottom: 6px;
  width: fit-content;
}

.footer-column a, .footer-column span {
  font-size: 13px;
  color: #cbd5e1;
  transition: all .2s ease;
  line-height: 1.45;
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #64748b;
  font-size: 12px;
}

.footer-legal-links a {
  color: #38bdf8;
  font-weight: 600;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

/* Quote Drawer */
.quote-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(450px, 100%);
  background: var(--white);
  z-index: 45;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 45px rgba(10, 20, 40, 0.22);
}

.quote-drawer.active {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  background: var(--deep);
  color: var(--white);
}

.drawer-head h2 {
  font-size: 24px;
  margin: 6px 0 0;
}

.drawer-head button {
  background: transparent;
  color: #fff;
  font-size: 26px;
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.drawer-empty {
  text-align: center;
  color: var(--muted);
  padding: 70px 0;
}

.quote-item {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.quote-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--ice-bg);
  border-radius: 8px;
}

.quote-item strong {
  display: block;
  font-size: 13px;
}

.quote-item small {
  color: var(--muted);
  font-size: 11px;
}

.quote-remove {
  background: transparent;
  color: #94a3b8;
  font-size: 20px;
}

.drawer-foot {
  padding: 20px;
  background: var(--pale);
  border-top: 1px solid var(--line);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.65);
  z-index: 40;
}

.drawer-backdrop.active {
  display: block;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--deep);
  color: var(--white);
  border: 1px solid var(--blue);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: all .25s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* RESPONSIVE MEDIA QUERIES STRICT */
@media (max-width: 1020px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .product-media-wrapper {
    position: static;
  }
  .simulator-container {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 28px;
  }
  .tech-cards-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .specs-grid, .wizard-options-grid, .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .wizard-card-box, .quote-form-card, .cta-support-card {
    padding: 22px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .canvas-wrapper {
    height: 320px;
  }
  .product-gallery-container {
    min-height: 380px;
  }
  .button {
    width: 100%;
  }
  .product-detail-cta {
    flex-direction: column;
  }
  .product-detail-cta .button {
    width: 100%;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .result-sort {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-proof {
    gap: 16px;
  }
  .hero-proof > div {
    padding-left: 10px;
  }
  .hero-proof b {
    font-size: 22px;
  }
  .canvas-wrapper {
    height: 280px;
  }
}
