/**
 * Homepage Conversion Improvements - Additional Styles
 * Estilos específicos para las nuevas secciones de la homepage
 */

/* ===== READY SOLUTIONS SECTION ===== */
.ready-solutions-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.ready-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.benefit-tag {
    display: inline-block;
    background: #F0FFF4;
    color: var(--success);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
}

/* Responsive adjustments for ready solutions grid */
@media (max-width: 1024px) {
    .ready-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ready-solutions-section {
        padding: 48px 0;
    }
    
    .ready-solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== WHY VREO SECTION ===== */
.why-vreo-section {
    padding: 80px 0;
    background: var(--bg);
}

.why-vreo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Responsive adjustments for why vreo grid */
@media (max-width: 1024px) {
    .why-vreo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-vreo-section {
        padding: 48px 0;
    }
    
    .why-vreo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== LEAD CAPTURE FORM - ERROR STATES ===== */

/* Form group with error */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #E53E3E;
    background-color: #FFF5F5;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    outline: none;
}

/* Error message styling */
.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #E53E3E;
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.4;
}

.error-message .error-icon {
    flex-shrink: 0;
    color: #E53E3E;
}

/* Input error state */
input.error,
textarea.error,
select.error {
    border-color: #E53E3E !important;
    background-color: #FFF5F5;
}

/* Focus state for error inputs */
input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    outline: none;
}

/* Label color when error */
.form-group.has-error label {
    color: #E53E3E;
}

/* Animation for error message */
@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    animation: slideInError 0.2s ease-out;
}

/* Success state (optional, for future use) */
.form-group.has-success input,
.form-group.has-success textarea,
.form-group.has-success select {
    border-color: #38A169;
    background-color: #F0FFF4;
}

.form-group.has-success input:focus,
.form-group.has-success textarea:focus,
.form-group.has-success select:focus {
    border-color: #38A169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
    outline: none;
}

/* Responsive adjustments for error messages */
@media (max-width: 768px) {
    .error-message {
        font-size: 13px;
    }
}

/* ===== FORM SUCCESS MESSAGE ===== */
.form-success-message {
    background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    border: 2px solid #38A169;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    animation: slideInSuccess 0.4s ease-out;
}

.form-success-message .success-icon {
    display: inline-block;
    margin-bottom: 24px;
}

.form-success-message .success-icon svg {
    color: #38A169;
    width: 64px;
    height: 64px;
    stroke-width: 2;
}

.form-success-message h3 {
    color: #22543D;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-success-message p {
    color: #2D3748;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.form-success-message .success-note {
    color: #4A5568;
    font-size: 16px;
    font-style: italic;
}

@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM GENERAL ERROR ===== */
.form-general-error {
    background: #FFF5F5;
    border: 2px solid #E53E3E;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInError 0.3s ease-out;
}

.form-general-error .error-icon {
    flex-shrink: 0;
    color: #E53E3E;
}

.form-general-error span {
    color: #742A2A;
    font-size: 15px;
    line-height: 1.5;
}

/* ===== LOADING STATE ===== */
button[type="submit"].loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

button[type="submit"] .spinner {
    display: none;
}

button[type="submit"].loading .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

button[type="submit"].loading span:not(.spinner) {
    color: white;
    margin-left: 8px;
}

/* Disabled state */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .form-success-message {
        padding: 32px 24px;
    }
    
    .form-success-message h3 {
        font-size: 24px;
    }
    
    .form-success-message p {
        font-size: 16px;
    }
    
    .form-success-message .success-note {
        font-size: 14px;
    }
    
    .form-general-error {
        padding: 12px 16px;
    }
    
    .form-general-error span {
        font-size: 14px;
    }
}

/* ===== TARGET AUDIENCE SECTION (PARA QUIÉN ES) ===== */
.target-audience-section {
    padding: 80px 0;
    background: var(--bg);
}

