/* ============================================
   SIMA — Planificación Quirúrgica 3D
   Landing Page Styles
   ============================================ */

html { scroll-behavior: smooth; }

/* RESET & BASE */
#sima-landing *, #sima-landing *::before, #sima-landing *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#sima-landing {
    font-family: 'Montserrat', sans-serif;
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

/* HEADER */
#sima-landing .sima-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123,40,127,0.12);
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sima-landing .sima-header img { height: 52px; width: auto; }

#sima-landing .cta-header {
    background: #7B287F;
    color: white !important;
    text-decoration: none;
    padding: 11px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.3px;
}

#sima-landing .cta-header:hover { background: #5E1C62; transform: translateY(-1px); }

/* HERO */
#sima-landing .sima-hero {
    min-height: 100vh;
    /* Sin foto el velo es 1 (opaco): se ve igual que el degradado original.
       Con foto (editable desde el CMS) index.php baja --hero-velo a 0.88. */
    background-color: #0D0314;
    background-image:
        linear-gradient(135deg, rgba(13,3,20,var(--hero-velo, 1)) 0%, rgba(26,5,40,var(--hero-velo, 1)) 50%, rgba(45,16,53,var(--hero-velo, 1)) 100%),
        var(--hero-foto, none);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

#sima-landing .sima-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,40,127,0.25) 0%, transparent 70%);
    pointer-events: none;
}

#sima-landing .hero-content { max-width: 860px; position: relative; z-index: 1; }

#sima-landing .hero-badge {
    display: inline-block;
    background: rgba(123,40,127,0.3);
    border: 1px solid rgba(123,40,127,0.5);
    color: rgba(255,255,255,0.85);
    padding: 7px 22px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 36px;
}

#sima-landing .sima-hero h1 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 600 !important;
    color: white !important;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    font-family: 'Montserrat', sans-serif !important;
}

#sima-landing .sima-hero h1 span { color: #9B3DA0 !important; }

#sima-landing .sima-hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

#sima-landing .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #7B287F;
    color: white !important;
    text-decoration: none;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 8px 40px rgba(123,40,127,0.5);
}

#sima-landing .hero-cta:hover {
    background: #9B3DA0;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(123,40,127,0.6);
}

#sima-landing .hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#sima-landing .scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: simaScroll 2.2s infinite;
}

@keyframes simaScroll {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* SHARED */
#sima-landing .sima-section { padding: 100px 24px; }
#sima-landing .sima-container { max-width: 1100px; margin: 0 auto; }

#sima-landing .section-tag {
    display: inline-block;
    color: var(--c-tag, #7B287F);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-left: 3px solid var(--pleca, #7B287F);
    padding-left: 12px;
}

#sima-landing .section-tag.light {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.4);
}

#sima-landing .section-title {
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 600 !important;
    color: var(--c-titulo, #1A1A1A) !important;
    line-height: 1.22;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif !important;
}

#sima-landing .section-desc {
    font-size: 18px;
    color: var(--c-texto, #707070);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 16px;
}

#sima-landing .section-desc strong { color: var(--c-titulo, #1A1A1A); font-weight: 600; }

/* BUTTONS */
#sima-landing .btn-primary {
    display: inline-block;
    background: #7B287F;
    color: white !important;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-top: 28px;
    transition: background 0.3s, transform 0.2s;
}

#sima-landing .btn-primary:hover { background: #5E1C62; transform: translateY(-2px); }

#sima-landing .btn-white {
    display: inline-block;
    background: white;
    color: #7B287F !important;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#sima-landing .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* INTRO */
#sima-landing .sima-intro { background: white; }

#sima-landing .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

#sima-landing .intro-body {
    font-size: 16px;
    color: var(--c-texto, #707070);
    line-height: 1.82;
    margin-top: 20px;
}

#sima-landing .intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(123,40,127,0.18);
}

#sima-landing .intro-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

#sima-landing .intro-image:hover img { transform: scale(1.02); }

#sima-landing .image-badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(123,40,127,0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* FEATURES */
#sima-landing .sima-features { background: #F5F3F6; }

#sima-landing .features-header {
    text-align: center;
    margin-bottom: 60px;
}

#sima-landing .features-header .section-title { color: var(--c-titulo, #1A1A1A) !important; }

#sima-landing .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

