/* Visual composition for the Crescentria home. Brand assets and animation engines are unchanged. */
body.crescentria-home {
  --home-muted: #d0bfcb;
  --home-line: rgba(236, 203, 223, .16);
  --home-accent: #edb8d8;
}

body.crescentria-home .section-tag {
  padding: .5rem .85rem;
  margin-bottom: 1.25rem;
  background: rgba(143, 0, 95, .3);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  color: var(--home-accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  box-shadow: 0 4px 20px rgba(143, 0, 95, .12);
  max-width: 100%;
  white-space: normal;
  line-height: 1.5;
}
body.crescentria-home .section-tag::before { content: none; }
body.crescentria-home .section-tag i { display: inline-block; flex-shrink: 0; }

body.crescentria-home #inicio { min-height: min(840px, 100svh); padding-top: 9rem; padding-bottom: 5rem; }
body.crescentria-home #inicio .hero-container { max-width: 1248px; }
body.crescentria-home #inicio .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 3rem; }
body.crescentria-home #inicio h1.hero-title { font-size: clamp(3rem, 4.8vw, 4.5rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.06; margin-bottom: 1.75rem; }
body.crescentria-home #inicio .home-title-line { display: block; }
body.crescentria-home #inicio .hero-subtitle { max-width: 510px; color: #e0d1db; font-size: 1rem; line-height: 1.85; margin-bottom: 2rem; }
body.crescentria-home #inicio .hero-actions { gap: 1rem; }
body.crescentria-home #inicio .hero-btn-primary,
body.crescentria-home #inicio .hero-btn-secondary { border-radius: 10px; font-size: .85rem; padding: 1rem 1.35rem; min-height: 54px; }
body.crescentria-home #inicio .hero-btn-secondary { background: rgba(255,255,255,.05); border-color: var(--home-line); }
body.crescentria-home #inicio .hero-btn-primary,
body.crescentria-home #inicio .hero-btn-secondary { border-radius: 50px; }
body.crescentria-home #inicio .home-start-note { color: var(--home-muted); font-size: .7rem; }
body.crescentria-home #inicio .hero-visual { position: relative; padding-bottom: 3.5rem; }
.crescentria-home .home-idea-card {
  position: absolute; bottom: 0; left: 1.5rem; right: 0;
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(236, 203, 223, .24); border-radius: 12px;
  background: rgba(33, 5, 26, .9); padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px); box-shadow: 0 16px 48px #10000b24;
  transition: border-color .2s, transform .2s;
}
.crescentria-home .home-idea-card:hover { border-color: var(--home-accent); transform: translateY(-3px); }
.crescentria-home .home-idea-card small { display: block; color: var(--home-accent); font-size: .55rem; letter-spacing: .12em; margin-bottom: .5rem; }
.crescentria-home .home-idea-card strong { display: block; color: var(--white); font-size: .88rem; font-weight: 450; line-height: 1.6; }
.crescentria-home .home-idea-card>i { color: var(--home-accent); font-size: 1.2rem; flex-shrink: 0; }
.crescentria-home .home-idea-card>i:last-child { margin-left: auto; }

body.crescentria-home #productos { padding-top: 5rem; padding-bottom: 5rem; background: rgba(12, 0, 8, .3); border-block: 1px solid var(--home-line); }
body.crescentria-home #productos .products-container { max-width: 1248px; display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.8fr); gap: 1.75rem 3rem; align-items: start; }
body.crescentria-home #productos .home-demo-intro { grid-column: 1; grid-row: 1; text-align: left; margin: 0; }
body.crescentria-home #productos .home-demo-intro h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 1.25rem; }
body.crescentria-home #productos .home-demo-intro p { font-size: .9rem; line-height: 1.85; color: var(--home-muted); }
body.crescentria-home #productos .home-demo-explorer { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr; gap: .5rem; margin: 0; }
body.crescentria-home #productos .home-demo-choice { justify-content: flex-start; padding: .9rem 1rem; border-radius: 8px; background: transparent; border-color: transparent; font-size: .83rem; }
body.crescentria-home #productos .home-demo-choice::after { content: '↗'; margin-left: auto; font-size: 1rem; opacity: .55; }
body.crescentria-home #productos .home-demo-choice.is-selected { background: linear-gradient(135deg,rgba(143,0,95,.5),rgba(71,0,49,.4)); border-color: rgba(237, 184, 216, .5); box-shadow: 0 4px 24px rgba(143,0,95,.22); }
body.crescentria-home #productos .home-demo-choice:hover { background: rgba(237, 184, 216, .07); }
body.crescentria-home #productos .home-demo-panel { grid-column: 2; grid-row: 1 / span 3; border-radius: 12px; border-color: rgba(236, 203, 223, .24); box-shadow: 0 20px 60px #10000b26; }
body.crescentria-home #productos .home-demo-caption { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem; }
body.crescentria-home #productos .home-demo-caption h3 { font-size: 1.15rem; }
body.crescentria-home #productos .home-demo-caption p { font-size: .78rem; color: var(--home-muted); }
body.crescentria-home #productos .home-demo-caption>a { font-size: .75rem; min-height: 32px; }
body.crescentria-home #productos .home-demo-footnote { padding: .85rem 1.25rem; font-size: .61rem; color: var(--home-muted); }
body.crescentria-home #productos .home-demo-footnote>span:last-child { display: none; }

