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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #000000;
    color: #FFFFFF;
}

:root {
    --primary-orange: #FF6B35;
    --gold: #D4AF37;
    --dark-bg: #0A0A0A;
    --darker-bg: #000000;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --border-orange: #FF6B35;
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --shadow-orange: 0 4px 20px rgba(255, 107, 53, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, rgba(255, 107, 53, 0.3) 25%, rgba(255, 107, 53, 0.15) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50%       { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    text-align: center;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.main-heading {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 50px;
}

.main-heading h1 {
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.highlight-orange {
    color: #FF6B35;
    display: block;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.highlight-white {
    color: #FFFFFF;
    display: block;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.subtext {
    color: #FFFFFF;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: block;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: 40px auto;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.description strong {
    color: #FF6B35;
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 60px auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(255, 107, 53, 0.3),
        0 0 80px rgba(255, 107, 53, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: scaleIn 1s ease-out 1s backwards;
}

.video-container::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    background: #FF6B35;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 1s ease-out 1.2s backwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before { width: 300px; height: 300px; }

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    background: #FF7F50;
}

.cta-note {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.clients-section {
    margin-top: 80px;
    animation: fadeIn 1.2s ease-out 1.4s backwards;
}

.clients-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 30px;
}

.logos-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}


@media (max-width:768px){
    .agenda{
        margin-bottom: 40px;
    }
}
.logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo-item img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .logos-track {
        animation: scroll 12s linear infinite;
    }
}
.logo-item img:hover { filter: none; opacity: 1; }
.logo-item:hover { background: rgba(235, 235, 235, 0.336); border-radius: 8px; }

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* ===============================================
   SECTIONS
   =============================================== */
section {
    padding: 100px 20px;
    background: #0A0A0A;
}

section:nth-child(even) { background: #000000; }

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
    color: #FFFFFF;
}

/* ===============================================
   TESTIMONIALS
   =============================================== */
.testimonials { background: #000000; }

.testimonials-grid-custom {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-row-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonials-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card-rect {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card-rect:hover {
    transform: translateY(-5px);
    border-color: #FF6B35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.testimonial-img-container {
    width: 100%;
    aspect-ratio: auto;
    max-height: 400px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #FF6B35;
    background: #000;
}

.testimonial-img-container img,
.testimonial-img-container video {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;  /* contain en vez de cover para no cortar */
    display: block;
    background: #000;
}

.stars {
    margin: 15px 0;
    font-size: 18px;
    color: #FFD700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: #FF6B35;
}

.partners {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 107, 53, 0.15);
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
    margin: auto;
}

.partners .clients-label {
    padding: 0 20px;
}

/* ===============================================
   PROBLEM
   =============================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problem-card {
    text-align: center;
    padding: 30px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.icon-wrapper svg { width: 100%; height: 100%; }

.problem-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.problem-card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ===============================================
   SOLUTION FLOWS
   =============================================== */
.solution-flows {
    padding: 100px 20px;
    background: #0A0A0A;
    position: relative;
    overflow: hidden;
}

.solution-flows::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.08) 40%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.solution-flows .container {
    position: relative;
    z-index: 10;
}

/* ── Desktop flow boxes ── */
.flows-horizontal-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.flow-box {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #FF6B35;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.flow-box.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.flow-box:nth-child(1).animate-in { animation-delay: 0.2s; }
.flow-box:nth-child(2).animate-in { animation-delay: 0.4s; }
.flow-box:nth-child(3).animate-in { animation-delay: 0.6s; }

.flow-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: #FF8C5A;
}

.flow-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.5);
}

.flow-box-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 15px 0;
    letter-spacing: -0.5px;
}

.flow-box-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* SVG Connectors Desktop */
.flow-connectors {
    width: 100%;
    height: auto;
    margin: -60px 0 0px 0;
    overflow: visible;
}

.connector-line {
    fill: none;
    stroke: #FF6B35;
    stroke-width: 3;
    opacity: 0;
}

.connector-line.animate-in {
    animation: drawLine 0.8s ease forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; opacity: 1; }
}

.line-1.animate-in { animation-delay: 0.6s; }
.line-2.animate-in { animation-delay: 0.8s; }
.line-3.animate-in { animation-delay: 1s; }
.line-4.animate-in { animation-delay: 1.2s; }
.line-5.animate-in { animation-delay: 1.4s; }

/* Result Box Desktop */
.flow-result-horizontal {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, #0A0A0A 100%);
    border: 4px solid #FF6B35;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: -112px auto 0;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
}

.flow-result-horizontal.animate-in {
    animation: wowEffect 1s ease forwards;
    animation-delay: 1.6s;
}

@keyframes wowEffect {
    0%   { opacity: 0; transform: scale(0.5) rotate(-5deg); }
    50%  { opacity: 1; transform: scale(1.15) rotate(2deg); }
    70%  { transform: scale(0.95) rotate(-1deg); }
    85%  { transform: scale(1.05) rotate(0.5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.flow-result-horizontal.animate-in .flow-result-title {
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 2.6s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1);    text-shadow: 0 4px 10px rgba(255, 107, 53, 0.3); }
    50%       { transform: scale(1.05); text-shadow: 0 4px 20px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.4); }
}

.flow-result-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #FF6B35;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* ══════════════════════════════════════════════════
   MOBILE FLOW — visible only < 969px
   ══════════════════════════════════════════════════ */
.mobile-flow {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 40px;
}

/* Step card */
.mf-step {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mf-step-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.mf-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF6B35;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.2), 0 5px 20px rgba(255, 107, 53, 0.4);
    position: relative;
    z-index: 2;
}

