/**
 * Archivo: servicios.css
 * Tipo: hoja de estilos
 * Pagina relacionada: Vistas/servicios.html
 * Script relacionado: Recursos/Scripts/servicios-vue.js
 * Funcion general: define tarjetas, subservicios y llamadas visuales de la pagina de servicios.
 */
/* Seccion: Contenedor principal de pilares de servicio. */
.services-pillar-section {
  background: linear-gradient(180deg, #f3efee 0%, #ece7e6 100%);
  padding: 88px 0 110px;
}
/* Seccion: Encabezado editorial de la vista servicios. */
.services-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 54px;
}
.services-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #24389a;
}
.services-head h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  color: #0f172a;
}
.services-intro {
  margin: 18px auto 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: #364152;
}
/* Seccion: Columna central de tarjetas de servicio. */
.services-pillar {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
  padding: 8px 0 8px;
}
.services-pillar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(36, 56, 154, 0.18), rgba(36, 56, 154, 0.65), rgba(36, 56, 154, 0.18));
  transform: translateX(-50%);
}
/* Seccion: Tarjeta individual de cada servicio tecnico. */
.service-box {
  position: relative;
  width: min(430px, calc(50% - 42px));
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(36, 56, 154, 0.2);
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: grid;
  gap: 14px;
}
.service-box:nth-child(odd) {
  justify-self: start;
}
.service-box:nth-child(even) {
  justify-self: end;
}
.service-box::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #24389a;
  box-shadow: 0 0 0 6px rgba(36, 56, 154, 0.18);
}
.service-box:nth-child(odd)::before {
  right: -43px;
}
.service-box:nth-child(even)::before {
  left: -43px;
}
.service-box::after {
  content: "";
  display: block;
  width: 100%;
  height: 180px;
  border-radius: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  order: -1;
}
.service-box:nth-child(1)::after {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 28, 0.12), rgba(7, 12, 28, 0.42)),
    url("../../Imagenes/Recuros de imagenes/Mantenimiento he instalacion de cables de acero y accesorios.jpeg");
}
.service-box:nth-child(2)::after {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 28, 0.12), rgba(7, 12, 28, 0.42)),
    url("../../Imagenes/Recuros de imagenes/Inspección de cables y aparejos .jpeg");
}
.service-box:nth-child(3)::after {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 28, 0.12), rgba(7, 12, 28, 0.42)),
    url("../../Imagenes/Recuros de imagenes/Capacitaciones 2.jpeg");
}
.service-box:nth-child(4)::after {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 28, 0.12), rgba(7, 12, 28, 0.42)),
    url("../../Imagenes/Recuros de imagenes/Suministro .jpeg");
}
.service-box.service-box-rental::after {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 28, 0.12), rgba(7, 12, 28, 0.42)),
    url("../../Imagenes/Recuros de imagenes/Grillete tipo U.jpg");
}
.service-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.26;
  color: #1c2b7a;
  text-transform: uppercase;
}
.service-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2f3a4e;
}
/* Seccion: Boton de contacto/cotizacion de servicio. */
.service-quote-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 43, 122, 0.42);
  background: rgba(36, 56, 154, 0.1);
  color: #1c2b7a;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.service-quote-btn:hover {
  background: rgba(36, 56, 154, 0.2);
  transform: translateY(-1px);
}
/* Seccion: Desplegable de subservicios por categoria. */
.service-subtoggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(28, 43, 122, 0.28);
  border-radius: 10px;
  padding: 8px 12px;
  background: rgba(36, 56, 154, 0.08);
  color: #1c2b7a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.service-subtoggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -2px;
}
.service-subtoggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
/* Seccion: Lista de subtemas/alcances del servicio. */
.service-subtopics {
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: grid;
  gap: 8px;
}
.service-subtopics.is-open {
  max-height: 260px;
}
.service-subtopic {
  display: block;
  text-decoration: none;
  color: #24389a;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(36, 56, 154, 0.07);
  border: 1px solid rgba(36, 56, 154, 0.16);
}
.service-subtopic:hover {
  background: rgba(36, 56, 154, 0.14);
}
.reveal-card {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Seccion: Responsive de servicios para tablet. */
@media (max-width: 900px) {
  .services-pillar::before {
    left: 12px;
    transform: none;
  }
  .service-box {
    width: calc(100% - 34px);
    justify-self: end !important;
  }
  .service-box::after {
    height: 164px;
  }
  .service-box::before {
    left: -27px !important;
    right: auto !important;
  }
}
@media (max-width: 640px) {
  .services-pillar-section {
    padding: 72px 0 90px;
  }
  .services-head h2 {
    font-size: clamp(25px, 8vw, 34px);
  }
  .services-intro {
    font-size: 16px;
  }
  .service-box h3 {
    font-size: 20px;
  }
  .service-box::after {
    height: 150px;
  }
}

@media (min-width: 1440px) {
  .services-pillar {
    width: min(1260px, 92vw);
    gap: 42px;
  }

  .service-box {
    width: min(540px, calc(50% - 54px));
    padding: 26px 26px 28px;
  }

  .service-box::after {
    height: 220px;
  }

  .service-box h3 {
    font-size: 26px;
  }

  .service-box p {
    font-size: 17px;
  }
}

@media (min-width: 1800px) {
  .services-pillar {
    width: min(1420px, 92vw);
  }

  .service-box {
    width: min(620px, calc(50% - 62px));
  }

  .service-box::after {
    height: 240px;
  }
}
/* Seccion: Variantes de servicios en modo oscuro. */
body.dark .services-pillar-section {
  background: linear-gradient(180deg, #0b0f1d 0%, #111827 100%);
}
body.dark .services-eyebrow {
  color: #9db3ff;
}
body.dark .services-head h2 {
  color: #eef2ff;
}
body.dark .services-intro {
  color: #c7d2fe;
}
body.dark .services-pillar::before {
  background: linear-gradient(180deg, rgba(157, 179, 255, 0.22), rgba(157, 179, 255, 0.66), rgba(157, 179, 255, 0.22));
}
body.dark .service-box {
  background: rgba(17, 24, 39, 0.86);
  border-color: rgba(157, 179, 255, 0.34);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
body.dark .service-box::before {
  background: #9db3ff;
  box-shadow: 0 0 0 6px rgba(157, 179, 255, 0.18);
}
body.dark .service-box h3 {
  color: #dbe5ff;
}
body.dark .service-box p {
  color: #e5e7eb;
}
body.dark .service-quote-btn {
  border-color: rgba(157, 179, 255, 0.46);
  background: rgba(157, 179, 255, 0.14);
  color: #dbe5ff;
}
body.dark .service-quote-btn:hover {
  background: rgba(157, 179, 255, 0.24);
}
body.dark .service-subtoggle {
  border-color: rgba(157, 179, 255, 0.42);
  background: rgba(157, 179, 255, 0.14);
  color: #dbe5ff;
}
body.dark .service-subtopic {
  color: #e6edff;
  background: rgba(157, 179, 255, 0.11);
  border-color: rgba(157, 179, 255, 0.34);
}
body.dark .service-subtopic:hover {
  background: rgba(157, 179, 255, 0.2);
}












/* Override final: dark mode industrial unificado. */
body.dark .services-pillar-section {
  background: linear-gradient(180deg, #17191c 0%, #121416 100%);
}
body.dark .service-box,
body.dark .service-subtopic {
  background: linear-gradient(180deg, #24272b 0%, #1c1f23 100%);
  border-color: rgba(155, 166, 178, 0.18);
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}
body.dark .services-eyebrow,
body.dark .services-head h2,
body.dark .services-intro,
body.dark .service-box h3,
body.dark .service-box p {
  color: #e7e0d2;
}
body.dark .service-quote-btn,
body.dark .service-subtoggle {
  background: linear-gradient(180deg, #5f6c82 0%, #445166 100%);
  border-color: rgba(190, 198, 208, 0.16);
  color: #f1eadc;
}
body.dark .service-quote-btn:hover,
body.dark .service-subtopic:hover {
  background: linear-gradient(180deg, #676f79 0%, #4b5661 100%);
}

/* Override final: dark mode en negro/grafito, sin acentos azules. */
body.dark {
  --dark-ink: #0f1012;
  --dark-panel: #1a1c1f;
  --dark-panel-2: #23262a;
  --dark-border: rgba(180, 186, 194, 0.16);
  --dark-text: #ece6db;
  --dark-muted: #c5bfb3;
  --dark-accent: #7d848d;
}

body.dark .site-header,
body.dark .site-header.scrolled,
body.dark .nav-dropdown-menu,
body.dark .site-header.scrolled .nav-dropdown-menu,
body.dark .mobile-nav,
body.dark .site-header.scrolled .mobile-nav,
body.dark .site-footer,
body.dark .product-detail-card,
body.dark .product-meta-group,
body.dark .product-detail-copy.product-detail-copy-top,
body.dark #detalleTablaWrap,
body.dark .catalogo-head,
body.dark .catalog-card,
body.dark .catalog-modal-dialog,
body.dark .contact-form,
body.dark .contact-side,
body.dark .timeline-step,
body.dark .timeline-panel,
body.dark .projects-collage-shell,
body.dark .project-modal-card,
body.dark .service-box,
body.dark .service-subtopic,
body.dark .izajes-d2-block,
body.dark .sling-builder-card,
body.dark .sling-builder-preview-wrap,
body.dark .sling-builder-form,
body.dark .sling-accessories,
body.dark .d2-detail-card,
body.dark .d2-detail-extra,
body.dark .d2-tech-summary,
body.dark .d2-rigging-modes,
body.dark .d2-capacity-table-wrap,
body.dark .d2-builder,
body.dark .d2-builder-preview,
body.dark .d2-builder-form,
body.dark .d2-builder-extended,
body.dark .d2-simple-quote {
  background: linear-gradient(180deg, var(--dark-panel-2) 0%, var(--dark-panel) 100%) !important;
  border-color: var(--dark-border) !important;
}

body.dark .main-nav a,
body.dark .nav-dropdown-toggle,
body.dark .menu-toggle,
body.dark .theme-toggle,
body.dark .site-footer a,
body.dark .site-footer p,
body.dark .site-footer h3,
body.dark .site-footer h4,
body.dark .site-footer .footer-toggle,
body.dark .site-footer .material-symbols-outlined,
body.dark .catalogo-head h1,
body.dark .catalogo-head p,
body.dark .catalog-card-head h3,
body.dark .catalog-card-head p,
body.dark .catalogo-page-readout,
body.dark .catalogo-link,
body.dark .catalog-modal-head h2,
body.dark .catalog-modal-head p,
body.dark .catalogo-picker label,
body.dark .contact-side h2,
body.dark .contact-side p,
body.dark .contact-chip,
body.dark .field span,
body.dark .optional-hint,
body.dark .submit-note,
body.dark .timeline-head h2,
body.dark .timeline-panel h3,
body.dark .projects-head h2,
body.dark .project-modal-card h3,
body.dark .timeline-projects-panel .projects-head h3,
body.dark .timeline-head p,
body.dark .timeline-panel p,
body.dark .projects-head p,
body.dark .project-modal-card p,
body.dark .projects-pill,
body.dark .services-eyebrow,
body.dark .services-head h2,
body.dark .services-intro,
body.dark .service-box h3,
body.dark .service-box p,
body.dark .cables-board-head h2,
body.dark .cables-board-head p,
body.dark .cables-status,
body.dark .product-detail-content h2,
body.dark .product-detail-copy.product-detail-copy-top p,
body.dark .product-tag-value,
body.dark .product-meta-group-title,
body.dark .d2-tech-summary h3,
body.dark .d2-rigging-modes h3,
body.dark .d2-tech-chip-label,
body.dark .d2-tech-chip-value,
body.dark .d2-tech-paragraph,
body.dark .d2-rigging-subtitle,
body.dark .d2-rigging-content h4,
body.dark .d2-rigging-content p,
body.dark .d2-builder h3,
body.dark .d2-builder-subtitle,
body.dark .d2-builder-extended h4,
body.dark .d2-builder-extended p,
body.dark #d2ModelName,
body.dark #d2ModelMeasure,
body.dark .d2-simple-quote h3,
body.dark .d2-simple-quote-subtitle,
body.dark .d2-simple-quote-form label span {
  color: var(--dark-text) !important;
}

body.dark .product-tag,
body.dark .cables-filter-btn,
body.dark .service-quote-btn,
body.dark .service-subtoggle,
body.dark .d2-rigging-tab,
body.dark .d2-capacity-figure-tab,
body.dark .d2-model-btn,
body.dark .catalogo-picker,
body.dark .catalog-card-preview,
body.dark .catalog-card-loading,
body.dark .field input,
body.dark .field select,
body.dark .field textarea,
body.dark .suggestion-btn,
body.dark .submit-btn,
body.dark .contact-chip,
body.dark .sling-field input,
body.dark .sling-field select,
body.dark .sling-btn-secondary,
body.dark .d2-builder-fields input,
body.dark .d2-builder-fields select,
body.dark .d2-builder-extra-fields input,
body.dark .d2-builder-extra-fields select,
body.dark .d2-builder-extra-fields textarea,
body.dark .d2-builder-usage textarea,
body.dark .d2-builder-usage input,
body.dark .d2-simple-quote-form input,
body.dark .d2-simple-quote-form textarea,
body.dark .product-detail-action-secondary {
  background: #2a2d31 !important;
  border-color: var(--dark-border) !important;
  color: var(--dark-text) !important;
}

body.dark .cables-filter-btn.is-active,
body.dark .service-quote-btn:hover,
body.dark .d2-rigging-tab.is-active,
body.dark .d2-capacity-figure-tab.is-active,
body.dark .d2-model-btn.is-active,
body.dark .product-detail-action-primary,
body.dark .submit-btn {
  background: linear-gradient(180deg, #4a4f56 0%, #34383e 100%) !important;
  border-color: rgba(211, 216, 223, 0.16) !important;
  color: #f4efe6 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18) !important;
}

body.dark.cables-page #detalle,
body.dark .contact-page,
body.dark .about-page,
body.dark .about-section,
body.dark .services-pillar-section,
body.dark .izajes-d2-page,
body.dark .d2-detail-page,
body.dark.catalogo-page,
body.dark .product-page,
body.dark .product-section,
body.dark .experience,
body.dark .product-strip,
body.dark .product-card {
  background: linear-gradient(180deg, #151719 0%, #101113 100%) !important;
}

body.dark.cables-page .cables-board,
body.dark .product-detail-card,
body.dark #detalleTablaWrap,
body.dark .d2-capacity-table-wrap {
  box-shadow: 0 18px 34px rgba(0,0,0,0.22) !important;
}

body.dark.cables-page #cablesProducts .product-card-tile,
body.dark .product-card-tile,
body.dark .catalog-card,
body.dark .counter-card,
body.dark .safety-card {
  background: linear-gradient(180deg, #25282d 0%, #1b1e22 100%) !important;
  border-color: var(--dark-border) !important;
  box-shadow: 0 18px 32px rgba(0,0,0,0.22) !important;
}

body.dark .product-detail-table thead th,
body.dark .d2-capacity-table thead th,
body.dark .measure-table th {
  background: #26292e !important;
  color: var(--dark-text) !important;
  border-color: rgba(201, 208, 216, 0.18) !important;
}

body.dark .product-detail-table tbody td,
body.dark .d2-capacity-table tbody td,
body.dark .measure-table td {
  background: #1c1f23 !important;
  color: var(--dark-text) !important;
  border-color: rgba(201, 208, 216, 0.10) !important;
}

/* Override final 20260327ad: tarjetas de servicios mejor distribuidas y con mejor lectura. */
@media (min-width: 1200px) {
  .services-head {
    max-width: 1040px !important;
    margin-bottom: 60px !important;
  }

  .services-intro {
    max-width: 860px !important;
    font-size: 18px !important;
  }

  .services-pillar {
    width: min(1320px, 92vw) !important;
    gap: 36px !important;
  }

  .service-box {
    width: min(560px, calc(50% - 54px)) !important;
  }
}

@media (max-width: 1100px) {
  .services-pillar {
    width: min(100%, 980px) !important;
    gap: 24px !important;
  }

  .service-box {
    width: min(100%, calc(50% - 28px)) !important;
  }
}

@media (max-width: 740px) {
  .services-pillar {
    gap: 20px !important;
  }

  .service-box {
    width: calc(100% - 26px) !important;
    padding: 20px 20px 22px !important;
  }

  .service-box h3 {
    font-size: 21px !important;
  }

  .service-box p {
    font-size: 16px !important;
  }
}

/* Override final 20260328af: tarjetas de servicios mas equilibradas. */
.services-pillar-section {
  padding: 78px 0 94px !important;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(88, 110, 199, 0.08), rgba(88, 110, 199, 0) 46%),
    linear-gradient(180deg, #f7f3f1 0%, #efe8e4 100%) !important;
}

.services-head {
  max-width: 860px !important;
  margin: 0 auto 40px !important;
}

.services-pillar {
  width: min(1180px, 100%) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
  padding: 0 !important;
}

.services-pillar::before,
.service-box::before {
  display: none !important;
}

.service-box,
.service-box:nth-child(odd),
.service-box:nth-child(even) {
  width: 100% !important;
  justify-self: stretch !important;
}

.service-box {
  border-radius: 24px !important;
  padding: 20px 20px 22px !important;
  gap: 12px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96)) !important;
  border: 1px solid rgba(36, 56, 154, 0.14) !important;
  box-shadow: 0 18px 34px rgba(17, 28, 66, 0.1) !important;
}

.service-box::after {
  height: 208px !important;
  border-radius: 16px !important;
}

.service-box h3 {
  font-size: clamp(24px, 2vw, 32px) !important;
  line-height: 1.14 !important;
}

.service-quote-btn {
  margin-top: auto !important;
  min-height: 46px !important;
  padding: 0 18px !important;
}

body.dark .services-pillar-section {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(73, 96, 170, 0.14), rgba(73, 96, 170, 0) 42%),
    linear-gradient(180deg, #161b24 0%, #10151d 100%) !important;
}

body.dark .service-box {
  background: linear-gradient(180deg, rgba(23, 29, 41, 0.96), rgba(15, 20, 29, 0.96)) !important;
  border-color: rgba(122, 146, 228, 0.12) !important;
}

@media (max-width: 980px) {
  .services-pillar {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

@media (max-width: 640px) {
  .service-box::after {
    height: 170px !important;
  }
}

/* Override final 20260328ag: tarjetas de servicios con look editorial mas sobrio. */
.services-pillar-section {
  padding: 82px 0 98px !important;
}

.services-head {
  max-width: 920px !important;
  margin-bottom: 34px !important;
}

.services-pillar {
  width: min(1180px, 100%) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.service-box,
.service-box:nth-child(odd),
.service-box:nth-child(even) {
  width: 100% !important;
  justify-self: stretch !important;
}

.service-box {
  position: relative !important;
  padding: 18px 18px 20px !important;
  gap: 14px !important;
  border-radius: 28px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 250, 253, 0.98)) !important;
  border: 1px solid rgba(36, 56, 154, 0.1) !important;
  box-shadow: 0 16px 28px rgba(18, 28, 68, 0.08) !important;
}

.service-box::after {
  order: 0 !important;
  height: 182px !important;
  border-radius: 20px !important;
}

.service-box h3 {
  margin: 2px 0 2px !important;
  font-size: clamp(22px, 1.8vw, 30px) !important;
  line-height: 1.16 !important;
  color: #1e2f7f !important;
  max-width: 16ch !important;
}

.service-box p {
  font-size: 15px !important;
  line-height: 1.72 !important;
  color: #465268 !important;
  max-width: 38ch !important;
}

.service-quote-btn {
  align-self: start !important;
  margin-top: 6px !important;
  min-width: 142px !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #24389a !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(36, 56, 154, 0.2) !important;
}

.service-quote-btn:hover {
  background: #1f3187 !important;
  transform: translateY(-1px) !important;
}

.service-subtoggle {
  margin-top: 2px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
}

.service-subtopics {
  gap: 10px !important;
}

.service-subtopic {
  border-radius: 12px !important;
}

body.dark .service-box {
  background: linear-gradient(180deg, rgba(24, 31, 44, 0.98), rgba(17, 22, 31, 0.98)) !important;
  border-color: rgba(122, 146, 228, 0.12) !important;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24) !important;
}

body.dark .service-box h3 {
  color: #eef2ff !important;
}

body.dark .service-box p {
  color: #c5cfdd !important;
}

body.dark .service-quote-btn {
  background: linear-gradient(180deg, #f6f8ff 0%, #dee5ff 100%) !important;
  color: #18223f !important;
  box-shadow: none !important;
}

body.dark .service-quote-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8edff 100%) !important;
}

@media (max-width: 980px) {
  .services-pillar {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .service-box h3,
  .service-box p {
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  .service-box {
    padding: 16px 16px 18px !important;
    border-radius: 22px !important;
  }

  .service-box::after {
    height: 164px !important;
    border-radius: 16px !important;
  }

  .service-box h3 {
    font-size: clamp(21px, 7vw, 28px) !important;
  }
}

/* Override final 20260328ah: vuelve la linea vertical y mejora solo la tarjeta. */
.services-pillar {
  width: min(980px, 100%) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 30px !important;
  padding: 8px 0 !important;
}

.services-pillar::before {
  display: block !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(36, 56, 154, 0.14), rgba(36, 56, 154, 0.6), rgba(36, 56, 154, 0.14)) !important;
  transform: translateX(-50%) !important;
}

.services-pillar::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: -6px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #24389a !important;
  box-shadow: 0 0 0 7px rgba(36, 56, 154, 0.1) !important;
  transform: translateX(-50%) !important;
}

.services-head::before {
  content: "" !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  background: #24389a !important;
  box-shadow: 0 0 0 7px rgba(36, 56, 154, 0.1) !important;
}

.service-box,
.service-box:nth-child(odd),
.service-box:nth-child(even) {
  width: min(460px, calc(50% - 44px)) !important;
}

.service-box:nth-child(odd) {
  justify-self: start !important;
}

.service-box:nth-child(even) {
  justify-self: end !important;
}

.service-box {
  position: relative !important;
  padding: 18px 18px 20px !important;
  gap: 12px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 253, 0.97)) !important;
  border: 1px solid rgba(36, 56, 154, 0.12) !important;
  box-shadow: 0 16px 30px rgba(18, 28, 68, 0.09) !important;
}

.service-box::before {
  display: block !important;
  top: 26px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #24389a !important;
  box-shadow: 0 0 0 6px rgba(36, 56, 154, 0.12) !important;
}

.service-box:nth-child(odd)::before {
  right: -43px !important;
  left: auto !important;
}

.service-box:nth-child(even)::before {
  left: -43px !important;
  right: auto !important;
}

.service-box::after {
  order: -1 !important;
  height: 188px !important;
  border-radius: 18px !important;
}

.service-box h3 {
  margin: 4px 0 4px !important;
  font-size: clamp(22px, 1.9vw, 30px) !important;
  line-height: 1.16 !important;
  max-width: 15ch !important;
}

.service-box p {
  font-size: 15px !important;
  line-height: 1.68 !important;
  color: #48536a !important;
  max-width: 34ch !important;
}

.service-quote-btn {
  align-self: start !important;
  margin-top: 6px !important;
  min-width: 134px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(36, 56, 154, 0.1) !important;
  border: 1px solid rgba(36, 56, 154, 0.18) !important;
  color: #223585 !important;
  box-shadow: none !important;
}

.service-quote-btn:hover {
  background: rgba(36, 56, 154, 0.16) !important;
  border-color: rgba(36, 56, 154, 0.28) !important;
}

body.dark .service-box {
  background: linear-gradient(180deg, rgba(24, 31, 44, 0.98), rgba(17, 22, 31, 0.98)) !important;
  border-color: rgba(122, 146, 228, 0.12) !important;
}

body.dark .service-box::before {
  background: #d8e2ff !important;
  box-shadow: 0 0 0 6px rgba(122, 146, 228, 0.12) !important;
}

body.dark .service-box h3 {
  color: #eef2ff !important;
}

body.dark .service-box p {
  color: #c5cfdd !important;
}

body.dark .service-quote-btn {
  background: rgba(216, 226, 255, 0.08) !important;
  border-color: rgba(216, 226, 255, 0.16) !important;
  color: #eef2ff !important;
}

body.dark .service-quote-btn:hover {
  background: rgba(216, 226, 255, 0.14) !important;
}

@media (max-width: 900px) {
  .services-pillar::before {
    left: 12px !important;
    transform: none !important;
  }

  .services-pillar::after {
    left: 6px !important;
    transform: none !important;
  }

  .service-box,
  .service-box:nth-child(odd),
  .service-box:nth-child(even) {
    width: calc(100% - 34px) !important;
    justify-self: end !important;
  }

  .service-box::before,
  .service-box:nth-child(odd)::before,
  .service-box:nth-child(even)::before {
    left: -27px !important;
    right: auto !important;
  }

  .service-box h3,
  .service-box p {
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  .services-pillar {
    gap: 20px !important;
  }

  .service-box,
  .service-box:nth-child(odd),
  .service-box:nth-child(even) {
    width: calc(100% - 26px) !important;
    padding: 16px 16px 18px !important;
  }

  .service-box::after {
    height: 164px !important;
  }
}
