/* ============================================================
   CAPITANTEC – Página de Servicios
   Archivo: capitantec-servicios.css
   Subir a: PrestaShop > Diseño > Gestor de archivos (o /themes/tu-tema/assets/css/)
   Vincular en el <head> del tema o en el campo HTML de la página CMS:
   <link rel="stylesheet" href="/themes/TU-TEMA/assets/css/capitantec-servicios.css">
   ============================================================ */



/* ── Variables ── */
:root {
  --ct-navy:    #1a1f5e;
  --ct-red:     #d32f2f;
  --ct-yellow:  #f5c518;
  --ct-white:   #ffffff;
  --ct-light:   #f4f6fb;
  --ct-gray:    #5a5f7a;
  --ct-border:  #dde2f0;
  --ct-radius:  14px;
  --ct-title:   'Bangers', 'Arial Black', Impact, Arial, sans-serif;
  --ct-body:    'Nunito', 'Segoe UI', Arial, sans-serif;
}

/* ── Reset scope ── */
.ct-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ct-page {
  font-family: var(--ct-body);
  color: var(--ct-navy);
  background: var(--ct-white);
}

/* ================================================================
   HERO
   ================================================================ */
.ct-hero {
  background: var(--ct-navy);
  padding: 50px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 18px,
    rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 36px
  );
  pointer-events: none;
}

.ct-hero-badge {
  display: inline-block;
  background: var(--ct-red);
  color: var(--ct-white);
  font-family: var(--ct-title);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 18px;
  position: relative;
}

.ct-hero h1 {
  font-family: var(--ct-title);
  font-size: clamp(36px, 7vw, 68px);
  letter-spacing: 2px;
  color: var(--ct-white);
  line-height: 1.1;
  position: relative;
}

.ct-hero h1 span {
  color: var(--ct-yellow);
}

.ct-hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.6rem !important;
}

/* Franja decorativa */
.ct-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ct-yellow) 0px, var(--ct-yellow) 30px,
    var(--ct-red)    30px, var(--ct-red)    60px
  );
}

/* ================================================================
   SECCIÓN PRINCIPAL
   ================================================================ */
.ct-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Título de sección */
.ct-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.ct-section-title h2 {
  font-family: var(--ct-title);
  font-size: clamp(1rem, 4vw, 2.5rem);
  color: var(--ct-navy);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ct-section-title h2 span {
  color: var(--ct-red);
}

.ct-section-title p {
  color: var(--ct-gray);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ================================================================
   GRID DE TARJETAS
   ================================================================ */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Tarjeta ── */
.ct-card {
  background: var(--ct-white);
  border: 2px solid var(--ct-border);
  border-top: 4px solid var(--ct-yellow);
  border-radius: var(--ct-radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ct-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26,31,94,0.12);
  border-color: var(--ct-navy);
  border-top-color: var(--ct-red);
}

.ct-card-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.ct-card h3 {
  font-family: var(--ct-title);
  font-size: 1.5rem!important;
  letter-spacing: 0.5px;
  color: var(--ct-navy);
  margin-bottom: 10px;
}

.ct-card p {
  font-size: 1rem;
  color: var(--ct-gray);
  line-height: 1.2rem!important;
  margin-bottom: 16px;
}
.ct-card-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 14px;
  line-height: 1rem!important;
} 
/* Checkmarks */
.ct-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-checks li {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ct-navy);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ct-checks li::before {
  content: '✔';
  color: var(--ct-red);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Sub-items con emoji (conectividad, software) */
.ct-sub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ct-sub-list li {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ct-navy);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

/* ================================================================
   DIAGNÓSTICO DESTACADO
   ================================================================ */
.ct-diag {
  background: var(--ct-navy);
  border-radius: var(--ct-radius);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ct-diag-icon {
  font-size: 54px;
  flex-shrink: 0;
  line-height: 1;
}

.ct-diag h3 {
  font-family: var(--ct-title);
  font-size: 3rem !important;
  letter-spacing: 1px;
  color: var(--ct-yellow);
  margin-bottom: 10px;
}

.ct-diag p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

/* ================================================================
   CTA FINAL
   ================================================================ */
.ct-cta {
  background: var(--ct-light);
  border-top: 3px solid var(--ct-border);
  padding: 64px 24px;
  text-align: center;
}

.ct-cta h2 {
  font-family: var(--ct-title);
  font-size: clamp(26px, 4vw, 44px);
  color: var(--ct-navy);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.ct-cta h2 span {
  color: var(--ct-red);
}

.ct-cta p {
  color: var(--ct-gray);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
}

.ct-btn {
  display: inline-block;
  background: var(--ct-red);
  color: var(--ct-white) !important;
  font-family: var(--ct-title);
  font-size: 20px;
  letter-spacing: 1px;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(211,47,47,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ct-btn:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(211,47,47,0.45);
  color: var(--ct-white) !important;
  text-decoration: none !important;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet: 2 columnas */
@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 columna */
@media (max-width: 580px) {
  .ct-hero {
    padding: 44px 16px 36px;
  }

  .ct-hero-sub {
    font-size: 1.4rem;
  }

  .ct-main {
    padding: 40px 16px;
  }

  .ct-section-title {
    margin-bottom: 32px;
  }

  .ct-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ct-card {
    padding: 22px 18px;
  }

  .ct-diag {
    padding: 24px 20px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

  .ct-diag h3 {
    font-size: 22px;
  }

  .ct-cta {
    padding: 44px 16px;
  }

  .ct-btn {
    font-size: 17px;
    padding: 14px 32px;
    width: 100%;
    max-width: 320px;
  }
}

/* ================================================================
   FAQ – Lista de preguntas y respuestas
   ================================================================ */
.ct-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.ct-faq-item {
  border: 2px solid var(--ct-border);
  border-left: 5px solid var(--ct-yellow);
  border-radius: var(--ct-radius);
  background: var(--ct-white);
  overflow: hidden;
  transition: border-left-color 0.2s, box-shadow 0.2s;
}

.ct-faq-item:hover {
  border-left-color: var(--ct-red);
  box-shadow: 0 8px 24px rgba(26,31,94,0.10);
}

.ct-faq-q {
  font-family: var(--ct-title);
  font-size: 1.5rem!important;
  letter-spacing: 0.3px;
  color: var(--ct-navy);
  padding: 20px 24px;
  cursor: default;
}

.ct-faq-a {
  font-family: var(--ct-body);
  font-size: 14.5px;
  color: var(--ct-gray);
  line-height: 1.7;
  padding: 0 24px 20px 24px;
  font-weight: 600;
}

/* Responsive FAQ */
@media (max-width: 580px) {
  .ct-faq-q {
    font-size: 16px;
    padding: 16px 16px;
  }

  .ct-faq-a {
    padding: 0 16px 16px 16px;
    font-size: 14px;
  }
}