@font-face {
  font-family: 'Seramonde';
  src: url('../fonts/seramonde.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.page-servicios {
  --svc-rosa: #f2b0bc;
  --svc-malva: #a45268;
  --svc-azul: #7088a2;
  --svc-oliva: #4f5233;
  --svc-rojo: #831714;
  --svc-rojo-vivo: #99182a;
  --font-display: 'Seramonde', 'Didot', Georgia, serif;
  --font-signature: 'Mrs Saint Delafield', var(--font-script);
  background: var(--vino);
}

/* =========================================================
   Hero
   ========================================================= */
.svc-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - var(--header-h, 75px));
  height: calc(100svh - var(--header-h, 75px));
  min-height: 520px;
  background: var(--vino);
  color: var(--crema);
  text-align: center;
  isolation: isolate;
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.svc-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6vw 24px 4vw;
}
.svc-hero__title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(64px, 7.8vw, 150px);
  line-height: 0.72;
  color: var(--crema);
}
.svc-hero__title span { display: block; }
.svc-hero__sub {
  margin: clamp(22px, 2.6vw, 50px) 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 25px);
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.svc-hero__rings {
  position: relative;
  width: clamp(176px, 16.1vw, 309px);
  aspect-ratio: 309 / 228;
  margin-top: clamp(36px, 4.2vw, 80px);
}
.svc-hero__ring {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}
.svc-hero__rings { --j: 1; }
.svc-hero__ring--back {
  top: 0;
  left: 25.6%;
  width: 74.4%;
  transform: translate(var(--mx, 0px), var(--my, 0px)) translateX(calc((1 - var(--j)) * var(--dx-back, 40vw))) rotate(calc((1 - var(--j)) * 12deg));
}
.svc-hero__ring--front {
  top: 30.7%;
  left: 0;
  width: 72.5%;
  transform: translate(var(--mx, 0px), var(--my, 0px)) translateX(calc((1 - var(--j)) * var(--dx-front, -40vw))) rotate(calc((1 - var(--j)) * -12deg));
}
.svc-hero__ring {
  animation: svc-ring-fade 1.2s var(--ease) both;
}
.svc-hero__ring--front { animation-delay: 0.15s; }
@keyframes svc-ring-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__ring { animation: none; }
}

@media (max-width: 900px) {
  .svc-hero__title { font-size: clamp(58px, 17vw, 96px); }
}

/* Indicador de scroll: mouse en contorno con ruedita que baja en loop */
.svc-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.2vh, 28px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%) scale(0.7);
  transform-origin: 50% 100%;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.svc-hero__scroll:hover,
.svc-hero__scroll:focus-visible { border-color: #fff; gap: 12px; }
.svc-hero__mouse {
  position: relative;
  width: 14px;
  height: 21px;
  border: 1.5px solid #fff;
  border-radius: 8px;
}
.svc-hero__wheel {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 4px;
  margin-left: -1px;
  border-radius: 2px;
  background: #fff;
  animation: svcWheel 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes svcWheel {
  0% { opacity: 0; transform: translateY(-2px); }
  25% { opacity: 1; }
  70% { opacity: 1; transform: translateY(7px); }
  100% { opacity: 0; transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__wheel { animation: none; }
}

/* =========================================================
   Intro
   ========================================================= */
.svc-intro {
  display: flex;
  justify-content: center;
  padding: clamp(64px, 7.2vw, 138px) 24px;
  background: var(--vino);
}
.svc-intro__lace {
  display: grid;
  width: min(1134px, 59vw);
  container-type: inline-size;
}
.svc-intro__lace-img,
.svc-intro__content {
  grid-area: 1 / 1;
}
.svc-intro__lace-img {
  display: block;
  width: 100%;
  height: auto;
}
.svc-intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 21%;
  text-align: center;
}
.svc-intro__title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 8.8cqi;
  line-height: 0.72;
  color: var(--svc-rojo);
}
.svc-intro__title span { display: block; }
.svc-intro__text {
  margin: 3.2cqi 0 0;
  font-family: var(--font-body);
  font-size: max(11px, 1.59cqi);
  line-height: 1.03;
  color: var(--vino);
  text-wrap: balance;
}

@media (max-width: 900px) {
  .svc-intro { padding: 56px 16px 64px; }
  .svc-intro__lace { width: 100%; max-width: 640px; }
  .svc-intro__content { display: contents; }
  .svc-intro__title {
    grid-area: 1 / 1;
    align-self: center;
    justify-self: center;
    text-align: center;
    font-size: 9.5cqi;
  }
  .svc-intro__text {
    grid-row: 2;
    margin-top: 28px;
    padding: 0 8px;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
    color: var(--crema);
  }
}

.svc-intro__text.is-anim { transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); }
.svc-intro__text.is-anim:not(.is-in) { opacity: 0; translate: 0 16px; }

/* =========================================================
   Paquetes
   ========================================================= */
