@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --bg-main: #FFFFFF; 
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F9FAFB;
    
    --text-primary: #1E3A5F; 
    --text-secondary: #6B7280; 
    --text-muted: #9CA3AF;

    --brand-primary: #FFD54F; 
    --brand-primary-hover: #FBC02D;
    
    --accent-blue: #1E3A5F;

    --border-color: #E5E7EB;
    
    --shadow-sm: 0 1px 2px 0 rgba(30, 58, 95, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.1), 0 2px 4px -1px rgba(30, 58, 95, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.1), 0 4px 6px -2px rgba(30, 58, 95, 0.05);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem; /* 12px for cards */
    --radius-full: 9999px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .hero-title, .card-title {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header Sticky & Logo */
.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-img {
    height: 80px;
    max-width: 100%;
    width: auto;
    display: block;
}

.fallback-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero {
    position: relative;
    padding-bottom: 4rem;
    background: #FFFFFF;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.badge {
    background: rgba(30, 58, 95, 0.05);
    color: var(--accent-blue);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 58, 95, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* Search Box */
.search-box {
    display: flex;
    width: 100%;
    margin: 1rem auto;
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.search-icon {
    color: var(--text-muted);
    margin-left: 1.2rem;
    align-self: center;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    outline: none;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.85rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s;
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: rgba(30, 58, 95, 0.05);
}

/* Conversion Block */
.conversion-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    max-width: 900px;
}

.conversion-item {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.conversion-item i {
    width: 22px;
    height: 22px;
    color: var(--brand-primary);
}

/* Main Content */
main {
    flex: 1;
    padding: 3.5rem 0;
    background-color: #F9FAFB; /* Light background to make cards pop */
}

/* SEO Blocks */
.seo-text-block {
    margin-bottom: 4rem;
    padding: 3rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.seo-text-block h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.seo-text-block h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.seo-text-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.seo-text-block ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.seo-text-block li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.seo-text-block strong {
    color: var(--text-primary);
}

/* Grid & Cards */
.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.results-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); /* 12px */
    padding: 2.5rem; /* Más aire */
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    box-shadow: var(--shadow-md);
}

.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.workshop-card.highlighted {
    border: 2px solid var(--brand-primary);
    position: relative;
    overflow: hidden;
}

/* Inside Card */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-badge {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
    background: var(--brand-primary);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-md);
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.card-location i {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex: 1; 
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag i {
    width: 14px;
    height: 14px;
}

/* Tag Colors Based on Guidelines */
.tag-highlight {
    background: rgba(255, 213, 79, 0.2);
    color: #B48500; /* Dark yellow for text readability */
    border: 1px solid rgba(255, 213, 79, 0.5);
}

.tag-fast {
    background: rgba(30, 58, 95, 0.1);
    color: var(--accent-blue); /* #1E3A5F */
    border: 1px solid rgba(30, 58, 95, 0.2);
}

.tag-close {
    background: #F3F4F6;
    color: var(--text-secondary); /* #6B7280 */
    border: 1px solid #E5E7EB;
}

/* Actions */
.card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.btn-whatsapp {
    background-color: var(--brand-primary);
    color: var(--text-primary);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 213, 79, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    grid-column: 1 / -1;
    color: var(--text-secondary);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--text-primary); /* #1E3A5F */
    color: #E2E8F0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .search-box {
        flex-direction: column;
        border-radius: var(--radius-lg);
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.75rem;
    }
    
    .search-box input {
        width: 100%;
        background: #FFFFFF;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-full);
        padding: 1.2rem 1.5rem;
    }
    .search-icon {
        display: none;
    }
    .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    .conversion-block {
        gap: 1.25rem;
        flex-direction: column;
        align-items: center;
    }
}
