/* ================================================
   MÉTODO RAM — Landing Page Styles
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-deepgreen: #020f05;
    --bg-box: #010801;

    /* Primary - Green (matches ram888.online palette) */
    --primary: #22c55e;
    --primary-light: #34d399;
    --primary-dark: #16a34a;
    --primary-dim: #0a3a12;
    --primary-glow: rgba(34, 197, 94, 0.3);

    /* Neutrals */
    --white: #ffffff;
    --gray: #a1a1aa;
    --gray-light: #d4d4d8;
    --gray-dark: #71717a;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(16, 185, 129, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1100px;
    --padding-mobile: 20px;
    --padding-desktop: 40px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-deepgreen);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================
   Banner Pill — "Vuelve al orden"
   ================================================ */
.banner-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 4vw, 64px);
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.banner-box {
    background: var(--primary);
    color: #000000;
    padding: 2px 14px 6px;
    border-radius: 5px;
    display: inline-block;
}

@media (max-width: 600px) {
    .banner-headline {
        font-size: clamp(16px, 5vw, 26px);
        margin-bottom: 18px;
    }
    .banner-box {
        padding: 1px 12px 4px;
        border-radius: 4px;
    }
}

/* ================================================
   Hero — Headline + VSL
   ================================================ */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--primary-dim);
    background:
        radial-gradient(ellipse 60% 80% at 95% 5%, rgba(34, 197, 94, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 5% 95%, rgba(34, 197, 94, 0.08) 0%, transparent 65%),
        var(--bg-deepgreen);
}

.hero-banner-row {
    padding: 84px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-divider-top {
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary) 50%, var(--primary-dark));
    position: relative;
    z-index: 1;
}

.hero-content {
    background: var(--bg-box);
    padding: 36px 24px 44px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.banner-headline {
    margin: 0 0 22px;
}

.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--white);
    margin: 0 auto;
    max-width: 880px;
}

.hero-headline .accent {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   VSL Block
   ================================================ */
.vsl-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.vsl-container {
    position: relative;
    border: 1px solid var(--primary-dim);
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 25px 80px -12px rgba(0, 0, 0, 0.6),
        0 0 80px -20px var(--primary-glow);
}

.vsl-caption {
    margin: 16px auto 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.vsl-container > vturb-smartplayer,
.vsl-container > video,
.vsl-container > iframe {
    display: block;
    width: 100%;
    height: auto;
}

.vsl-placeholder {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse at center, rgba(16, 185, 129, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, #0d130f 0%, #060a08 100%);
    border: 1px dashed rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.vsl-placeholder-icon {
    color: var(--primary-light);
    opacity: 0.7;
    margin-bottom: 8px;
}

.vsl-placeholder p {
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.vsl-placeholder small {
    color: var(--gray);
    font-size: 0.8rem;
}

/* ================================================
   Sections - General
   ================================================ */
section {
    padding: 56px 24px 60px;
    position: relative;
    width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-content .section-label {
    margin-bottom: 22px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 2.8vw, 2.25rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--white);
}

.section-subtitle {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 400;
}

/* ================================================
   Testimonials Section
   ================================================ */
.testimonials {
    background:
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(34, 197, 94, 0.05) 0%, transparent 60%),
        var(--bg-deepgreen);
}

/* ---- Video Testimonials ---- */
.video-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto 80px;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 9 / 16;
    background:
        radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 70%),
        linear-gradient(135deg, #14201a 0%, #080d0a 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.video-placeholder:hover {
    border-color: var(--border-glow);
    box-shadow:
        0 20px 50px -20px rgba(0, 0, 0, 0.6),
        0 0 40px -10px var(--primary-glow);
    transform: translateY(-4px);
}

.video-testimonial-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
    cursor: pointer;
}

.video-mute-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    z-index: 2;
}

.video-mute-indicator .icon-unmuted { display: none; }
.video-placeholder.is-unmuted .icon-muted { display: none; }
.video-placeholder.is-unmuted .icon-unmuted { display: block; }
.video-placeholder.is-unmuted .video-mute-indicator { opacity: 0.45; }

.video-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--primary-light);
    opacity: 0.8;
}

.video-placeholder-inner svg {
    opacity: 0.85;
}

.video-placeholder-inner span {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.video-meta {
    margin-top: 18px;
    text-align: center;
}

.video-meta strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.video-meta span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ---- Comment Card (Facebook-style, matched to ram888.online proportions) ---- */
.comment-card {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    color: #1c1e21;
    border-radius: 10px;
    padding: 14px 12px;
    font-family: Arial, sans-serif;
    box-shadow:
        0 20px 50px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

.comment-header {
    font-size: 12px;
    color: #65676b;
    font-weight: 700;
    margin-bottom: 10px;
}

.comment {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e6e6e6;
    align-items: flex-start;
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #e4e6eb;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-author {
    color: #165eab;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
    display: inline-block;
    margin-bottom: 3px;
}

.comment-author:hover {
    text-decoration: underline;
    cursor: pointer;
}

.comment-text {
    color: #1c1e21;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 400;
    margin-bottom: 5px;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #65676b;
}

.comment-meta .comment-time {
    color: #65676b;
    font-weight: 400;
}

.comment-meta .dot {
    color: #65676b;
    opacity: 0.7;
    font-weight: 400;
}

.comment-meta .comment-likes {
    color: #165eab;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.comment-meta .comment-likes .count {
    color: #165eab;
}

.comment-meta .comment-action {
    color: #165eab;
    font-weight: 600;
    cursor: pointer;
}

.comment-meta .comment-action:hover {
    text-decoration: underline;
}

/* ================================================
   Footer
   ================================================ */
footer {
    text-align: center;
    padding: 56px 24px;
    border-top: 1px solid var(--primary-dim);
    background: var(--bg-deepgreen);
}

footer .footer-line {
    color: var(--primary-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 8px;
}

footer .footer-brand {
    color: var(--gray);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ================================================
   Animations
   ================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 768px) {
    .hero-banner-row {
        padding: 52px 16px 40px;
    }

    .banner-headline {
        margin-bottom: 18px;
    }

    .hero-content {
        padding: 24px 16px 32px;
    }

    .hero-content .section-label {
        margin-bottom: 18px;
    }

    section {
        padding: 40px 16px 44px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .video-testimonials {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .vsl-placeholder {
        aspect-ratio: 4 / 3;
    }
}