.target-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Responsive adjustments for target audience grid */
@media (max-width: 1024px) {
    .target-audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .target-audience-section {
        padding: 48px 0;
    }
    
    .target-audience-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== WHAT'S INCLUDED SECTION (QUÉ INCLUYE) ===== */
.whats-included-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.included-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Responsive adjustments for included services grid */
@media (max-width: 1024px) {
    .included-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .whats-included-section {
        padding: 48px 0;
    }
    
    .included-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== REAL IMPLEMENTATIONS SECTION (IMPLEMENTACIONES REALES) ===== */
.real-implementations-section {
    padding: 80px 0;
    background: var(--bg);
}

/* Client Logos Grid */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    min-height: 120px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #A0AEC0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Industries Section */
.industries-section {
    margin-bottom: 64px;
    text-align: center;
}

.industries-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.industry-tag {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Implementation Stats Grid */
.implementation-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Specific Implementations */
.specific-implementations {
    margin-top: 64px;
}

.specific-implementations h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

.implementations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.implementation-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.implementation-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.impl-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
}

.impl-icon svg {
    color: white;
}

.impl-details {
    flex: 1;
}

.impl-details h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.impl-details p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.impl-tag {
    display: inline-block;
    background: #F0FFF4;
    color: var(--success);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for real implementations section */
@media (max-width: 1024px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .implementation-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .real-implementations-section {
        padding: 48px 0;
    }
    
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 32px;
        margin-bottom: 48px;
    }
    
    .client-logo {
        padding: 16px;
        min-height: 100px;
    }
    
    .industries-section {
        margin-bottom: 48px;
    }
    
    .industries-section h3 {
        font-size: 20px;
    }
    
    .industries-tags {
        gap: 8px;
    }
    
    .industry-tag {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .implementation-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 48px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .specific-implementations {
        margin-top: 48px;
    }
    
    .specific-implementations h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .implementation-item {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .impl-icon {
        width: 56px;
        height: 56px;
    }
    
    .impl-details h4 {
        font-size: 18px;
    }
    
    .impl-details p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .client-logos-grid {
        grid-template-columns: 1fr;
    }
    
    .implementation-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== IMPLEMENTATION PROCESS SECTION (CÓMO FUNCIONA) ===== */
.implementation-process-section {
    padding: 80px 0;
    background: var(--bg);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 0 24px;
}

/* Vertical line connecting steps */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Alternate layout for even steps */
.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    max-width: calc(50% - 48px);
}

.step-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-duration {
    display: inline-block;
    background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    color: var(--success);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--success);
}

/* Process CTA */
.process-cta {
    text-align: center;
    margin-top: 64px;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 16px;
    color: white;
}

.process-note {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
    color: white;
}

.process-cta .btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 14px 32px;
    font-size: 16px;
}

.process-cta .btn:hover {
    background: #F7FAFC;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for implementation process section */
@media (max-width: 1024px) {
    .process-timeline::before {
        left: 32px;
    }
    
    .process-step {
        flex-direction: row !important;
        gap: 24px;
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .step-content {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .implementation-process-section {
        padding: 48px 0;
    }
    
    .process-timeline {
        padding: 0 16px;
        margin-top: 32px;
    }
    
    .process-timeline::before {
        left: 24px;
    }
    
    .process-step {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .step-content {
        padding: 24px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .step-content p {
        font-size: 15px;
    }
    
    .step-duration {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .process-cta {
        margin-top: 48px;
        padding: 32px 24px;
    }
    
    .process-note {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-content p {
        font-size: 14px;
    }
}

/* ===== LIVE DEMO SECTION (VER DEMO REAL) ===== */
.live-demo-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.demo-video-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-top: 48px;
    align-items: start;
}

/* Video Container with 16:9 aspect ratio */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
    transform: scale(1.05);
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.play-button:hover svg circle {
    fill: rgba(255, 255, 255, 1);
}

/* Demo Highlights */
.demo-highlights {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.demo-highlights h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.demo-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.demo-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.demo-features-list li:last-child {
    margin-bottom: 0;
}

.demo-features-list .check-icon {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.demo-highlights .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive adjustments for live demo section */
@media (max-width: 1024px) {
    .demo-video-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .demo-highlights {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .live-demo-section {
        padding: 48px 0;
    }
    
    .demo-video-wrapper {
        margin-top: 32px;
        gap: 24px;
    }
    
    .demo-highlights {
        padding: 24px;
    }
    
    .demo-highlights h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .demo-features-list li {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .play-button svg {
        width: 60px;
        height: 60px;
    }
    
    .demo-highlights {
        padding: 20px;
    }
}

/* ===== POST DEMO SECTION (QUÉ PASA DESPUÉS DE LA DEMO) ===== */
.post-demo-section {
    padding: 80px 0;
    background: var(--bg);
}

.post-demo-timeline {
    max-width: 900px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.timeline-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
}

.timeline-icon svg {
    color: white;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Post Demo Note */
.post-demo-note {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 32px;
    background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    border-radius: 12px;
    border: 2px solid var(--success);
    text-align: center;
}

.post-demo-note p {
    font-size: 18px;
    color: #22543D;
    line-height: 1.6;
    margin: 0;
}

.post-demo-note strong {
    color: #22543D;
    font-weight: 700;
}

/* Responsive adjustments for post demo section */
@media (max-width: 1024px) {
    .post-demo-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .post-demo-section {
        padding: 48px 0;
    }
    
    .post-demo-timeline {
        margin-top: 32px;
        gap: 20px;
    }
    
    .timeline-item {
        padding: 24px;
        gap: 16px;
    }
    
    .timeline-icon {
        width: 56px;
        height: 56px;
    }
    
    .timeline-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 15px;
    }
    
    .post-demo-note {
        margin-top: 32px;
        padding: 24px;
    }
    
    .post-demo-note p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .timeline-icon {
        width: 48px;
        height: 48px;
    }
    
    .timeline-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* ===== SPECIALIST POSITIONING SECTION (ESPECIALISTAS) ===== */
.specialist-positioning-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.positioning-content {
    max-width: 900px;
    margin: 0 auto;
}

.positioning-content > h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.3;
    text-align: center;
}

.positioning-text {
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.positioning-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.positioning-text p:last-child {
    margin-bottom: 0;
}

.positioning-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.positioning-text h3:first-child {
    margin-top: 0;
}

/* Positioning CTA */
.positioning-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.positioning-cta .btn {
    min-width: 200px;
}

/* Responsive adjustments for specialist positioning section */
@media (max-width: 768px) {
    .specialist-positioning-section {
        padding: 48px 0;
    }
    
    .positioning-content > h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .positioning-text {
        padding: 32px 24px;
        margin-bottom: 32px;
    }
    
    .positioning-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .positioning-text h3 {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 12px;
    }
    
    .positioning-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .positioning-cta .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .positioning-content > h2 {
        font-size: 24px;
    }
    
    .positioning-text {
        padding: 24px 20px;
    }
    
    .positioning-text p {
        font-size: 15px;
    }
    
    .positioning-text h3 {
        font-size: 18px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 900px;
    margin: 48px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #F7FAFC;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

/* Expanded state */
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-question[aria-expanded="true"] {
    background: #F7FAFC;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer[aria-hidden="false"] {
    max-height: 1000px;
    padding: 0 32px 24px 32px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.faq-cta p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.faq-cta .btn {
    min-width: 200px;
}

/* Responsive adjustments for FAQ section */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 0;
    }
    
    .faq-list {
        margin-top: 32px;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 20px 24px;
        gap: 16px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    
    .faq-answer[aria-hidden="false"] {
        padding: 0 24px 20px 24px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
    
    .faq-cta {
        margin-top: 32px;
        padding: 32px 24px;
    }
    
    .faq-cta p {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .faq-cta .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer[aria-hidden="false"] {
        padding: 0 20px 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* ===== DEMO SECTION ADJUSTMENTS FOR HOMEPAGE ===== */
/* Los estilos base de .demo-content, .demo-layout, etc. ya están en styles.css */
/* Solo agregamos ajustes específicos si son necesarios */

.demo-content {
    background: var(--bg-light);
}

/* Asegurar que el widget de Calendly se vea bien en la homepage */
.demo-form-card .calendly-inline-widget {
    border-radius: 8px;
    overflow: hidden;
}



/* ===== ODOO VS EXCEL TABLE ===== */
.vs-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border: 1px solid #e2e8f0;
}
.vs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.vs-header {
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    width: 50%;
    letter-spacing: 0.5px;
}
.vs-header svg {
    vertical-align: middle;
    margin-right: 8px;
}
.vs-header--bad {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    color: #c53030;
    border-bottom: 3px solid #fc8181;
}
.vs-header--good {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    color: #276749;
    border-bottom: 3px solid #68d391;
}
.vs-cell {
    padding: 16px 24px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}
.vs-cell--bad {
    background: #fff5f5;
    color: #742a2a;
}
.vs-cell--bad::before {
    content: '✗  ';
    color: #e53e3e;
    font-weight: 700;
    font-size: 16px;
}
.vs-cell--good {
    background: #f0fff4;
    color: #22543d;
    border-left: 2px solid #c6f6d5;
}
.vs-cell--good::before {
    content: '✓  ';
    color: #38a169;
    font-weight: 700;
    font-size: 16px;
}
.vs-table tbody tr:nth-child(even) .vs-cell--bad {
    background: #fff0f0;
}
.vs-table tbody tr:nth-child(even) .vs-cell--good {
    background: #e6ffed;
}
.vs-table tbody tr:last-child .vs-cell {
    border-bottom: none;
}
.vs-table tbody tr:hover .vs-cell--bad {
    background: #fee2e2;
}
.vs-table tbody tr:hover .vs-cell--good {
    background: #dcffe4;
}

@media (max-width: 600px) {
    .vs-table-wrapper {
        border-radius: 12px;
        margin: 0 -4px;
    }
    .vs-header {
        padding: 14px 10px;
        font-size: 15px;
    }
    .vs-header svg {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
    .vs-cell {
        padding: 12px 10px;
        font-size: 13px;
    }
    .vs-cell--bad::before,
    .vs-cell--good::before {
        font-size: 14px;
    }
}

/* ===== MOCKUP BROWSER (captura fiel del tema oscuro real de la app, dentro de la página clara de vreo.net) ===== */
/* Colores fijos calcados de assets/theme.css del sistema real (no usar variables de vreo.net aquí a propósito) */
.mockup-browser {
    --mk-brand: #f97316;
    --mk-bg: #0b0f14;
    --mk-surface: #0f1620;
    --mk-card: #101a24;
    --mk-text: #f3f4f6;
    --mk-muted: #a3a3a3;
    --mk-border: rgba(255,255,255,.12);
    --mk-danger: #ef4444;
    --mk-warning: #f59e0b;
    --mk-ok: #22c55e;

    background: var(--mk-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border: 1px solid var(--mk-border);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mockup-browser__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--mk-surface);
    border-bottom: 1px solid var(--mk-border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.mockup-dot--red { background: #FF5F57; }
.mockup-dot--yellow { background: #FEBC2E; }
.mockup-dot--green { background: #28C840; }

.mockup-browser__url {
    margin-left: 12px;
    background: var(--mk-card);
    border: 1px solid var(--mk-border);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 12px;
    color: var(--mk-muted);
    flex: 1;
    max-width: 260px;
}

.mockup-app {
    padding: 20px 24px 24px;
    background: var(--mk-bg);
}

.mockup-app__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mockup-app__title {
    font-weight: 700;
    font-size: 16px;
    color: var(--mk-text);
}

.mockup-app__badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--mk-brand);
    background: rgba(249,115,22,0.12);
    padding: 4px 10px;
    border-radius: 20px;
}

.mockup-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.mockup-kpi {
    background: var(--mk-card);
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-kpi__label {
    font-size: 12px;
    color: var(--mk-muted);
}

.mockup-kpi__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--mk-text);
}

.mockup-kpi__delta {
    font-size: 12px;
    font-weight: 600;
}
.mockup-kpi__delta--up { color: var(--mk-ok); }
.mockup-kpi__delta--down { color: var(--mk-danger); }
.mockup-kpi__delta--warn { color: var(--mk-warning); }

.mockup-table {
    background: var(--mk-card);
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    overflow: hidden;
}

.mockup-table__row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--mk-text);
    border-bottom: 1px solid var(--mk-border);
    align-items: center;
}
.mockup-table__row:last-child { border-bottom: none; }
.mockup-table__row--head {
    background: var(--mk-surface);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mk-muted);
}

.mockup-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-align: center;
}
.mockup-pill--ok { background: rgba(34,197,94,0.15); color: var(--mk-ok); }
.mockup-pill--warn { background: rgba(245,158,11,0.15); color: var(--mk-warning); }

/* Wide variant (segunda sección, layout con panel lateral) */
.mockup-browser--wide .mockup-app--grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    margin-bottom: 18px;
    background: var(--mk-card);
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    padding: 14px 16px 18px;
}
.mockup-chart__bar {
    flex: 1;
    background: rgba(249,115,22,0.35);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.mockup-chart__bar--peak { background: var(--mk-brand); }
.mockup-chart__bar span {
    position: absolute;
    bottom: -18px;
    font-size: 10px;
    color: var(--mk-muted);
}

.mockup-side-card {
    background: var(--mk-card);
    border: 1px solid var(--mk-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 13px;
}
.mockup-side-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--mk-text);
    font-size: 13px;
}
.mockup-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mockup-side-card li {
    display: flex;
    justify-content: space-between;
    color: var(--mk-muted);
}
.mockup-side-card li span {
    font-weight: 700;
    color: var(--mk-danger);
}

/* Responsive */
@media (max-width: 768px) {
    .mockup-browser {
        border-radius: 8px;
    }
    .mockup-browser__bar {
        padding: 8px 10px;
    }
    .mockup-browser__url {
        font-size: 10px;
        max-width: 160px;
        padding: 2px 8px;
    }
    .mockup-dot {
        width: 7px;
        height: 7px;
    }
    .mockup-app {
        padding: 12px 12px 14px;
    }
    .mockup-app__header {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }
    .mockup-app__title {
        font-size: 13px;
    }
    .mockup-app__badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .mockup-kpis {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 10px;
    }
    .mockup-kpi {
        padding: 8px 10px;
        border-radius: 8px;
    }
    .mockup-kpi__label {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mockup-kpi__value {
        font-size: 15px;
    }
    .mockup-kpi__delta {
        font-size: 10px;
    }
    .mockup-table__row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4px;
        padding: 6px 10px;
        font-size: 11px;
    }
    .mockup-table__row span:nth-child(2) {
        display: none;
    }
    .mockup-table__row--head {
        font-size: 9px;
    }
    .mockup-pill {
        font-size: 9px;
        padding: 2px 6px;
    }
    .mockup-browser--wide .mockup-app--grid {
        grid-template-columns: 1fr;
    }
    .mockup-app__col--side {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
    }
    .mockup-side-card {
        min-width: 160px;
        padding: 10px 12px;
        font-size: 11px;
    }
    .mockup-chart {
        height: 80px;
        padding: 10px 10px 16px;
    }
    .mockup-chart__bar span {
        font-size: 8px;
        bottom: -14px;
    }
}

@media (max-width: 480px) {
    .mockup-kpis {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .mockup-kpi {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 6px 10px;
    }
    .mockup-kpi__label {
        font-size: 10px;
    }
    .mockup-kpi__value {
        font-size: 14px;
    }
    .mockup-table__row {
        grid-template-columns: 1fr 1fr;
    }
    .mockup-table__row span:nth-child(3) {
        display: none;
    }
    .mockup-app__title {
        font-size: 12px;
    }
    .mockup-ops-row {
        padding: 8px 10px;
    }
    .mockup-ops-row__head strong {
        font-size: 12px;
    }
    .mockup-ops-row__meta {
        font-size: 10px;
    }
    .mockup-dash-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .mockup-dash-action {
        padding: 8px 10px;
        font-size: 11px;
    }
    .mockup-dash-section {
        padding: 8px 10px;
        font-size: 11px;
    }
}


/* ===== Additional mockup elements for screenshots section ===== */

/* Supplier portal quick-access buttons */
.mockup-app__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.mockup-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-border);
    background: rgba(255,255,255,0.03);
    font-size: 12px;
    color: var(--mk-text);
    cursor: default;
}

/* Order processing cards (ops_pedidos style) */
.mockup-ops-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mockup-ops-row {
    border: 1px solid var(--mk-border);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
}
.mockup-ops-row--new {
    border-color: rgba(249,115,22,0.5);
    box-shadow: 0 0 12px rgba(249,115,22,0.15);
}
.mockup-ops-row__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.mockup-ops-row__head strong {
    color: var(--mk-text);
    font-size: 14px;
}
.mockup-ops-row__meta {
    font-size: 12px;
    color: var(--mk-muted);
}

/* Live badge for real-time indicator */
.mockup-app__badge--live {
    color: #10b981;
    background: rgba(16,185,129,0.12);
}

/* Dashboard grid (index.php quick actions) */
.mockup-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.mockup-dash-action {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--mk-border);
    background: rgba(255,255,255,0.03);
    font-size: 13px;
    font-weight: 600;
    color: var(--mk-text);
    text-align: center;
}
.mockup-dash-action--primary {
    background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(249,115,22,0.08));
    border-color: rgba(249,115,22,0.4);
    color: #fb923c;
}

/* Dashboard module sections */
.mockup-dash-sections {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mockup-dash-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-border);
    background: var(--mk-card);
    font-size: 13px;
    color: var(--mk-text);
}
.mockup-dash-section__icon {
    font-size: 18px;
}

/* Responsive for new elements */
@media (max-width: 768px) {
    .mockup-dash-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .mockup-app__actions { gap: 4px; }
    .mockup-btn { font-size: 10px; padding: 5px 8px; }
    .mockup-ops-row { padding: 8px 10px; border-radius: 8px; }
    .mockup-ops-row__head strong { font-size: 12px; }
    .mockup-ops-row__meta { font-size: 10px; }
    .mockup-dash-action { padding: 8px 10px; font-size: 11px; border-radius: 8px; }
    .mockup-dash-section { padding: 8px 10px; font-size: 11px; }
}
@media (max-width: 480px) {
    .mockup-dash-grid { grid-template-columns: 1fr; }
    .mockup-app__actions { flex-direction: column; }
    .mockup-btn { text-align: center; }
}


/* ===== TOUR CAROUSEL (recorrido visual del sistema) ===== */
.tour-carousel {
    max-width: 700px;
    margin: 48px auto 0;
}

.tour-carousel__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.tour-slide {
    display: none;
    animation: tourFadeIn 0.35s ease;
}
.tour-slide--active {
    display: block;
}
.tour-slide .mockup-browser {
    height: 400px;
    display: flex;
    flex-direction: column;
}
.tour-slide .mockup-app {
    flex: 1;
    overflow: hidden;
}

@keyframes tourFadeIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

.tour-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.tour-carousel__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.tour-carousel__btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.tour-carousel__indicators {
    display: flex;
    gap: 8px;
}

.tour-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.tour-indicator--active {
    background: var(--primary);
    transform: scale(1.3);
}

.tour-carousel__label {
    text-align: center;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.tour-label-step {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0,102,204,0.08);
    padding: 4px 10px;
    border-radius: 20px;
}
.tour-label-text {
    font-size: 15px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .tour-carousel {
        margin-top: 32px;
    }
    .tour-slide .mockup-browser {
        height: 320px;
    }
    .tour-carousel__btn {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    .tour-indicator {
        width: 8px;
        height: 8px;
    }
    .tour-carousel__label {
        flex-direction: column;
        gap: 6px;
    }
    .tour-label-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tour-slide .mockup-browser {
        height: 280px;
    }
}


/* ===== Equal height mockups inside screenshot grids ===== */
/* No flex-grow anywhere inside the card. The mockup keeps its natural
   intrinsic height (driven purely by its own HTML content: number of
   table rows, KPI rows, etc). .screenshot-item is still stretched by
   the grid's default align-items:stretch to match the tallest card in
   the row, but since neither the mockup nor .screenshot-info grow to
   absorb that extra space, it simply appears as blank space at the
   very bottom of the shorter card — never inside or between the
   mockup and its caption text. This keeps the mockup height, and the
   Y position where the caption text starts, fully deterministic and
   based only on actual mockup content (rows/KPIs), not on unrelated
   text length differences elsewhere in the card. */
.screenshots-grid .screenshot-item {
    display: flex;
    flex-direction: column;
}


/* ===== Control de Proyectos page — responsive helper grid ===== */
.cp-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (max-width: 768px) {
    .cp-two-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ===== Control de Proyectos — flow grid (replaces .workflow-diagram to avoid
   orphaned last item taking full row width when wrapping with flex:1) ===== */
.cp-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.cp-flow-grid .workflow-step {
    position: relative;
    flex: none;
    min-width: 0;
}
.cp-flow-grid .workflow-step:not(:nth-child(3n))::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 20px;
}
.cp-flow-grid .workflow-step:nth-child(3)::after,
.cp-flow-grid .workflow-step:nth-child(6)::after {
    content: none;
}

@media (max-width: 900px) {
    .cp-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cp-flow-grid .workflow-step::after {
        content: none !important;
    }
}
@media (max-width: 480px) {
    .cp-flow-grid {
        grid-template-columns: 1fr;
    }
}
