/* ============================================
   MODERN STYLE - RIBBONTECH CURSOS
   ============================================ */

:root {
    /* Colors - Educational Palette */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #14b8a6;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar-modern.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-md);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-3xl) var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        gap: var(--spacing-md);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-sm);
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}


.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    color: var(--primary);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}


.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-light);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

@media (min-width: 640px) {
    .btn {
        width: auto;
    }
}

.btn span {
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gray-50);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
}

.btn i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn span {
    display: inline-block;
}

/* ============================================
   PROBLEM/SOLUTION SECTION
   ============================================ */

.problem-solution {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ps-item {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.ps-item.problem {
    border-left: 4px solid var(--danger);
}

.ps-item.solution {
    border-left: 4px solid var(--success);
}

.ps-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.problem .ps-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.solution .ps-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.ps-icon i {
    width: 32px;
    height: 32px;
}

.ps-item h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

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

.ps-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.ps-list i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem .ps-list i {
    color: var(--danger);
}

.solution .ps-list i {
    color: var(--success);
}

/* ============================================
   AUDIENCE TOGGLE
   ============================================ */

.audience-toggle {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.toggle-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.toggle-buttons {
    display: flex;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.toggle-btn {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
}

.toggle-btn i {
    width: 20px;
    height: 20px;
}

.toggle-btn.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   AUDIENCE SECTIONS
   ============================================ */

.audience-section {
    display: none;
    padding: var(--spacing-3xl) 0;
    animation: fadeIn 0.5s ease;
}

.audience-section.active {
    display: block;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.benefit-icon-wrapper {
    margin-bottom: var(--spacing-lg);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
    border: 3px solid var(--primary);
    position: relative;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scale(1.1);
    border-color: var(--primary);
}

/* Estilos para iconos Lucide */
.benefit-icon svg {
    width: 40px !important;
    height: 40px !important;
    stroke: #0ea5e9 !important;
    stroke-width: 3 !important;
    fill: none !important;
    display: block !important;
    opacity: 1 !important;
    color: #0ea5e9 !important;
}

.benefit-icon [data-lucide] {
    width: 40px !important;
    height: 40px !important;
}

.benefit-card:hover .benefit-icon svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.benefit-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    color: var(--text-white);
}

@media (min-width: 768px) {
    .cta-box {
        padding: var(--spacing-2xl);
    }
}

.cta-box h3 {
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-align: center;
}

.cta-box .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cta-box .btn {
        width: auto;
    }
}

.cta-box.enterprise {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: left;
}

@media (min-width: 768px) {
    .cta-box.enterprise {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    width: 20px;
    height: 20px;
    color: var(--text-white);
}

/* ============================================
   COURSES SECTION
   ============================================ */

.courses-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.category-filter {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
    text-align: center;
    min-width: auto;
}

.filter-btn i {
    width: 18px;
    height: 18px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

@media (min-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.course-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-header {
    padding: var(--spacing-lg);
    color: var(--text-white);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-header h3 {
    color: var(--text-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    max-height: 2.6em;
}

.course-category {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.course-body {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.course-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.8em;
    max-height: 4.8em;
}

.course-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.course-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.course-features li span {
    flex: 1;
    word-wrap: break-word;
}

.course-features i {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

.course-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    min-height: 80px;
    flex-wrap: wrap;
}

.course-duration {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        min-height: auto;
    }
    
    .course-duration {
        text-align: center;
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }
    
    .course-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.course-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8125rem;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
}

.course-actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
}

.course-actions .btn .btn-text {
    display: none;
}

@media (min-width: 480px) {
    .course-actions .btn .btn-text {
        display: inline;
    }
    
    .btn-sm {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.875rem;
    }
}

@media (max-width: 479px) {
    .course-actions .btn {
        padding: var(--spacing-xs);
        min-width: 44px;
    }
    
    .course-actions .btn i {
        margin: 0;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    width: 16px;
    height: 16px;
    color: var(--gray-300);
}

.testimonial-rating i.filled {
    color: #fbbf24;
    fill: currentColor;
}

.testimonial-source {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-source i {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonials-cta {
    text-align: center;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--spacing-md);
}

/* Connector lines between steps - only on large screens */
@media (min-width: 1280px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        right: calc(-50% + 40px);
        width: calc(100% - 80px);
        height: 2px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
        opacity: 0.2;
        z-index: 0;
        pointer-events: none;
    }
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.step-icon i {
    width: 40px;
    height: 40px;
}

.process-step h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question i {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.cert-img {
    max-width: 100%;
    margin-top: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: var(--bg-white);
    color: var(--primary);
}

.final-cta .btn-primary:hover {
    background: var(--gray-100);
}

.final-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.final-cta .btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
}

.footer-logo-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-col p {
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-col ul li i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
