/**
 * Landing Integración CRM Inmobiliario
 */

.comunicum-crm-landing-page
{
padding: 0;
}

.comunicum-crm-landing-page .site-main
{
padding: 0;
}

.crm-landing-hero
{
padding: clamp(3rem, 7vw, 5rem) var(--section-gutter, clamp(1.75rem, 6vw, 3.25rem));
background: linear-gradient(180deg, #f8f8ff 0%, #ffffff 55%, #f9f8ff 100%);
position: relative;
overflow-x: clip;
}

.crm-landing-hero::before,
.crm-landing-hero::after
{
content: '';
position: absolute;
border-radius: 50%;
pointer-events: none;
filter: blur(70px);
}

.crm-landing-hero::before
{
width: min(320px, 50vw);
height: min(320px, 50vw);
top: -80px;
left: -60px;
background: rgba(91, 79, 255, 0.12);
}

.crm-landing-hero::after
{
width: min(280px, 42vw);
height: min(280px, 42vw);
bottom: -100px;
right: -40px;
background: rgba(157, 79, 255, 0.1);
}

.crm-landing-hero__shell,
.crm-landing-section__inner,
.crm-landing-stats__inner,
.crm-landing-cta__inner
{
width: 100%;
max-width: 1200px;
margin-inline: auto;
position: relative;
z-index: 1;
}

.crm-landing-hero__grid
{
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
gap: clamp(2rem, 5vw, 4rem);
align-items: center;
}

.crm-landing-hero__image-wrap
{
border-radius: 1.35rem;
overflow: hidden;
box-shadow: 0 24px 60px rgba(91, 79, 255, 0.16);
border: 1px solid rgba(91, 79, 255, 0.1);
background: #fff;
}

.crm-landing-hero__image-wrap img
{
display: block;
width: 100%;
height: auto;
}

/* —— Hero visual compuesto (genérico) —— */
.crm-hero-composed
{
position: relative;
padding: clamp(1.25rem, 3vw, 1.75rem);
border-radius: 1.35rem;
background: linear-gradient(160deg, #ffffff 0%, #f8f8ff 55%, #f3f1ff 100%);
border: 1px solid rgba(91, 79, 255, 0.12);
box-shadow: 0 24px 60px rgba(91, 79, 255, 0.14);
overflow: hidden;
min-height: clamp(320px, 42vw, 420px);
}

.crm-hero-composed__glow
{
position: absolute;
inset: auto -20% -30% -20%;
height: 55%;
background: radial-gradient(ellipse at center, rgba(91, 79, 255, 0.16) 0%, transparent 70%);
pointer-events: none;
}

.crm-hero-composed__crms
{
position: absolute;
inset: 0;
margin: 0;
padding: 0;
list-style: none;
pointer-events: none;
z-index: 2;
}

.crm-hero-composed__crm
{
position: absolute;
width: clamp(2.4rem, 5vw, 3rem);
height: clamp(2.4rem, 5vw, 3rem);
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.85rem;
background: #fff;
border: 1px solid rgba(91, 79, 255, 0.12);
box-shadow: 0 8px 22px rgba(91, 79, 255, 0.12);
padding: 0.35rem;
animation: crm-hero-float 5s ease-in-out infinite;
}

.crm-hero-composed__crm img
{
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
}

.crm-hero-composed__crm span
{
font-size: 0.85rem;
font-weight: 800;
color: var(--color-primary, #5B4FFF);
}

.crm-hero-composed__crm:nth-child(1)
{
top: 6%;
left: 4%;
animation-delay: 0s;
}

.crm-hero-composed__crm:nth-child(2)
{
top: 4%;
right: 8%;
animation-delay: 0.6s;
}

.crm-hero-composed__crm:nth-child(3)
{
top: 42%;
left: 0;
animation-delay: 1.2s;
}

.crm-hero-composed__crm:nth-child(4)
{
top: 38%;
right: 2%;
animation-delay: 1.8s;
}

.crm-hero-composed__crm:nth-child(5)
{
bottom: 10%;
left: 10%;
animation-delay: 2.4s;
}

@keyframes crm-hero-float
{
0%, 100%
{
transform: translateY(0);
}

50%
{
transform: translateY(-6px);
}
}

.crm-hero-composed__flow
{
display: none;
}

.crm-hero-composed__browser
{
position: relative;
z-index: 1;
max-width: min(100%, 520px);
margin: clamp(2.5rem, 8vw, 3.5rem) auto 0;
border-radius: 1rem;
background: #fff;
border: 1px solid rgba(17, 24, 39, 0.08);
box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
overflow: hidden;
}

.crm-hero-composed__browser-bar
{
display: flex;
align-items: center;
gap: 0.35rem;
padding: 0.55rem 0.75rem;
background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
border-bottom: 1px solid #e5e7eb;
}

.crm-hero-composed__browser-bar > span
{
width: 0.55rem;
height: 0.55rem;
border-radius: 50%;
background: #d1d5db;
}

.crm-hero-composed__browser-bar > span:nth-child(1)
{
background: #fca5a5;
}

.crm-hero-composed__browser-bar > span:nth-child(2)
{
background: #fcd34d;
}

.crm-hero-composed__browser-bar > span:nth-child(3)
{
background: #86efac;
}

.crm-hero-composed__url
{
flex: 1;
margin-left: 0.35rem;
padding: 0.28rem 0.65rem;
border-radius: 0.45rem;
background: #fff;
border: 1px solid #e5e7eb;
font-size: 0.68rem;
color: #6b7280;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.crm-hero-composed__browser-body
{
padding: 0.85rem;
}

.crm-hero-composed__wp-badge
{
display: inline-flex;
align-items: center;
gap: 0.4rem;
margin-bottom: 0.65rem;
padding: 0.28rem 0.55rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
color: #1f2937;
background: rgba(33, 117, 155, 0.08);
border: 1px solid rgba(33, 117, 155, 0.14);
}

.crm-hero-composed__wp-badge img
{
display: block;
}

.crm-hero-composed__search
{
display: grid;
grid-template-columns: 1.2fr 0.8fr 0.8fr;
gap: 0.4rem;
margin-bottom: 0.75rem;
}

.crm-hero-composed__search span
{
height: 0.55rem;
border-radius: 999px;
background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
}

.crm-hero-composed__cards
{
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.5rem;
}

.crm-hero-composed__property
{
border-radius: 0.65rem;
overflow: hidden;
border: 1px solid #eef2ff;
background: #fff;
box-shadow: 0 4px 14px rgba(91, 79, 255, 0.06);
}

.crm-hero-composed__property-media
{
aspect-ratio: 4 / 3;
background:
	linear-gradient(135deg, rgba(91, 79, 255, 0.12) 0%, rgba(157, 79, 255, 0.08) 100%),
	repeating-linear-gradient(
		-45deg,
		rgba(255, 255, 255, 0.35) 0,
		rgba(255, 255, 255, 0.35) 8px,
		transparent 8px,
		transparent 16px
	);
}

.crm-hero-composed__property-body
{
padding: 0.45rem 0.5rem 0.55rem;
}

.crm-hero-composed__property-body strong
{
display: block;
font-size: 0.62rem;
line-height: 1.35;
color: #1f2937;
margin-bottom: 0.2rem;
}

.crm-hero-composed__property-body span
{
font-size: 0.58rem;
font-weight: 700;
color: var(--color-primary, #5B4FFF);
}

.crm-hero-composed__badge
{
position: absolute;
z-index: 3;
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.4rem 0.7rem;
border-radius: 999px;
font-size: 0.68rem;
font-weight: 700;
color: #1f2937;
background: rgba(255, 255, 255, 0.94);
border: 1px solid rgba(91, 79, 255, 0.14);
box-shadow: 0 8px 20px rgba(91, 79, 255, 0.1);
backdrop-filter: blur(8px);
}

.crm-hero-composed__badge svg
{
width: 0.95rem;
height: 0.95rem;
color: var(--color-primary, #5B4FFF);
}

.crm-hero-composed__badge--sync
{
top: 14%;
right: 6%;
}

.crm-hero-composed__badge--live
{
bottom: 8%;
right: 8%;
}

.crm-hero-composed__live-dot
{
width: 0.45rem;
height: 0.45rem;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
animation: crm-hero-pulse 2s ease-in-out infinite;
}

@keyframes crm-hero-pulse
{
0%, 100%
{
opacity: 1;
}

50%
{
opacity: 0.55;
}
}

@media (max-width: 900px)
{
.crm-hero-composed__crm:nth-child(3),
.crm-hero-composed__crm:nth-child(4)
{
display: none;
}

.crm-hero-composed__badge--sync
{
top: auto;
bottom: 42%;
right: 4%;
}

.crm-hero-composed__cards
{
grid-template-columns: 1fr;
}

.crm-hero-composed__property:nth-child(2),
.crm-hero-composed__property:nth-child(3)
{
display: none;
}
}

@media (max-width: 640px)
{
.crm-hero-composed
{
min-height: 280px;
padding: 1rem;
}

.crm-hero-composed__browser
{
margin-top: 2.75rem;
}

.crm-hero-composed__crm
{
width: 2.1rem;
height: 2.1rem;
}
}

.crm-landing-eyebrow
{
display: inline-block;
margin: 0 0 0.85rem;
padding: 0.3rem 0.75rem;
border-radius: 999px;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--color-primary, #5B4FFF);
background: rgba(91, 79, 255, 0.08);
border: 1px solid rgba(91, 79, 255, 0.16);
}

.crm-landing-title
{
margin: 0 0 1rem;
font-size: clamp(2rem, 4.5vw, 3.25rem);
font-weight: 800;
line-height: 1.1;
letter-spacing: -0.03em;
color: var(--color-text, #1A1A1A);
}

.crm-landing-lead,
.crm-landing-note
{
margin: 0 0 0.85rem;
font-size: clamp(1rem, 1.8vw, 1.125rem);
line-height: 1.65;
color: var(--color-text-secondary, #6B7280);
}

.crm-landing-hero__cta-box
{
margin-top: 1.5rem;
padding: clamp(1.25rem, 3vw, 1.75rem);
	border-radius: 1.15rem;
background: #fff;
border: 1px solid rgba(91, 79, 255, 0.12);
box-shadow: 0 12px 32px rgba(91, 79, 255, 0.08);
}

.crm-landing-hero__cta-kicker,
.crm-landing-hero__cta-meta
{
margin: 0 0 0.65rem;
font-size: 0.92rem;
line-height: 1.5;
color: var(--color-text-secondary, #6B7280);
}

.crm-landing-hero__buttons
{
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1rem;
}

.crm-landing-stats
{
padding: clamp(1.5rem, 4vw, 2.25rem) var(--section-gutter, clamp(1.75rem, 6vw, 3.25rem));
background: linear-gradient(135deg, #5B4FFF 0%, #7C3AED 55%, #9D4FFF 100%);
color: #fff;
}

.crm-landing-stats__inner
{
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
}

.crm-landing-stat
{
text-align: center;
padding: 0.85rem 0.5rem;
}

.crm-landing-stat strong
{
display: block;
font-size: clamp(1.75rem, 4vw, 2.35rem);
font-weight: 800;
line-height: 1;
margin-bottom: 0.35rem;
}

.crm-landing-stat span
{
font-size: 0.85rem;
opacity: 0.92;
}

.crm-landing-section
{
padding: clamp(3.25rem, 7vw, 5rem) var(--section-gutter, clamp(1.75rem, 6vw, 3.25rem));
background: #fff;
}

.crm-landing-section--alt
{
background: linear-gradient(180deg, #ffffff 0%, #f8f8ff 50%, #ffffff 100%);
}

.crm-landing-section__header
{
max-width: 760px;
margin: 0 auto clamp(2rem, 4vw, 3rem);
text-align: center;
}

.crm-landing-section__header h2
{
margin: 0 0 0.85rem;
font-size: clamp(1.75rem, 3.5vw, 2.5rem);
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.02em;
}

.crm-landing-section__header p
{
margin: 0;
color: var(--color-text-secondary, #6B7280);
line-height: 1.65;
}

.crm-landing-steps
{
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(1rem, 2.5vw, 1.5rem);
}

.crm-landing-step-card
{
padding: clamp(1.35rem, 3vw, 1.75rem);
border-radius: 1.15rem;
background: #fff;
border: 1px solid rgba(91, 79, 255, 0.1);
box-shadow: 0 10px 28px rgba(91, 79, 255, 0.06);
}

.crm-landing-step-card__index
{
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
	margin-bottom: 0.85rem;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 800;
color: #fff;
background: linear-gradient(135deg, #5B4FFF 0%, #7C3AED 100%);
}

.crm-landing-step-card h3
{
margin: 0 0 0.65rem;
font-size: 1.15rem;
font-weight: 700;
}

.crm-landing-step-card p
{
margin: 0;
font-size: 0.95rem;
line-height: 1.6;
color: var(--color-text-secondary, #6B7280);
}

.crm-landing-features
{
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(1rem, 2.5vw, 1.35rem);
}

.crm-landing-feature-card
{
padding: clamp(1.25rem, 3vw, 1.6rem);
border-radius: 1.15rem;
background: #fff;
border: 1px solid rgba(91, 79, 255, 0.1);
box-shadow: 0 10px 26px rgba(91, 79, 255, 0.06);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.crm-landing-feature-card:hover
{
transform: translateY(-4px);
border-color: rgba(91, 79, 255, 0.22);
box-shadow: 0 18px 40px rgba(91, 79, 255, 0.12);
}

.crm-landing-feature-card__icon
{
width: 3rem;
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
border-radius: 0.9rem;
color: var(--color-primary, #5B4FFF);
background: linear-gradient(135deg, rgba(91, 79, 255, 0.12) 0%, rgba(157, 79, 255, 0.08) 100%);
}

.crm-landing-feature-card__icon svg
{
width: 1.45rem;
height: 1.45rem;
}

.crm-landing-feature-card h3
{
margin: 0 0 0.55rem;
font-size: 1.05rem;
font-weight: 700;
}

.crm-landing-feature-card p
{
margin: 0;
font-size: 0.92rem;
line-height: 1.55;
color: var(--color-text-secondary, #6B7280);
}

.crm-landing-apis
{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
gap: clamp(0.85rem, 2vw, 1.15rem);
}

.crm-landing-api-card
{
padding: 1.25rem;
border-radius: 1rem;
background: #fff;
border: 1px solid rgba(91, 79, 255, 0.1);
box-shadow: 0 8px 22px rgba(91, 79, 255, 0.06);
}

.crm-landing-api-card__logo
{
width: 100%;
min-height: 3.5rem;
display: flex;
align-items: center;
justify-content: flex-start;
margin-bottom: 0.95rem;
padding: 0.55rem 0.65rem;
border-radius: 0.8rem;
background: #f8f8ff;
border: 1px solid rgba(91, 79, 255, 0.08);
}

.crm-landing-api-card__logo img
{
display: block;
max-width: 100%;
max-height: 2.35rem;
width: auto;
height: auto;
object-fit: contain;
object-position: left center;
}

.crm-landing-api-card__logo span
{
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.35rem;
height: 2.35rem;
border-radius: 0.65rem;
font-size: 1.1rem;
font-weight: 800;
color: #fff;
background: linear-gradient(135deg, #5B4FFF 0%, #7C3AED 100%);
}

.crm-landing-api-card h3
{
margin: 0 0 0.45rem;
font-size: 1.05rem;
font-weight: 700;
}

.crm-landing-api-card p
{
margin: 0 0 0.75rem;
font-size: 0.88rem;
line-height: 1.5;
color: var(--color-text-secondary, #6B7280);
}

.crm-landing-api-card__badge
{
display: inline-block;
padding: 0.25rem 0.55rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--color-primary, #5B4FFF);
background: rgba(91, 79, 255, 0.08);
}

.crm-landing-cta
{
padding: clamp(3rem, 7vw, 4.5rem) var(--section-gutter, clamp(1.75rem, 6vw, 3.25rem));
background: linear-gradient(135deg, #12101f 0%, #1a1830 45%, #2a1f4f 100%);
color: #fff;
text-align: center;
}

.crm-landing-cta h2
{
margin: 0 0 0.85rem;
font-size: clamp(1.75rem, 3.5vw, 2.35rem);
font-weight: 800;
line-height: 1.15;
}

.crm-landing-cta p
{
max-width: 640px;
margin: 0 auto 1.5rem;
line-height: 1.65;
color: rgba(255, 255, 255, 0.82);
}

.btn-primary--inverted
{
background: #fff !important;
color: var(--color-primary, #5B4FFF) !important;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary--inverted:hover
{
color: #4A3FE8 !important;
}

@media (max-width: 1024px)
{
.crm-landing-hero__grid
{
grid-template-columns: 1fr;
}

.crm-landing-hero__visual
{
order: -1;
}

.crm-landing-features
{
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-landing-apis
{
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 768px)
{
.crm-landing-stats__inner
{
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-landing-steps
{
grid-template-columns: 1fr;
}

.crm-landing-features,
.crm-landing-apis
{
grid-template-columns: 1fr;
}

.crm-landing-hero__buttons
{
flex-direction: column;
}

.crm-landing-hero__buttons .btn
{
width: 100%;
justify-content: center;
}
}
