/* ============================================
   LA PAMPA - RESTAURANTE PREMIUM
   Ultra-Premium Editorial Aesthetic
   ============================================ */

/* ============================================
   CSS VARIABLES - PALETA PREMIUM REFINADA
   ============================================ */
:root {
    /* Colores principales - Carbón cálido */
    --charcoal: #1a1512;
    --charcoal-light: #2d2420;
    --charcoal-medium: #3d3029;
    
    /* Colores de acento - Burdeos profundo, cobre y dorado */
    --burgundy: #8B2635;
    --burgundy-deep: #6B1E2A;
    --copper: #A67B5B;
    --copper-light: #C49A7A;
    
    /* Dorado premium */
    --gold: #C9A962;
    --gold-light: #D4BC7E;
    --gold-dark: #B8984F;
    --gold-muted: rgba(201, 169, 98, 0.3);
    
    /* Fondos cálidos - Crema y beige */
    --cream: #F5EDE4;
    --cream-warm: #EDE5D8;
    --cream-dark: #E5DCD0;
    --beige: #D4C4B0;
    
    /* Texto - Marfil y blanco cálido con alto contraste */
    --ivory: #FFFCF8;
    --ivory-bright: #FFFFFF;
    --ivory-muted: #F0EBE4;
    --text-warm: #E5DDD4;
    --text-muted: #B8AEA3;
    
    /* Tipografía */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espaciado editorial */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;
    
    /* Transiciones refinadas */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sombras sutiles */
    --shadow-sm: 0 1px 2px rgba(26, 21, 18, 0.05);
    --shadow-md: 0 4px 20px rgba(26, 21, 18, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 21, 18, 0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-warm);
    background-color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-padding {
    padding: var(--space-2xl) 0;
}

.section-cream {
    background-color: var(--cream);
    color: var(--charcoal);
}

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

/* ============================================
   TIPOGRAFÍA EDITORIAL
   ============================================ */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-cream .section-label {
    color: var(--burgundy);
    font-weight: 600;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--ivory);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section-cream .section-title {
    color: var(--charcoal);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-warm);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-cream .section-description {
    color: var(--charcoal);
    font-weight: 400;
}

.section-header {
    margin-bottom: var(--space-xl);
}

/* ============================================
   BOTONES PREMIUM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    color: var(--ivory);
    border-color: var(--gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    transition: left var(--transition-base);
    z-index: -1;
}

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

.btn-primary:hover::before {
    left: 0;
}

.btn-outline {
    background-color: transparent;
    color: var(--ivory);
    border-color: rgba(250, 248, 245, 0.3);
}

.btn-outline:hover {
    background-color: var(--ivory);
    color: var(--charcoal);
    border-color: var(--ivory);
}

/* ============================================
   NAVEGACIÓN SOFISTICADA
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background-color 0.25s ease;
    background: linear-gradient(to bottom, rgba(26, 21, 18, 0.4), transparent);
}

.navbar.scrolled {
    background: rgba(26, 21, 18, 0.98);
    border-bottom: 1px solid var(--gold-muted);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ivory);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ivory-muted);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--ivory);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--ivory);
    transition: all var(--transition-base);
}

/* ============================================
   HERO DRAMÁTICO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/hero-parrilla.png') center/cover no-repeat;
    filter: brightness(0.8) contrast(1.15) saturate(1.05);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 8, 6, 0.5) 0%,
        rgba(10, 8, 6, 0.3) 30%,
        rgba(10, 8, 6, 0.7) 70%,
        rgba(5, 4, 3, 0.95) 100%
    );
    mix-blend-mode: multiply;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-lg);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
    color: var(--ivory);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.hero-claim {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--ivory-muted);
    margin-bottom: var(--space-xl);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   SOBRE NOSOTROS - EDITORIAL
   ============================================ */
.about {
    background-color: var(--charcoal);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-content {
    position: relative;
    padding-left: var(--space-lg);
    border-left: 2px solid var(--gold-muted);
}

.about-text {
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-warm);
    line-height: 1.9;
    margin-bottom: var(--space-md);
    max-width: 480px;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ivory-muted);
    letter-spacing: 0.05em;
}

.feature-icon {
    color: var(--gold);
    font-size: 0.6rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-muted);
    transform: translate(16px, 16px);
    pointer-events: none;
    transition: transform var(--transition-base);
}

.about-image:hover::after {
    transform: translate(12px, 12px);
}

/* ============================================
   CARTA - ELEGANTE
   ============================================ */
.menu {
    background-color: var(--charcoal-light);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.menu-category {
    padding: var(--space-lg);
    background: rgba(61, 48, 41, 0.3);
    border: 1px solid var(--gold-muted);
    transition: all var(--transition-base);
}

.menu-category:hover {
    border-color: rgba(201, 169, 98, 0.5);
    background: rgba(61, 48, 41, 0.5);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--gold-muted);
    letter-spacing: 0.02em;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ivory);
    letter-spacing: 0.01em;
}

