/*
 * AXON Solutions: estilos propios sobre la plantilla (style.css).
 * Colores de marca del brochure 2026: naranja y azul oscuro.
 */
:root {
  --axon-orange: #cb571f;
  --axon-orange-soft: #fbeee7;
  --axon-navy: #12233a;
  --axon-text: #4a5866;
  --axon-border: #e6e9ee;
}

/* Títulos de sección: se pasó de h4 a h2/h3 por jerarquía, se conserva el tamaño visual */
.section-title h2.title,
.about-title h2.title {
  font-size: 32px;
  line-height: 1.35;
}
@media (max-width: 767px) {
  .section-title h2.title,
  .about-title h2.title { font-size: 24px; }
}
.single-service h3.service-title,
.single-blog h3.blog-title { font-size: 20px; line-height: 1.4; }
.single-blog h3.blog-title a { color: inherit; }

/* Hero */
.axon-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.axon-hero-actions .main-btn i { margin-right: 6px; }
.navbar-btn .main-btn { padding: 0 22px; }
@media (max-width: 1199px) { .navbar-btn { display: none !important; } }

/* Tarjetas de servicios */
.axon-card {
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--axon-border);
  border-radius: 12px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.axon-card:hover { box-shadow: 0 12px 30px rgba(18, 35, 58, .10); transform: translateY(-3px); }
.axon-card-featured { border-color: var(--axon-orange); box-shadow: 0 0 0 1px var(--axon-orange) inset; }
.axon-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--axon-orange-soft); color: var(--axon-orange); font-size: 24px;
}
.axon-card-title { font-size: 19px; line-height: 1.35; margin: 18px 0 10px; color: var(--axon-navy); }
.axon-card .text { font-size: 15px; line-height: 1.6; flex-grow: 1; }
.axon-card-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.axon-card-links a { font-weight: 700; color: var(--axon-orange); font-size: 15px; }
.axon-card-links a + a { color: var(--axon-navy); font-weight: 600; }
.axon-card-links a i { font-size: 12px; margin-left: 4px; }

/* Industrias */
.axon-industry {
  padding: 24px 26px;
  border-radius: 12px;
  border: 1px solid var(--axon-border);
  background: #fff;
}
.axon-industry-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.axon-industry-head i { font-size: 26px; color: var(--axon-orange); }
.axon-industry-head h3 { font-size: 20px; color: var(--axon-navy); margin: 0; }
.axon-industry .text { font-size: 15px; line-height: 1.6; }
.axon-industry-featured {
  background: var(--axon-navy);
  border-color: var(--axon-navy);
  padding: 32px 30px;
  height: calc(100% - 30px);
}
.axon-industry-featured .axon-industry-head h3,
.axon-industry-featured .text,
.axon-industry-featured .axon-checklist li { color: #fff; }
.axon-industry-featured .main-btn { margin-top: 22px; }
.axon-checklist { margin-top: 16px; }
.axon-checklist li {
  position: relative; padding-left: 26px; margin-top: 10px;
  font-size: 15px; line-height: 1.55; color: var(--axon-text);
}
.axon-checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--axon-orange);
}

