/* ==================== VARIABLES ==================== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #e63946;
    --dark-color: #2d3142;
    --light-color: #ffffff;
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-hover: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

.dark-theme {
    --light-color: #1a1a2e;
    --bg-color: #0f0f1e;
    --text-color: #eaeaea;
    --dark-color: #eaeaea;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    transition: var(--transition);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-login {
    background: var(--gradient);
    color: var(--light-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* ==================== HERO ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
    min-height: calc(100vh - 80px);
}

.hero-content {
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-block {
    width: 100%;
}

/* ==================== SECTIONS ==================== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features {
    padding: 5rem 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--bg-color);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* ==================== CTA ==================== */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--gradient);
    color: var(--light-color);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* ==================== AUTH PAGES ==================== */
.auth-section {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.auth-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 2px solid var(--bg-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.error-message.show {
    display: block;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== RECIPES PAGE ==================== */
.recipes-section {
    padding: 3rem 0;
    min-height: calc(100vh - 180px);
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.filters-container {
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light-color);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.search-box i {
    color: var(--gray-color);
    margin-right: 1rem;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: var(--text-color);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--light-color);
}

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

.recipe-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.recipe-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recipe-image i {
    font-size: 4rem;
    color: var(--light-color);
    opacity: 0.5;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-color);
    font-size: 1.2rem;
}

.favorite-btn:hover,
.favorite-btn.active {
    color: var(--accent-color);
    transform: scale(1.1);
}

.recipe-info {
    padding: 1.5rem;
}

.recipe-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-color);
}

.recipe-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.recipe-rating i {
    color: var(--secondary-color);
}

.recipe-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient);
    color: var(--light-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==================== RECIPE DETAIL ==================== */
.recipe-detail-section {
    padding: 3rem 0;
    min-height: calc(100vh - 180px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    gap: 0.8rem;
}

.recipe-detail-header {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.recipe-detail-image {
    width: 100%;
    height: 400px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.recipe-detail-image i {
    font-size: 8rem;
    color: var(--light-color);
    opacity: 0.5;
}

.recipe-detail-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.recipe-detail-description {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.ingredients-section,
.steps-section {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.ingredients-section h2,
.steps-section h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.ingredient-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.ingredient-item:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.ingredient-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ingredient-item.checked {
    opacity: 0.6;
    text-decoration: line-through;
}

.progress-bar-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.5s ease;
}

.continue-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--light-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.continue-btn:hover:not(:disabled) {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.steps-section {
    display: none;
}

.steps-section.unlocked {
    display: block;
    animation: fadeIn 0.5s;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    animation: slideIn 0.5s;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    color: var(--text-color);
    line-height: 1.8;
}

.complete-recipe-btn {
    width: 100%;
    margin-top: 2rem;
}

/* ==================== RATINGS ==================== */
.ratings-section {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.ratings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

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

.rating-average {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-stars-large {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.add-rating-form {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.star-rating i {
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
    color: var(--secondary-color);
}

.rating-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bg-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1rem;
    background: var(--light-color);
    color: var(--text-color);
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-stars {
    color: var(--secondary-color);
}

.comment-text {
    color: var(--gray-color);
}

/* ==================== PROFILE PAGE ==================== */
.profile-section {
    padding: 3rem 0;
    min-height: calc(100vh - 180px);
}

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

.profile-header {
    background: var(--gradient);
    color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.profile-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--gray-color);
}

.badges-section,
.progress-section,
.favorites-section {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.badges-section h2,
.progress-section h2,
.favorites-section h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.badge-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.badge-card i {
    font-size: 3rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.badge-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.badge-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.badge-card.unlocked {
    background: var(--gradient);
    color: var(--light-color);
    transform: scale(1.05);
}

.badge-card.unlocked i {
    color: var(--light-color);
}

.badge-card.unlocked h3,
.badge-card.unlocked p {
    color: var(--light-color);
}

.badge-card.locked {
    opacity: 0.6;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: slideUp 0.3s;
    z-index: 10000;
}

.toast.show {
    display: block;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--accent-color);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 1s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 3rem 0;
    min-height: calc(100vh - 180px);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.contact-form-wrapper {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.client-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.client-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.client-form .form-group label i {
    color: var(--primary-color);
}

.client-form input,
.client-form select,
.client-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--bg-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--light-color);
}

.client-form textarea {
    resize: vertical;
}

.checkbox-group {
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==================== RESULTADO DEL FORMULARIO ==================== */
.client-result {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.client-result.hidden {
    display: none;
}

.client-result.show-result {
    opacity: 1;
    transform: translateY(0);
    animation: slideUpFadeIn 0.5s ease;
}

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

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-color);
}

.result-header i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.result-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.result-content {
    margin-bottom: 2rem;
}

.info-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-color);
    border-radius: 8px;
    transition: var(--transition);
}

.info-item:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-item:hover .info-icon i {
    color: var(--light-color);
}

.info-item:hover .info-label,
.info-item:hover .info-value {
    color: var(--light-color);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    word-break: break-word;
}

.info-timestamp {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-color);
    color: var(--gray-color);
    font-size: 0.9rem;
}

.info-timestamp i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.badge-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--success-color);
    color: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--gray-color);
    color: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-icon {
        font-size: 8rem;
    }

    .features-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    /* Contacto responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    .info-card {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .client-result {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .auth-card {
        padding: 2rem;
    }

    .recipe-detail-title {
        font-size: 2rem;
    }

    .recipe-detail-image {
        height: 250px;
    }

    .profile-header {
        padding: 2rem;
    }

    .profile-avatar {
        font-size: 3rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

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