body.crescentria-home #clientes { background: rgba(15, 0, 10, .6); padding-top: 2.5rem; padding-bottom: 2.5rem; }
body.crescentria-home #clientes .clients-container { max-width: 1248px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 3rem; align-items: center; }
body.crescentria-home #clientes .clients-header { text-align: left; margin: 0; }
body.crescentria-home #clientes .section-tag { font-size: .55rem; letter-spacing: .06em; margin-bottom: .85rem; }
body.crescentria-home #clientes .section-title { font-size: 1.45rem; line-height: 1.2; margin-bottom: .75rem; }
body.crescentria-home #clientes .section-subtitle { font-size: .72rem; color: var(--home-muted); }
body.crescentria-home #clientes .clients-logo-grid { gap: .5rem 1rem; }
body.crescentria-home #clientes .clients-logo-item { background: transparent; border-color: transparent; box-shadow: none; height: 60px; padding: .6rem; }
body.crescentria-home #clientes .clients-logo-item img { max-width: 118px; max-height: 36px; opacity: .8; }

body.crescentria-home #servicios .services-container { max-width: 1248px; }
body.crescentria-home #servicios .services-header { max-width: none; text-align: left; display: grid; grid-template-columns: 1fr .8fr; gap: 0 4rem; align-items: end; margin-bottom: 3rem; }
body.crescentria-home #servicios .services-header .section-tag { grid-column: 1 / -1; justify-self: start; }
body.crescentria-home #servicios .services-header h2 { max-width: 550px; margin: 0; font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 550; letter-spacing: -.035em; }
body.crescentria-home #servicios .services-header p { font-size: .9rem; color: var(--home-muted); margin: 0; line-height: 1.8; }
body.crescentria-home #servicios .services-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
body.crescentria-home #servicios .service-card { border-radius: 12px; padding: 1.75rem; border-color: var(--home-line); background: rgba(18, 0, 12, .3); min-height: 0; }
body.crescentria-home #servicios .service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,.5),0 0 30px rgba(216,123,185,.25); border-color: rgba(216,123,185,.85); }
body.crescentria-home #servicios .service-card:first-child { grid-row: span 3; background: linear-gradient(160deg, rgba(143,0,95,.24), rgba(18,0,12,.55)); border-color: rgba(237,184,216,.28); }
body.crescentria-home #servicios .service-card:last-child { grid-column: span 2; }
body.crescentria-home #servicios .service-card-body { display: flex; flex-direction: column; height: 100%; }
body.crescentria-home #servicios .service-title-row { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
body.crescentria-home #servicios .service-title-icon { border-radius: 10px; width: 40px; height: 40px; font-size: 1.15rem; box-shadow: 0 8px 20px rgba(143,0,95,.3); }
body.crescentria-home #servicios .service-card-title { font-size: 1.25rem; line-height: 1.25; min-height: 0; }
body.crescentria-home #servicios .service-card-desc { font-size: .82rem; line-height: 1.8; color: var(--home-muted); min-height: 0; margin-bottom: 1.25rem; }
body.crescentria-home #servicios .service-card-link { font-size: .75rem; color: var(--home-accent); margin-top: auto; min-height: 36px; }
body.crescentria-home #servicios .home-feature-visual { margin: 1.5rem -1.75rem 1.5rem; overflow: hidden; border-block: 1px solid var(--home-line); }
body.crescentria-home #servicios .home-feature-visual img { width: 100%; max-width: 100%; height: auto; display: block; }
body.crescentria-home #servicios .home-feature-note { font-size: .68rem; color: var(--home-muted); margin-bottom: 1rem; line-height: 1.7; }