.mf-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #FF6B35;
    border-radius: 16px;
    padding: 28px 24px 22px;
    text-align: center;
    margin-top: -10px;
    position: relative;
    z-index: 1;
}

.mf-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.mf-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* Connector line — CSS div, no SVG */
.mf-connector {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 52px;
    position: relative;
    z-index: 0;
}

.mf-line {
    width: 4px;
    height: 52px;
    border-radius: 2px;
    background: #FF6B35;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.7), 0 0 16px rgba(255, 107, 53, 0.4);
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-conn-draw .mf-line {
    transform: scaleY(1);
}

/* Result card */
.mf-result {
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mf-result-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.mf-result-inner {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.18) 0%, #0A0A0A 100%);
    border: 3px solid #FF6B35;
    border-radius: 20px;
    padding: 38px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Outer pulse ring on result */
.mf-result-visible .mf-result-inner::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 3px solid #FF6B35;
    animation: mfRingPulse 2s ease-out infinite 0.6s;
    pointer-events: none;
}

@keyframes mfRingPulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.07); }
}

/* Inner glow */
.mf-result-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 17px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
    pointer-events: none;
}

.mf-result-visible .mf-result-inner::after {
    opacity: 1;
    transform: scale(1);
}

.mf-result-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 9vw, 44px);
    font-weight: 900;
    color: #FF6B35;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

/* Animate each word */
.mf-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px) scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mf-word-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Continuous pulse on result text */
.mf-result-visible .mf-result-text {
    animation: mfTextPulse 2.5s ease-in-out infinite 1.4s;
}

@keyframes mfTextPulse {
    0%, 100% { text-shadow: 0 4px 12px rgba(255, 107, 53, 0.35); }
    50%       { text-shadow: 0 4px 28px rgba(255, 107, 53, 0.7), 0 0 40px rgba(255, 107, 53, 0.4); }
}

/* Spark particle */
.mf-spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
}

@keyframes mfSparkFly {
    0%   { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* ===============================================
   PROCESS
   =============================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin: 60px 0;
}

.step { text-align: center; }

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Results Showcase */
.results-showcase {
    margin-top: 80px;
    text-align: center;
}

.results-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 40px;
}

.results-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.result-box {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    border-radius: 16px;
    border: 3px solid #FF6B35;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.result-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

.result-box-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 53, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(4px);
}

.result-box:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5);
    border-color: #FF8C5A;
}

.result-box:hover::before { background: rgba(255, 107, 53, 0.08); }

.result-box:hover .result-box-zoom {
    opacity: 1;
    transform: scale(1);
}

/* ===============================================
   LIGHTBOX
   =============================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

/* Close button */
.lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.lb-close:hover {
    background: rgba(255, 107, 53, 0.7);
    border-color: #FF6B35;
    transform: rotate(90deg) scale(1.1);
}

