
:root {
  --x-field: linear-gradient(120deg, var(--red-600) 0%, var(--red-700) 30%, var(--red-800) 55%, var(--red-600) 80%, var(--red-600) 100%);
  --x-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-130 -130 260 260'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect x='-130' y='-130' width='260' height='260' fill='%23fff'/%3E%3Crect x='-130' y='-9' width='260' height='18' fill='%23000'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='none' stroke='%23fff' stroke-width='15'%3E%3Ccircle r='112'/%3E%3Ccircle r='80'/%3E%3Ccircle r='48'/%3E%3C/g%3E%3C/svg%3E");
}
.x-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  background: var(--x-field); color: #fff;
}
.x-hero__rings {
  position: absolute; z-index: -1;
  width: min(86vw, 1100px); height: auto;
  right: max(-26vw, -340px); top: 50%; transform: translateY(-50%);
  opacity: 0.2;
}
.x-hero { background-size: 320% 320%; animation: gradFlow 11s var(--ease-standard) infinite; }
body.is-paused .x-hero { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .x-hero { animation: none; } }
.x-hero .m-hero__pause { z-index: 3; }
.x-ring { stroke-dasharray: 720; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .x-ring { animation: x-draw 11s var(--ease-out) infinite both; }
  body.is-paused .x-ring { animation-play-state: paused; }
  .x-ring--2 { animation-delay: 0.18s; }
  .x-ring--3 { animation-delay: 0.36s; }
}
@keyframes x-draw {
  0% { stroke-dashoffset: 720; }
  16% { stroke-dashoffset: 0; }
  86% { stroke-dashoffset: 0; animation-timing-function: var(--ease-standard); }
  100% { stroke-dashoffset: -720; }
}
.x-hero__in { width: 100%; padding-top: calc(var(--space-9) + 40px); padding-bottom: var(--space-9); }
.x-hero__t {
  margin: 0; color: #fff; max-width: 15ch;
  font-weight: var(--weight-light); font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -0.04em;
}
.x-hero__t em { font-style: normal; color: var(--red-100); font-weight: var(--weight-regular); }
.x-hero__lead { margin: clamp(24px, 3vw, 40px) 0 0; max-width: none; color: #fff; font-weight: var(--weight-regular); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; }
.x-hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(28px, 3vw, 44px); }
.x-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; background: #fff; color: var(--red-600); font-weight: var(--weight-medium); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.x-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease-out); }
.x-btn:hover { background: var(--red-50); color: var(--red-700); }
.x-btn:hover svg { transform: translateX(4px); }
.x-hero .x-link, .x-hero .x-link:visited { display: inline-flex; align-items: center; padding: 14.5px 26.5px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.72); background: transparent; color: #fff; font-weight: var(--weight-medium); text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.x-hero .x-link:hover { background: #fff; border-color: #fff; color: var(--color-brand-text); text-decoration: none; }
.x-hero .x-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.x-hero :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 900px) {
  .x-hero__rings { width: 130vw; right: -55vw; }
}
.x-index__list {
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  border-radius: var(--radius-2xl); background-color: var(--card-tint); background-image: var(--glass-sheen-soft);
  border: 1px solid var(--card-border); box-shadow: var(--glass-rim);
}
.x-index__list li + li { border-top: 1px solid var(--border-subtle); }
.x-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.2fr) 40px; align-items: center;
  gap: var(--space-3) var(--space-6);
  padding: var(--space-6) var(--space-7);
  color: var(--text-primary); text-decoration: none;
  transition: color var(--duration-base) var(--ease-standard);
}
.x-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--x-field);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.6s var(--ease-out);
}
.x-row__icon { width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--color-brand-subtle); color: var(--color-brand-text); display: grid; place-items: center; transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard); }
.x-row__icon svg { width: 28px; height: 28px; }
.x-row__name { font: var(--font-h3); font-weight: var(--weight-medium); letter-spacing: -0.01em; }
.x-row__what { font: var(--font-body-base); color: var(--text-secondary); transition: color var(--duration-base) var(--ease-standard); }
.x-row__go { position: relative; justify-self: end; width: 40px; height: 40px; border-radius: var(--radius-circle); background: var(--color-brand-subtle); transition: background-color var(--duration-base) var(--ease-standard), transform 0.45s var(--ease-out); }
.x-row__go::before { content: ""; position: absolute; left: 12px; top: 19px; width: 15px; height: 2px; background: var(--color-brand-text); }
.x-row__go::after { content: ""; position: absolute; left: 19px; top: 15px; width: 8px; height: 8px; border-top: 2px solid var(--color-brand-text); border-right: 2px solid var(--color-brand-text); transform: rotate(45deg); }
.x-row:hover, .x-row:focus-visible { color: #fff; }
.x-row:hover::before, .x-row:focus-visible::before { clip-path: inset(0 0 0 0); }
.x-row:hover .x-row__what, .x-row:focus-visible .x-row__what { color: rgba(255, 255, 255, 0.92); }
.x-row:hover .x-row__icon, .x-row:focus-visible .x-row__icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.x-row:hover .x-row__go, .x-row:focus-visible .x-row__go { background: #fff; transform: translateX(4px); }
.x-row:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) {
  .x-row::before, .x-row__go, .x-row__icon, .x-row__what { transition: none; }
}
@media (max-width: 900px) {
  .x-row { grid-template-columns: 48px minmax(0, 1fr) 36px; padding: var(--space-5); gap: var(--space-3) var(--space-4); }
  .x-row__icon { width: 48px; height: 48px; }
  .x-row__icon svg { width: 24px; height: 24px; }
  .x-row__name { font-size: var(--text-lg); }
  .x-row__what { grid-column: 1 / -1; grid-row: 2; }
  .x-row__go { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .x-row__go::before { left: 10px; top: 17px; width: 14px; }
  .x-row__go::after { left: 16px; top: 13px; }
}
.x-close { position: relative; isolation: isolate; overflow: hidden; background: var(--x-field); color: #fff; padding-block: clamp(80px, 10vw, 140px); margin-top: var(--rhythm-band); }
main:has(> .x-close:last-child) + .m-foot { margin-top: 0; position: relative; isolation: isolate; }
main:has(> .x-close:last-child) + .m-foot::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(85,17,21,0.30) 0%, rgba(85,17,21,0.13) 36%, rgba(85,17,21,0) 100%);
}
main:has(> .x-close:last-child) + .m-foot .m-foot__inner { border-top: 1px solid var(--glass-border-on-brand); padding-top: var(--rhythm-block); }
.x-close::after {
  content: ""; position: absolute; z-index: -1; right: -14vw; top: 50%; transform: translateY(-50%); width: min(62vw, 900px); aspect-ratio: 1; opacity: 0.12;
  background: var(--x-rings) center / contain no-repeat;
}
.x-close__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "t t" "c f"; column-gap: clamp(36px, 5vw, 88px); row-gap: clamp(24px, 3vw, 40px); align-items: start; }
.x-close__t { grid-area: t; margin: 0; color: #fff; font-weight: var(--weight-light); font-size: clamp(3rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; }
.x-close__copy { grid-area: c; }
.x-close__copy p { margin: 24px 0 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; }
.x-close__copy p:first-child { margin-top: 0; }
.x-close__copy .x-close__mail { font-size: 0.9375rem; }
.x-close a { color: #fff; }
.x-close :focus-visible { outline-color: #fff; }
.x-close__form {
  grid-area: f;
  background: #fff; color: var(--neutral-800); border-radius: 28px;
  padding: clamp(24px, 3vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(85, 17, 21, 0.85);
}
.x-close__form :focus-visible { outline-color: var(--red-600); }
.x-close__form a { color: var(--red-600); }
.x-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.m-site .atp-input.x-select,
.m-site .atp-input.x-select:hover,
.m-site .atp-input.x-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c92d37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
@media (max-width: 920px) { .x-close__grid { grid-template-columns: 1fr; grid-template-areas: "t" "c" "f"; } }
@media (max-width: 560px) { .x-close .m-form { grid-template-columns: 1fr; } }
.x-prose { display: flex; flex-direction: column; gap: var(--space-5); }
.x-prose p { margin: 0; font: var(--font-body-lg); color: var(--text-secondary); }
.x-prose .x-prose__hinge { font-family: var(--font-heading); font-weight: var(--weight-medium); font-size: var(--text-xl); color: var(--color-brand-text); }
.x-people { margin-top: 0; padding-top: 0; border-top: 0; }
.x-pendiente { display: inline; padding: 1px 6px; border-radius: 6px; background: #fff4d6; color: #6b4e00; font-size: 0.9em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.x-pendiente--block { display: block; margin-top: var(--space-6); padding: var(--space-3) var(--space-4); }
.m-cta .x-cta-mail { margin: var(--space-5) 0 0; color: rgba(255, 255, 255, 0.94); font: var(--font-ui); }
.m-cta .x-cta-mail a { color: #fff; }
.x-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--space-7) var(--space-6); margin-top: var(--rhythm-block); }
.x-shot { margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.x-shot__ph { aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: var(--radius-xl); border: 1.5px dashed var(--border-strong); background: var(--surface-muted); color: var(--text-muted); font: var(--font-ui); font-size: var(--text-sm); }
.x-shot__cap { font: var(--font-body-base); color: var(--text-secondary); margin: 0; }
.x-shot__t { display: block; margin-bottom: var(--space-2); font-family: var(--font-heading); font-weight: var(--weight-medium); font-size: var(--text-lg); color: var(--text-primary); }
.x-shot--hero { gap: var(--space-4); }
.x-shot--hero .x-shot__ph { background: var(--surface-sunken); }
.x-shot--hero .x-shot__cap { font-size: var(--text-sm); }
.x-subhead { margin: var(--rhythm-block) 0 0; font: var(--font-h3); font-weight: var(--weight-medium); letter-spacing: -0.01em; color: var(--text-primary); }
@media (min-width: 900px) and (max-width: 1199px) {
  .m-steps.x-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-steps.x-steps--4 .m-step::after { display: none; }
}
@media (min-width: 1200px) { .m-steps.x-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-7); } .m-steps.x-steps--4 .m-step:not(:last-child)::after { right: calc(var(--space-7) * -1 + 12px); } }
.m-servgrid.x-toolgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--rhythm-block); }
@media (max-width: 900px) { .m-servgrid.x-toolgrid { grid-template-columns: minmax(0, 1fr); } }
.m-pagehero .x-pendiente--block { margin: var(--space-4) 0 0; }
.x-measure__link { font: var(--font-ui); font-weight: var(--weight-semibold); color: var(--color-brand-text); display: inline-flex; align-items: center; gap: 6px; }
.x-measure__link:hover .m-arrow { transform: translateX(4px); }
.x-whosees .m-point__t { font: var(--font-ui); font-weight: var(--weight-semibold); color: var(--text-primary); margin: 0 0 var(--space-2); }
.x-whosees .m-point__x { font: var(--font-body-base); color: var(--text-secondary); margin: 0; }
#privacidad .m-points { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.m-tool .x-tool-measure { margin: 0; }
