.motion-hero, .sales-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.motion-hero {
  --ink-x: 75%;
  --ink-y: 48%;
  --tail-x: 72%;
  --tail-y: 53%;
  --drift-x: 0px;
  --drift-y: 0px;
  display: grid;
  align-items: center;
  min-height: clamp(600px, calc(100svh - var(--header-height) - 26px), 760px);
  background: var(--ink);
  color: var(--paper);
}
.motion-plate, .motion-image, .motion-ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.motion-plate {
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 51%, var(--indigo), var(--ink) 65%);
  pointer-events: none;
}
.motion-image, .motion-ink {
  transform: translate3d(var(--drift-x), calc(var(--drift-y) + var(--scroll-shift, 0px)), 0) scale(1.1);
}
.motion-image { object-fit: cover; object-position: 58% 53%; }
.motion-ink {
  opacity: 0;
  background: url("assets/lumai-vidrio-tinta.webp") 58% 53% / cover no-repeat;
  filter: brightness(1.64) saturate(1.45);
  mask-image:
    radial-gradient(ellipse 19% 25% at var(--ink-x) var(--ink-y), #000 14%, transparent 100%),
    radial-gradient(ellipse 14% 17% at var(--tail-x) var(--tail-y), #000 8%, transparent 100%);
  transition: opacity 380ms ease;
}
.motion-hero.is-tracking .motion-ink { opacity: .9; }
.motion-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #12111f 0%, #12111ff5 22%, #12111fcc 41%, transparent 72%),
    linear-gradient(0deg, #12111fa3, transparent 20%);
}
.motion-inner { padding-block: 62px 70px; }
.hero-copy { max-width: 850px; }
.motion-hero .eyebrow { color: #f0e8ff; margin-bottom: clamp(20px, 2.6vw, 32px); }
.motion-hero .square { vertical-align: 1px; }
.motion-hero h1 { max-width: 850px; font-size: clamp(3.3rem, 6.2vw, 6rem); line-height: 1; letter-spacing: -.055em; }
.motion-hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--peach); }
.motion-hero .lead {
  margin-top: clamp(22px, 3.3vw, 39px);
  max-width: 610px;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: #f2ecfa;
}
.hero-actions { margin-top: 23px; display: grid; justify-items: start; gap: 3px; }
.hero-demos { display: flex; flex-wrap: wrap; gap: 10px 23px; margin-top: 9px; }
.hero-demos a { display: inline-flex; align-items: center; min-height: 44px; color: #f0e8ff; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-demos a:hover { color: var(--peach); }
.hero-offer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 23px;
  padding: 13px 16px;
  border: 1px solid #eee4ff54;
  border-radius: 15px;
  background: linear-gradient(140deg, #33284aeb, #17152cda);
  box-shadow: inset 0 1px 0 #eee4ff22;
}
.hero-offer-name { color: #f0e8ff; font-size: 1rem; font-weight: 700; }
.hero-offer-description { max-width: 285px; color: #f0e8ff; font-size: .875rem; line-height: 1.4; margin: 3px 0 7px; }
.hero-offer-price { line-height: 1.2; margin: 4px 0 3px; }
.hero-offer-price strong { font: 800 2.1rem/1 Nunito, Arial, sans-serif; letter-spacing: -.045em; color: var(--peach); }
.hero-offer-price span, .hero-offer-items { color: #f0e8ff; font-size: .875rem; }
.hero-offer .button { gap: 12px; }
.motion-hero .text-link:hover { color: var(--peach); }
.motion-hero a:focus-visible, .proof a:focus-visible, .contact :is(a, summary):focus-visible { outline-color: var(--peach); }

.sales-panel { border-block-start: 1px solid #ece4ff2b; }
.panel-inner { padding-block: clamp(48px, 7vw, 105px); }
.services { background: #f4f0f9; }
.services-ink, .proof-ink, .contact-ink {
  position: absolute;
  inset: -80px 0;
  z-index: -1;
  pointer-events: none;
  transform: translate3d(0, var(--scroll-shift, 0px), 0);
}
.services-ink {
  background:
    radial-gradient(ellipse at 80% 24%, #c9c0eb, transparent 46%),
    radial-gradient(ellipse at 18% 87%, #f5d1bc, transparent 40%),
    linear-gradient(145deg, #f6f3fb, #eeebf7 62%, #f5eff0);
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 17px 35px; margin-bottom: clamp(24px, 4vw, 48px); }
.section-heading h2 em { color: var(--indigo); }
.section-heading > p { max-width: 290px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.9vw, 42px);
  border: 1px solid #fff;
  border-radius: 19px;
  background: linear-gradient(148deg, #ffffffd9, #ffffff59);
  box-shadow: 0 14px 32px #2a256015, inset 0 1px 0 #fff;
}
.service-card .eyebrow { color: #4a3a7d; }
.service-card h3 { font-size: clamp(1.5rem, 2.35vw, 2.3rem); line-height: 1.06; margin: 12px 0; }
.service-card > p:not(.eyebrow) { color: var(--muted); margin-bottom: 21px; }
.service-card .text-link { align-self: flex-start; margin-top: auto; color: #3d286f; }
.service-card .text-link:hover { color: #923300; }
.service-card-featured {
  border-color: #f4af7c;
  background: linear-gradient(150deg, #fffcf9, #fff2e8);
}
.package-offer {
  margin: 2px 0 17px;
  padding-block: 13px;
  border-block: 1px solid #2a256025;
}
.package-name { color: var(--muted); font-size: .875rem; font-weight: 700; }
.package-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 7px;
  line-height: 1.08;
  margin-block: 5px 10px;
}
.package-price strong { font: 800 clamp(2.1rem, 3.2vw, 3.2rem)/1 Nunito, Arial, sans-serif; letter-spacing: -.055em; }
.package-price span { color: var(--muted); font-size: .875rem; }
.package-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--indigo);
  font-size: .875rem;
}
.package-items li { white-space: nowrap; }
.service-card-featured .button { align-self: flex-start; margin-top: auto; gap: 10px; padding-inline: 17px; }
.service-card .package-scope-link { margin-top: 8px; }
.service-card .service-descriptor { margin-bottom: 6px; }


.essential-scope {
  margin-top: 21px;
  padding: clamp(22px, 3.5vw, 44px);
  border: 1px solid #dfd3ed;
  border-radius: 19px;
  background: #fffdfbe6;
}
.essential-scope-heading { max-width: 700px; margin-bottom: 24px; }
.essential-scope-heading h3 { font-size: clamp(1.65rem, 3vw, 2.75rem); line-height: 1.1; }
.essential-scope-heading p { color: var(--muted); margin-top: 9px; }
.essential-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.essential-scope-grid h4 { font-size: 1rem; margin: 0 0 12px; color: var(--indigo); }
.essential-scope-grid ul { margin: 0; padding-left: 19px; color: var(--muted); }
.essential-scope-grid li + li { margin-top: 11px; }
.essential-scope-terms { border-top: 1px solid #2a256025; padding-top: 19px; margin-top: 25px; color: var(--muted); }

.store-offer {
  margin-top: 21px;
  padding: clamp(18px, 3.5vw, 44px);
  border: 1px solid #dfd3ed;
  border-radius: 19px;
  background: linear-gradient(125deg, #fffdfb, #eeecf9);
  box-shadow: 0 14px 32px #2a256012, inset 0 1px 0 #fff;
}
.store-offer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 18px clamp(25px, 5vw, 72px);
  margin-bottom: 17px;
}
.store-offer h3 { font-size: clamp(1.65rem, 3.5vw, 2.75rem); line-height: 1.06; }
.store-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 9px; }
.store-offer-price strong { color: var(--indigo); font: 800 clamp(2.4rem, 4.9vw, 4rem)/1 Nunito, Arial, sans-serif; letter-spacing: -.055em; }
.store-offer-price span, .store-offer-payment, .store-offer-timing { color: var(--muted); font-size: 14px; }
.store-offer-description { margin-top: 10px; color: var(--muted); max-width: 560px; }
.store-offer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.store-offer-actions p { margin-bottom: 9px; }
.store-offer-actions .text-link { color: var(--indigo); }
.store-offer-actions .button { gap: 9px; padding-inline: 14px; }
.store-offer-details { border-block: 1px solid #2a256027; }
.store-offer-details details + details { border-top: 1px solid #2a256027; }
.store-offer-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
.store-offer-details summary::-webkit-details-marker { display: none; }
.store-offer-details summary span { color: var(--indigo); font-size: 20px; }
.store-offer-details details[open] summary span { transform: rotate(45deg); }
.store-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 30px; padding-bottom: 16px; }
.store-scope h4 { margin: 0 0 5px; font-size: 15px; }
.store-scope ul { margin: 0; padding-left: 18px; }
.store-scope ul, .store-terms { color: var(--muted); font-size: 14px; }
.store-terms { display: grid; gap: 8px; max-width: 780px; padding-bottom: 16px; }
.store-offer-timing { margin-top: 12px; }

.proof { background: #191431; color: var(--paper); }
.proof-ink {
  background: linear-gradient(120deg, #17132b 15%, #281d5bdf 53%, #12111fbb 85%),
    url("assets/lumai-vidrio-tinta.webp") 75% 44% / cover no-repeat;
  opacity: .85;
}
.proof-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 6vw, 82px); }
.proof .eyebrow { color: #eee2ff; margin-bottom: 17px; }
.proof h2 em, .contact h2 em { color: var(--peach); }
.proof-copy > p:not(.eyebrow), .contact h2 + p { color: #f3eafb; max-width: 440px; margin: 20px 0 24px; }
.button-glass { color: white; background: #f6ecff17; border-color: #eee2ff65; }
.button-glass:hover { background: #f6ecff32; border-color: #eee2ff95; }
.portal-preview {
  min-width: 0;
  display: block;
  padding: clamp(11px, 2.4vw, 24px);
  border: 1px solid #e9dcff5c;
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, #e9dcff27, #9174c922);
  box-shadow: 0 26px 68px #07041e67, inset 0 1px 0 #f3e8ff3b;
  transition: background .25s ease, border-color .25s ease;
}
.portal-preview:hover { border-color: #e9dcffbf; background: #e9dcff36; }
.portal-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 3px 11px;
  font-size: 12px;
  color: #f0e6ff;
}
.portal-preview-bar img { width: 56px; height: auto; }
.portal-preview-body {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 13px;
  background: #fffbf6;
  color: var(--ink);
}
.portal-preview-photo { width: 100%; height: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.portal-preview-detail { display: grid; align-content: center; gap: 8px; padding: clamp(12px, 3vw, 27px); font-size: 13px; }
.portal-preview-detail strong { padding-block: 3px; border-bottom: 1px solid #e9dccf; }
.portal-preview-link { color: #4a277b; font-weight: 700; margin-top: 5px; }

.contact { background: #17111f; color: var(--paper); }
.contact-ink {
  background:
    radial-gradient(ellipse at 4% 75%, #69371f, transparent 46%),
    radial-gradient(ellipse at 93% 20%, #422675, transparent 53%),
    #17111f;
  opacity: .68;
}
.contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.contact h2 { max-width: 650px; }
.contact-questions {
  padding: 8px clamp(15px, 2.5vw, 32px);
  border: 1px solid #ffdac045;
  border-radius: 17px;
  background: linear-gradient(150deg, #ffdac016, #f5e6ff0d);
}
.contact-questions details + details { border-top: 1px solid #f5e6ff35; }
.contact-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 16px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}
.contact-questions summary::-webkit-details-marker { display: none; }
.contact-questions summary span { font-size: 21px; color: var(--peach); }
.contact-questions details[open] span { transform: rotate(45deg); }
.contact-questions details p { color: #f3eafb; font-size: 14px; padding-bottom: 16px; }

.motion-reveal { animation: content-rise 640ms cubic-bezier(.2, .75, .25, 1) both; }
@keyframes content-rise {
  from { transform: translateY(24px); opacity: .5; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 800px) {
  .motion-hero { align-items: start; min-height: 610px; }
  .motion-inner { padding-block: 38px 160px; }
  .hero-actions .hero-services { display: none; }
  .hero-demos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 435px);
    margin-top: 7px;
  }
  .hero-demos a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 49px;
    padding: 8px 11px;
    border: 1px solid #eee4ff70;
    border-radius: 12px;
    background: #251e3deb;
    color: var(--paper);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
  }
  .hero-demos a:hover { border-color: var(--peach); }
  .hero-demos a span { color: var(--peach); }
  .motion-hero h1 { font-size: clamp(2.7rem, 7.5vw, 4.7rem); }
  .motion-plate { inset: auto 0 0; height: 66%; }
  .motion-image, .motion-ink { object-position: 75% 52%; background-position: 75% 52%; }
  .motion-plate::after {
    background:
      linear-gradient(180deg, #12111f, #12111fc4 28%, transparent 63%, #12111f69),
      linear-gradient(90deg, #12111fa8, transparent 82%);
  }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .service-grid { gap: 11px; }
  .proof-grid, .contact-grid { gap: 26px; }
}
@media (max-width: 690px) {
  .service-grid, .proof-grid, .contact-grid, .essential-scope-grid { grid-template-columns: minmax(0, 1fr); }
  .store-offer-top, .store-scope { grid-template-columns: minmax(0, 1fr); }
  .service-card > p:not(.eyebrow) { margin-bottom: 10px; }
  .portal-preview { max-width: 540px; }
}
@media (max-width: 430px) {
  .motion-hero { min-height: 570px; }
  .motion-inner { padding-block: 26px 115px; }
  .motion-hero .eyebrow { font-size: 10px; margin-bottom: 19px; }
  .motion-hero .lead { margin-top: 18px; font-size: 1rem; line-height: 1.5; }
  .hero-actions { margin-top: 14px; }
  .hero-offer { padding: 12px 13px; }
  .hero-offer .button { width: 100%; min-height: 48px; padding-inline: 16px; font-size: .875rem; justify-content: center; text-align: center; }
}
@media (max-width: 350px) {
  :root { --header-height: 56px; }
  .motion-inner { padding-top: 18px; }
  .motion-hero .eyebrow { margin-bottom: 13px; }
  .motion-hero h1 { font-size: 2.5rem; }
  .motion-hero .lead { font-size: 1rem; line-height: 1.5; }
  .hero-actions { margin-top: 12px; }
  .hero-offer { gap: 7px; padding: 8px 11px; }
  .hero-offer-name, .hero-offer-items { line-height: 1.3; }
  .hero-offer-price strong { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-image, .motion-ink, .services-ink, .proof-ink, .contact-ink { transform: none; }
  .motion-ink { display: none; }
}