.svc-paq {
  --u: calc(min(100vw, 1920px) / 1920);
  position: relative;
  overflow: hidden;
  padding: calc(136 * var(--u)) 24px calc(215 * var(--u));
  background: var(--svc-rosa);
}
.svc-paq__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, calc(100 * var(--u)), 100px);
  line-height: 0.9;
  color: var(--svc-malva);
}
.svc-paq__title span { display: block; }
.svc-paq__list {
  position: relative;
  width: calc(1920 * var(--u));
  margin: calc(75 * var(--u)) auto 0;
}
.svc-paq__item {
  position: relative;
  height: calc(560 * var(--u));
}
.svc-paq__name {
  position: absolute;
  z-index: 2;
  top: 0;
  margin: 0;
  font-family: var(--font-signature);
  font-weight: 400;
  font-size: calc(90 * var(--u));
  line-height: 0.8;
  color: var(--vino);
  text-align: center;
  transform: rotate(-9deg);
  white-space: nowrap;
}
.svc-paq__name span { display: block; }
.svc-paq__name span + span { padding-left: 1.2em; }
.svc-paq__item--right .svc-paq__name { left: calc(1066 * var(--u)); }
.svc-paq__item--left .svc-paq__name { left: calc(335 * var(--u)); }

.svc-paq__cards {
  position: absolute;
  top: calc(150 * var(--u));
  width: calc(750 * var(--u));
  height: calc(420 * var(--u));
}
.svc-paq__item--right .svc-paq__cards { left: calc(935 * var(--u)); }
.svc-paq__item--left .svc-paq__cards { left: calc(240 * var(--u)); }

.svc-paq__card {
  position: absolute;
  top: 0;
  width: calc(377 * var(--u));
  height: auto;
  --r: 1;
  rotate: var(--rot, 0deg);
  transform: translateX(calc((1 - var(--r)) * var(--sx, 0%)));
  transition: translate 0.5s var(--ease), rotate 0.5s var(--ease);
}
.svc-paq__card--text { display: grid; opacity: calc(var(--r) * 1.6 - 0.3); }
.svc-paq__card--text > img,
.svc-paq__card--text > p { grid-area: 1 / 1; }
.svc-paq__card--text > img { width: 100%; height: auto; }
.svc-paq__card--text > p {
  align-self: center;
  justify-self: center;
  width: 56%;
  margin: 0;
  font-family: var(--font-body);
  font-size: max(10px, calc(18 * var(--u)));
  line-height: 1.03;
  color: #fff;
  text-align: center;
}
.svc-paq__card--img { z-index: 1; }

.svc-paq__item--right .svc-paq__card--text { left: 0; top: calc(28 * var(--u)); --rot: -4.4deg; --sx: 50%; }
.svc-paq__item--right .svc-paq__card--img { left: calc(372 * var(--u)); --rot: 5.2deg; --sx: -49%; }
.svc-paq__item--left .svc-paq__card--img { left: 0; z-index: 0; --rot: -5.2deg; --sx: 50%; }
.svc-paq__item--left .svc-paq__card--text { left: calc(343 * var(--u)); top: calc(50 * var(--u)); z-index: 1; --rot: 4.4deg; --sx: -41%; }
.svc-paq__item--left.is-revealing .svc-paq__card--img { z-index: 2; }
.svc-paq__item:hover .svc-paq__card { rotate: 0deg; translate: 0 -6px; }

@media (max-width: 900px) {
  .svc-paq { --u: calc(100vw / 820); padding: 64px 16px 80px; }
  .svc-paq__title { font-size: clamp(32px, 9vw, 48px); }
  .svc-paq__list { width: 100%; margin-top: 40px; display: grid; gap: 56px; }
  .svc-paq__item { height: auto; }
  .svc-paq__name {
    position: relative;
    left: auto !important;
    font-size: clamp(40px, 11vw, 64px);
    margin-bottom: 18px;
  }
  .svc-paq__cards {
    position: relative;
    top: auto;
    left: auto !important;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
  }
  .svc-paq__card {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 48%;
  }
  .svc-paq__item--right .svc-paq__card--img { margin-left: -2%; }
  .svc-paq__item--left .svc-paq__card--text { margin-left: -2%; order: 2; }
  .svc-paq__card--text > p { font-size: clamp(9px, 2.6vw, 14px); width: 58%; }
}

/* =========================================================
   Fondos fijos
   ========================================================= */
.svc-paq,
.svc-port,
.svc-proc {
  isolation: isolate;
  clip-path: inset(0);
}
.svc-paq::before,
.svc-port::before,
.svc-proc::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat;
  pointer-events: none;
}
.svc-paq::before { background-image: url('../img/servicios/paq-fondo.webp'); }
.svc-port::before { background-image: linear-gradient(rgba(240, 235, 226, 0.6), rgba(240, 235, 226, 0.6)), url('../img/servicios/port-papel.webp'); }
.svc-proc::before { background-image: url('../img/servicios/proc-fondo.webp'); }

/* =========================================================
   Portfolio
   ========================================================= */