body.crescentria-home #alianzas .partner-card { border-radius: 12px; border-color: var(--home-line); box-shadow: none; }
body.crescentria-home #alianzas .partner-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.5),0 0 24px rgba(216,123,185,.14); }
body.crescentria-home #confianza .trust-card { border-radius: 12px; border-color: var(--home-line); }
body.crescentria-home #preguntas .home-faq-list details[open] summary { color: var(--home-accent); }
body.crescentria-home #contacto .cta-container { max-width: 1248px; border: 1px solid var(--home-line); border-radius: 16px; overflow: hidden; margin: 0 auto; padding: 4rem 2rem; }
body.crescentria-home #contacto .cta-title { font-weight: 550; letter-spacing: -.035em; }
body.crescentria-home #contacto .cta-desc { font-size: 1rem; color: var(--home-muted); }
body.crescentria-home #contacto .cta-btn-launch { border-radius: 10px; background: var(--color-2); padding: .85rem 1.4rem; }

/* UI/UX audit: readable labels and real hit areas; visual motion belongs to the original system. */
body.crescentria-home #inicio .home-start-note { font-size: .75rem; }
body.crescentria-home #inicio .home-product-label { font-size: .75rem; letter-spacing: .06em; }
body.crescentria-home #inicio .home-beta-label { font-size: .65rem; }
body.crescentria-home .home-idea-card small { font-size: .68rem; }
body.crescentria-home #clientes .section-tag { font-size: .7rem; }
body.crescentria-home #clientes .section-subtitle { font-size: .8rem; }
body.crescentria-home #servicios .service-card-link { min-height: 44px; }
body.crescentria-home #servicios .home-feature-note { font-size: .75rem; }
body.crescentria-home #productos .home-demo-caption>a { min-height: 44px; }
body.crescentria-home #productos .home-demo-footnote { font-size: .75rem; }
body.crescentria-home .site-footer a.site-footer-link { min-height: 44px; }
@media(hover:hover) {
  body.crescentria-home #servicios .service-card:focus-within { box-shadow: 0 0 26px rgba(216,123,185,.18); border-color: rgba(216,123,185,.65); }
}

@media(max-width:1100px) {
  body.crescentria-home #inicio .hero-grid { gap: 2rem; }
  body.crescentria-home #inicio h1.hero-title { font-size: 3.4rem; }
  body.crescentria-home #productos .products-container { gap: 1.5rem 2rem; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.4fr); }
  body.crescentria-home #clientes .clients-container { grid-template-columns: 240px minmax(0,1fr); gap: 2rem; }
  body.crescentria-home #clientes .clients-logo-item img { max-width: 90px; }
}
@media(max-width:850px) {
  body.crescentria-home #inicio { min-height: 0; padding-top: 8rem; padding-bottom: 4rem; }
  body.crescentria-home #inicio .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  body.crescentria-home #inicio .hero-content { max-width: 650px; }
  body.crescentria-home #inicio .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  body.crescentria-home #productos .products-container { display: block; }
  body.crescentria-home #productos .home-demo-intro { max-width: 600px; margin: 0 0 1.5rem; }
  body.crescentria-home #productos .home-demo-explorer { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin-bottom: 1.5rem; }
  body.crescentria-home #productos .home-demo-choice { padding: .8rem .5rem; justify-content: center; border-color: var(--home-line); font-size: .7rem; }
  body.crescentria-home #productos .home-demo-choice::after { display: none; }
  body.crescentria-home #clientes .clients-container { grid-template-columns: 1fr; gap: 1.5rem; }
  body.crescentria-home #clientes .clients-header { max-width: 550px; }
  body.crescentria-home #servicios .services-header { grid-template-columns: 1fr; gap: 1rem; }
  body.crescentria-home #servicios .services-header .section-tag { margin-bottom: 0; }
  body.crescentria-home #servicios .services-header p { max-width: 600px; }
  body.crescentria-home #servicios .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.crescentria-home #servicios .service-card:first-child { grid-row: span 2; }
  body.crescentria-home #servicios .service-card:last-child { grid-column: auto; }
}
@media(max-width:560px) {
  body.crescentria-home .section-tag { font-size: .58rem; letter-spacing: .08em; }
  body.crescentria-home #inicio { padding: 7rem 1rem 3rem; }
  body.crescentria-home #inicio h1.hero-title { font-size: clamp(2.5rem,10.5vw,3.25rem); line-height: 1.07; margin-bottom: 1.5rem; }
  body.crescentria-home #inicio .hero-subtitle { font-size: .9rem; line-height: 1.8; }
  body.crescentria-home #inicio .hero-actions { width: 100%; gap: .75rem; }
  body.crescentria-home #inicio .hero-btn-primary,body.crescentria-home #inicio .hero-btn-secondary { width: 100%; justify-content: center; }
  body.crescentria-home #inicio .hero-visual { padding-bottom: 8rem; }
  .crescentria-home .home-idea-card { left: 0; right: 0; padding: 1rem; gap: .75rem; }
  .crescentria-home .home-idea-card strong { font-size: .75rem; }
  .crescentria-home .home-idea-card small { font-size: .5rem; }
  body.crescentria-home #productos .home-demo-explorer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.crescentria-home #productos .home-demo-choice { font-size: .72rem; }
  body.crescentria-home #productos .home-demo-intro h2 { font-size: 2rem; }
  body.crescentria-home #productos .home-demo-caption { padding: 1.25rem; }
  body.crescentria-home #clientes .section-title { font-size: 1.5rem; }
  body.crescentria-home #clientes .clients-logo-grid { gap: .5rem; }
  body.crescentria-home #clientes .clients-logo-item img { max-width: min(84px,100%); }
  body.crescentria-home #servicios .services-grid { grid-template-columns: 1fr; }
  body.crescentria-home #servicios .service-card:first-child { grid-row: auto; }
  body.crescentria-home #servicios .service-card { padding: 1.5rem; }
  body.crescentria-home #servicios .service-title-row { flex-direction: row; align-items: center; }
  body.crescentria-home #servicios .service-card:first-child .service-title-row { flex-direction: column; align-items: flex-start; }
  body.crescentria-home #servicios .home-feature-visual { margin-inline: -1.5rem; }
  body.crescentria-home #contacto .cta-container { padding: 3rem 1.5rem; }
}
@media(prefers-reduced-motion:reduce) {
  .crescentria-home *, .crescentria-home *::before, .crescentria-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  body.crescentria-home #servicios .service-card:hover,body.crescentria-home #alianzas .partner-card:hover,.crescentria-home .home-idea-card:hover { transform: none; }
}

