/* =====================================================
   DESKTOP STYLES — El Cucharón Viajero
   ===================================================== */

/* ── Header / Top App Bar ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--sp-margin-desktop);
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background var(--transition-slow);
}
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
}
.header-left {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}
.header-logo img {
    height: 44px;
    width: auto;
}
.header-nav {
    display: flex;
    gap: var(--sp-lg);
}
.header-nav a {
    font-size: var(--fs-body-md);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}
.header-nav a:hover,
.header-nav a.active {
    color: var(--color-text-primary);
}
.header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 2px;
    background: var(--color-red);
}
.header-right {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}
.header-right .icon-btn {
    color: var(--color-text-secondary);
    font-size: 22px;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    padding: var(--sp-sm);
}
.header-right .icon-btn:hover {
    color: var(--color-red);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
}
.hero-content {
    position: relative;
    z-index: var(--z-base);
    max-width: 650px;
    padding: 0 var(--sp-margin-desktop) var(--sp-xxl);
}
.hero-title {
    font-size: var(--fs-display);
    font-weight: var(--font-display);
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-md);
}
.hero-desc {
    font-size: var(--fs-body-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-xl);
    line-height: var(--lh-normal);
}
.hero-actions {
    display: flex;
    gap: var(--sp-md);
}

/* ── Content Sections ── */
.content-area {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding-bottom: var(--sp-xxl);
}
.carousel-section {
    padding-left: var(--sp-margin-desktop);
    margin-bottom: var(--sp-xxl);
}
.carousel-track .card {
    width: 220px;
    aspect-ratio: 9/16;
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--sp-xl) var(--sp-margin-desktop);
    background: var(--color-surface);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--sp-xl);
}
.footer-brand {
    font-size: var(--fs-headline-md);
    font-weight: var(--font-headline);
    color: var(--color-text-secondary);
}
.footer-copy {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    margin-top: var(--sp-sm);
}
.footer-links {
    display: flex;
    gap: var(--sp-xl);
}
.footer-links a {
    font-size: var(--fs-label);
    font-weight: var(--font-label);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--color-red);
}

/* ── Login Form (Desktop) ── */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: var(--sp-xxl);
}
.auth-card {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    width: 100%;
    max-width: 420px;
}
.auth-card h1 {
    font-size: var(--fs-headline-lg);
    margin-bottom: var(--sp-lg);
    text-align: center;
}
.auth-card .form-group {
    margin-bottom: var(--sp-md);
}
.auth-card .form-group label {
    display: block;
    font-size: var(--fs-label);
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-card .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: var(--sp-lg);
    padding: var(--sp-md);
    font-size: var(--fs-body-md);
}
.auth-error {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid var(--color-red);
    border-radius: var(--radius-md);
    padding: var(--sp-md);
    margin-bottom: var(--sp-md);
    font-size: var(--fs-caption);
    color: var(--color-red);
}