#sima-landing .feature-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

#sima-landing .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(123,40,127,0.12);
    border-bottom-color: var(--pleca, #7B287F);
}

#sima-landing .feature-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-acento, #7B287F);
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

#sima-landing .feature-card h3 {
    font-size: 17px;
    font-weight: 600 !important;
    color: var(--c-titulo, #1A1A1A) !important;
    margin-bottom: 12px;
    line-height: 1.35;
    font-family: 'Montserrat', sans-serif !important;
}

#sima-landing .feature-card p {
    font-size: 14px;
    color: var(--c-texto, #707070);
    line-height: 1.75;
    margin: 0;
}

#sima-landing .feature-card--cta {
    background: linear-gradient(135deg, #7B287F, #5E1C62);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-bottom: none;
}

#sima-landing .feature-card--cta:hover { border-bottom: none; }

#sima-landing .feature-card--cta p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

/* HIGHLIGHT */
#sima-landing .sima-highlight {
    background: linear-gradient(135deg, #14051C 0%, #2D1035 100%);
    padding: 100px 24px;
}

#sima-landing .highlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

#sima-landing .highlight-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

#sima-landing .highlight-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

#sima-landing .highlight-image:hover img { transform: scale(1.02); }

#sima-landing .highlight-text {}

#sima-landing .highlight-text blockquote {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 600 !important;
    color: white !important;
    line-height: 1.35;
    font-style: italic;
    margin: 16px 0 28px;
    font-family: 'Montserrat', sans-serif !important;
    border-left: 4px solid var(--pleca, #7B287F);
    padding-left: 24px;
}

#sima-landing .highlight-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.82;
    margin-bottom: 40px;
}

#sima-landing .highlight-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

#sima-landing .hstat { text-align: center; }

#sima-landing .hstat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

#sima-landing .hstat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* FORM */
#sima-landing .sima-form { background: #F5F3F6; }

#sima-landing .form-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

#sima-landing .form-info h2 {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 600 !important;
    color: var(--c-titulo, #1A1A1A) !important;
    line-height: 1.3;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif !important;
}

#sima-landing .form-info h2 span { color: var(--c-acento, #7B287F) !important; }

#sima-landing .form-info > p {
    font-size: 16px;
    color: var(--c-texto, #707070);
    line-height: 1.82;
    margin-bottom: 44px;
}

#sima-landing .form-trust { display: flex; flex-direction: column; gap: 18px; }

#sima-landing .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--c-titulo, #1A1A1A);
    font-weight: 500;
}

#sima-landing .trust-check {
    width: 30px; height: 30px;
    background: #7B287F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

#sima-landing .form-container {
    background: white;
    border-radius: 22px;
    padding: 44px;
    box-shadow: 0 8px 48px rgba(123,40,127,0.1);
}

#sima-landing .form-container h3 {
    font-size: 22px;
    font-weight: 600 !important;
    color: var(--c-titulo, #1A1A1A) !important;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif !important;
}

#sima-landing .form-container .form-sub {
    font-size: 14px;
    color: var(--c-texto, #707070);
    margin-bottom: 32px;
}

/* FOOTER */
#sima-landing .sima-footer {
    background: #0D0314;
    padding: 52px 48px;
    text-align: center;
}

#sima-landing .sima-footer img {
    height: 48px; width: auto;
    opacity: 0.85;
    margin-bottom: 20px;
    display: block;
    margin-left: auto; margin-right: auto;
}

#sima-landing .sima-footer p {
    color: rgba(255,255,255,0.4) !important;
    font-size: 13px;
    line-height: 1.9;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    #sima-landing .sima-header { padding: 14px 24px; }
    #sima-landing .intro-grid,
    #sima-landing .highlight-grid,
    #sima-landing .form-grid { grid-template-columns: 1fr; gap: 40px; }
    #sima-landing .features-grid { grid-template-columns: 1fr 1fr; }
    #sima-landing .highlight-grid .highlight-image { order: -1; }
}

@media (max-width: 600px) {
    #sima-landing .sima-section { padding: 64px 20px; }
    #sima-landing .sima-highlight { padding: 64px 20px; }
    #sima-landing .cta-header { display: none; }
    #sima-landing .features-grid { grid-template-columns: 1fr; }
    #sima-landing .highlight-stats { gap: 20px; }
}
