/* Páginas de servicios: lenguaje visual compartido y responsive */
.service-page {
  --service-ink: #122640;
  --service-muted: #5d718b;
  --service-blue: #2f68da;
  --service-line: #d8e2ef;
  color: var(--service-ink);
  background: #f5f8fc;
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 100px) 0 82px;
  background:
    radial-gradient(ellipse at 83% 22%, rgb(88 146 231 / 18%), transparent 37%),
    linear-gradient(135deg, #f7faff 0%, #edf4ff 100%);
}

.service-hero::after {
  position: absolute;
  right: -180px;
  bottom: -240px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgb(47 104 218 / 13%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-hero-inner,
.service-container {
  width: min(1220px, calc(100% - clamp(36px, 8vw, 120px)));
  margin-inline: auto;
}

.service-crumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 28px;
  color: #71839a;
  font-size: 12px;
}

.service-crumbs a { color: inherit; text-decoration: none; }
.service-crumbs a:hover { color: var(--service-blue); }

.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.service-eyebrow,
.service-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--service-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-eyebrow::before,
.service-section-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52c7bd;
  box-shadow: 0 0 0 5px rgb(82 199 189 / 12%);
  content: "";
}

.service-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #132944;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .99;
}

.service-hero h1 span { color: #4778c7; }

.service-hero-lede {
  max-width: 610px;
  margin: 26px 0 0;
  color: #506681;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.service-button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: white;
  background: #2862d6;
  box-shadow: 0 10px 24px rgb(40 98 214 / 17%);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgb(40 98 214 / 24%); }
.service-button-secondary { color: #25456e; background: transparent; border-color: #b9cce6; box-shadow: none; }
.service-button-secondary:hover { background: #fff; box-shadow: 0 8px 18px rgb(30 58 98 / 8%); }
.service-button:focus-visible { outline: 3px solid #58cbbd; outline-offset: 3px; }

.service-hero-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 28px;
  background: #10233d;
  box-shadow: 0 32px 70px rgb(26 55 94 / 18%);
  isolation: isolate;
}

.service-hero-visual > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  animation: service-image-arrive 900ms cubic-bezier(.2,.75,.2,1) both;
}

.service-hero-visual::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(9 25 49 / 4%) 15%, rgb(9 25 49 / 83%) 100%);
  content: "";
}

.service-visual-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px 19px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 17px;
  color: #f6f9ff;
  background: rgb(11 29 53 / 68%);
  backdrop-filter: blur(12px);
}

.service-visual-note span { display: block; margin-bottom: 6px; color: #83d8cf; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.service-visual-note strong { font-size: 17px; line-height: 1.35; }

.service-visual-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  color: white;
  background: rgb(7 20 40 / 52%);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.service-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 66px;
  border-top: 1px solid var(--service-line);
}

