:root {
  --orange: #e98c65;
  --blue: #30779b;
  --purple-dark: #4e1f4f;
  --purple: #9d428d;
  --ink: #130d1b;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f8f4fb;
  --muted: #cfc4d7;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1160px;
  --radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(157, 66, 141, 0.38), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(48, 119, 155, 0.42), transparent 28rem),
    linear-gradient(145deg, #100b17 0%, #21102d 48%, #0c1720 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(90deg, transparent 97%, rgba(255,255,255,.35) 100%), linear-gradient(transparent 97%, rgba(255,255,255,.35) 100%);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  background: rgba(13, 9, 21, .74);
  transition: width .32s ease, inset .32s ease, padding .32s ease, border-radius .32s ease, background .32s ease, box-shadow .32s ease, transform .32s ease;
}

.site-header.is-compact {
  top: 1rem;
  left: 50%;
  right: auto;
  width: min(920px, calc(100% - 2rem));
  min-height: 54px;
  padding: 0 .7rem;
  border: 1px solid rgba(233, 140, 101, .28);
  border-radius: 999px;
  background: rgba(18, 12, 28, .9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  overflow: hidden;
}

main {
  padding-top: 86px;
}

.brand img {
  width: 84px;
  transition: width .25s ease, opacity .25s ease;
}

.brand,
.menu-toggle {
  align-self: center;
}

.site-header.is-compact .brand img {
  width: 44px;
}

.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}

.primary-nav a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  overflow: visible;
  min-height: 100%;
  padding: .7rem .95rem;
  border-radius: 0;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.primary-nav a::before {
  content: "";
  position: absolute;
  inset: 0 -1.1rem;
  z-index: -1;
  background: linear-gradient(110deg, #f9c754 0 58%, var(--orange) 58% 100%);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  opacity: 0;
  transform: scaleX(.9);
  transform-origin: left center;
  transition: opacity .2s ease, transform .24s ease;
  pointer-events: none;
}

.primary-nav svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--orange);
  transition: color .2s ease, transform .2s ease;
}

.primary-nav a:hover {
  color: #fff;
  z-index: 2;
  transform: none;
  box-shadow: 0 14px 30px rgba(233, 140, 101, .18);
}

.primary-nav a:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.primary-nav a:hover svg {
  color: #fff;
  transform: translateY(-1px);
}

.site-header.is-compact .primary-nav a {
  min-height: 100%;
  padding: .58rem .76rem;
  font-size: .88rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 86px);
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #170d1f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 5s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 9, 24, .94), rgba(17, 9, 24, .55) 48%, rgba(17, 9, 24, .18)),
    linear-gradient(0deg, rgba(17, 9, 24, .8), transparent 45%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(8rem, 12vw, 10rem);
}

.hero-slide__content h1,
.hero-slide__content h2,
.section-copy h2,
.glass-card h2 {
  margin: 0;
  line-height: .96;
  letter-spacing: 0;
}

.hero-slide__content h1,
.hero-slide__content h2 {
  max-width: 820px;
  font-size: clamp(3rem, 5.8vw, 5.1rem);
}

.hero-slide__content p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.credit-card:hover,
.location-card:hover,
.value-orbit article:hover {
  transform: translateY(-5px);
}

.btn--primary {
  color: #180b18;
  background: linear-gradient(135deg, var(--orange), #f6b37d);
  box-shadow: 0 18px 44px rgba(233, 140, 101, .25);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
}

.hero-slider__nav {
  position: absolute;
  left: clamp(1rem, 6vw, 5rem);
  right: clamp(1rem, 6vw, 5rem);
  bottom: 1.4rem;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.hero-slider__tab {
  display: grid;
  gap: .25rem;
  min-height: 74px;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 12, 28, .72);
  backdrop-filter: blur(16px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-slider__tab:hover,
.hero-slider__tab.is-active {
  border-color: rgba(233, 140, 101, .7);
  background: linear-gradient(135deg, rgba(78, 31, 79, .86), rgba(48, 119, 155, .78));
  transform: translateY(-3px);
}

.hero-slider__tab span {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
}

.hero-slider__tab strong {
  color: #fff;
}

.hero-slider__controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  gap: .5rem;
}

.hero-slider__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 12, 28, .72);
  backdrop-filter: blur(14px);
  transition: background .2s ease, transform .2s ease;
}

