#asd-premium-home {
  --ap-ink: #f4f4ea;
  --ap-muted: #c3d1c8;
  --ap-mint: #a6f4cc;
  --ap-line: rgb(187 228 207 / 19%);
  --ap-serif: Georgia, 'Times New Roman', serif;
  --ap-mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  color: var(--ap-ink);
  background: #080e0c;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

#asd-premium-home *, #asd-premium-home *::before, #asd-premium-home *::after { box-sizing: border-box; }
#asd-premium-home :is(h1, h2, p, figure, ol) { margin: 0; }
#asd-premium-home a { color: inherit; text-decoration: none; }
#asd-premium-home a:focus-visible { outline: 2px solid var(--ap-mint); outline-offset: 5px; }
#asd-premium-home + #root #hero { display: none; }
#asd-premium-home + #root .universe-header-home { background: rgb(7 16 13 / 95%); border-color: rgb(166 244 204 / 20%); }
#asd-premium-home + #root :is(#resolver, #universo-asd, #contacto) { scroll-margin-top: 6rem; }
#asd-inmobiliaria-top:has(+ #asd-premium-home) {
  background: #13241b;
  color: #c3d1c8;
  border-color: #2c483a;
}
#asd-inmobiliaria-top:has(+ #asd-premium-home) strong { color: #f4f4ea; }
#asd-inmobiliaria-top:has(+ #asd-premium-home) a { background: #213c2d; color: #d9fbe6; }
#asd-inmobiliaria-top:has(+ #asd-premium-home) a:is(:hover, :focus-visible) { background: #325742; }
#asd-inmobiliaria-top + #asd-premium-home .ap-hero { padding-top: 0; min-height: clamp(600px, 78svh, 905px); }
.ap-wrap { width: min(100% - 112px, 1320px); margin-inline: auto; }

.ap-hero {
  isolation: isolate;
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(700px, 90svh, 1000px);
  padding-top: 84px;
  background: #06100c;
}

.ap-hero-art, .ap-hero-veil, .ap-hero-grid { position: absolute; inset: 0; pointer-events: none; }
.ap-hero-art { z-index: -3; }
.ap-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 15%;
  transform-origin: 72% 53%;
  animation: ap-arrive 4.8s cubic-bezier(.16,.68,.22,1) both;
}