/* Arrows */
.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lb-arrow:hover {
    background: rgba(255, 107, 53, 0.6);
    border-color: #FF6B35;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }

/* Image */
.lb-image-wrap {
    position: relative;
    z-index: 10000;
    max-width: calc(100vw - 120px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-image {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 107, 53, 0.2);
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lb-image-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Dots */
.lb-dots {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    gap: 10px;
    align-items: center;
}

.lb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.lb-dot.active {
    background: #FF6B35;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

.lb-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.6); }

/* Counter */
.lb-counter {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 2px;
}

/* ===============================================
   PARTNERS
   =============================================== */
.partners {
    padding: 100px 20px;
    background: #000000;
    text-align: center;
}

.partners-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.partner-logo img {
    width: 100%;
    max-width: 100px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img { opacity: 1; transform: scale(1.1); }

/* ===============================================
   BENEFITS
   =============================================== */
.benefits-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #FF6B35;
}

/* ===============================================
   POSITIONING
   =============================================== */
.positioning {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.positioning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.positioning-column {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 40px;
}

.positioning-column.negative { border: 2px solid rgba(255, 107, 53, 0.3); }

.positioning-column.positive {
    border: 2px solid var(--border-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, var(--dark-bg) 100%);
}

.column-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-white);
}

.positioning-list { list-style: none; }

.positioning-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-white);
    line-height: 1.6;
}

/* ===============================================
   FINAL CTA
   =============================================== */
.final-cta {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
    text-align: center;
    padding: 120px 20px;
}

.cta-description {
    font-size: 20px;
    line-height: 1.7;
    max-width: 700px;
    margin: 30px auto 50px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button.large {
    padding: 25px 60px;
    font-size: 20px;
}

/* ===============================================
   MODAL FORMULARIO
   =============================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.modal-content {
    background: #0A0A0A;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease-out;
    transition: max-width 0.4s ease;
}

/* Cuando está en modo booking el modal es más ancho */
.modal-content.booking-mode {
    max-width: 780px;
}

/* Iframe booking */
#panelBooking iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 12px;
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover { color: #FF6B35; }

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-align: center;
}

.modal-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    text-align: center;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group select option[value=""] {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #878787 !important;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-btn { margin-top: 20px; width: 100%; }

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: #000000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Desktop: hide mobile flow */
.mobile-flow { display: none; }

/* ===============================================
   RESPONSIVE — 968px tablet/mobile
   =============================================== */
@media (max-width: 968px) {

    .hero-section { padding: 40px 15px; }

    /* Desktop flow → ocultar TODO */
    .flows-horizontal-wrapper { display: none; }
    .flow-connectors          { display: none; }
    .flow-result-horizontal   { display: none; }

    /* Mobile flow → mostrar */
    .mobile-flow { display: flex; }

    .testimonials-row-top,
    .testimonials-row-bottom { grid-template-columns: 1fr; }

    .results-images { grid-template-columns: 1fr; }

    .result-box { height: 300px; }

    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

    .positioning-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 20px;
    }

    .form-row { grid-template-columns: 1fr; }

    .modal-content { padding: 30px 20px; }

    section { padding: 60px 20px; }

    /* Lightbox arrows — acercar en mobile */
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }

    .lb-image-wrap { max-width: calc(100vw - 80px); }
}

@media (max-width: 640px) {

    .main-heading h1 { letter-spacing: -1px; }

    .cta-button { padding: 14px 35px; font-size: 14px; }

    .logo-item { margin: 0 20px; }
    .logo-item img { height: 40px; }

    .partners-grid { grid-template-columns: 1fr; }

    .testimonial-img-container { aspect-ratio: 16 / 9; height: auto; }

    .result-box { height: 250px; }

    .lb-arrow {
        width: 40px;
        height: 40px;
    }
}

/* ═══════════════════════════════════════════
   RESULT BLOCKS - imagen full width + texto
═══════════════════════════════════════════ */

.result-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.result-img-full {
    position: relative;
    width: 100%;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.result-img-full img {
    width: 100%;
    height: auto;
    display: block;
    filter: blur(0px);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.result-img-full:hover img {
    filter: blur(1px);
    transform: scale(1.01);
}

.result-img-full .result-box-zoom {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.result-img-full:hover .result-box-zoom {
    opacity: 1;
}

.result-text-block {
    background: transparent;
    border-radius: 0;
    padding: 0 0 14px 0;
    border: none;
}

.result-text-block h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.result-text-block h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 16px;
}

.result-text-block p {
    color: #ddd;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.result-text-block p strong {
    color: #fff;
    font-weight: 700;
}

/* ═══ RESULT IMAGES FULL WIDTH MOBILE ═══ */
@media (max-width: 768px) {
    .result-img-full {
        border-radius: 0;
        width: 100%;
    }
    .result-img-full img {
        border-radius: 0;
        width: 100%;
    }
}