/* Casos de éxito */
.axon-case {
  height: calc(100% - 30px);
  padding: 26px 26px 22px;
  border-radius: 12px;
  background: #f7f8fa;
  border-top: 4px solid var(--axon-orange);
}
.axon-case-tag {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--axon-orange);
}
.axon-case h3 { font-size: 20px; line-height: 1.35; color: var(--axon-navy); margin: 8px 0 4px; }
.axon-case-place { font-size: 14px; color: #798795; margin-bottom: 12px; }
.axon-case .text { font-size: 15px; line-height: 1.6; }

/* Nosotros */
.axon-counter-text { font-size: 30px !important; }
.axon-mission h3 { font-size: 20px; color: var(--axon-navy); margin-bottom: 8px; }
.axon-mission .col-md-6 { margin-top: 16px; }

/* Clientes */
.axon-clients { padding-top: 40px; }
.axon-client-group { padding: 22px 24px; border: 1px solid var(--axon-border); border-radius: 12px; height: calc(100% - 30px); }
.axon-client-group h3 { font-size: 17px; color: var(--axon-orange); margin-bottom: 10px; }
.axon-client-group li { font-size: 15px; line-height: 1.5; padding: 5px 0; color: var(--axon-text); border-bottom: 1px solid #f0f2f5; }
.axon-client-group li:last-child { border-bottom: 0; }
.axon-accreditation i { color: var(--axon-orange); margin-right: 6px; }

/* Enlaces de contacto */
.single-contact-info .text a,
.footer-contact .text a { color: inherit; }

/* Botón flotante de WhatsApp */
.axon-whatsapp {
  position: fixed; left: 20px; bottom: 20px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; font-size: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform .2s ease;
}
.axon-whatsapp:hover { color: #fff; transform: scale(1.06); }

/* ===== Páginas generadas (site/build.mjs) ===== */
[hidden] { display: none !important; }

/* Banner */
.axon-banner { padding-top: 190px; padding-bottom: 80px; }
.axon-banner .page-title { font-size: 46px; font-weight: 700; color: var(--axon-navy); line-height: 1.2; }
@media (max-width: 767px) {
  .axon-banner { padding-top: 150px; padding-bottom: 50px; }
  .axon-banner .page-title { font-size: 30px; }
}
.axon-breadcrumb { font-size: 14px; color: #798795; margin-bottom: 14px; }
.axon-breadcrumb a { color: var(--axon-orange); }
.axon-breadcrumb i { font-size: 10px; margin: 0 6px; }
.axon-banner-text { font-size: 19px; line-height: 1.6; color: var(--axon-text); margin-top: 16px; max-width: 760px; }

/* Secciones */
.axon-section { padding: 70px 0 10px; }
.axon-h2 { font-size: 26px; color: var(--axon-navy); line-height: 1.3; margin-bottom: 6px; }
.axon-lead { font-size: 18px; line-height: 1.7; color: var(--axon-text); }
.axon-lead-wide { max-width: 900px; margin-bottom: 10px; }
.axon-paragraph { margin-top: 14px; font-size: 16px; line-height: 1.75; }
.axon-feature { padding: 22px 24px; border: 1px solid var(--axon-border); border-radius: 12px; height: calc(100% - 30px); }
.axon-feature h3 { font-size: 18px; color: var(--axon-navy); margin-bottom: 8px; }
.axon-feature h3 a { color: var(--axon-navy); }
.axon-feature h3 a:hover { color: var(--axon-orange); }
.axon-feature .text { font-size: 15px; line-height: 1.6; }
.axon-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.axon-pills li { background: var(--axon-orange-soft); color: var(--axon-navy); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.axon-external { font-size: 16px; }
.axon-external a { color: var(--axon-orange); font-weight: 700; }
.axon-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.axon-tags span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--axon-orange); background: var(--axon-orange-soft); padding: 4px 10px; border-radius: 999px; }

/* Columna de contacto */
.axon-aside { position: sticky; top: 110px; padding: 28px 26px; border-radius: 12px; background: var(--axon-navy); color: #fff; }
.axon-aside h2 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.axon-aside h3 { font-size: 17px; color: #fff; margin-top: 28px; }
.axon-aside .text { color: #d6dde6; font-size: 15px; }
.axon-aside .main-btn { margin-top: 18px; width: 100%; text-align: center; padding: 0 16px; }
.axon-aside-wa { display: block; margin-top: 14px; color: #fff; font-weight: 700; }
.axon-aside-wa:hover { color: #25d366; }
.axon-aside-wa i { color: #25d366; margin-right: 6px; }
.axon-aside-tel { margin-top: 10px; }
.axon-aside-tel a, .axon-aside .axon-checklist a { color: #fff; text-decoration: underline; }
.axon-aside .axon-checklist li { color: #d6dde6; }
@media (max-width: 991px) { .axon-aside { position: static; } }

/* Preguntas frecuentes */
.axon-faq { margin-top: 20px; max-width: 900px; }
.axon-faq details { border-bottom: 1px solid var(--axon-border); padding: 18px 0; }
.axon-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--axon-navy); list-style: none; position: relative; padding-right: 30px; }
.axon-faq summary::-webkit-details-marker { display: none; }
.axon-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--axon-orange); }
.axon-faq details[open] summary::after { content: "−"; }
.axon-faq .text { margin-top: 10px; font-size: 15px; line-height: 1.7; }

/* Llamado a la acción */
.axon-cta { padding: 70px 0 90px; }
.axon-cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 44px; border-radius: 16px; background: var(--axon-orange);
}
.axon-cta-box h2 { color: #fff; font-size: 28px; }
.axon-cta-box .text { color: #fff; opacity: .92; margin-top: 6px; }
.axon-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.axon-cta-actions .main-btn { background: #fff; color: var(--axon-orange); border-color: #fff; }
.axon-cta-actions .axon-btn-light { background: transparent; color: #fff; border-color: #fff; }
.axon-cta-actions .main-btn:hover { background: var(--axon-navy); border-color: var(--axon-navy); color: #fff; }

/* Tarjetas enlazadas */
.axon-card-link, .axon-case-link { display: flex; flex-direction: column; color: inherit; }
.axon-case-link { display: block; }
.axon-card-link:hover, .axon-case-link:hover { color: inherit; box-shadow: 0 12px 30px rgba(18, 35, 58, .10); }
.axon-card-title a { color: var(--axon-navy); }
.axon-card-title a:hover { color: var(--axon-orange); }
.axon-card-type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #798795; margin-top: 16px; }
.axon-card-type + .axon-card-title { margin-top: 4px; }
.axon-card-link .axon-tags { margin: 14px 0 0; }
.axon-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--axon-orange); font-size: 15px; }
.axon-more i { font-size: 12px; margin-left: 4px; }

/* Catálogo */
.axon-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.axon-filter button {
  border: 1px solid var(--axon-border); background: #fff; color: var(--axon-navy); font-weight: 700;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: 15px;
}
.axon-filter button[aria-pressed="true"] { background: var(--axon-orange); border-color: var(--axon-orange); color: #fff; }

/* Landing y casos */
.axon-package { padding: 28px 26px; border-radius: 12px; border: 1px solid var(--axon-border); height: calc(100% - 30px); border-top: 4px solid var(--axon-orange); }
.axon-package h2 { font-size: 21px; color: var(--axon-navy); margin: 0; }
.axon-package .axon-checklist a { color: var(--axon-navy); font-weight: 600; }
.axon-package .axon-checklist a:hover { color: var(--axon-orange); }
.axon-result { padding: 24px 26px; border-radius: 12px; background: var(--axon-orange-soft); border-left: 4px solid var(--axon-orange); }
.axon-result h2 { font-size: 20px; color: var(--axon-navy); margin-bottom: 8px; }
.axon-related-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.axon-related-list a { display: inline-block; padding: 10px 16px; border: 1px solid var(--axon-border); border-radius: 999px; color: var(--axon-navy); font-weight: 600; font-size: 15px; }
.axon-related-list a:hover { border-color: var(--axon-orange); color: var(--axon-orange); }
.axon-related-list i { color: var(--axon-orange); margin-right: 6px; }
.axon-industry-link { display: inline-block; margin: 22px 0 0 18px; color: #fff; font-weight: 700; text-decoration: underline; }
.axon-industry-link:hover { color: #fff; }

/* Botones con texto largo: en pantallas chicas hacen salto de línea en vez de desbordar */
.axon-cta-actions .main-btn, .axon-aside .main-btn, .main-btn.axon-wrap {
  white-space: normal; height: auto; line-height: 1.35; padding-top: 14px; padding-bottom: 14px;
}
/* Las formas decorativas de "Por qué nosotros" desbordaban en celulares (ya pasaba antes) */
.service-area { overflow: hidden; }