.service-proof-row > div { padding: 19px 22px 0 0; color: #637891; font-size: 13px; line-height: 1.5; }
.service-proof-row strong { display: block; margin-bottom: 4px; color: #193858; font-size: 14px; }

.service-content-section { padding: clamp(76px, 9vw, 120px) 0; }
.service-content-section.is-white { background: #fff; }
.service-content-section.is-blue { background: #eaf2ff; }

.service-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.service-section-heading h2 {
  max-width: 780px;
  margin: 0;
  color: #152e4b;
  font-family: Manrope, "DM Sans", sans-serif;
  font-size: clamp(32px, 4.7vw, 56px);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.service-section-heading > p { max-width: 440px; margin: 0; color: var(--service-muted); font-size: 15px; line-height: 1.75; }

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(30 55 87 / 4%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover { transform: translateY(-5px); border-color: #a9c2e8; box-shadow: 0 20px 40px rgb(30 55 87 / 10%); }
.service-card-number { display: block; margin-bottom: 42px; color: #7892b1; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.service-card h3 { margin: 0 0 11px; color: #183552; font-size: 20px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: #647891; font-size: 14px; line-height: 1.7; }
.service-card .service-card-icon { position: absolute; top: 20px; right: 22px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d5e3f6; border-radius: 13px; color: #2e68d4; background: #f3f7ff; font-size: 18px; }

.service-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d7e2ee;
}

.service-process-step { min-height: 190px; padding: 24px 24px 18px 0; border-bottom: 1px solid #d7e2ee; }
.service-process-step:not(:first-child) { padding-left: 24px; border-left: 1px solid #d7e2ee; }
.service-process-step span { display: block; margin-bottom: 28px; color: #376fc9; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-process-step h3 { margin: 0 0 10px; color: #1b3858; font-size: 17px; }
.service-process-step p { margin: 0; color: #647891; font-size: 13px; line-height: 1.65; }

.service-feature-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid #d8e4f3;
  border-radius: 26px;
  background: linear-gradient(135deg, #f8fbff, #e8f1ff);
}

.service-feature-band h2 { margin: 0; color: #17314f; font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.06; }
.service-feature-band p { color: #61758e; font-size: 15px; line-height: 1.75; }
.service-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-feature-list li { position: relative; padding: 0 0 0 20px; color: #304a68; font-size: 14px; line-height: 1.5; }
.service-feature-list li::before { position: absolute; top: .48em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #48bdb5; content: ""; }

.service-faq { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.service-faq details { border: 1px solid #dbe5f0; border-radius: 14px; background: white; }
.service-faq summary { padding: 20px 22px; color: #1b3858; font-size: 15px; font-weight: 700; cursor: pointer; }
.service-faq details p { margin: -2px 22px 21px; color: #647891; font-size: 14px; line-height: 1.7; }

.service-contact-section { padding: clamp(72px, 9vw, 112px) 0; color: white; background: #11243c; }
.service-contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.service-contact-inner h2 { max-width: 740px; margin: 0; color: #f5f8ff; font-family: Manrope, sans-serif; font-size: clamp(32px, 4.5vw, 54px); letter-spacing: -.05em; line-height: 1.06; }
.service-contact-inner p { max-width: 670px; margin: 16px 0 0; color: #b8c7db; font-size: 15px; line-height: 1.7; }
.service-contact-actions { display: grid; gap: 12px; justify-items: start; }
.service-contact-actions a:not(.service-button) { color: #d8e4f5; font-size: 14px; text-decoration: none; }
.service-contact-actions a:not(.service-button):hover { color: #81d6cb; }

/* Ilustración original animada para el bloque de protección */
.security-visual { background: linear-gradient(145deg, #102644, #071426 72%); }
.security-visual::after { background: radial-gradient(ellipse at 52% 42%, rgb(48 115 211 / 33%), transparent 49%), linear-gradient(180deg, transparent 45%, rgb(7 20 40 / 82%)); }
.security-art { position: absolute; inset: 0; display: grid; place-items: center; }
.security-art svg { width: min(76%, 310px); overflow: visible; filter: drop-shadow(0 18px 35px rgb(0 0 0 / 25%)); }
.security-orbit { fill: none; stroke: rgb(125 171 230 / 20%); stroke-width: 1; transform-origin: 50% 50%; animation: security-orbit 28s linear infinite; }
.security-shield { fill: url(#shield-fill); stroke: #92b9f4; stroke-width: 2; }
.security-check { fill: none; stroke: #80e0d1; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: security-check 1.2s .35s ease forwards; }
.security-node { fill: #80e0d1; filter: drop-shadow(0 0 7px rgb(128 224 209 / 75%)); animation: security-pulse 2.4s ease-in-out infinite alternate; }
.security-node:nth-of-type(2n) { animation-delay: .5s; }

@keyframes service-image-arrive { from { transform: scale(1.08); opacity: .35; } to { transform: scale(1); opacity: .76; } }
@keyframes security-orbit { to { transform: rotate(1turn); } }
@keyframes security-check { to { stroke-dashoffset: 0; } }
@keyframes security-pulse { to { opacity: .42; transform: scale(.78); } }

@media (max-width: 940px) {
  .service-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .service-hero-visual { min-height: 340px; }
  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .service-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-process-step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .service-process-step:nth-child(even) { padding-left: 22px; border-left: 1px solid #d7e2ee; }
}

@media (max-width: 640px) {
  .service-hero { padding: 46px 0 62px; }
  .service-hero-inner,
  .service-container { width: calc(100% - 36px); }
  .service-crumbs { margin-bottom: 22px; font-size: 11px; }
  .service-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .service-hero-lede { margin-top: 19px; font-size: 16px; }
  .service-hero-visual { min-height: 285px; border-radius: 21px; }
  .service-proof-row { grid-template-columns: 1fr; margin-top: 42px; }
  .service-proof-row > div { padding: 15px 0; border-bottom: 1px solid var(--service-line); }
  .service-content-section { padding: 66px 0; }
  .service-card-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card { min-height: 0; padding: 22px; }
  .service-card-number { margin-bottom: 31px; }
  .service-process { grid-template-columns: 1fr; }
  .service-process-step,
  .service-process-step:nth-child(even) { min-height: 0; padding: 20px 0; border-left: 0; }
  .service-process-step span { margin-bottom: 14px; }
  .service-feature-band { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; border-radius: 20px; }
  .service-feature-list { grid-template-columns: 1fr; gap: 11px; }
  .service-contact-inner { grid-template-columns: 1fr; }
  .service-contact-actions { grid-auto-flow: row; }
  .service-faq summary { padding: 17px; font-size: 14px; }
  .service-faq details p { margin: 0 17px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-visual > img,
  .security-orbit,
  .security-check,
  .security-node { animation: none !important; }
  .service-card,
  .service-button { transition: none; }
  .security-check { stroke-dashoffset: 0; }
}
