/* ==========================================================================
   COMPUPRESS SpA - ESTILOS PRINCIPALES (MODERNO & RESPONSIVO)
   Tecnología Gráfica, Preprensa CTP e Impresión Digital
   ========================================================================== */

:root {
  /* Paleta Inspirada en Artes Gráficas & CMYK Industrial */
  --cmyk-cyan: #00a4e4;
  --cmyk-cyan-glow: rgba(0, 164, 228, 0.25);
  --cmyk-magenta: #e5007d;
  --cmyk-magenta-glow: rgba(229, 0, 125, 0.25);
  --cmyk-yellow: #ffc20e;
  --cmyk-yellow-glow: rgba(255, 194, 14, 0.2);
  --cmyk-key: #0a0d14;

  /* Colores de Fondo y Superficie */
  --bg-dark: #070a10;
  --bg-dark-secondary: #0d121d;
  --bg-card: rgba(18, 25, 38, 0.85);
  --bg-card-hover: rgba(26, 36, 54, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 164, 228, 0.5);

  /* Texto y Contraste */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a10;

  /* Acentos de Interfaz */
  --accent-blue: #2563eb;
  --accent-cyan: #00a4e4;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;

  /* Dimensiones y Espaciados */
  --header-height: 80px;
  --topbar-height: 40px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transiciones y Sombras */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 164, 228, 0.2);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Enlaces y Tipografía */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Barra de Acento Cromático CMYK Superior */
.cmyk-accent-bar {
  height: 4px;
  width: 100%;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.cmyk-accent-bar .cmyk-c { flex: 1; background-color: var(--cmyk-cyan); }
.cmyk-accent-bar .cmyk-m { flex: 1; background-color: var(--cmyk-magenta); }
.cmyk-accent-bar .cmyk-y { flex: 1; background-color: var(--cmyk-yellow); }
.cmyk-accent-bar .cmyk-k { flex: 1; background-color: #334155; }

/* Contenedor Genérico */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Topbar Superior */
.topbar {
  background-color: rgba(7, 10, 16, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  display: none;
}
@media (min-width: 768px) {
  .topbar { display: block; }
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-weight: 500;
}
.topbar-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-item:hover {
  color: var(--cmyk-cyan);
}

/* Header & Navegación Principal */
.site-header {
  position: sticky;
  top: 4px;
  background-color: rgba(13, 18, 29, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 990;
  transition: all var(--transition-normal);
}
.site-header.scrolled {
  background-color: rgba(7, 10, 16, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}
.logo-title span {
  color: var(--cmyk-cyan);
}
.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Menú Desktop */
.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cmyk-cyan), var(--cmyk-magenta));
  transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Botones y CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #0098d4 0%, #007bb0 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 164, 228, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00abef 0%, #0088c4 100%);
  box-shadow: 0 6px 20px rgba(0, 164, 228, 0.5);
  transform: translateY(-1px);
}
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background-color: #22bf5b;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Menú Hamburguesa Móvil */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}
.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}
.mobile-drawer {
  display: none;
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 10, 16, 0.98);
  padding: 30px 20px;
  z-index: 980;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.mobile-drawer.open {
  display: flex;
}
.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 164, 228, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(229, 0, 125, 0.08) 0%, transparent 50%),
              var(--bg-dark);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.hero-badge-wrap {
  margin-bottom: 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 164, 228, 0.1);
  border: 1px solid rgba(0, 164, 228, 0.3);
  color: var(--cmyk-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #00a4e4 0%, #38bdf8 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.metric-val span {
  color: var(--cmyk-cyan);
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Card Visual Hero */
.hero-visual {
  position: relative;
}
.hero-card-featured {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.hero-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cmyk-cyan), var(--cmyk-magenta), var(--cmyk-yellow));
}
.hero-img-box {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0b111e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}
.hero-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.hero-card-featured:hover .hero-img-box img {
  transform: scale(1.03);
}
.hero-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 600;
}
.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.hero-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.hero-spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-spec-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIONES Y ENCABEZADOS COMUNES
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}
.section-alt {
  background-color: var(--bg-dark-secondary);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  color: var(--cmyk-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 164, 228, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 164, 228, 0.15);
}
.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 164, 228, 0.1);
  border: 1px solid rgba(0, 164, 228, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--cmyk-cyan);
}
.service-card.magenta .service-icon-box {
  background: rgba(229, 0, 125, 0.1);
  border-color: rgba(229, 0, 125, 0.25);
  color: var(--cmyk-magenta);
}
.service-card.yellow .service-icon-box {
  background: rgba(255, 194, 14, 0.1);
  border-color: rgba(255, 194, 14, 0.25);
  color: var(--cmyk-yellow);
}
.service-card.green .service-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
}
.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.service-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.service-features li::before {
  content: "✓";
  color: var(--cmyk-cyan);
  font-weight: 800;
}

