/* ============================================
   CN HOLISTICA - LANDING PAGE PARA ELEMENTOR
   (Sin menu ni buscador)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
.cnh-landing {
--color-primary: #7A7B5C;
--color-primary-dark: #6A6B4C;
--color-primary-light: #8A8B6C;
--color-bg-main: #F2EDE4;
--color-bg-card: #F7F3EC;
--color-bg-promo: #F0EBE3;
--color-white: #FFFFFF;
--color-text-primary: #3D3D3D;
--color-text-secondary: #6B6B6B;
--color-text-muted: #999999;
--color-border: #D9D4CC;
--color-border-focus: #7A7B5C;
--color-red: #D32F2F;
--color-red-dark: #B71C1C;
--color-chat-green: #5A8C5A;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background-color: var(--color-bg-main);
color: var(--color-text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
width: 100%;
max-width: 100%;
overflow-x: hidden;
}
.cnh-landing *,
.cnh-landing *::before,
.cnh-landing *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* ============================================
MAIN CONTENT
============================================ */
.cnh-main {
max-width: 1200px;
margin: 0 auto;
padding: 24px 24px 32px;
}
.cnh-grid {
display: grid;
grid-template-columns: 45% 1fr;
gap: 24px;
}
/* ============================================
LOGIN CARD
============================================ */
.cnh-login-card {
background: var(--color-bg-card);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 32px;
display: flex;
flex-direction: column;
}
.cnh-login-icon {
width: 32px;
height: 32px;
stroke: var(--color-text-secondary);
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
margin-bottom: 16px;
}
.cnh-login-title {
font-size: 28px;
font-weight: 700;
color: var(--color-text-primary);
line-height: 1.25;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.cnh-login-desc {
font-size: 14px;
color: var(--color-text-secondary);
line-height: 1.6;
margin-bottom: 24px;
max-width: 400px;
}
.cnh-form {
flex: 1;
}
.cnh-form-group {
margin-bottom: 16px;
}
.cnh-form-label {
display: block;
font-size: 12px;
color: var(--color-text-secondary);
margin-bottom: 6px;
letter-spacing: 0.01em;
}
.cnh-input-wrapper {
position: relative;
}
.cnh-input-icon-left {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: var(--color-text-muted);
pointer-events: none;
}
.cnh-input-icon-left svg {
width: 18px;
height: 18px;
stroke: currentColor;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-input-icon-right {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: var(--color-text-muted);
background: none;
border: none;
cursor: pointer;
padding: 4px;
}
.cnh-input-icon-right svg {
width: 18px;
height: 18px;
stroke: currentColor;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-input {
width: 100%;
height: 46px;
background: #fff;
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0 16px 0 40px;
font-family: inherit;
font-size: 14px;
color: var(--color-text-primary);
outline: none;
transition: all 200ms ease;
}
.cnh-input::placeholder {
color: var(--color-text-muted);
}
.cnh-input:focus {
border-color: var(--color-border-focus);
box-shadow: 0 0 0 3px rgba(122,123,92,0.1);
}
.cnh-input.has-right-icon {
padding-right: 40px;
}
.cnh-checkbox-wrapper {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 20px;
cursor: pointer;
user-select: none;
}
.cnh-checkbox {
width: 16px;
height: 16px;
border: 1px solid var(--color-border);
border-radius: 3px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
transition: all 150ms ease;
flex-shrink: 0;
}
.cnh-checkbox:hover {
border-color: var(--color-primary-light);
}
.cnh-checkbox.checked {
background: var(--color-primary);
border-color: var(--color-primary);
}
.cnh-checkbox svg {
width: 10px;
height: 10px;
stroke: #fff;
stroke-width: 3;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
display: none;
}
.cnh-checkbox.checked svg {
display: block;
}
.cnh-checkbox-label {
font-size: 12px;
color: var(--color-text-secondary);
letter-spacing: 0.01em;
}
.cnh-btn-primary {
width: 100%;
height: 48px;
background: var(--color-primary);
color: #fff;
border: none;
border-radius: 8px;
font-family: inherit;
font-size: 15px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
transition: all 200ms ease;
}
.cnh-btn-primary:hover {
background: var(--color-primary-dark);
box-shadow: 0 2px 8px rgba(122,123,92,0.25);
transform: scale(1.01);
}
.cnh-btn-primary:active {
transform: scale(0.98);
}
.cnh-btn-primary svg {
width: 18px;
height: 18px;
stroke: #fff;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-forgot-link {
display: inline-flex;
align-items: center;
gap: 4px;
margin-top: 16px;
font-size: 13px;
font-weight: 500;
color: var(--color-primary);
text-decoration: none;
transition: all 200ms ease;
}
.cnh-forgot-link:hover {
text-decoration: underline;
}
.cnh-forgot-link svg {
width: 12px;
height: 12px;
stroke: currentColor;
stroke-width: 2;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-alert-error {
background-color: #FDE8E8;
border: 1px solid var(--color-red);
color: var(--color-red-dark);
border-radius: 8px;
padding: 12px;
font-size: 13px;
margin-bottom: 16px;
display: none;
}
.cnh-alert-error:empty {
display: none !important;
}
.cnh-login-card > #login-error.cnh-alert-error {
display: none !important;
}
/* B2B Banner */
.cnh-b2b-banner {
margin-top: 24px;
background: #EDE8E0;
border-radius: 8px;
padding: 16px;
display: flex;
align-items: flex-start;
gap: 16px;
}
.cnh-b2b-icon {
margin-top: 2px;
color: var(--color-primary);
flex-shrink: 0;
}
.cnh-b2b-icon svg {
width: 28px;
height: 28px;
stroke: currentColor;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-b2b-content {
flex: 1;
min-width: 0;
}
.cnh-b2b-title {
font-size: 14px;
font-weight: 600;
color: var(--color-text-primary);
margin-bottom: 4px;
}
.cnh-b2b-desc {
font-size: 13px;
color: var(--color-text-secondary);
line-height: 1.5;
margin-bottom: 12px;
}
.cnh-btn-outline {
height: 44px;
background: transparent;
border: 1px solid var(--color-border);
color: var(--color-text-primary);
border-radius: 8px;
padding: 0 20px;
font-family: inherit;
font-size: 14px;
font-weight: 500;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
cursor: pointer;
transition: all 200ms ease;
}
.cnh-btn-outline:hover {
background: var(--color-bg-card);
border-color: var(--color-primary);
color: var(--color-text-primary);
}
.cnh-btn-outline svg {
width: 14px;
height: 14px;
stroke: currentColor;
stroke-width: 2;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
/* ============================================
PROMO BANNER
============================================ */
.cnh-promo-card {
background: var(--color-bg-promo);
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
}
.cnh-promo-badge {
position: absolute;
top: 20px;
left: 20px;
z-index: 10;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(4px);
border-radius: 16px;
padding: 6px 14px;
display: flex;
align-items: center;
gap: 6px;
}
.cnh-promo-badge svg {
width: 12px;
height: 12px;
stroke: var(--color-text-secondary);
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-promo-badge-text {
font-size: 11px;
font-weight: 600;
color: var(--color-text-secondary);
letter-spacing: 0.02em;
text-transform: uppercase;
}
.cnh-promo-content {
padding: 80px 24px 0;
}
.cnh-promo-title {
font-size: 26px;
font-weight: 700;
color: var(--color-text-primary);
line-height: 1.2;
letter-spacing: -0.01em;
margin-bottom: 8px;
}
.cnh-promo-title sup {
font-size: 16px;
font-weight: 400;
}
.cnh-promo-subtitle {
font-size: 16px;
font-weight: 500;
color: var(--color-text-primary);
margin-bottom: 8px;
}
.cnh-promo-desc {
font-size: 14px;
color: var(--color-text-secondary);
max-width: 240px;
line-height: 1.5;
}
.cnh-promo-desc sup {
font-size: 10px;
}
.cnh-promo-image-wrapper {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 16px 24px;
min-height: 300px;
}
.cnh-promo-image {
width: 100%;
max-width: 380px;
height: auto;
object-fit: contain;
}
.cnh-promo-footer {
padding: 0 24px 24px;
}
.cnh-btn-outline-full {
width: 100%;
height: 44px;
background: transparent;
border: 1px solid var(--color-border);
color: var(--color-text-primary);
border-radius: 8px;
padding: 0 20px;
font-family: inherit;
font-size: 14px;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
cursor: pointer;
transition: all 200ms ease;
}
.cnh-btn-outline-full:hover {
background: var(--color-bg-card);
border-color: var(--color-primary);
}
.cnh-btn-outline-full svg {
width: 14px;
height: 14px;
stroke: currentColor;
stroke-width: 2;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
/* ============================================
BENEFITS ROW
============================================ */
.cnh-benefits {
width: 100%;
background: #fff;
border-top: 1px solid var(--color-border);
}
.cnh-benefits-inner {
max-width: 1200px;
margin: 0 auto;
}
.cnh-benefits-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.cnh-benefit-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 24px 16px;
border-right: 1px solid var(--color-border);
transition: background 200ms ease;
}
.cnh-benefit-card:last-child {
border-right: none;
}
.cnh-benefit-card:hover {
background: rgba(247,243,236,0.6);
}
.cnh-benefit-icon {
width: 40px;
height: 40px;
margin-bottom: 12px;
color: var(--color-text-secondary);
}
.cnh-benefit-icon svg {
width: 100%;
height: 100%;
stroke: currentColor;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.cnh-benefit-title {
font-size: 18px;
font-weight: 600;
color: var(--color-text-primary);
margin-bottom: 6px;
}
.cnh-benefit-desc {
font-size: 13px;
color: var(--color-text-secondary);
max-width: 200px;
line-height: 1.5;
}
/* ============================================
CHAT BUTTON
============================================ */
.cnh-chat-btn {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 90;
background: var(--color-chat-green);
color: #fff;
border: none;
border-radius: 24px;
padding: 10px 20px;
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
font-family: inherit;
transition: all 200ms ease;
}
.cnh-chat-btn:hover {
background: #6A9C6A;
transform: scale(1.03);
}
.cnh-chat-btn svg {
width: 18px;
height: 18px;
stroke: #000;
stroke-width: 1.5;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
flex-shrink: 0;
}
.cnh-chat-text {
text-align: left;
line-height: 1.3;
}
.cnh-chat-title {
font-size: 13px;
font-weight: 500;
display: block;
}
.cnh-chat-subtitle {
font-size: 12px;
font-weight: 400;
opacity: 0.9;
display: block;
}
/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 1023px) {
.cnh-grid {
grid-template-columns: 1fr;
}
.cnh-benefits-grid {
grid-template-columns: repeat(2, 1fr);
}
.cnh-benefit-card:nth-child(2) {
border-right: none;
}
.cnh-benefit-card:nth-child(1),
.cnh-benefit-card:nth-child(2) {
border-bottom: 1px solid var(--color-border);
}
}
@media (max-width: 767px) {
.cnh-login-card {
padding: 24px;
}
.cnh-login-title {
font-size: 22px;
}
.cnh-benefits-grid {
grid-template-columns: 1fr;
}
.cnh-benefit-card {
border-right: none;
border-bottom: 1px solid var(--color-border);
}
.cnh-benefit-card:last-child {
border-bottom: none;
}
.cnh-chat-btn {
padding: 10px 16px;
}
}
