/* Portada: ventanas grandes que se proyectan hacia el borde derecho. */
@media (min-width: 851px) {
  .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .hero-copy { z-index: 2; }
  .hero-composition {
    width: calc(100% + clamp(3rem, 8vw, 9rem));
    min-height: 530px;
    margin-right: calc(-1 * clamp(3rem, 8vw, 9rem));
  }
  .hero-composition:before { inset: 6% 3% 3% 11%; transform: rotate(-2deg); }
  .ui-window.large {
    width: 88%; height: 84%; left: 12%; top: 2%;
    transform: rotate(-1deg); animation: web-window-float 9s ease-in-out infinite;
  }
  .ui-window.small {
    width: 44%; height: 70%; left: -1%; right: auto; top: 18%; bottom: auto;
    transform: rotate(1deg); animation: float-b 9s ease-in-out infinite;
  }
  .ui-label { left: 5%; bottom: 5%; }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .hero-composition { min-height: 460px; }
}
@media (max-width: 850px) {
  .hero-composition { width: min(100%, 620px); min-height: 350px; margin-inline: auto; }
  .ui-window.large { width: 84%; height: 82%; left: 14%; top: 3%; transform: rotate(-1deg); animation: web-window-float 9s ease-in-out infinite; }
  .ui-window.small { width: 50%; height: 74%; left: 0; right: auto; top: 25%; bottom: auto; transform: rotate(1deg); animation: float-b 9s ease-in-out infinite; }
  .ui-label { left: 3%; bottom: 4%; }
}
@media (max-width: 600px) {
  .hero-composition { min-height: 250px; }
  .ui-window.large { width: 86%; height: 80%; left: 14%; top: 4%; }
  .ui-window.small { width: 57%; height: 76%; top: 28%; }
  .ui-label { left: 1%; bottom: 2%; }
}

/* Elimina la línea vertical que atravesaba la portada. */
.hero:after { display: none; }