.item-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu-actions {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gold-muted);
}

/* ============================================
   GALERÍA - CURADA
   ============================================ */
.gallery {
    background-color: var(--charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 320px);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 21, 18, 0.9) 0%,
        rgba(26, 21, 18, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: 0.02em;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:first-child {
    grid-row: span 2;
}

/* ============================================
   UBICACIÓN PREMIUM
   ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    padding: var(--space-lg);
    background: var(--ivory);
    border: 1px solid var(--cream-dark);
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--burgundy), var(--gold));
}

.info-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.info-text {
    color: var(--charcoal-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream-dark);
}

.schedule-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-day {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.schedule-time {
    color: var(--charcoal-light);
    font-size: 0.9rem;
    text-align: right;
}

.location-map {
    height: 500px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--cream-dark);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) sepia(10%);
}

/* ============================================
   CONTACTO ELEGANTE
   ============================================ */
.contact {
    background-color: var(--charcoal);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(61, 48, 41, 0.3);
    border: 1px solid var(--gold-muted);
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 98, 0.5);
    background: rgba(61, 48, 41, 0.5);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    color: var(--gold);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    color: var(--charcoal);
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ivory);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.contact-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-card-whatsapp .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-card-whatsapp:hover .contact-icon {
    background: #25D366;
    color: white;
}

/* ============================================
   FOOTER REFINADO
   ============================================ */
.footer {
    background-color: var(--charcoal);
    border-top: 1px solid var(--gold-muted);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gold-muted);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--ivory);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.footer-address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.85rem;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--ivory);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: var(--space-xl);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 280px);
    }
    
    .gallery-item:first-child {
        grid-row: span 2;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 5rem;
        --space-xl: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Navigation Mobile */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--charcoal);
        flex-direction: column;
        padding: var(--space-2xl) var(--space-lg);
        transition: right var(--transition-base);
        gap: var(--space-md);
        border-left: 1px solid rgba(166, 123, 91, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-claim {
        font-size: 1.1rem;
    }
    
    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-content {
        padding-left: 0;
        border-left: none;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-image::after {
        display: none;
    }
    
    /* Menu Mobile */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }
    
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Location Mobile */
    .location-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .location-map {
        height: 350px;
    }
    
    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-claim {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .menu-category {
        padding: var(--space-md);
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: var(--space-lg);
    }
}

/* ============================================
   EDITOR MODE STYLES
   ============================================ */

/* Barra superior del editor */
.editor-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    font-family: var(--font-sans);
}
.editor-toolbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}
.editor-toolbar-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.editor-toolbar-actions {
    display: flex;
    gap: 0.5rem;
}
.editor-active .navbar {
    top: 44px !important;
}

/* Botones del editor */
.editor-btn {
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}
.editor-btn-confirm,
.editor-btn-save {
    background: #27ae60;
    color: #fff;
}
.editor-btn-confirm:hover,
.editor-btn-save:hover {
    background: #2ecc71;
}
.editor-btn-cancel {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.editor-btn-cancel:hover {
    background: rgba(255,255,255,0.25);
}

/* Botón de editar texto (lápiz) */
.editor-edit-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #3498db;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    padding: 0;
    line-height: 1;
}
.editor-active *:hover > .editor-edit-btn,
.editor-edit-btn:hover {
    opacity: 1;
}
.editor-edit-btn:hover {
    transform: scale(1.15);
    background: #2980b9;
}

/* Botón de cambiar imagen (cámara) */
.editor-image-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #e67e22;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 0;
    line-height: 1;
}
.editor-active *:hover > .editor-image-btn,
.editor-image-btn:hover {
    opacity: 1;
}
.editor-image-btn:hover {
    transform: scale(1.15);
    background: #d35400;
}

/* Elemento en edición */
.editor-editing {
    outline: 2px dashed #3498db !important;
    outline-offset: 4px;
    background: rgba(52, 152, 219, 0.05) !important;
    border-radius: 4px;
}

/* Indicador visual global del modo editor */
.editor-active {
    border-top: 3px solid #27ae60;
}

/* Modal de contraseña */
.editor-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}
.editor-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    font-family: var(--font-sans);
}
.editor-modal h3 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    color: #1a1a2e;
}
.editor-modal p {
    margin: 0 0 1.2rem;
    color: #666;
    font-size: 0.9rem;
}
.editor-modal input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.editor-modal input:focus {
    outline: none;
    border-color: #3498db;
}
.editor-modal-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.editor-modal .editor-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}
.editor-modal .editor-btn-cancel {
    background: #e0e0e0;
    color: #333;
}
.editor-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