/* Final audit overrides also apply after the compact-screen rules. */
body.crescentria-home .section-tag { font-size: .75rem; }
body.crescentria-home .home-idea-card small { font-size: .7rem; }
#crescentria-header .site-header-brand,
#crescentria-header .site-header-link { display: inline-flex; align-items: center; min-height: 44px; }
#crescentria-header:focus-within { transform: translateY(0); }
#crescentria-header #menu-toggle { min-width: 44px; min-height: 44px; }
#crescentria-footer .site-footer-col .site-footer-list a.site-footer-link { display: inline-flex; align-items: center; min-height: 44px; }
body.crescentria-home #alianzas .partner-card-btn { min-height: 44px; }
body.crescentria-home { --text-d: #cbbfca; }
body.crescentria-home #proceso .process-step { opacity: 1; }
body.crescentria-home #inicio .hero-system-label { color: #e0cbd9; }

/* These source assets are square icons. Keep the same ratio at every breakpoint. */
body.crescentria-home #confianza .trust-card-logos img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  aspect-ratio: 1;
  flex: 0 0 40px;
  object-fit: contain;
  border-radius: 50%;
  filter: none;
  opacity: 1;
}

/* Generated photographic backdrop. The interactive constellation and particles remain separate layers. */
body.crescentria-home #inicio {
  background-image: linear-gradient(180deg,rgba(31,0,20,.08) 0%,rgba(31,0,20,.06) 62%,rgba(31,0,20,.88) 100%),url('/assets/images/crescentria-hero-patagonia-20261116.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.crescentria-home #inicio::before {
  background: linear-gradient(90deg,rgba(31,0,20,.65) 0%,rgba(31,0,20,.3) 44%,rgba(31,0,20,.12) 100%);
  -webkit-mask-image: none;
  mask-image: none;
}
body.crescentria-home #inicio .home-start-note { color: #f0e5ed; }
body.crescentria-home #inicio .hero-system-label-content {
  padding: .35rem .6rem;
  border: 1px solid rgba(237,184,216,.2);
  border-radius: 50px;
  background: rgba(31,0,20,.8);
}
@media(max-width:767px) {
  body.crescentria-home #inicio {
    background-image: linear-gradient(180deg,rgba(31,0,20,.06) 0%,rgba(31,0,20,.08) 62%,rgba(31,0,20,.9) 100%),url('/assets/images/crescentria-hero-patagonia-20261116-mobile.webp');
    background-position: 84% center;
  }
  body.crescentria-home #inicio::before { background: linear-gradient(180deg,rgba(31,0,20,.22),rgba(31,0,20,.18) 58%,rgba(31,0,20,.4)); }
}
