/* ============================================
   PAPEL CREATIVO METEPEC - ESTILOS
   ============================================ */

:root {
    --color-primary: #6C3CE1;
    --color-secondary: #F72585;
    --color-accent: #4CC9F0;
    --color-warm: #F7B731;
    --color-bg: #FEFEFE;
    --color-bg-alt: #F8F7FF;
    --color-bg-dark: #1A0533;
    --color-text: #2D2640;
    --color-text-light: #5a5270;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}

.logo span:first-child { color: var(--color-primary); }
.logo span:last-child { color: var(--color-secondary); }

.nav-desktop { display: none; }

.nav-mobile {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    display: none;
    padding: 20px;
}

.nav-mobile.active { display: block; }

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover { color: var(--color-primary); }

.btn-whatsapp-header {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-bar {
    width: 24px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(108, 60, 225, 0.95) 0%, rgba(247, 37, 133, 0.9) 100%);
    color: white;
    padding-top: 70px;
    text-align: center;
}

.hero-content { padding: 60px 20px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--color-warm); }

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Sections */
.section { padding: 80px 20px; }

.section-alt { background: var(--color-bg-alt); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 10px 0 15px;
}

.section-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.service-price {
    display: inline-block;
    background: var(--color-warm);
    color: var(--color-text);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Delivery Section */
.delivery-section {
    background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 60px 20px;
}

.delivery-content { text-align: center; }

.delivery-icon { font-size: 4rem; margin-bottom: 20px; }

.delivery-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.delivery-section p {
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto 30px;
}

.delivery-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.delivery-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 12px;
}

.delivery-feature-icon { font-size: 1.5rem; }

/* Hours */
.hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hour-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hour-card.featured {
    border: 2px solid var(--color-primary);
}

.hour-card h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.hour-card .time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hour-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    background: var(--color-bg-alt);
    padding: 40px 20px;
}

.map-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.map-info-icon { font-size: 1.5rem; }

.map-info-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.map-info-item p, .map-info-item a {
    color: var(--color-text-light);
    text-decoration: none;
}

.map-info-item a:hover { color: var(--color-primary); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p, .footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-col a:hover { color: white; }

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-links {
    margin-bottom: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-bottom-links span {
    color: rgba(255,255,255,0.3);
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* Legal Pages */
.legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.legal-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin: 30px 0 15px;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.legal-content p, .legal-content li {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul, .legal-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

/* Error 404 */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-page h1 {
    font-size: 1.8rem;
    margin: 20px 0;
}

.error-page p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-desktop { display: block; }
    .menu-toggle { display: none; }
    .btn-whatsapp-header { display: inline-flex; }
    
    .hero h1 { font-size: 3.5rem; }
    .hero-buttons { flex-direction: row; justify-content: center; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hours-grid { grid-template-columns: repeat(3, 1fr); }
    .map-info-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-buttons { flex-direction: row; justify-content: center; }
    
    .cookie-content { flex-direction: row; justify-content: space-between; text-align: left; }
    
    .delivery-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .delivery-content { text-align: left; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .map-container { height: 500px; }
}