.svc-port {
  --u: calc(min(100vw, 1920px) / 1920);
  position: relative;
  overflow: hidden;
  background: var(--crema);
}
.svc-port__stage {
  position: relative;
  width: calc(1920 * var(--u));
  --k: 0.9;
  --g: 1880;
  height: calc((var(--g) + 891 * var(--k) + 366) * var(--u));
  margin: 0 auto;
}
.svc-port__stage > * { position: absolute; margin: 0; }
.svc-port__top {
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(1103 * var(--u));
  transform: translateX(-50%);
  background: var(--vino);
}
.svc-port__flores {
  height: auto;
  transform-origin: 50% 50%;
}
.svc-port__flores--izq { top: calc(-39 * var(--u)); left: calc(241 * var(--u)); width: calc(592 * var(--u)); transform: rotate(-38.5deg); }
.svc-port__flores--der { top: calc(-7 * var(--u)); left: calc(1104 * var(--u)); width: calc(564 * var(--u)); transform: rotate(39.5deg); }

.svc-port__sobre {
  top: calc(136 * var(--u));
  left: calc(655 * var(--u));
  width: calc(611 * var(--u));
  text-align: center;
  z-index: 2;
}
.svc-port__sobre img { display: block; width: 100%; height: auto; }
.svc-port__sobre-kicker,
.svc-port__sobre-script {
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}
.svc-port__sobre-kicker {
  top: calc(254 * var(--u));
  width: calc(214 * var(--u));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(25 * var(--u));
  line-height: 1.03;
  text-transform: uppercase;
  color: var(--crema);
}
.svc-port__sobre-script {
  top: calc(290 * var(--u));
  width: calc(305 * var(--u));
  font-family: var(--font-script);
  margin-top: min(45px, calc(60 * var(--u)));
  font-size: calc(92 * var(--u));
  line-height: 0.6;
  color: var(--svc-rosa);
}
.svc-port__lead {
  top: calc(930 * var(--u));
  left: calc(550 * var(--u));
  width: calc(820 * var(--u));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(25 * var(--u));
  line-height: 1.03;
  text-align: center;
  color: var(--crema);
  z-index: 2;
}
.svc-port__btn {
  top: calc(1012 * var(--u));
  left: calc(788 * var(--u));
  width: calc(345 * var(--u));
  height: calc(62 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--svc-rosa);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(20 * var(--u));
  color: var(--vino);
  text-decoration: none;
  z-index: 2;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-port__btn:hover,
.svc-port__btn:focus-visible { background: var(--crema); transform: translateY(-2px); }
/* Entrada del sobre (una sola vez) y movimiento muy ligero de las flores con el mouse */
.svc-port.is-anim .svc-port__flores {
  translate: var(--px, 0px) var(--py, 0px);
  transition: opacity 1.3s var(--ease), rotate 1.8s cubic-bezier(0.22, 1, 0.36, 1), scale 1.8s cubic-bezier(0.22, 1, 0.36, 1), translate 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-port.is-anim.is-in .svc-port__flores--der { transition-delay: 0.12s, 0.12s, 0.12s, 0s; }
.svc-port.is-anim:not(.is-in) .svc-port__flores { opacity: 0; scale: 0.94; }
.svc-port.is-anim:not(.is-in) .svc-port__flores--izq { rotate: -9deg; }
.svc-port.is-anim:not(.is-in) .svc-port__flores--der { rotate: 9deg; }
.svc-port.is-anim .svc-port__rw { transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.svc-port.is-anim.is-in .svc-port__rw { transition-delay: calc(0.5s + var(--w) * 0.09s); }
.svc-port.is-anim.is-in .svc-port__sobre-script .svc-port__rw { transition-delay: calc(0.85s + var(--w) * 0.11s); }
.svc-port.is-anim:not(.is-in) .svc-port__rw { opacity: 0; filter: blur(8px); }
.svc-port.is-anim .svc-port__lead,
.svc-port.is-anim .svc-port__btn {
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-port.is-anim.is-in .svc-port__lead { transition-delay: 1.45s, 1.45s, 0s, 0s; }
.svc-port.is-anim.is-in .svc-port__btn { transition-delay: 1.65s, 1.65s, 0s, 0s; }
.svc-port.is-anim:not(.is-in) .svc-port__lead,
.svc-port.is-anim:not(.is-in) .svc-port__btn { opacity: 0; translate: 0 14px; }
.svc-port.is-anim.is-in.is-fast .svc-port__rw { transition-delay: calc(var(--w) * 0.03s); }
.svc-port.is-anim.is-in.is-fast .svc-port__lead,
.svc-port.is-anim.is-in.is-fast .svc-port__btn { transition-delay: 0s, 0s, 0s, 0s; }
.svc-port__lazos {
  top: calc(940 * var(--u));
  left: 50%;
  width: max(100vw, calc(1920 * var(--u)));
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
}

.svc-port__title {
  top: calc(1682 * var(--u));
  left: calc(260 * var(--u));
  width: calc(1400 * var(--u));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(84 * var(--u));
  line-height: 0.9;
  text-align: center;
  color: var(--vino);
}
.svc-port__title span { display: block; white-space: nowrap; }
.svc-port__zone {
  top: calc((var(--g) - 120) * var(--u));
  left: calc(260 * var(--u));
  width: calc(1400 * var(--u));
  height: calc((333 * var(--k) + 200) * var(--u));
  z-index: 3;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.svc-port__corazon {
  position: absolute;
  top: calc(90 * var(--u));
  left: calc((700 - 500 * var(--k)) * var(--u));
  width: calc(1000 * var(--k) * var(--u));
  height: auto;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
}
.svc-port__zone:active .svc-port__corazon { transform: scale(0.96); }
.svc-port__zone,
.svc-port__zone * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.svc-port__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 6px 12px;
  border: 1px solid rgba(63, 2, 10, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--vino);
  pointer-events: none;
  /* En espera: pequeño, bajo el corazón y entre las cabezas de la pareja */
  transform: translate(calc(700 * var(--u)), calc((90 + 333 * var(--k) * 0.9) * var(--u))) translate(-50%, 0);
  transition: transform 0.6s var(--ease), font-size 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.25s var(--ease);
}
/* Al pasar el mouse por la zona, el badge crece un poco y sigue el cursor */
.svc-port__zone.is-hover .svc-port__cursor {
  padding: 8px 16px;
  font-size: 13px;
  transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(18px, 14px);
  transition: transform 0.12s linear, font-size 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.25s var(--ease);
}
.svc-port__zone:focus-visible .svc-port__cursor { box-shadow: 0 0 0 2px var(--vino); }
.svc-port__zone.is-touched .svc-port__cursor { opacity: 0; }
.svc-port__thought {
  position: absolute;
  z-index: 1;
  width: max-content;
  max-width: 300px;
  padding: 12px 22px;
  border: 1px solid rgba(63, 2, 10, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 10px 30px rgba(63, 2, 10, 0.08);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: var(--vino);
  pointer-events: none;
  translate: -50% -50%;
  animation: svcThought 7.5s cubic-bezier(0.33, 0, 0.2, 1) both;
}
@keyframes svcThought {
  0% { opacity: 0; filter: blur(10px); transform: translate(var(--sx), var(--sy)) scale(0.94); animation-timing-function: cubic-bezier(0.25, 0.6, 0.3, 1); }
  26% { opacity: 1; filter: blur(0); transform: translate(0, 0) scale(1); }
  78% { opacity: 1; filter: blur(0); transform: translate(calc(var(--dx) * 0.6), calc(var(--dy) * 0.6)) scale(1); }
  100% { opacity: 0; filter: blur(6px); transform: translate(var(--dx), var(--dy)) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-port__thought { animation: svcThoughtFade 7.5s linear both; }
  @keyframes svcThoughtFade { 0%, 100% { opacity: 0; } 10%, 85% { opacity: 1; } }
}
@media (hover: none), (pointer: coarse) {
  .svc-port__cursor {
    opacity: 1;
    transform: translate(-50%, 0);
    left: 84%;
    top: calc(200 * var(--u));
    animation: svcPulse 2.4s ease-in-out infinite;
  }
  @keyframes svcPulse { 0%, 100% { scale: 1; } 50% { scale: 1.06; } }
}
.svc-port__novios {
  top: calc((var(--g) + 317 * var(--k)) * var(--u));
  left: calc((929 - 484 * var(--k)) * var(--u));
  width: calc(968 * var(--k) * var(--u));
  height: auto;
}
.svc-port__script {
  top: calc((var(--g) + 891 * var(--k)) * var(--u));
  left: calc(547 * var(--u));
  width: calc(825 * var(--u));
  font-family: var(--font-signature);
  font-size: calc(100 * var(--k) * var(--u));
  line-height: 0.8;
  text-align: center;
  color: #990000;
  transform: rotate(-6.9deg);
  z-index: 2;
}

@media (max-width: 900px) {
  .svc-port { --u: calc(100vw / 1500); }
  .svc-port__stage {
    width: calc(1920 * var(--u));
    margin-left: calc(50% - 960 * var(--u));
  }
  .svc-port__sobre-kicker { font-size: calc(34 * var(--u)); width: calc(320 * var(--u)); top: calc(222 * var(--u)); }
  .svc-port__lead { font-size: max(13px, calc(34 * var(--u))); left: calc(260 * var(--u)); width: calc(1400 * var(--u)); top: calc(925 * var(--u)); }
  .svc-port__btn { font-size: 12px; white-space: nowrap; width: calc(720 * var(--u)); height: calc(120 * var(--u)); left: calc(600 * var(--u)); top: calc(1110 * var(--u)); }
  .svc-port__title { font-size: calc(96 * var(--u)); }
  .svc-port__stage { --g: 2210; }
  .svc-port__top { height: calc(1433 * var(--u)); }
  .svc-port__lazos { top: calc(1270 * var(--u)); }
  .svc-port__title { top: calc(2010 * var(--u)); }
  .svc-port__thought { max-width: 155px; padding: 7px 12px; font-size: 11px; border-radius: 18px; }
  .svc-port__cursor { font-size: 11px; padding: 6px 12px; }
  .svc-port__script { font-size: calc(133 * var(--k) * var(--u)); left: calc(360 * var(--u)); width: calc(1200 * var(--u)); }
}

/* =========================================================
   Proceso
   ========================================================= */
.svc-proc {
  --u: calc(min(100vw, 1920px) / 1920);
  position: relative;
  background: #fae2c1;
  color: var(--vino);
}
.svc-proc__stage {
  position: relative;
  width: calc(1920 * var(--u));
  height: calc(1834 * var(--u));
  margin: 0 auto;
}
.svc-proc__head {
  position: absolute;
  top: calc(132 * var(--u));
  left: 50%;
  width: calc(820 * var(--u));
  transform: translateX(-50%);
  text-align: center;
}
.svc-proc__title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: calc(150 * var(--u));
  line-height: 0.75;
  color: #990000;
  white-space: nowrap;
}
.svc-proc__lead {
  margin: calc(30 * var(--u)) 0 0;
  font-family: var(--font-body);
  font-size: calc(25 * var(--u));
  line-height: 1.03;
}
.svc-proc__steps { list-style: none; margin: 0; padding: 0; }
.svc-proc__step {
  position: absolute;
  width: calc(330 * var(--u));
}
/* Entrada: los pasos aparecen en orden con fade, una sola vez */
.svc-proc.is-anim .svc-proc__step,
.svc-proc.is-anim .svc-proc__final { transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
.svc-proc.is-anim .svc-proc__step:not(.is-in),
.svc-proc.is-anim .svc-proc__final:not(.is-in) { opacity: 0; translate: 0 24px; }
.svc-proc__step--01 { left: calc(348 * var(--u)); top: calc(420 * var(--u)); --ix: 156; --iy: 228; --iw: 215; }
.svc-proc__step--02 { left: calc(808 * var(--u)); top: calc(588 * var(--u)); --ix: 158; --iy: 276; --iw: 232; }
.svc-proc__step--03 { left: calc(1270 * var(--u)); top: calc(420 * var(--u)); --ix: 146; --iy: 264; --iw: 171; }
.svc-proc__step--04 { left: calc(342 * var(--u)); top: calc(936 * var(--u)); --ix: 222; --iy: 264; --iw: 182; }
.svc-proc__step--05 { left: calc(1270 * var(--u)); top: calc(942 * var(--u)); --ix: 146; --iy: 258; --iw: 180; }
.svc-proc__num {
  display: block;
  font-family: var(--font-script);
  font-size: calc(120 * var(--u));
  line-height: 0.6;
  color: #990000;
}
.svc-proc__name {
  margin: calc(24 * var(--u)) 0 calc(10 * var(--u));
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: calc(35 * var(--u));
  line-height: 0.98;
  color: #990000;
}
.svc-proc__text {
  margin: 0;
  max-width: calc(305 * var(--u));
  font-family: var(--font-body);
  font-size: calc(18 * var(--u));
  line-height: 1.03;
}
.svc-proc__img {
  position: absolute;
  left: calc(var(--ix) * var(--u));
  top: calc(var(--iy) * var(--u));
  width: calc(var(--iw) * var(--u));
  height: auto;
  transition: transform 0.5s var(--ease);
}
.svc-proc__step:hover .svc-proc__img { transform: rotate(-4deg) scale(1.04); }
.svc-proc__final {
  position: absolute;
  top: calc(1188 * var(--u));
  left: 50%;
  width: calc(420 * var(--u));
  transform: translateX(-50%);
  text-align: center;
}
.svc-proc__manos {
  display: block;
  width: calc(305 * var(--u));
  height: auto;
  margin: 0 auto;
}
.svc-proc__final-title {
  margin: calc(-70 * var(--u)) 0 0;
  position: relative;
  font-family: var(--font-script);
  font-size: calc(100 * var(--u));
  line-height: 0.72;
  color: #990000;
}
.svc-proc__final-title span { display: block; }
.svc-proc__final-text {
  margin: calc(24 * var(--u)) auto 0;
  width: calc(390 * var(--u));
  font-family: var(--font-body);
  font-size: calc(18 * var(--u));
  line-height: 1.03;
}

@media (max-width: 900px) {
  .svc-proc { padding: 64px 24px 72px; }
  .svc-proc__stage { width: 100%; height: auto; }
  .svc-proc__head,
  .svc-proc__step,
  .svc-proc__final,
  .svc-proc__img { position: static; transform: none; width: auto; }
  .svc-proc__title { font-size: clamp(56px, 15vw, 90px); white-space: normal; }
  .svc-proc__lead { margin-top: 18px; font-size: 15px; line-height: 1.4; }
  .svc-proc__steps { display: grid; gap: 44px; margin-top: 48px; }
  .svc-proc__step {
    display: grid;
    grid-template-columns: 1fr 34%;
    grid-template-areas: "num img" "name img" "text img";
    column-gap: 16px;
    align-items: start;
  }
  .svc-proc__step:nth-child(even) {
    grid-template-columns: 34% 1fr;
    grid-template-areas: "img num" "img name" "img text";
  }
  .svc-proc__num { grid-area: num; font-size: 64px; }
  .svc-proc__name { grid-area: name; margin: 12px 0 6px; font-size: 22px; }
  .svc-proc__text { grid-area: text; max-width: none; font-size: 14px; line-height: 1.35; }
  .svc-proc__img { grid-area: img; align-self: center; width: 100%; }
  .svc-proc__final { margin-top: 56px; }
  .svc-proc__manos { width: 55%; }
  .svc-proc__final-title { margin-top: -24px; font-size: 56px; }
  .svc-proc__final-title span { display: inline; }
  .svc-proc__final-text { width: auto; max-width: 320px; font-size: 14px; line-height: 1.35; }
}

/* =========================================================
   Planes
   ========================================================= */
.svc-planes {
  --u: calc(min(100vw, 1920px) / 1920);
  padding: calc(126 * var(--u)) 24px calc(150 * var(--u));
  background: var(--vino);
  color: var(--crema);
  text-align: center;
}
.svc-planes__title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(56px, calc(120 * var(--u)), 120px);
  line-height: 0.72;
  color: var(--svc-azul);
}
.svc-planes__title span { display: block; }
.svc-planes__lead {
  max-width: calc(904 * var(--u));
  margin: calc(28 * var(--u)) auto 0;
  font-family: var(--font-body);
  font-size: clamp(15px, calc(25 * var(--u)), 25px);
  line-height: 1.03;
}
.svc-planes__cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: calc(22 * var(--u));
  margin-top: calc(36 * var(--u));
}
.svc-plan {
  --r: calc(25 * var(--u));
  position: relative;
  width: calc(432 * var(--u));
  min-height: calc(631 * var(--u));
  border-radius: var(--r);
  text-align: left;
  container-type: inline-size;
}
.svc-plan--esencia { --tint: var(--svc-malva); }
.svc-plan--historia { --tint: var(--svc-oliva); }
.svc-plan--universo { --tint: var(--svc-azul); }
.svc-plan__inner {
  position: relative;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
}
.svc-plan__face {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: inherit;
}
.svc-plan__face--front { display: none; }
/* Cada carta muestra su tercio de la pintura: juntas forman la imagen completa */
.svc-plan__img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--i) * -100%);
  width: 300%;
  background: url('../img/servicios/planes-pintura.webp') center / cover no-repeat;
}
.svc-plan__face--back::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, color-mix(in srgb, var(--tint), #fff 16%) 0%, var(--tint) 70%);
  opacity: 0.82;
}
.svc-plan__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(52 * var(--u)) calc(44 * var(--u)) calc(44 * var(--u));
}
.svc-plan__num {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(50 * var(--u));
  line-height: 1.03;
  text-transform: uppercase;
}
.svc-plan__name {
  margin: calc(46 * var(--u)) 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(35 * var(--u));
  line-height: 1.19;
}
.svc-plan__name strong { display: block; font-weight: 600; }
.svc-plan__text {
  margin: calc(6 * var(--u)) 0 0;
  font-family: var(--font-body);
  font-size: max(11px, calc(18 * var(--u)));
  line-height: 1.03;
}
.svc-plan__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(52 * var(--u));
  margin-top: auto;
  border: 1px solid var(--crema);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: max(12px, calc(25 * var(--u)));
  color: var(--crema);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-plan__btn:hover,
