:root {
  --bg: #0f172a; /* gris azulado muy oscuro */
  --bg-elev: #111827; /* gris oscuro */
  --text: #e5e7eb; /* gris claro */
  --muted: #94a3b8; /* gris azulado */
  --primary: #2563eb; /* azul */
  --primary-600: #1d4ed8; /* azul más oscuro */
  --card: #0b1220; /* azul muy oscuro */
  --white: #ffffff;
  --container: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.15);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.4);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  gap: 10px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: auto; object-fit: contain; }
.brand-text { font-weight: 700; letter-spacing: 0.3px; }

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
}
.site-nav a:hover { color: #1d4ed8; background: rgba(37,99,235,0.08); }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; }

/* Hero */
.hero { position: relative; padding-top: 88px; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; padding: 56px 0; }
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration img { width: 100%; max-width: 480px; max-height: 320px; height: auto; object-fit: contain; display: block; }
.hero-content { position: relative; text-align: left; max-width: 640px; }
.hero h1 { font-size: 42px; line-height: 1.1; margin: 0 0 14px; color: #0f172a; }
.hero p { margin: 0 auto 24px; max-width: 760px; color: #475569; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; transition: .2s ease; cursor: pointer; font-weight: 600;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-outline { background: #ffffff; color: #0f172a; border-color: rgba(15,23,42,0.12); }
.btn-outline:hover { background: #f8fafc; border-color: rgba(37,99,235,0.4); color: #0f172a; }

/* Sections */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 34px; }
.section-header h2 { margin: 0 0 8px; font-size: 32px; }
.section-header p { margin: 0; color: var(--muted); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
}
.card {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(15,23,42,0.18); }
.card-icon { width: 38px; height: 38px; color: #60a5fa; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #475569; font-size: 14px; }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: repeat(1, minmax(0,1fr)); }
}

/* Feature */
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.feature-media img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(15,23,42,0.08); }
.feature-content p { color: #475569; }
.check-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.check-list li { margin-bottom: 8px; position: relative; padding-left: 26px; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: #22c55e; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 36px 0; gap: 20px; }
  .hero-content { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* Logos */
.section-logos .eyebrow { text-align: center; color: #64748b; margin-bottom: 18px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center; }
.logos img { width: 100%; height: 80px; object-fit: contain; background: #ffffff; border-radius: 10px; filter: grayscale(100%) opacity(0.9); transition: .2s ease; border: 1px solid rgba(15,23,42,0.08); padding: 8px; }
.logos img:hover { filter: grayscale(0%) opacity(1); }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* CTA */
.section-cta { 
  position: relative; 
  background: #ffffff;
}
.cta-bg { 
  display: none;
}
.cta { 
  position: relative; text-align: center; 
  background-image: url('imagen complementaria/servidorfisico-1.jpg'); 
  background-size: cover; 
  background-position: center; 
  padding: 40px; border-radius: var(--radius); 
  border: 1px solid rgba(15,23,42,0.08); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  z-index: 1;
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #0f172a; font-weight: 700; }
.cta p { color: #374151; font-weight: 500; }
.cta-form { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.cta-form input { height: 44px; padding: 0 14px; background: #ffffff; border: 1px solid rgba(15,23,42,0.18); border-radius: 10px; color: #0f172a; min-width: 260px; }
.cta-form input::placeholder { color: #64748b; }

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

/* Footer */
.site-footer { border-top: 1px solid rgba(15,23,42,0.08); padding: 32px 0; background: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.brand-footer .brand-logo { width: 160px; height: 56px; border-radius: 8px; }
.footer-note { color: #64748b; margin: 8px 0 0; }
.footer-links { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #64748b; text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.footer-links a:hover { color: #1d4ed8; background: rgba(37,99,235,0.08); }

/* Clientes */
.section-clientes .clientes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; align-items: center; }
.section-clientes .clientes-grid img { width: 100%; height: 70px; object-fit: contain; background: #ffffff; border: 1px solid rgba(15,23,42,0.08); border-radius: 10px; padding: 12px; filter: grayscale(100%) opacity(0.9); transition: .2s ease; }
.section-clientes .clientes-grid img:hover { filter: grayscale(0%) opacity(1); }
@media (max-width: 860px) { .section-clientes .clientes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .section-clientes .clientes-grid { grid-template-columns: 1fr; } }

/* Tarifas Modal */
.btn-tarifas {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5cm;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  text-decoration: none;
}
.btn-tarifas:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.tarifas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.tarifas-overlay.show {
  display: flex;
}

/* Asegurar que el modal esté centrado */
.tarifas-overlay.show .tarifas-modal {
  margin: 0 auto;
  align-self: center;
}

.tarifas-modal {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0;
  pointer-events: auto;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  color: white;
}

.modal-header h3 {
  margin: 0;
  color: white;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  color: white;
}

.modal-content {
  padding: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tarifa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.tarifa-category {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(15,23,42,0.08);
}

.tarifa-category h4 {
  margin: 0 0 16px 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.tarifa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarifa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,0.05);
  transition: all 0.2s ease;
}

.tarifa-row:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.servicio {
  color: #374151;
  font-weight: 500;
  font-size: 14px;
}

.precio {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.condiciones {
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(15,23,42,0.08);
}

.condiciones h4 {
  margin: 0 0 20px 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.condiciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.condicion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,0.05);
}

.condicion-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.condicion-item span:last-child {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.disclaimer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  border: 1px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.disclaimer p {
  margin: 0;
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Nuevos estilos para la estructura actualizada del modal */
.tarifa-section {
  margin-bottom: 32px;
}

.tarifa-section h4 {
  margin: 0 0 20px 0;
  color: #02073B; /* texto azul oscuro */
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 6px 16px;
  border-radius: 12px;
  background: #f9faf5; /* blanco huevo, sin degradado */
  border: none;        /* sin bordes externos, solo se ve el marco interno general */
  box-shadow: none;
}

.tarifa-table {
  background: #f9faf5; /* blanco huevo, como las tablas de Planes PC */
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.tarifa-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.5); /* línea horizontal suave, como Planes PC */
  background: #f9faf5; /* fondo blanco huevo para todas las filas, incluido "💻 Hora serv. Hardware" */
  align-items: center;
  transition: all 0.2s ease;
}

.tarifa-row:last-child {
  border-bottom: none;
}

.tarifa-row:not(.header):hover {
  background: rgba(59, 130, 246, 0.03);
}

.tarifa-row.header {
  background: #f9faf5; /* mismo fondo blanco huevo que Planes PC */
  color: #02073B;      /* texto azul oscuro */
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none;
}

/* Asegurar color azul para "Servicio / DOMICILIO / LABORATORIO" */
.tarifa-row.header .servicio,
.tarifa-row.header .domicilio,
.tarifa-row.header .laboratorio {
  color: #02073B;
}

/* Encabezado específico de "Planes de Mantenimiento Server" (Planes / PyME / Empresa / Tarifa Plena*) */
.tarifa-table-4cols .tarifa-row.header {
  background: #f9faf5;       /* blanco huevo, igual que la cabecera de PC */
  color: #02073B;            /* color base azul oscuro */
  box-shadow: none;
}

.tarifa-table-4cols .tarifa-row.header .servicio,
.tarifa-table-4cols .tarifa-row.header .domicilio,
.tarifa-table-4cols .tarifa-row.header .laboratorio {
  color: #02073B;            /* asegurar texto de cada columna en azul #02073B */
}

.tarifa-row.header .servicio,
.tarifa-row.header .domicilio,
.tarifa-row.header .laboratorio,
.tarifa-row.header .equipo,
.tarifa-row.header .monto {
  text-align: center;
  color: #02073B; /* títulos de columnas en azul oscuro */
}

.servicio, .domicilio, .laboratorio {
  font-size: 14px;
}

.servicio {
  font-weight: 500;
  color: #02073B; /* mismo azul que las descripciones en Planes PC */
}

.domicilio, .laboratorio {
  text-align: center;
  font-weight: 600;
  color: #02073B; /* columnas de valores en azul oscuro como Planes PC */
}

.notas-section {
  margin: 32px 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(96, 165, 250, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-left: 4px solid #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.notas-section h4 {
  margin: 0 0 16px 0;
  color: #02073B; /* subtítulo en azul oscuro */
  font-size: 16px;
  font-weight: 700;
  background: #f9faf5; /* fondo blanco huevo como el resto */
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
  border: none;
  box-shadow: none;
}

.notas-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.notas-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.notas-list li::before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.reparaciones-section {
  margin: 32px 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(30, 41, 59, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.reparaciones-section h4 {
  margin: 0 0 12px 0;
  color: #02073B; /* subtítulo en azul oscuro */
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  background: #f9faf5; /* fondo blanco huevo */
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  border: none;
  box-shadow: none;
}

.reparaciones-section p {
  margin: 0 0 20px 0;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.reparaciones-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.reparaciones-table .tarifa-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.equipo, .monto {
  font-size: 14px;
  text-align: center;
}

.equipo {
  font-weight: 500;
  color: #0f172a;
}

.monto {
  font-weight: 600;
  color: #3b82f6;
}

/* Ajuste de tabla Server a 4 columnas (concepto + 3 planes) */
.tarifa-table-4cols .tarifa-row {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .tarifas-overlay {
    padding: 20px 15px;
  }
  .tarifas-modal {
    max-width: 100%;
    max-height: 85vh;
  }
  .modal-header {
    padding: 16px 20px;
  }
  .modal-header h3 {
    font-size: 18px;
  }
  .modal-content {
    padding: 20px;
  }
  .tarifa-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .condiciones-grid {
    grid-template-columns: 1fr;
  }
  .tarifa-category {
    padding: 16px;
  }
  .condiciones {
    padding: 20px;
  }
  
  /* Responsive para nuevas clases */
  .tarifa-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  
  .tarifa-row.header {
    grid-template-columns: 1fr;
  }
  
  .reparaciones-table .tarifa-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  
  .notas-section, .reparaciones-section {
    padding: 16px;
  }
}

/* Estilos para el botón de ticket en la navegación */
.btn-ticket {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-ticket:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Estilos para el modal de ticket */
.ticket-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.ticket-overlay.show {
  display: flex;
}

.ticket-modal {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0;
  pointer-events: auto;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.ticket-form-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 32px;
}

.ticket-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: white;
}

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

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

.file-help {
  color: #6b7280;
  font-size: 12px;
  margin-top: 4px;
}

.btn-enviar {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  margin-top: 10px;
}

.btn-enviar:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.ticket-info {
  display: flex;
  flex-direction: column;
}

.info-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(96, 165, 250, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.info-card h4 {
  color: #3b82f6;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-align: center;
}

.info-content {
  margin-bottom: 20px;
}

.info-content p {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.info-tips h5 {
  color: #3b82f6;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.info-tips ul {
  margin: 0;
  padding-left: 20px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.info-tips li {
  margin-bottom: 6px;
}

/* Responsive para el modal de ticket */
@media (max-width: 768px) {
  .ticket-overlay {
    padding: 20px 15px;
  }
  
  .ticket-modal {
    max-width: 100%;
    max-height: 95vh;
  }
  
  .ticket-form-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .ticket-info {
    order: -1;
  }
  
  .modal-header {
    padding: 20px 24px;
  }
  
  .modal-header h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .ticket-overlay {
    padding: 15px 10px;
  }
  
  .ticket-modal {
    max-height: 98vh;
  }
  
  .ticket-form-container {
    padding: 20px;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-header h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tarifas-overlay {
    padding: 15px 10px;
  }
  .tarifas-modal {
    max-height: 90vh;
  }
  .modal-header {
    padding: 14px 16px;
  }
  .modal-header h3 {
    font-size: 16px;
  }
  .modal-content {
    padding: 16px;
  }
}

/* Imagen de ciberseguridad */
.section-cyber-image img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(15,23,42,0.08); }

/* Responsive nav */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; right: 20px; top: 68px; background: rgba(2,6,23,0.95); border: 1px solid rgba(148,163,184,0.2); border-radius: 10px; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px; }
}

/* Smooth scroll behavior for anchor links */
html { scroll-behavior: smooth; }

/* Estilos para la sección de tarifas */
.section-tarifas .container {
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius);
  padding: 40px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.section-tarifas .tarifas-content {
  margin-top: 20px;
}

/* Títulos de los planes de mantenimiento */
.planes-mantenimiento h3 {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin: 24px 0 16px;
}


/* Tablas detalladas de planes de mantenimiento (PC) */
.tabla-planes-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.tabla-planes {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  background: #f9faf5; /* blanco hueso */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tabla-planes thead {
  background: #f9faf5; /* blanco huevo para la cabecera */
  color: #02073B; /* texto en azul oscuro para buen contraste */
}

.tabla-planes th,
.tabla-planes td {
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 10px 12px;
  font-size: 13px;
  vertical-align: middle;
  height: 40px; /* misma altura base para todos los renglones */
}

.tabla-planes th {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tabla-planes td:first-child {
  font-weight: 500;
  color: #02073B; /* azul fuerte para el texto */
}

.tabla-planes td:not(:first-child) {
  text-align: center;
  font-weight: 600;
  color: #02073B; /* mismo azul para columnas de plan */
}

/* Dejar que la primera columna (Planes) tome el ancho del texto más largo
   y que las demás columnas comiencen alineadas a partir de ahí. */

/* Fondo uniforme tipo blanco sucio en todas las filas */
.tabla-planes tr td {
  background: #f9faf5;
}

/* Solo líneas horizontales: quitamos bordes verticales de celdas internas */
.tabla-planes th,
.tabla-planes td {
  border-left: none;
  border-right: none;
}

/* Mantenemos el borde superior de la cabecera y el inferior de la tabla desde el contenedor */

.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #1f3b6d; /* azul oscuro similar al icono de referencia */
  font-size: 0; /* ocultar el carácter original */
}

.tick::before {
  content: "✓";
  font-size: 14px;
  color: #ffffff;
}

.cross {
  display: none; /* ocultar cruces en la tabla */
}

.tabla-descuentos td:first-child {
  color: #374151;
}

.nota-planes {
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 900px) {
  .tabla-planes th,
  .tabla-planes td {
    font-size: 12px;
    padding: 8px 6px;
  }
}