/* Jerarquía más equilibrada y vistas genéricas dentro de las ventanas. */
.hero h1 { font-size: clamp(3.2rem, 4.7vw, 5rem); max-width: 12ch; }
.ui-web { position: relative; overflow: hidden; }
.ui-web-visual {
  position: absolute; right: 7%; top: 24%; width: 34%; height: 63%;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(145deg, #d6e4ef, #85aaca);
  box-shadow: 0 8px 18px rgba(24, 50, 72, .12);
}
.ui-web-visual:before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: #e8f1f8a6; left: 11%; top: 2%; }
.ui-web-visual span { position: absolute; width: 72%; height: 58%; left: 15%; bottom: -14%; border-radius: 46% 46% 0 0; background: #3d6b96; }
.ui-web-visual i { position: absolute; width: 29%; aspect-ratio: 1; left: 36%; top: 18%; border-radius: 50%; background: #567fa4; }
.ui-dashboard { position: relative; height: calc(100% - 30px); overflow: hidden; }
.ui-dashboard .ui-dashboard-visual {
  position: absolute; right: 8%; top: 15%; width: 32%; height: 67%; margin: 0;
  display: block; border-radius: 7px; background: #dce7f2;
  box-shadow: inset 0 0 0 1px #c1d0dd;
}
.ui-dashboard .ui-dashboard-visual span { position: absolute; width: 52%; height: 5px; left: 13%; top: 18%; border-radius: 5px; background: #6b8aa5; }
.ui-dashboard .ui-dashboard-visual i { position: absolute; width: 53%; aspect-ratio: 1; left: 23%; top: 37%; border-radius: 50%; border: 10px solid #7fa4ca; border-right-color: #3469b2; transform: rotate(-35deg); }
.ui-dashboard .ui-dashboard-visual b { position: absolute; width: 46%; height: 5px; left: 27%; bottom: 12%; border-radius: 5px; background: #9bb2c6; }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.7rem, 9vw, 3.6rem); }
  .ui-web-visual { right: 5%; width: 35%; }
  .ui-dashboard .ui-dashboard-visual i { border-width: 6px; }
}
/* Panel recreado en piezas independientes a partir de las tres referencias. */
.ui-dashboard.dashboard-panel {
  height: calc(100% - 30px);
  padding: clamp(6px, 1vw, 13px);
  display: grid;
  grid-template-rows: 1fr 1.1fr 3fr 1.5fr;
  gap: clamp(3px, .6vw, 8px);
  background: #fbfcff;
  overflow: hidden;
}
.ui-dashboard.dashboard-panel > div { display: block; height: auto; margin: 0; min-height: 0; }
.dashboard-heading { position: relative; }
.dashboard-heading-line, .dashboard-heading-subline, .dashboard-heading-action { position: absolute; display: block; border-radius: 999px; }
.dashboard-heading-line { left: 1%; top: 18%; width: 42%; height: clamp(4px, 1.1vw, 13px); background: #0d2d60; animation: line-forward 5.5s ease-in-out infinite; }
.dashboard-heading-subline { left: 1%; top: 54%; width: 54%; height: clamp(3px, .68vw, 8px); background: #c0cee0; animation: line-back 5.5s ease-in-out infinite; }
.dashboard-heading-action { right: 1%; top: 24%; width: 17%; height: 39%; min-height: 8px; background: #0865ec; border-radius: 6px; }
.dashboard-heading-action:after { content: ""; position: absolute; left: 27%; right: 27%; top: 44%; height: 17%; min-height: 2px; border-radius: 3px; background: #fff; }
.dashboard-metrics { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3px, .6vw, 9px) !important; }
.dashboard-metric { min-width: 0; display: flex; align-items: center; gap: 5%; padding: 7%; border-radius: 9px; background: #e8f2ff; }
.metric-icon { position: relative; flex: 0 0 34%; height: 63%; }
.metric-copy { flex: 1; display: grid; gap: clamp(2px, .4vw, 5px); }
.metric-copy i { display: block; height: clamp(2px, .45vw, 5px); width: 82%; border-radius: 8px; background: #9badc5; }
.metric-copy i:last-child { width: 56%; background: #0e2e62; }
.metric-layers i { position: absolute; left: 12%; width: 76%; height: 52%; clip-path: polygon(50% 0, 100% 34%, 50% 72%, 0 34%); }
.metric-layers i:first-child { z-index: 1; top: 13%; background: #0567eb; animation: cube-rise 4.8s ease-in-out infinite; }
.metric-layers i:last-child { top: 35%; background: #a4ccff; }
.metric-mini-bars { display: flex; align-items: end; justify-content: center; gap: 8%; }
.metric-mini-bars i { display: block; width: 17%; height: 37%; border-radius: 2px 2px 0 0; background: #79b5fa; transform-origin: bottom; animation: mini-bar-breathe 3.7s ease-in-out infinite; }
.metric-mini-bars i:nth-child(2) { height: 62%; background: #3988f0; animation-delay: -.8s; }
.metric-mini-bars i:nth-child(3) { height: 87%; background: #0865ec; animation-delay: -1.5s; }
.metric-bolt { flex: 0 0 24%; height: 60%; background: #0865ec; clip-path: polygon(58% 0, 19% 53%, 48% 53%, 38% 100%, 88% 40%, 59% 40%); animation: bolt-glow 5.5s ease-in-out infinite; }
.dashboard-charts { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3px, .6vw, 9px) !important; width: 100%; height: 100% !important; min-height: 0; }
.dashboard-chart { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #dbe9fb; border-radius: 9px; background: linear-gradient(145deg, #edf5ff, #e3efff); }
.dashboard-donut { position: absolute; left: 8%; top: 50%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#0865ec 0 27%, #76b4f7 27% 71%, #9ecaff 71% 100%); transform: translateY(-50%); animation: donut-sway 13s ease-in-out infinite; }
.dashboard-donut:after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: #e8f2ff; }
.dashboard-legend { position: absolute; left: 66%; top: 34%; width: 28%; display: grid; gap: clamp(4px, .8vw, 10px); }
.dashboard-legend > div { display: flex; align-items: center; gap: 12%; }
.dashboard-legend i { flex: 0 0 27%; aspect-ratio: 1; border-radius: 4px; background: #0865ec; }
.dashboard-legend > div:last-child i { background: #a4ceff; }
.dashboard-legend b { width: 63%; height: clamp(2px, .4vw, 5px); border-radius: 4px; background: #a9bbd1; }
.dashboard-bars { position: absolute; inset: 10% 9% 10%; display: flex; align-items: end; gap: 6%; }
.dashboard-bars i { display: block; flex: 1; height: 41%; border-radius: 3px 3px 0 0; background: #aed2fc; transform-origin: bottom; animation: chart-breathe 4.6s ease-in-out infinite; }
.dashboard-bars i:nth-child(2) { height: 58%; background: #8bbefd; animation-delay: -.9s; }
.dashboard-bars i:nth-child(3) { height: 76%; background: #61a0f4; animation-delay: -1.8s; }
.dashboard-bars i:nth-child(4) { height: 95%; background: #0865ec; animation-delay: -2.7s; }
.dashboard-rows { display: grid !important; grid-template-rows: repeat(3, minmax(0, 1fr)); border: 1px solid #e5edf8; border-radius: 8px; background: #f7faff; overflow: hidden; }
.dashboard-row { display: flex; align-items: center; gap: 5%; min-height: 0; padding: 0 5%; }
.dashboard-row + .dashboard-row { border-top: 1px solid #dce7f5; }
.dashboard-check { position: relative; flex: 0 0 auto; width: clamp(8px, 1.5vw, 20px); aspect-ratio: 1; border-radius: 4px; background: #d6e8ff; }
.dashboard-check:after { content: ""; position: absolute; width: 34%; height: 56%; left: 33%; top: 12%; border-right: 2px solid #0865ec; border-bottom: 2px solid #0865ec; transform: rotate(45deg); animation: tick-cycle 6s ease-in-out infinite; }
.dashboard-row:nth-child(2) .dashboard-check:after { animation-delay: -2s; }
.dashboard-row:nth-child(3) .dashboard-check:after { animation-delay: -4s; }
.dashboard-row-copy { flex: 1; display: grid; gap: clamp(2px, .4vw, 5px); }
.dashboard-row-copy i { display: block; height: clamp(2px, .4vw, 5px); width: 55%; border-radius: 5px; background: #8299b6; }
.dashboard-row-copy i:last-child { width: 75%; background: #bfcee1; }
.dashboard-row-end { flex: 0 0 14%; height: clamp(3px, .6vw, 8px); border-radius: 8px; background: #0865ec; }
.dashboard-row:nth-child(2) .dashboard-row-end { background: #b8c9df; }
@keyframes line-forward { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10%); } }
@keyframes line-back { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8%); } }
@keyframes cube-rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24%); } }
@keyframes mini-bar-breathe { 0%, 100% { transform: scaleY(.65); } 50% { transform: scaleY(1); } }
@keyframes chart-breathe { 0%, 100% { transform: scaleY(.72); } 50% { transform: scaleY(1); } }
@keyframes donut-sway { 0%, 100% { transform: translateY(-50%) rotate(0deg); } 50% { transform: translateY(-50%) rotate(180deg); } }
@keyframes bolt-glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2) drop-shadow(0 0 3px #9dc8ff); } }
@keyframes tick-cycle { 0%, 18%, 100% { opacity: 0; scale: .7; } 32%, 72% { opacity: 1; scale: 1; } 88% { opacity: 0; scale: .7; } }
@media (max-width: 850px) {
  .ui-dashboard.dashboard-panel { padding: 7px; gap: 4px; }
  .dashboard-metric, .dashboard-chart { border-radius: 5px; }
  .dashboard-check { border-radius: 2px; }
}
@media (max-width: 600px) {
  .ui-dashboard.dashboard-panel { padding: 5px; gap: 3px; }
  .dashboard-metric { padding: 5%; }
  .dashboard-metric, .dashboard-chart, .dashboard-rows { border-radius: 3px; }
  .dashboard-check:after { border-width: 1px; }
  .metric-copy { gap: 2px; }
  .dashboard-legend { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-panel *, .dashboard-panel *:after { animation: none !important; }
}
/* Vista web: animaciones concentradas en flecha, ondas y barras. */
.ui-web.web-scene { position: relative; height: calc(100% - 30px); padding: 0; overflow: hidden; background: linear-gradient(135deg, #f7faff, #e5efff); }
.web-info-card { position: absolute; z-index: 3; left: 5%; width: 27%; border: 1px solid #fff; border-radius: 10px; background: #ffffffc9; box-shadow: 0 6px 16px #7095c021; display: flex; align-items: center; gap: 9%; padding: 3%; }
.web-info-primary { top: 6%; height: 22%; }
.web-info-secondary { top: 32%; height: 20%; }
.web-mini-pie { flex: 0 0 38%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#0c6eea 0 33%, #5fa6f5 33% 65%, #a7d2ff 65% 100%); }
.web-info-lines { flex: 1; display: grid; gap: clamp(2px, .5vw, 6px); }
.web-info-lines i { display: block; width: 100%; height: clamp(2px, .45vw, 5px); border-radius: 5px; background: #bbcee6; }
.web-info-lines i:nth-child(2) { width: 78%; background: #d1def0; }
.web-info-lines i:nth-child(3) { width: 58%; }
.web-info-secondary .web-info-lines i:first-child { width: 86%; background: #a9bdd7; }
.web-arrow { position: absolute; z-index: 3; width: 45%; height: 48%; right: 10%; top: 1%; overflow: visible; }
.web-arrow-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: web-arrow-draw 3.4s ease-in-out infinite; }
.web-arrow-tip { animation: web-arrow-tip 3.4s ease-in-out infinite; }
.web-column-chart { position: absolute; z-index: 3; right: 9%; bottom: 16%; width: 42%; height: 47%; display: flex; align-items: end; gap: 6%; }
.web-column-chart i { display: block; flex: 1; height: 30%; border-radius: 5px 5px 0 0; background: #afd4fc; animation: web-bar-shade 3.5s ease-in-out infinite; }
.web-column-chart i:nth-child(2) { height: 43%; background: #8bbfff; animation-delay: -.55s; }
.web-column-chart i:nth-child(3) { height: 57%; background: #65a8f7; animation-delay: -1.1s; }
.web-column-chart i:nth-child(4) { height: 72%; background: #388beb; animation-delay: -1.65s; }
.web-column-chart i:nth-child(5) { height: 95%; background: #1168db; animation-delay: -2.2s; }
.web-waves { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; width: 100%; height: 29%; overflow: hidden; }
.web-wave { transform-origin: bottom; }
.web-wave-back { fill: #b9dcff; animation: web-wave-rise 1.35s ease-in-out infinite alternate; }
.web-wave-middle { fill: #87bdf7; animation: web-wave-rise 1.15s ease-in-out -.4s infinite alternate-reverse; }
.web-wave-front { fill: #4e9bea; animation: web-wave-rise 1.55s ease-in-out -.7s infinite alternate; }
@keyframes web-window-float { 0%, 100% { transform: rotate(-1deg) translateY(0); } 50% { transform: rotate(-1.3deg) translateY(-4px); } }
@keyframes web-arrow-draw { 0% { stroke-dashoffset: 100; opacity: .1; } 72%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes web-arrow-tip { 0%, 62% { opacity: 0; transform: translateY(12px); } 76%, 88% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes web-bar-shade { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(.68); } }
@keyframes web-wave-rise { from { transform: translateY(9px); } to { transform: translateY(-8px); } }
@media (max-width: 600px) {
  .web-info-card { border-radius: 5px; }
  .web-column-chart i { border-radius: 2px 2px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .web-scene *, .web-scene *:after { animation: none !important; }
  .web-arrow-line { stroke-dashoffset: 0; opacity: 1; }
  .web-arrow-tip { opacity: 1; transform: none; }
}
/* Navegación representativa dentro de Vista web. */
.web-topnav { position: absolute; z-index: 5; left: 3%; right: 3%; top: 3%; height: 11%; min-height: 22px; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; padding: 0 5%; border: 1px solid #fff; border-radius: 9px; background: #ffffffee; box-shadow: 0 5px 15px #6794ca18; }
.web-topnav-brand, .web-topnav-links i, .web-topnav-action { display: block; height: clamp(3px, .55vw, 7px); border-radius: 10px; background: #aebed4; }
.web-topnav-brand { width: 43%; }
.web-topnav-links { display: flex; justify-content: center; gap: 12%; }
.web-topnav-links i { width: 18%; }
.web-topnav-action { justify-self: end; width: 46%; height: clamp(6px, 1.1vw, 13px); background: #1268dc; }
.web-info-primary { top: 18%; }
.web-info-secondary { top: 43%; }
.web-arrow { top: 12%; height: 43%; }
@media (max-width: 600px) {
  .web-topnav { min-height: 16px; border-radius: 4px; }
  .web-topnav-brand, .web-topnav-links i { height: 2px; }
  .web-topnav-action { height: 5px; }
}
/* Ajustes compactos para portada y servicios en móvil. */
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 7.2rem 0 2.7rem; }
  .hero-grid { position: relative; display: block; }
  .hero-copy { position: relative; z-index: 2; max-width: none; }
  .hero h1, .hero-lead { text-shadow: 0 2px 12px rgba(9, 13, 20, .5); }
  .hero .button.outline { background: rgba(22, 24, 29, .7); }
  .hero-composition {
    position: absolute;
    z-index: 0;
    top: 30%;
    right: -13%;
    width: 96%;
    max-width: none;
    height: 315px;
    min-height: 0;
    margin: 0;
    opacity: .38;
    pointer-events: none;
  }
  .hero-composition:before { display: none; }
  .hero-composition .ui-label { display: none; }

}
/* Identidad Alpetec. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; width: clamp(128px, 12vw, 178px); max-width: none; height: auto; }
.brand-logo-on-light { display: none; }
.nav[data-surface="light"] .brand-logo-on-dark { display: none; }
.nav[data-surface="light"] .brand-logo-on-light { display: block; }
.footer-brand img { display: block; width: min(205px, 100%); height: auto; }
.hero-watermark { display: none; }
@media (min-width: 851px) {
  .hero-watermark { position: absolute; display: block; width: min(66%, 370px); height: auto; left: -3%; top: 3%; opacity: .1; pointer-events: none; z-index: 0; }
  .hero-copy > :not(.hero-watermark) { position: relative; z-index: 1; }
}
@media (max-width: 600px) {
  .brand-logo { width: clamp(116px, 33vw, 148px); }
}

/* Tarjetas sin numeración decorativa. */
.steps h3 { margin: 0 0 .5rem; }

/* Servicios: misma superficie para las tres propuestas y acento azul de Alpetec. */
.services {
  --service-surface: #f7f8fa;
  --service-border: #e2e6ec;
  --service-ink: #20242b;
  --service-muted: #4b5563;
  --service-space: 8px;
  background: #fff;
}
.services.section { padding-block: clamp(64px, 6vw, 80px); scroll-margin-top: 112px; }
.services .section-intro { max-width: none; margin-bottom: calc(var(--service-space) * 4); }
.services .section-intro h2 { max-width: 22ch; line-height: 1.1; margin-bottom: var(--service-space); }
.services .section-intro > p:last-child { max-width: 60ch; color: var(--service-muted); }
.services .service-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: calc(var(--service-space) * 2); }
.services .service-feature,
.services .service-feature:nth-child(2),
.services .service-feature:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 440px;
  padding: calc(var(--service-space) * 3) calc(var(--service-space) * 3) 0;
  overflow: hidden;
  background: var(--service-surface);
  border: 1px solid var(--service-border);
  border-radius: 12px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  transition: none;
}
.services .service-feature::before,
.services .service-feature::after { content: none; }
.services .service-feature:hover { background: var(--service-surface); border-color: var(--service-border); box-shadow: none; transform: none; }
.services .service-copy { position: relative; z-index: 1; }
.services .service-feature h3 { max-width: 18ch; margin: 0 0 var(--service-space); color: var(--service-ink); font-size: clamp(1.4rem, 1.8vw, 1.65rem); line-height: 1.2; }
.services .service-feature p { max-width: 35ch; margin: 0; color: var(--service-muted); font-size: 1rem; line-height: 1.5; }
.services .service-media { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 240px; flex: none; margin: auto 0 0; }
.services .service-illustration { position: static; width: min(100%, 260px); height: auto; max-height: 240px; object-fit: contain; transform: none; }
.services .service-secondary { margin-top: calc(var(--service-space) * 6); }
.services .service-secondary-heading { margin-bottom: calc(var(--service-space) * 2); }
.services .service-secondary-heading .eyebrow { margin-bottom: var(--service-space); }
.services .service-secondary-heading h3 { margin: 0; color: var(--service-ink); font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.035em; }
.services .service-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--service-space) * 5); row-gap: 0; margin: 0; }
.services .service-row,
.services .service-row:hover {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: calc(var(--service-space) * 2);
  min-height: 0;
  padding: calc(var(--service-space) * 3) 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--service-border);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}
.services .service-row svg { display: block; width: 28px; height: 28px; fill: none; stroke: var(--brand-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.services .service-row h4 { margin: 0 0 var(--service-space); color: var(--service-ink); font-size: 1rem; line-height: 1.3; }
.services .service-row p { margin: 0; color: var(--service-muted); font-size: .94rem; line-height: 1.5; }
.services .service-cta { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--service-space) * 3); padding-top: calc(var(--service-space) * 3); margin-top: calc(var(--service-space) * 2); border-top: 1px solid var(--service-border); }
.services .service-cta p { margin: 0; max-width: 48ch; color: var(--service-muted); }
.services .service-cta .button.primary { flex: none; background: var(--brand-blue); color: #fff; }
.services .service-cta .button.primary:hover { background: #28558f; }
.services .service-main:focus-visible,
.services .service-cta .button:focus-visible { outline: 3px solid var(--brand-blue) !important; outline-offset: 3px !important; }
@media (max-width: 850px) {
  .services .service-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services .service-feature:nth-child(3) { grid-column: auto; }
  .services .service-feature,
  .services .service-feature:nth-child(2),
  .services .service-feature:nth-child(3) { padding-inline: 16px; }
  .services .service-feature h3 { font-size: 1.3rem; }
  .services .service-illustration { width: min(100%, 208px); }
}
@media (min-width: 601px) and (max-width: 700px) {
  .services .service-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .service-feature:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .services.section { padding-block: 48px; scroll-margin-top: 92px; overflow: hidden; }
  .services .section-intro { margin-bottom: calc(var(--service-space) * 2); }
  .services .service-main { display: flex; flex-wrap: nowrap; gap: calc(var(--service-space) * 2); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: var(--service-space); }
  .services .service-main::-webkit-scrollbar { display: none; }
  .services .service-feature,
  .services .service-feature:nth-child(2),
  .services .service-feature:nth-child(3) { flex: 0 0 100%; width: 100%; min-width: 100%; min-height: 400px; padding: 24px 24px 0; grid-column: auto; scroll-snap-align: start; }
  .services .service-media { height: 224px; }
  .services .service-illustration { width: min(100%, 240px); max-height: 224px; }
  .services .service-secondary { margin-top: calc(var(--service-space) * 4); }
  .services .service-more { grid-template-columns: 1fr; }
  .services .service-row,
  .services .service-row:hover { padding-block: calc(var(--service-space) * 2); }
  .services .service-cta { display: grid; gap: calc(var(--service-space) * 2); }
  .services .service-cta .button { width: 100%; }
}