.svc-plan__btn:focus-visible { background: var(--crema); color: var(--vino); }

/* Cartas con dos caras (escritorio por etapas y móvil) */
.svc-planes.is-staged .svc-plan__face,
.svc-planes.is-flip .svc-plan__face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.svc-planes.is-staged .svc-plan__face--front,
.svc-planes.is-flip .svc-plan__face--front {
  display: block;
  position: absolute;
  inset: 0;
}
.svc-planes.is-staged .svc-plan__face--back,
.svc-planes.is-flip .svc-plan__face--back { transform: rotateY(180deg); }

/* ---------- Escritorio: sección fija con 4 etapas ---------- */
.svc-planes.is-staged {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: calc(var(--header-h, 75px) + 3vh) 0 0;
  overflow: hidden;
}
.svc-planes.is-staged .svc-planes__head { position: relative; z-index: 4; padding: 0 24px; }
.svc-planes.is-staged .svc-planes__title { font-size: clamp(56px, min(calc(120 * var(--u)), 11vh), 120px); }
.svc-planes.is-staged .svc-planes__lead { margin-top: min(calc(28 * var(--u)), 2.4vh); font-size: clamp(15px, min(calc(25 * var(--u)), 2.4vh), 25px); }
.svc-planes.is-staged .svc-planes__cards {
  position: relative;
  flex: 1;
  display: block;
  margin: 0;
  perspective: 2200px;
}
.svc-planes.is-staged .svc-plan {
  --ri: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 0;
  transform-origin: 50% 100%;
  will-change: transform, width, height;
}
.svc-planes.is-staged .svc-plan--esencia { border-radius: var(--r) var(--ri) var(--ri) var(--r); }
.svc-planes.is-staged .svc-plan--historia { z-index: 2; border-radius: var(--ri); }
.svc-planes.is-staged .svc-plan--universo { border-radius: var(--ri) var(--r) var(--r) var(--ri); }
.svc-planes.is-staged .svc-plan__inner { will-change: transform; }
.svc-planes.is-staged .svc-plan__face--back { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.svc-planes.is-staged:not(.is-dealt) .svc-plan { pointer-events: none; }
.svc-planes.is-staged .svc-plan__body { padding: 11cqw 9cqw 9cqw; }
.svc-planes.is-staged .svc-plan__num { font-size: 10.5cqw; }
.svc-planes.is-staged .svc-plan__name { margin-top: 9cqw; font-size: 7.2cqw; }
.svc-planes.is-staged .svc-plan__text { margin-top: 1.6cqw; font-size: max(12px, 3.9cqw); line-height: 1.15; }
.svc-planes.is-staged .svc-plan__btn { height: max(38px, 11cqw); font-size: max(13px, 5cqw); }

/* ---------- Móvil: cada carta se voltea al entrar ---------- */
.svc-planes.is-flip .svc-plan { perspective: 1600px; }
.svc-planes.is-flip .svc-plan__inner { transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1); }
.svc-planes.is-flip .svc-plan.is-open .svc-plan__inner { transform: rotateY(180deg); }