.hero-slider__arrow:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
}

.asset-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0,0,0,.45);
  font-size: .76rem;
  z-index: 3;
}

.intro-grid,
.split,
.request {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.section-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
}

.section-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.value-orbit,
.credit-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-orbit article,
.credit-card,
.glass-card,
.lead-form,
.location-card,
details,
.contact-panel a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
}

.glass-card {
  margin: 0;
}

.value-orbit article,
.credit-card,
.glass-card,
.location-card {
  padding: 1.2rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.value-orbit article:hover,
.credit-card:hover,
.location-card:hover {
  border-color: rgba(233,140,101,.55);
  background: var(--surface-strong);
}

.value-orbit svg,
.credit-card svg,
.contact-panel svg {
  color: var(--orange);
}

.credit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.credit-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(78, 31, 79, .9), rgba(48, 119, 155, .72));
}

.credit-card--consumo {
  --credit-bg: url("../img/creditos/credito-consumo-900x640.png");
}

.credit-card--vehicular {
  --credit-bg: url("../img/creditos/credito-vehicular-900x640.png");
}

.credit-card--vivienda {
  --credit-bg: url("../img/creditos/credito-vivienda-900x640.png");
}

.credit-card--microcredito {
  --credit-bg: url("../img/creditos/microcredito-900x640.png");
}

.credit-card--comercial {
  --credit-bg: url("../img/creditos/credito-comercial-900x640.png");
}

.credit-card--hipotecario {
  --credit-bg: url("../img/creditos/credito-hipotecario-900x640.png");
}

.credit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--credit-bg) center / cover no-repeat;
  filter: saturate(1.05) brightness(1.14);
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

.credit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 9, 21, .88) 0%, rgba(78, 31, 79, .58) 44%, rgba(233, 140, 101, .1) 72%, rgba(255, 255, 255, .06) 100%);
}

.credit-card:hover::before {
  filter: saturate(1.1) brightness(1.24);
  transform: scale(1.08);
}

.credit-card > svg,
.credit-card h3,
.credit-card p,
.credit-card__button {
  position: relative;
  z-index: 1;
}

.credit-card > svg {
  width: 34px;
  height: 34px;
  padding: .45rem;
  border-radius: 999px;
  color: #170d18;
  background: var(--orange);
}

.credit-card__button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin-top: 0;
  padding: .45rem .72rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #170d18;
  background: linear-gradient(135deg, var(--orange), #f9c754);
  font-size: .78rem;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.credit-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(233, 140, 101, .24);
}

.credit-card h3,
.value-orbit h3,
.location-card h3 {
  margin: .8rem 0 .4rem;
}

.credit-card p,
.value-orbit p,
.location-card p,
details p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

legend {
  padding: 0 .6rem;
  color: var(--orange);
  font-weight: 800;
}

.process-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.process-showcase__copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: .96;
}

.process-showcase__copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.process-showcase__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: #f8fbff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

.process-showcase__visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.process-showcase__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
  padding: .85rem;
  list-style-position: inside;
  color: #4e1f4f;
  background: rgba(255, 255, 255, .94);
  font-size: .82rem;
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

label {
  display: grid;
  gap: .45rem;
  color: var(--muted);
  font-size: .9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem .9rem;
  color: var(--text);
  background: rgba(255,255,255,.08);
  font: inherit;
}

select {
  color-scheme: dark;
  color: var(--text);
  background-color: rgba(255,255,255,.08);
}

select option {
  color: #170d18;
  background: #ffffff;
}

select option:checked,
select option:hover {
  color: #170d18;
  background: #f9c754;
}

textarea,
.check,
.lead-form .btn {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: center;
}

.check input {
  width: auto;
}

.location-card {
  position: relative;
  overflow: hidden;
}

.location-card img {
  min-height: 260px;
  margin: -1.2rem -1.2rem 1rem;
  width: calc(100% + 2.4rem);
}

.location-card a,
.contact-panel a {
  color: var(--orange);
  font-weight: 800;
}

.location-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.location-showcase__copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: .96;
}

.location-showcase__copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.location-facts {
  display: grid;
  gap: .8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.location-facts li {
  display: grid;
  gap: .2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.location-facts strong {
  color: #fff;
}

.location-facts span {
  color: var(--muted);
}

.location-showcase__slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 76%);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: .4rem .4rem 1rem;
}

