/* Sunset Consultora Experience 7.9 — visual enhancement only. Preserves existing content, media and Elementor structure. */
:root{
 --ssm-ink:#161513;--ssm-paper:#f8f7f4;--ssm-muted:#6f6c67;--ssm-line:rgba(22,21,19,.10);
 --ssm-glass:rgba(255,255,255,.70);--ssm-radius:28px;--ssm-ease:cubic-bezier(.16,1,.3,1);
}
body.sunset-consultora-modern:not(.elementor-editor-active){
 background:var(--ssm-paper);color:var(--ssm-ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;
}
body.sunset-consultora-modern:not(.elementor-editor-active) :is(h1,h2,h3,h4,h5,h6){
 font-family:inherit;
 letter-spacing:-.035em;text-wrap:balance;color:var(--ssm-ink);
}
body.sunset-consultora-modern:not(.elementor-editor-active) h1{font-weight:650;line-height:.96}
body.sunset-consultora-modern:not(.elementor-editor-active) h2{font-weight:620;line-height:1.02}
body.sunset-consultora-modern:not(.elementor-editor-active) p{line-height:1.62}
body.sunset-consultora-modern:not(.elementor-editor-active) a{transition:opacity .25s ease,transform .45s var(--ssm-ease),background .35s ease,border-color .35s ease,box-shadow .45s var(--ssm-ease)}

/* Keep legacy sections/content; upgrade their visual system. */
body.sunset-consultora-modern:not(.elementor-editor-active) :is(.elementor-section,.e-con){position:relative}
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-widget-image img:not(.ss-card-media img){
 border-radius:clamp(18px,2vw,32px);transition:transform 1.1s var(--ssm-ease),filter .7s ease,box-shadow .8s var(--ssm-ease);will-change:transform;
}
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-widget-image.ss-image-lift img,
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-media img{box-shadow:0 28px 75px rgba(30,26,21,.11)}
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-widget-image:hover img{transform:scale(1.018);box-shadow:0 34px 90px rgba(30,26,21,.15)}

/* Modern premium buttons without changing links/copy. */
body.sunset-consultora-modern:not(.elementor-editor-active) :is(.elementor-button,.wp-element-button,.wp-block-button__link):not(.ss-button){
 border-radius:999px!important;padding:15px 24px!important;font-weight:650!important;letter-spacing:-.015em!important;box-shadow:0 8px 25px rgba(16,15,14,.08);position:relative;overflow:hidden;isolation:isolate;
}
body.sunset-consultora-modern:not(.elementor-editor-active) :is(.elementor-button,.wp-element-button,.wp-block-button__link):not(.ss-button)::after{
 content:"";position:absolute;inset:-3px;background:linear-gradient(105deg,transparent 24%,rgba(255,255,255,.28) 48%,transparent 72%);transform:translateX(-140%);transition:transform .85s var(--ssm-ease);z-index:-1;
}
body.sunset-consultora-modern:not(.elementor-editor-active) :is(.elementor-button,.wp-element-button,.wp-block-button__link):not(.ss-button):hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,15,14,.13)}
body.sunset-consultora-modern:not(.elementor-editor-active) :is(.elementor-button,.wp-element-button,.wp-block-button__link):not(.ss-button):hover::after{transform:translateX(140%)}

/* Glass navigation: works with common WordPress/Elementor headers but does not rebuild them. */
body.sunset-consultora-modern:not(.elementor-editor-active) :is(header.site-header,.elementor-location-header) > :first-child{
 backdrop-filter:saturate(145%) blur(18px);-webkit-backdrop-filter:saturate(145%) blur(18px);
}
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-location-header{position:relative;z-index:100}
body.sunset-consultora-modern:not(.elementor-editor-active).ssm-scrolled .elementor-location-header{filter:drop-shadow(0 10px 28px rgba(20,18,15,.06))}

/* High-end section rhythm; content stays in same DOM/order. */
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-widget-heading .elementor-heading-title{max-width:22ch}
body.sunset-consultora-modern:not(.elementor-editor-active) .elementor-widget-text-editor{color:var(--ssm-muted)}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-kicker{font-size:12px!important;letter-spacing:.18em!important;text-transform:uppercase!important;font-weight:750!important;color:var(--ssm-muted)!important}

/* Scroll reveal and editorial depth. */
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal{opacity:0;transform:translate3d(0,32px,0);filter:blur(5px);transition:opacity .9s var(--ssm-ease),transform .9s var(--ssm-ease),filter .9s ease}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal.ssm-in{opacity:1;transform:none;filter:none}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal:nth-child(2n){transition-delay:.045s}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal:nth-child(3n){transition-delay:.09s}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-parallax{transform:translate3d(0,var(--ssm-parallax,0),0);will-change:transform}

