/* Frosted plum surfaces. Opaque defaults preserve legibility without backdrop-filter. */
body.crescentria-home {
  --home-glass-base: #2b1023;
  --home-glass-tint: rgba(37,8,29,.68);
  --home-glass-fill:var(--home-glass-base);
  --home-glass-edge: rgba(255,222,244,.24);
  --home-glass-reflection: linear-gradient(135deg,rgba(255,232,248,.1),rgba(255,232,248,.025) 40%,rgba(255,232,248,0) 70%);
  --home-glass-shadow: 0 18px 40px rgba(12,0,8,.23),inset 0 1px 0 rgba(255,231,247,.14),inset 0 -1px 0 rgba(255,231,247,.035);
}

body.crescentria-home #inicio .home-idea-card,
body.crescentria-home #productos .home-demo-panel,
body.crescentria-home #productos .home-demo-next,
body.crescentria-home #servicios .service-card,
body.crescentria-home #alianzas .partner-card {
  background-color:var(--home-glass-base);
  background-image:var(--home-glass-reflection);
  border-color:var(--home-glass-edge);
  border-top-color:rgba(255,231,247,.36);
  box-shadow:var(--home-glass-shadow);
}
body.crescentria-home #servicios .service-card:first-child {
  background-color:var(--home-glass-fill);
  background-image:var(--home-glass-reflection),linear-gradient(160deg,rgba(143,0,95,.18),transparent 75%);
}
body.crescentria-home #inicio .home-idea-card strong,
body.crescentria-home #inicio .hero-system-label { color:#fff0fa; }
body.crescentria-home #inicio .home-idea-card small { color:#f2d7e8; }
body.crescentria-home #inicio .hero-system-label-content {
  background-color:var(--home-glass-base);
  background-image:var(--home-glass-reflection);
  border-color:rgba(255,231,247,.28);
  box-shadow:0 8px 24px rgba(12,0,8,.12),inset 0 1px 0 rgba(255,231,247,.14);
}
body.crescentria-home #inicio .hero-btn-secondary {
  background-color:var(--home-glass-base);
  background-image:var(--home-glass-reflection);
  border-color:rgba(255,231,247,.3);
  box-shadow:inset 0 1px 0 rgba(255,231,247,.12);
}
body.crescentria-home #crescentria-header.scrolled {
  background-color:rgba(31,3,23,.96);
  background-image:linear-gradient(110deg,rgba(255,231,247,.055),transparent 65%);
  border-bottom-color:var(--home-glass-edge);
  box-shadow:0 8px 28px rgba(12,0,8,.16),inset 0 -1px 0 rgba(255,231,247,.04);
}
body.crescentria-home #productos {
  background:radial-gradient(ellipse at 85% 30%,rgba(155,48,114,.16),transparent 58%),rgba(12,0,8,.3);
}
body.crescentria-home #servicios {
  background-image:radial-gradient(ellipse at 8% 45%,rgba(143,0,95,.14),transparent 54%),radial-gradient(ellipse at 92% 75%,rgba(196,95,159,.07),transparent 45%);
}
body.crescentria-home #contacto .cta-container {
  border-top-color:rgba(255,231,247,.32);
  box-shadow:inset 0 1px 0 rgba(255,231,247,.1),0 20px 50px rgba(12,0,8,.2);
}

@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body.crescentria-home { --home-glass-fill:var(--home-glass-tint); }
  body.crescentria-home #inicio .home-idea-card,
  body.crescentria-home #productos .home-demo-panel,
  body.crescentria-home #productos .home-demo-next,
  body.crescentria-home #servicios .service-card,
  body.crescentria-home #alianzas .partner-card {
    background-color:var(--home-glass-tint);
    -webkit-backdrop-filter:blur(14px) saturate(115%);
    backdrop-filter:blur(14px) saturate(115%);
  }
  body.crescentria-home #inicio .hero-system-label-content,
  body.crescentria-home #inicio .hero-btn-secondary {
    background-color:rgba(31,5,23,.74);
    -webkit-backdrop-filter:blur(10px) saturate(115%);
    backdrop-filter:blur(10px) saturate(115%);
  }
  body.crescentria-home #inicio .home-idea-card { background-color:rgba(37,8,29,.78); }
  body.crescentria-home #crescentria-header.scrolled {
    background-color:rgba(31,3,23,.78);
    -webkit-backdrop-filter:blur(16px) saturate(115%);
    backdrop-filter:blur(16px) saturate(115%);
  }
  @media(max-width:767px) {
    body.crescentria-home { --home-glass-fill:rgba(37,8,29,.82); }
    body.crescentria-home #inicio .home-idea-card,
    body.crescentria-home #productos .home-demo-panel,
    body.crescentria-home #productos .home-demo-next,
    body.crescentria-home #servicios .service-card,
    body.crescentria-home #alianzas .partner-card {
      background-color:rgba(37,8,29,.82);
      -webkit-backdrop-filter:blur(8px);
      backdrop-filter:blur(8px);
    }
  }
}

@media(prefers-reduced-transparency:reduce) {
  body.crescentria-home { --home-glass-fill:var(--home-glass-base); }
  body.crescentria-home #inicio .home-idea-card,
  body.crescentria-home #inicio .hero-system-label-content,
  body.crescentria-home #inicio .hero-btn-secondary,
  body.crescentria-home #productos .home-demo-panel,
  body.crescentria-home #productos .home-demo-next,
  body.crescentria-home #servicios .service-card,
  body.crescentria-home #alianzas .partner-card,
  body.crescentria-home #crescentria-header.scrolled {
    background-color:var(--home-glass-base);
    background-image:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}