.ap-hero-veil {
  z-index: -2;
  background: linear-gradient(90deg, #050e0be8 0%, #050e0bc2 25%, #050e0b70 49%, transparent 76%),
              linear-gradient(0deg, #07110ff5 0%, #06100d00 32%, #06100d00 76%, #06100da8 100%);
}

.ap-hero-grid {
  z-index: -1;
  opacity: .36;
  background: repeating-linear-gradient(90deg, #b3e2ca19 0 1px, transparent 1px 12.5%);
  mask-image: linear-gradient(90deg, #000, transparent 42%);
}

.ap-hero-inner { position: relative; display: grid; align-items: center; padding-block: 78px 91px; }
.ap-hero-copy { position: relative; width: max-content; max-width: 100%; }
.ap-kicker, .ap-location-label, .ap-method-frame figcaption, .ap-number, .ap-hero-index {
  font: 500 .72rem/1.4 var(--ap-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-kicker { display: flex; align-items: center; gap: 12px; color: var(--ap-mint); }
.ap-signal { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-mint); box-shadow: 0 0 16px #86ffb9; }
#asd-premium-home h1 {
  margin-top: 26px;
  font: 400 clamp(3.6rem, 6.1vw, 7.05rem)/.98 var(--ap-serif);
  letter-spacing: -.066em;
  text-wrap: balance;
}

#asd-premium-home h1 em { display: inline-block; padding-right: .12em; color: var(--ap-mint); }
#asd-premium-home .ap-intro { max-width: 31rem; margin-top: 29px; color: var(--ap-muted); font-size: clamp(.98rem, 1.27vw, 1.19rem); }
.ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.ap-button {
  display: inline-flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--ap-line);
  border-radius: 7px;
  font-size: .89rem;
  font-weight: 650;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

#asd-premium-home .ap-button-primary { background: var(--ap-mint); color: #082317; border-color: var(--ap-mint); }
.ap-button-primary:hover { background: #d5ffe6 !important; }
.ap-button-glass { background: rgb(10 23 17 / 62%); backdrop-filter: blur(12px); }
.ap-button-glass:hover { background: rgb(40 75 59 / 75%); border-color: var(--ap-mint); }
.ap-button:hover { transform: translateY(-2px); }
.ap-button span, .ap-path-arrow, .ap-text-link span { font-size: 1.22rem; line-height: 1; }
.ap-hero-index { position: absolute; right: 76px; bottom: 29px; display: flex; align-items: center; gap: 11px; color: #ccddd3; }
.ap-hero-index i { display: block; width: 35px; height: 1px; background: var(--ap-mint); }

.ap-location { border-top: 1px solid var(--ap-line); background: #0b1612b8; }
.ap-location-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding-block: 12px; }
.ap-location-label { color: var(--ap-mint); }
.ap-location-label span { margin-right: 4px; }
.ap-location a { font-size: .84rem; white-space: nowrap; }
.ap-location a span { margin-left: 3px; color: var(--ap-mint); }
.ap-location a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 681px) {
  .ap-location-inner { padding-inline-end: 100px; }
}

.ap-paths { border-block: 1px solid var(--ap-line); background: #101c17; }
.ap-paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-paths-grid > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 15px;
  padding: 30px clamp(14px, 2.3vw, 36px);
  border-inline-start: 1px solid var(--ap-line);
  transition: background .24s ease;
}

.ap-paths-grid > a:last-child { border-inline-end: 1px solid var(--ap-line); }
.ap-paths-grid > a:hover { background: #213b2f; }
.ap-number { color: var(--ap-mint); }
.ap-path-name { font-size: 1.13rem; font-weight: 610; line-height: 1.25; }
.ap-path-name small { display: block; margin-top: 6px; color: var(--ap-muted); font-size: .78rem; font-weight: 450; line-height: 1.5; }
.ap-path-arrow { color: var(--ap-mint); transition: transform .22s ease; }
.ap-paths-grid > a:hover .ap-path-arrow { transform: translate(3px, -3px); }

.ap-method { padding-block: clamp(65px, 9vw, 140px); background: radial-gradient(ellipse at 12% 95%, #142a22, transparent 59%), #080e0c; }
.ap-method-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 6vw, 92px); }
.ap-method-frame { position: relative; border: 1px solid var(--ap-line); border-radius: 12px; background: #111e18; overflow: hidden; }
.ap-method-image { aspect-ratio: 1.12; overflow: hidden; }
.ap-method-image img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; transition: transform .65s cubic-bezier(.16,.68,.22,1); }
.ap-method-frame:hover img { transform: scale(1.055); }
.ap-method-frame figcaption { display: flex; align-items: center; gap: 10px; padding: 19px; color: var(--ap-mint); border-top: 1px solid var(--ap-line); }
#asd-premium-home h2 { margin-top: 18px; font: 400 clamp(2.25rem, 3.7vw, 4.15rem)/1.04 var(--ap-serif); letter-spacing: -.05em; }
#asd-premium-home h2 em { color: var(--ap-mint); }
#asd-premium-home .ap-steps { list-style: none; padding: 0; margin-top: 26px; border-top: 1px solid var(--ap-line); }
.ap-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--ap-line); }
.ap-steps .ap-number { padding-top: 5px; }
.ap-steps strong { font-size: .94rem; font-weight: 650; }
.ap-steps p { color: var(--ap-muted); font-size: .87rem; }
#asd-premium-home .ap-text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; color: var(--ap-mint); font-size: .88rem; font-weight: 650; }
.ap-text-link:hover { text-decoration: underline !important; text-underline-offset: 5px; }

@keyframes ap-arrive { from { transform: scale(1.09) translateX(1%); } to { transform: scale(1); } }

@media (min-width: 681px) and (max-width: 950px) {
  .ap-wrap { width: calc(100% - 64px); }
  .ap-hero-art img { object-position: 63% 35%; }
  .ap-paths-grid > a { gap: 9px; }
}

@media (max-width: 680px) {
  .ap-wrap { width: calc(100% - 40px); }
  .ap-hero { min-height: 0; padding-top: 65px; }
  .ap-hero-art { inset: 52px 0 auto; height: min(102vw, 490px); }
  #asd-inmobiliaria-top + #asd-premium-home .ap-hero { min-height: 0; }
  #asd-inmobiliaria-top + #asd-premium-home .ap-hero-art { inset-block-start: 0; }
  .ap-hero-art img { object-position: center 34%; transform-origin: 50% 39%; }
  .ap-hero-veil { background: linear-gradient(0deg, #07100e 26%, #07100efa 39%, #07100e75 64%, transparent 85%), linear-gradient(180deg, #07100e 2%, transparent 20%); }
  .ap-hero-grid { display: none; }
  .ap-hero-inner { padding-block: clamp(230px, 61vw, 328px) 37px; }
  .ap-hero-copy { width: 100%; }
  #asd-premium-home h1 { margin-top: 14px; font-size: clamp(2.6rem, 8.7vw, 4rem); text-wrap: initial; }
  #asd-premium-home .ap-intro { margin-top: 19px; }
  .ap-actions { margin-top: 20px; gap: 8px; }
  .ap-button { min-height: 47px; padding: 9px 12px; gap: 9px; font-size: .78rem; }
  .ap-hero-index { display: none; }
  .ap-location-inner { justify-content: flex-start; flex-wrap: wrap; column-gap: 18px; row-gap: 7px; padding-block: 13px; }
  .ap-location-label { flex-basis: 100%; }
  .ap-location a { font-size: .74rem; }
  .ap-paths-grid, .ap-method-grid { grid-template-columns: 1fr; }
  .ap-paths-grid > a, .ap-paths-grid > a:last-child { padding: 16px 2px; border-inline: 0; }
  .ap-paths-grid > a + a { border-top: 1px solid var(--ap-line); }
  .ap-path-name { font-size: 1rem; }
  .ap-method-frame { order: 2; }
  .ap-method-image { aspect-ratio: 1.43; }
}

@media (prefers-reduced-motion: reduce) {
  #asd-premium-home *, #asd-premium-home *::before, #asd-premium-home *::after {
    animation: none !important;
    transition: none !important;
  }
}