@media (max-width: 900px) {
  .svc-planes { padding: 64px 20px 72px; }
  .svc-planes__lead { max-width: 520px; line-height: 1.4; }
  .svc-planes__cards { flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
  .svc-plan { width: 100%; max-width: 420px; min-height: 0; border-radius: 22px; }
  .svc-plan__img { background-image: url('../img/servicios/planes-pintura-800.webp'); }
  .svc-plan__body { padding: 32px 28px 28px; }
  .svc-plan__num { font-size: 34px; }
  .svc-plan__name { margin-top: 22px; font-size: 24px; }
  .svc-plan__text { font-size: 14px; line-height: 1.35; }
  .svc-plan__btn { height: 46px; margin-top: 26px; font-size: 17px; }
}

/* =========================================================
   FAQs
   ========================================================= */
.svc-faqs {
  --u: calc(min(100vw, 1920px) / 1920);
  position: relative;
  padding: calc(126 * var(--u)) 24px calc(140 * var(--u));
  background: var(--svc-rosa);
  isolation: isolate;
}
.svc-faqs::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../img/servicios/faq-papel.webp') center / cover;
  mix-blend-mode: hard-light;
  opacity: 0.44;
}
.svc-faqs__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, calc(120 * var(--u)), 120px);
  line-height: 0.9;
  color: var(--svc-rojo-vivo);
}
.svc-faqs__list {
  display: grid;
  gap: calc(22 * var(--u));
  width: min(1113px, 100%);
  margin: calc(70 * var(--u)) auto 0;
}
.svc-faq {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: calc(44 * var(--u));
  background: rgba(112, 136, 162, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px rgba(63, 2, 10, 0.08);
  color: var(--crema);
  overflow: hidden;
  transition: background 0.35s var(--ease);
}
.svc-faq:hover,
.svc-faq[open] { background: rgba(112, 136, 162, 0.82); }
.svc-faq__q {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(88 * var(--u));
  padding: calc(18 * var(--u)) calc(110 * var(--u)) calc(18 * var(--u)) calc(75 * var(--u));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, calc(25 * var(--u)), 25px);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.svc-faq__q::-webkit-details-marker { display: none; }
.svc-faq__icon {
  position: absolute;
  right: calc(70 * var(--u));
  top: 50%;
  width: clamp(16px, calc(24 * var(--u)), 24px);
  height: clamp(16px, calc(24 * var(--u)), 24px);
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease);
}
.svc-faq__icon::before,
.svc-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.svc-faq__icon::after { transform: rotate(90deg); }
.svc-faq[open] .svc-faq__icon { transform: translateY(-50%) rotate(45deg); }
.svc-faq__a {
  padding: 0 calc(110 * var(--u)) calc(30 * var(--u)) calc(75 * var(--u));
}
.svc-faq__a p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(14px, calc(19 * var(--u)), 19px);
  line-height: 1.5;
  color: rgba(238, 236, 223, 0.92);
}
.svc-faq[open] .svc-faq__a { animation: svc-faq-in 0.4s var(--ease); }
@keyframes svc-faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .svc-faqs { padding: 64px 16px 72px; }
  .svc-faqs__list { gap: 12px; margin-top: 36px; }
  .svc-faq { border-radius: 26px; }
  .svc-faq__q { min-height: 64px; padding: 16px 56px 16px 24px; }
  .svc-faq__icon { right: 24px; }
  .svc-faq__a { padding: 0 24px 22px; }
}