/* Ambient cursor glow: restrained, architectural, not a template effect. */
body.sunset-consultora-modern:not(.elementor-editor-active)::before{
 content:"";position:fixed;left:0;top:0;width:520px;height:520px;border-radius:50%;pointer-events:none;z-index:0;
 background:radial-gradient(circle,rgba(180,204,216,.12),rgba(241,205,171,.06) 38%,transparent 68%);
 transform:translate3d(calc(var(--ssm-mx,-1000px) - 260px),calc(var(--ssm-my,-1000px) - 260px),0);transition:opacity .35s ease;opacity:.75;
}
body.sunset-consultora-modern:not(.elementor-editor-active) :is(#page,.site,.elementor,.elementor-location-header,.elementor-location-footer){position:relative;z-index:1}

/* Existing cards / membership blocks get depth without deleting or moving them. */
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-card{
 border:1px solid var(--ssm-line);border-radius:var(--ssm-radius);background:rgba(255,255,255,.58);box-shadow:0 18px 55px rgba(25,22,18,.055);overflow:hidden;
 transition:transform .7s var(--ssm-ease),box-shadow .7s var(--ssm-ease),border-color .5s ease;
}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-card:hover{transform:translateY(-7px);box-shadow:0 28px 75px rgba(25,22,18,.105);border-color:rgba(22,21,19,.16)}

/* Legacy Home receives a cinematic first-screen treatment while preserving every widget. */
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main > .elementor:first-child,
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) .elementor > .elementor-section:first-child,
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) .elementor > .e-con:first-child{
 isolation:isolate;overflow:clip;
}
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) h1{font-size:clamp(50px,8.2vw,138px)!important}
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) h2{font-size:clamp(34px,4.8vw,76px)}

/* Existing Homes photography should feel like a premium travel marketplace. */
body.sunset-consultora-modern.ssm-homes:not(.elementor-editor-active) .elementor-widget-image{overflow:hidden;border-radius:clamp(18px,2vw,32px)}
body.sunset-consultora-modern.ssm-homes:not(.elementor-editor-active) .elementor-widget-image img{min-width:100%;object-fit:cover}
body.sunset-consultora-modern.ssm-homes:not(.elementor-editor-active) h3{font-size:clamp(25px,2.2vw,38px);line-height:1.08}

/* Keep Software Sunset itself isolated from generic Elementor visual overrides. */
body.sunset-consultora-modern:not(.elementor-editor-active) .ssun-app{font-family:inherit}
body.sunset-consultora-modern:not(.elementor-editor-active) .ssun-app .ss-button{padding:0 23px!important}

@media(max-width:767px){
 body.sunset-consultora-modern:not(.elementor-editor-active)::before{display:none}
 body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal{transform:translate3d(0,22px,0);transition-delay:0s}
 body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) h1{font-size:clamp(46px,15vw,76px)!important}
}
@media(prefers-reduced-motion:reduce){
 body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-reveal{opacity:1;transform:none;filter:none;transition:none}
 body.sunset-consultora-modern:not(.elementor-editor-active) .ssm-parallax{transform:none!important}
 body.sunset-consultora-modern:not(.elementor-editor-active) *{scroll-behavior:auto!important}
}

/* 8.25.0 — Home only: preserve the existing Sunset Agency copy and services. */
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main>.elementor>:first-child{
 background:linear-gradient(135deg,#141311 0%,#292721 52%,#171614 100%);
 color:#fff;min-height:min(760px,94vh);display:flex;align-items:center;
}
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main>.elementor>:first-child :is(h1,h2,h3,p,.elementor-heading-title){
 color:#fff!important;text-shadow:0 10px 38px rgba(0,0,0,.16);
}
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main>.elementor>:first-child p{color:rgba(255,255,255,.80)!important}
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main>.elementor>:first-child .elementor-button{
 border-color:#fff!important;background:#fff!important;color:#171614!important;box-shadow:0 16px 36px rgba(0,0,0,.16)!important;
}
/* 8.28.0 — Home hero only. Keep the original content and services untouched. */
body.sunset-consultora-modern.ssm-legacy-home:not(.elementor-editor-active) main>.elementor>:first-child :is(h1,.elementor-heading-title){
 font-family:"Montserrat",Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.055em!important;text-transform:uppercase;
}