/* ==========================================================================
   COTIZADOR INTERACTIVO (CTP & IMPRESIÓN DIGITAL)
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 164, 228, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 164, 228, 0.12);
  padding: 36px 30px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .calculator-card { padding: 24px 18px; }
}
.calc-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  overflow-x: auto;
}
.calc-tab-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.calc-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.calc-tab-btn.active {
  background: var(--cmyk-cyan);
  color: #070a10;
  border-color: var(--cmyk-cyan);
  box-shadow: 0 2px 10px rgba(0, 164, 228, 0.35);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .calc-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.form-select, .form-input, .form-textarea {
  width: 100%;
  background-color: #0c121e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--cmyk-cyan);
  box-shadow: 0 0 0 3px rgba(0, 164, 228, 0.2);
}

.options-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .options-row { grid-template-columns: repeat(4, 1fr); }
}
.option-btn {
  background-color: #0c121e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  padding: 10px;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.option-btn:hover {
  border-color: var(--cmyk-cyan);
}
.option-btn.selected {
  background-color: rgba(0, 164, 228, 0.15);
  border-color: var(--cmyk-cyan);
  color: #38bdf8;
  font-weight: 700;
}

/* Checkboxes personalizados */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-top: 10px;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cmyk-cyan);
  cursor: pointer;
}

/* Panel de Resumen de Cotización */
.calc-summary-panel {
  background: #080d16;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.summary-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.summary-item span:last-child {
  color: #ffffff;
  font-weight: 600;
}
.summary-notice {
  margin: 18px 0;
  background: rgba(0, 164, 228, 0.08);
  border-left: 3px solid var(--cmyk-cyan);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #94a3b8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* ==========================================================================
   SHOWCASE DE MAQUINARIA & CONTROL DE CALIDAD
   ========================================================================== */
.machinery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.m-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.m-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.m-tab-btn.active {
  background: #ffffff;
  color: #070a10;
  border-color: #ffffff;
}

.machinery-display {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.machine-item {
  display: none;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .machine-item {
    grid-template-columns: 1fr 1fr;
  }
}
.machine-item.active {
  display: grid;
}
.machine-photo-wrap {
  width: 100%;
  height: 360px;
  background-color: #090e18;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  padding: 15px;
}
.machine-photo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.machine-photo-wrap:hover img {
  transform: scale(1.04);
}
.machine-info {
  display: flex;
  flex-direction: column;
}
.machine-tag {
  color: var(--cmyk-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.machine-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}
.machine-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.machine-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.spec-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.spec-name {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
}

/* ==========================================================================
   GUÍA TÉCNICA DE ENVÍO DE ARCHIVOS
   ========================================================================== */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: border-color var(--transition-fast);
}
.guide-card:hover {
  border-color: rgba(0, 164, 228, 0.35);
}
.guide-step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(0, 164, 228, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.guide-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.guide-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Checklist Banner */
.prepress-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(0, 164, 228, 0.12) 0%, rgba(229, 0, 125, 0.08) 100%);
  border: 1px solid rgba(0, 164, 228, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .prepress-banner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}
.prepress-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.prepress-banner-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   EQUIPO Y EXPERIENCIA
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(5, 1fr); }
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-fast);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 164, 228, 0.3);
}
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1/1.15;
  background-color: #0b101c;
  overflow: hidden;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.team-card:hover .team-photo-wrap img {
  transform: scale(1.05);
}
.team-content {
  padding: 16px 12px;
}
.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  color: var(--cmyk-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   CONTACTO Y UBICACIÓN
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(0, 164, 228, 0.1);
  border: 1px solid rgba(0, 164, 228, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cmyk-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}
.contact-val a:hover {
  color: var(--cmyk-cyan);
}

.map-wrapper {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 10px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Formulario */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 50px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
.footer-brand-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}
.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--cmyk-cyan);
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.wa-button:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}
.wa-tooltip {
  background: rgba(13, 18, 29, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: none;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .wa-tooltip { display: block; }
}

/* Accesibilidad & Utilidades */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
