/* ═══════════════════════════════════════════════════════
   SEO LANDING PAGES - CSS PURO (SIN TAILWIND)
   Colores corporativos Cabbik según Manual de Identidad
   ═══════════════════════════════════════════════════════ */

/* ═══ RESET Y BASE ═══ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ═══ VARIABLES - PALETA CORPORATIVA CABBIK ═══ */
:root {
    --welcome-purple: #261b43;
    --welcome-purple-dark: #080510;
    --quick-yellow: #e5a900;
    --cabbik-green: #00C853;
    --cabbik-green-hover: #00b04a;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT PRINCIPAL - GRID SISTEMA
   ═══════════════════════════════════════════════════════ */

.seo-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.seo-section {
    padding: 3rem 0;
    background: white;
}

/* GRID: Sidebar + Contenido */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .seo-grid {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
    }
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR - WELCOME PURPLE
   ═══════════════════════════════════════════════════════ */

.seo-sidebar {
    background: linear-gradient(135deg, var(--welcome-purple) 0%, var(--welcome-purple-dark) 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(38, 27, 67, 0.4);
}

@media (min-width: 1024px) {
    .seo-sidebar {
        position: sticky;
        top: 1rem;
    }
}

/* Encabezado del sidebar */
.seo-sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.seo-sidebar-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--quick-yellow);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.seo-sidebar-price-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seo-sidebar-price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin: 0.5rem 0;
}

.seo-sidebar-price-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Sección de ventajas */
.seo-sidebar-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.seo-advantages {
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.seo-advantage-item:last-child {
    margin-bottom: 0;
}

.seo-check-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--cabbik-green);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.seo-check-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.seo-advantage-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Rating */
.seo-rating {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.seo-rating-stars {
    font-size: 1.5rem;
    color: var(--quick-yellow);
    letter-spacing: 0.125rem;
    margin-bottom: 0.5rem;
}

.seo-rating-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.seo-rating-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Botón CTA del sidebar */
.seo-sidebar-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--cabbik-green);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    margin-top: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4);
    transition: all 0.3s ease;
}

.seo-sidebar-cta:hover {
    background: var(--cabbik-green-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5);
}

/* ═══════════════════════════════════════════════════════
   CONTENIDO PRINCIPAL
   ═══════════════════════════════════════════════════════ */

.seo-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.seo-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--welcome-purple);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--welcome-purple);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.seo-content p {
    margin-bottom: 1.25rem;
}

.seo-content strong {
    color: var(--welcome-purple);
    font-weight: 600;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════ */

.seo-faq-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.seo-faq-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.seo-faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.seo-faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.seo-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.seo-faq-question {
    cursor: pointer;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--welcome-purple);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.seo-faq-question:hover {
    color: #002c66;
}

.seo-faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.seo-faq-item[open] .seo-faq-icon {
    transform: rotate(180deg);
}

.seo-faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

/* ═══════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════ */

.seo-final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--welcome-purple) 0%, var(--welcome-purple-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.seo-final-cta::before,
.seo-final-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.1;
    filter: blur(80px);
}

.seo-final-cta::before {
    width: 18rem;
    height: 18rem;
    top: 2.5rem;
    left: 2.5rem;
}

.seo-final-cta::after {
    width: 24rem;
    height: 24rem;
    bottom: 2.5rem;
    right: 2.5rem;
}

.seo-final-cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.seo-final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.seo-final-cta-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.seo-final-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--welcome-purple);
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.seo-final-cta-button:hover {
    background: #f9fafb;
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════
   CTA GUÍA COMPLETA (si tiene guía)
   ═══════════════════════════════════════════════════════ */

.seo-guide-cta {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
    border: 2px solid #c084fc;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .seo-guide-cta {
        flex-direction: row;
        align-items: center;
    }
}

.seo-guide-icon {
    width: 4rem;
    height: 4rem;
    background: var(--welcome-purple);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
    flex-shrink: 0;
}

.seo-guide-icon svg {
    width: 2.25rem;
    height: 2.25rem;
    color: white;
}

.seo-guide-content {
    flex: 1;
}

.seo-guide-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.seo-guide-description {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.seo-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--welcome-purple);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(107, 70, 193, 0.3);
}

.seo-guide-button:hover {
    background: var(--welcome-purple-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .seo-sidebar-title {
        font-size: 1.5rem;
    }
    
    .seo-sidebar-price {
        font-size: 2.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-content h3 {
        font-size: 1.25rem;
    }
    
    .seo-faq-title {
        font-size: 1.75rem;
    }
    
    .seo-final-cta-title {
        font-size: 1.875rem;
    }
    
    .seo-final-cta-subtitle {
        font-size: 1.125rem;
    }
    
    .seo-guide-cta {
        padding: 1.5rem;
    }
    
    .seo-guide-title {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
   ACCESIBILIDAD
   ═══════════════════════════════════════════════════════ */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--welcome-purple);
    outline-offset: 2px;
}