/* E-commerce & Apps · composición y componentes específicos de la página */
.ecom-hero {
  background:
    radial-gradient(ellipse at 82% 23%, rgb(80 147 235 / 20%), transparent 38%),
    linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
}
.ecom-hero .service-hero-visual { min-height: 470px; }
.ecom-hero .service-proof-row { margin-top: 56px; }
.ecom-proof-row > div { min-height: 76px; }
.ecom-needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ecom-need {
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: linear-gradient(150deg, #fbfdff, #f2f7fd);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.ecom-need:hover { border-color: #aac5e7; box-shadow: 0 16px 34px rgb(30 55 87 / 8%); transform: translateY(-4px); }
.ecom-need > span,
.ecom-option > span { color: #6580a0; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.ecom-need h3 { margin: 36px 0 10px; color: #173451; font-family: Manrope, sans-serif; font-size: 21px; letter-spacing: -.035em; line-height: 1.18; }
.ecom-need p { margin: 0; color: #62768e; font-size: 14px; line-height: 1.65; }
.ecom-need b { margin-top: auto; padding-top: 20px; color: #2f6bb4; font-size: 11px; letter-spacing: .04em; }
.ecom-feature-grid .service-card { min-height: 258px; }
.ecom-feature-grid .service-card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ecom-operation-band { background: linear-gradient(135deg, #f6faff 0%, #e5f0ff 100%); }
.ecom-operation-band .service-section-kicker { margin-bottom: 20px; }
.ecom-operation-band > div:first-child > p:not(.service-section-kicker) { max-width: 48ch; margin: 15px 0 22px; }
.ecom-operation-band .text-link { color: #245eaa; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.ecom-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.ecom-tech-card {
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 14px;
  border: 1px solid #d7e3f1;
  border-radius: 16px;
  background: rgb(255 255 255 / 82%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.ecom-tech-card:hover { border-color: #a6c3e7; box-shadow: 0 14px 28px rgb(31 69 118 / 8%); transform: translateY(-3px); }
.ecom-tech-logo {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 7px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e8f0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
}
.ecom-tech-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
.ecom-tech-card h3 { margin: 0; color: #183552; font-size: 16px; letter-spacing: -.02em; }
.ecom-tech-card p { margin: 5px 0 0; color: #647891; font-size: 12px; line-height: 1.55; }
.ecom-tech-type { grid-column: 2; margin-top: 12px; color: #7489a1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.ecom-tech-note,
.ecom-options-note { margin: 20px 0 0; color: #647891; font-size: 12px; line-height: 1.6; }
.ecom-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}
.ecom-option {
  min-width: 0;
  min-height: 330px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce6f2;
  border-radius: 19px;
  background: #f8fafd;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.ecom-option:hover { border-color: #a9c2e8; box-shadow: 0 18px 38px rgb(30 55 87 / 8%); transform: translateY(-4px); }
.ecom-option h3 { margin: 24px 0 10px; color: #173451; font-family: Manrope, sans-serif; font-size: 23px; letter-spacing: -.04em; line-height: 1.15; }
.ecom-option p { margin: 0; color: #637891; font-size: 14px; line-height: 1.65; }
.ecom-option ul { margin: auto 0 0; padding: 24px 0 0; display: grid; gap: 11px; list-style: none; }
.ecom-option li { position: relative; padding-left: 19px; color: #405a77; font-size: 12px; line-height: 1.5; }
.ecom-option li::before { position: absolute; top: .48em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #4bbab2; content: ""; }
.ecom-option-featured { border-color: #183b64; color: #f2f6fd; background: linear-gradient(155deg, #193b63, #0d2340); box-shadow: 0 20px 42px rgb(14 38 68 / 16%); }
.ecom-option-featured > span { color: #93b9e9; }
.ecom-option-featured h3 { color: #f6f9ff; }
.ecom-option-featured p,
.ecom-option-featured li { color: #c5d4e8; }
.ecom-option-featured li::before { background: #6dd2c7; }
.ecom-process-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfdeee;
  border-left: 1px solid #cfdeee;
  list-style: none;
}
.ecom-process-step {
  min-width: 0;
  min-height: 210px;
  padding: 23px 24px;
  border-right: 1px solid #cfdeee;
  border-bottom: 1px solid #cfdeee;
  transition: background 220ms ease;
}
.ecom-process-step:hover { background: rgb(255 255 255 / 60%); }
.ecom-process-step > span { display: block; margin-bottom: 32px; color: #3670bf; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.ecom-process-step h3 { margin: 0 0 8px; color: #173451; font-size: 18px; letter-spacing: -.025em; }
.ecom-process-step p { margin: 0; color: #62768e; font-size: 13px; line-height: 1.65; }
.ecom-reference-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.ecom-reference-copy h2 { max-width: 530px; margin: 0; color: #173451; font-family: Manrope, sans-serif; font-size: clamp(34px, 4.3vw, 53px); letter-spacing: -.055em; line-height: 1.06; }
.ecom-reference-copy > p:not(.service-section-kicker) { max-width: 46ch; margin: 18px 0 24px; color: #62768e; font-size: 14px; line-height: 1.75; }
.ecom-reference-copy .service-button { width: max-content; }
.ecom-reference-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ecom-reference-logos > div { min-height: 120px; padding: 22px; display: grid; place-items: center; border: 1px solid #e0e8f2; border-radius: 16px; background: #f8fafd; }
.ecom-reference-logos img { width: 100%; max-width: 180px; max-height: 62px; object-fit: contain; }
.ecom-investment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cadbeb; border-left: 1px solid #cadbeb; }
.ecom-investment-item { min-width: 0; min-height: 180px; padding: 24px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; border-right: 1px solid #cadbeb; border-bottom: 1px solid #cadbeb; }
.ecom-investment-item > span { color: #3772bd; font-size: 11px; font-weight: 800; }
.ecom-investment-item h3 { margin: 0 0 8px; color: #173451; font-size: 17px; letter-spacing: -.02em; }
.ecom-investment-item p { margin: 0; color: #637891; font-size: 13px; line-height: 1.65; }
.ecom-investment-cta { margin-top: 22px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #cfdeee; border-radius: 16px; background: rgb(255 255 255 / 65%); }
.ecom-investment-cta p { margin: 0; color: #304d6c; font-size: 14px; line-height: 1.6; }
.ecom-investment-cta .service-button { flex: 0 0 auto; }
.ecom-faq { max-width: 940px; }
.ecom-faq details[open] { border-color: #abc5e5; box-shadow: 0 10px 25px rgb(30 55 87 / 6%); }
.ecom-faq summary { position: relative; padding-right: 50px; list-style: none; }
.ecom-faq summary::-webkit-details-marker { display: none; }
.ecom-faq summary::after { position: absolute; top: 50%; right: 22px; color: #3471bf; content: "+"; font-size: 22px; font-weight: 400; transform: translateY(-50%); }
.ecom-faq details[open] summary::after { content: "−"; }
.ecom-faq summary:focus-visible { outline: 3px solid #2f68da; outline-offset: -4px; border-radius: 12px; }
.ecom-contact-section { background: linear-gradient(125deg, #10243c, #183b64); }
.ecom-contact-section .service-eyebrow { color: #9cc5fa; }
.ecom-contact-section .service-eyebrow::before { background: #5ed0c1; }
.ecom-contact-section .service-button { color: #0e2948; background: #a8ccff; box-shadow: none; }
.ecom-contact-section .service-button:hover { background: #c2dcff; }
.ecom-contact-section .service-contact-actions a:not(.service-button) { color: #d4e2f4; }
.ecom-contact-section .service-contact-actions a:not(.service-button):hover { color: #7fddd0; }
.ecom-hero [id],
.ecom-includes-section,
.ecom-faq-section { scroll-margin-top: 110px; }

@media (max-width: 940px) {
  .ecom-hero .service-hero-visual { min-height: 370px; }
  .ecom-needs-grid,
  .ecom-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecom-need:last-child { grid-column: 1 / -1; min-height: 220px; }
  .ecom-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecom-option:last-child { grid-column: 1 / -1; min-height: 270px; }
  .ecom-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecom-reference-layout { grid-template-columns: 1fr; }
  .ecom-investment-grid { grid-template-columns: 1fr; }
  .ecom-investment-item { min-height: 0; }
}

@media (max-width: 640px) {
  .ecom-hero .service-hero-visual { min-height: 300px; }
  .ecom-hero .service-proof-row { margin-top: 36px; }
  .ecom-needs-grid,
  .ecom-options-grid,
  .ecom-tech-grid,
  .ecom-process-grid { grid-template-columns: 1fr; }
  .ecom-need,
  .ecom-need:last-child,
  .ecom-option,
  .ecom-option:last-child { min-height: 0; grid-column: auto; }
  .ecom-need h3 { margin-top: 24px; }
  .ecom-option ul { margin-top: 10px; }
  .ecom-process-grid { border-left: 0; }
  .ecom-process-step { min-height: 0; padding: 19px 4px; border-right: 0; }
  .ecom-process-step > span { margin-bottom: 14px; }
  .ecom-reference-logos { gap: 9px; }
  .ecom-reference-logos > div { min-height: 92px; padding: 14px; }
  .ecom-investment-item { padding: 19px 16px; grid-template-columns: 25px minmax(0, 1fr); }
  .ecom-investment-cta { align-items: stretch; flex-direction: column; }
  .ecom-investment-cta .service-button { width: 100%; }
  .ecom-faq summary::after { right: 16px; }
  .ecom-contact-section .service-contact-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-need,
  .ecom-tech-card,
  .ecom-option,
  .ecom-process-step { transition: none; }
  .ecom-need:hover,
  .ecom-tech-card:hover,
  .ecom-option:hover { transform: none; }
}