/* =========================================================
   Detalle de plan
   ========================================================= */
.svc-pd {
  --tint: var(--svc-malva);
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: var(--vino);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.svc-pd::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(238, 236, 223, 0.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.svc-pd[hidden] { display: none; }
.svc-pd.is-open { opacity: 1; }
.svc-pd[data-active="historia"] { --tint: var(--svc-oliva); }
.svc-pd[data-active="universo"] { --tint: var(--svc-azul); }

.svc-pd__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 76px;
  border-bottom: 1px solid rgba(63, 2, 10, 0.12);
}
.svc-pd__tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(63, 2, 10, 0.06);
}
.svc-pd__tab {
  padding: 10px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--vino);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-pd__tab:hover { background: rgba(63, 2, 10, 0.08); }
.svc-pd__tab[aria-selected="true"] { background: var(--tint); color: var(--crema); }
.svc-pd__close {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(63, 2, 10, 0.18);
  border-radius: 50%;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--vino);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s var(--ease);
}
.svc-pd__close:hover { background: rgba(63, 2, 10, 0.08); }

.svc-pd__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 110px);
  width: min(1320px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}
.svc-pd__panel[hidden] { display: none; }
.svc-pd__panel.is-entering > * { animation: svcPdIn 0.5s var(--ease) both; }
.svc-pd__panel.is-entering > .svc-pd__features { animation-delay: 0.08s; }
@keyframes svcPdIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.svc-pd__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  padding: 40px 0;
}
.svc-pd__kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.svc-pd__name {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(36px, 3.6vw, 64px);
  line-height: 1.05;
  color: var(--svc-rojo-vivo);
}
.svc-pd__price {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 2.1vw, 40px);
  color: var(--svc-rojo-vivo);
}
.svc-pd__terms {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #756f6a;
}
.svc-pd__intro {
  max-width: 520px;
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
}
.svc-pd__time {
  margin: 18px 0 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(63, 2, 10, 0.06);
  font-family: var(--font-body);
  font-size: 14px;
}
.svc-pd__cta {
  margin-top: 32px;
  padding: 16px 40px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--svc-rojo-vivo);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--crema);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-pd__cta:hover,