.location-showcase__slider::-webkit-scrollbar {
  height: 8px;
}

.location-showcase__slider::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(233, 140, 101, .55);
}

.location-showcase .location-card {
  display: grid;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.location-showcase .location-card:hover {
  transform: translateY(-5px);
}

.location-card__media {
  position: relative;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
}

.location-card__media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, .48);
  font-size: .74rem;
}

.location-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  margin: 0;
  transition: opacity .35s ease, transform .45s ease;
}

.location-card__image--hover {
  opacity: 0;
  transform: scale(1.04);
}

.location-card:hover .location-card__image--primary {
  opacity: 0;
  transform: scale(1.04);
}

.location-card:hover .location-card__image--hover {
  opacity: 1;
  transform: scale(1);
}

.location-card__body {
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: 1.2rem;
}

.location-card__tag {
  width: fit-content;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(233, 140, 101, .12);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  margin-top: .5rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  color: #170d18 !important;
  background: linear-gradient(135deg, var(--orange), #f9c754);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.location-card__button svg {
  width: 18px;
  height: 18px;
}

.location-card:hover .location-card__button {
  opacity: 1;
  transform: translateY(0);
}

details {
  padding: 1rem 1.2rem;
  margin-top: .8rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.partners-strip {
  width: 100%;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 40%, rgba(157, 66, 141, .24), transparent 28rem),
    radial-gradient(circle at 88% 52%, rgba(48, 119, 155, .24), transparent 26rem),
    rgba(12, 8, 18, .62);
}

.partners-strip__copy {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 2rem;
}

.partners-strip__copy h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  line-height: .96;
}

.partners-strip__copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.partners-marquee {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: partners-scroll 26s linear infinite;
}

.partners-marquee:hover {
  animation-play-state: paused;
}

.partners-marquee__track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
}

.partners-marquee span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 176px;
  min-height: 76px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.partners-marquee svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}

.contact-panel a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr 1.15fr;
  gap: 2rem;
  padding: 3rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  background: rgba(8, 6, 12, .72);
}

.site-footer nav {
  display: grid;
  gap: .55rem;
}

.site-footer a,
.legal {
  color: var(--muted);
}

.footer-map {
  display: grid;
  gap: .7rem;
}

.footer-map strong {
  color: #fff;
}

.footer-map iframe {
  width: 100%;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(.9) contrast(.95);
}

.footer-map a {
  color: var(--orange);
  font-weight: 800;
}

.footer-contact {
  align-content: start;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.footer-contact .whatsapp-button {
  justify-content: center;
  width: fit-content;
  margin-top: .4rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .22);
}

.footer-contact .whatsapp-button svg {
  color: #fff;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #170d18;
  background: var(--orange);
  box-shadow: 0 18px 38px rgba(0,0,0,.24);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}

body.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  main {
    padding-top: 78px;
  }

  .site-header,
  .site-header.is-compact {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    border-radius: 0;
    min-height: 78px;
    padding: .75rem 1rem;
    overflow: visible;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(13, 9, 21, .96);
  }

  .primary-nav a {
    justify-content: flex-start;
    min-height: 44px;
    border-radius: var(--radius);
  }

  .primary-nav.is-open { display: flex; }

  .intro-grid,
  .split,
  .request,
  .process-showcase,
  .location-showcase,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: calc(100vh - 78px);
  }

  .hero-slide__content {
    padding: 2rem;
    padding-bottom: 8.5rem;
  }

  .hero-slider__nav {
    left: 1rem;
    right: 1rem;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: .2rem;
  }

  .credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-showcase__visual {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .hero-slide__content h1,
  .hero-slide__content h2 {
    font-size: clamp(2.45rem, 11.6vw, 3.1rem);
  }

  .hero-slider {
    width: 100%;
    min-height: calc(100vh - 78px);
    margin-top: 0;
  }

  .hero-slide__content {
    padding: 1.2rem;
    padding-bottom: 8.4rem;
  }

  .hero-slider__controls {
    top: .7rem;
    right: .7rem;
  }

  .value-orbit,
  .credit-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .process-showcase__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-showcase__slider {
    grid-auto-columns: minmax(280px, 86%);
  }

  .location-showcase .location-card {
    min-height: 520px;
  }

  textarea,
  .check,
  .lead-form .btn {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
