/* srv-comparar — combinaciones de /servicios/ sobre tinta cálida #201A17 (entre la lista crema y el cierre crema).
   Móvil: carrusel con snap; tableta+: rejilla. Al pasar el cursor las dos piezas se juntan. */

.srvc { background: #201A17; color: #fff; padding: var(--sep) 0; }
.srvc__in { max-width: 1320px; margin: 0 auto; padding: 0 var(--m); }
.srvc__cab { max-width: 660px; margin-bottom: 28px; }
.srvc__ceja { margin: 0 0 10px; color: var(--lima); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.srvc__cab h2 { font-size: clamp(30px, 4vw, 56px); color: #fff; text-wrap: balance; }
.srvc__sub { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.55; }

.srvc__lista { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 12px; margin: 0 calc(var(--m) * -1); padding: 4px var(--m) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); scrollbar-width: none; overscroll-behavior-x: contain; }
.srvc__lista::-webkit-scrollbar { display: none; }

.srvc__combo { display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: 24px; background: #121011; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); scroll-snap-align: start; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.srvc__suma { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; }
.srvc__pieza { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: transform .45s var(--ease), background-color .25s, color .25s; }
.srvc__pieza:first-child { background: var(--accent); color: #121011; }
.srvc__pieza:last-child { background: var(--lima); color: #121011; }
.srvc__pieza:hover { background: #fff; color: #121011; }
.srvc__pieza:focus-visible, .srvc__cta:focus-visible, .srvc__todo:focus-visible { outline: 2px solid var(--lima); outline-offset: 3px; }
.srvc__mas { color: rgba(255, 255, 255, .55); font-size: 20px; font-weight: 300; transition: transform .45s var(--ease), opacity .3s; }
.srvc__combo h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: #fff; }
.srvc__idea { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.5; }
.srvc__inc { display: grid; gap: 8px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.srvc__inc li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.srvc__inc li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.srvc__inc li:nth-child(even)::before { background: var(--lima); }
.srvc__ideal { margin-top: 14px; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.srvc__ideal strong { color: #fff; font-weight: 600; }
.srvc__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s, box-shadow .25s; }
.srvc__ideal { margin-bottom: 18px; }
.srvc__cta:hover { background: var(--lima); color: #121011; box-shadow: none; }
.srvc__cta svg { transition: transform .3s var(--ease); }
.srvc__cta:hover svg { transform: translateX(3px); }

@media (hover: hover) {
	.srvc__combo:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 91, 35, .5); }
	.srvc__combo:hover .srvc__pieza:first-child { transform: translateX(6px); }
	.srvc__combo:hover .srvc__pieza:last-child { transform: translateX(-6px); }
	.srvc__combo:hover .srvc__mas { transform: scale(.5); opacity: 0; }
}

.srvc__todo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 18px 20px; border-radius: 20px; background: #FBF8F4; color: #121011; text-decoration: none; transition: background-color .3s; }
.srvc__todo-t { font-size: 15px; line-height: 1.45; color: #3A383A; }
.srvc__todo-t strong { display: block; color: #121011; font-size: 17px; }
.srvc__todo-ir { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #121011; color: #fff; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.srvc__todo:hover { background: #fff; }
.srvc__todo:hover .srvc__todo-ir { background: var(--accent); color: #121011; transform: translateX(4px); }

@media (min-width: 768px) {
	.srvc__cab { margin-bottom: 40px; }
	.srvc__lista { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
	.srvc__combo { padding: 24px; }
	.srvc__todo { margin-top: 24px; padding: 22px 28px; }
	.srvc__todo-t strong { display: inline; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.srvc__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srvc__combo:last-child { grid-column: 1 / -1; }
}