.svc-pd__cta:focus-visible { background: var(--vino); transform: translateY(-2px); }

.svc-pd__features {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 72px 8px 72px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--tint) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 48px, #000 calc(100% - 72px), transparent 100%);
}
.svc-pd__group {
  padding: 12px 0;
  border-bottom: 1px solid rgba(63, 2, 10, 0.12);
  opacity: 0.25;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.svc-pd__group:last-child { border-bottom: 0; }
/* Centrado vertical del detalle; si no cabe, se desplaza desde arriba */
.svc-pd__features > :first-child { margin-top: auto; }
.svc-pd__features > :last-child { margin-bottom: auto; }
.svc-pd__group.is-visible { opacity: 1; transform: none; }
.svc-pd__group-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--svc-rojo-vivo);
}
.svc-pd__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}
.svc-pd__list li {
  position: relative;
  padding-left: 24px;
}
.svc-pd__list li + li { margin-top: 6px; }
.svc-pd__list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint);
}

.svc-pd__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}
.svc-pd__progress span {
  display: block;
  height: 100%;
  background: var(--tint);
  transform: scaleX(var(--sp, 0));
  transform-origin: left;
  transition: transform 0.15s linear;
}

@media (max-width: 900px) {
  .svc-pd { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .svc-pd__bar {
    position: sticky;
    top: 0;
    z-index: 2;
    justify-content: flex-start;
    padding: 12px 70px 12px 12px;
    background: rgba(238, 236, 223, 0.6);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
  }
  .svc-pd__tab { padding: 9px 14px; font-size: 14px; }
  .svc-pd__close { right: 12px; width: 42px; height: 42px; }
  .svc-pd__panel { display: block; padding: 0 20px 110px; }
  .svc-pd__summary { position: relative; z-index: 2; padding: 32px 0 8px; }
  .svc-pd__intro { font-size: 15px; }
  .svc-pd__cta {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 3;
    margin: 0;
    box-shadow: 0 10px 30px rgba(63, 2, 10, 0.25);
  }
  .svc-pd__features { overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .svc-pd__progress { position: fixed; z-index: 3; }
  .svc-pd__panel.is-entering > * { animation-name: svcPdFade; }
  @keyframes svcPdFade { from { opacity: 0; } to { opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  .svc-pd, .svc-pd__group { transition: none; }
  .svc-pd__group { opacity: 1; transform: none; }
  .svc-pd__panel.is-entering > * { animation: none; }
}

[data-reveal] .svc-rv {
  display: inline;
  padding: 0;
  transition: opacity 0.2s linear;
}

/* =========================================================
   Volver arriba: glassy, con anillo de avance del scroll
   ========================================================= */
.svc-top {
  position: fixed;
  right: clamp(16px, 2.2vw, 32px);
  bottom: clamp(16px, 2.2vw, 32px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 9, 10, 0.47);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  color: var(--crema);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s, background 0.3s var(--ease);
}
.svc-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s, background 0.3s var(--ease);
}
.svc-top:hover,
.svc-top:focus-visible { background: rgba(14, 10, 11, 0.85); }
.svc-top:hover .svc-top__arrow { transform: translateY(-2px); }
body.no-scroll .svc-top { opacity: 0; visibility: hidden; }
.svc-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.svc-top__track,
.svc-top__bar {
  fill: none;
  stroke-width: 2;
}
.svc-top__track { stroke: rgba(255, 255, 255, 0.16); }
.svc-top__bar {
  stroke: var(--crema);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--progress, 0));
}
.svc-top__arrow {
  position: relative;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
@media (max-width: 900px) {
  .svc-top { width: 40px; height: 40px; }
}
