:root {
    --sand: #F5F5F0; 
    --slate: #121212;
    --black: #000000;
    --crimson: #7A1521;
    --white: #FFFFFF;
    --border-soft: rgba(0,0,0,0.1);
    
    --radius-elite: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--slate);
    background: var(--sand);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--black);
    font-weight: 900;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* NAVBAR ELITE */
.studio-navbar {
    padding: 32px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.studio-nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-alt { color: var(--crimson) !important; }

.btn-pill-nav {
    background: var(--black) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 100px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    transition: opacity 0.3s;
}
.btn-pill-nav:hover { opacity: 0.8; }

/* Buttons Studio */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-crimson { background: var(--crimson); color: var(--white); }
.btn-crimson:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(122, 21, 33, 0.4); }

.btn-outline-studio { 
    border: 2px solid var(--black); 
    color: var(--black); 
}
.btn-outline-studio:hover { 
    background: var(--black); 
    color: var(--white); 
}

.btn-lg { font-size: 1.1rem; padding: 22px 54px; }
.btn-xl { font-size: 1.25rem; padding: 26px 64px; }

/* HERO v8 */
.elite-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid-v8 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge-studio {
    color: var(--crimson);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.magazine-title {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.cursive-italic {
    font-family: 'Outfit';
    font-weight: 500;
    font-style: italic;
    color: var(--crimson);
}

.hero-description-v8 {
    font-size: 1.4rem;
    max-width: 500px;
    margin-bottom: 48px;
    opacity: 0.9;
}

.hero-actions-v8 { display: flex; gap: 20px; }

.hero-visual-v8 { position: relative; }
.hero-img-v8 {
    width: 100%;
    border-radius: var(--radius-elite);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.floating-data-v8 {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 32px 48px;
    border-radius: 24px;
    box-shadow: 30px 50px 100px rgba(0,0,0,0.1);
}

.data-label { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; display: block; }
.data-val { font-size: 3rem; font-weight: 900; color: var(--crimson); }

/* VALUE v8 */
.elite-value { padding: 140px 0; background: var(--white); border-radius: 60px; margin: 40px 0; }
.value-layout-v8 { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.img-elite-v8 { width: 100%; border-radius: 40px; }

.elite-accent { color: var(--crimson); font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; display: block; }
.elite-h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 32px; }
.elite-description { font-size: 1.4rem; opacity: 0.8; margin-bottom: 40px; }

.perk { padding: 24px 0; border-bottom: 1px solid var(--border-soft); font-weight: 600; }

/* TOOLS v8 */
.elite-tools { padding: 140px 0; background: var(--black); border-radius: 60px; margin: 40px 0; }
.tools-layout-v8 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; }
.white { color: var(--white); }
.white-70 { color: rgba(255,255,255,0.6); font-size: 1.25rem; }

.elite-glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 60px;
    border-radius: var(--radius-elite);
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}
.elite-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--crimson); }
.tool-num { color: var(--crimson); font-weight: 900; letter-spacing: 2px; display: block; margin-bottom: 24px; }
.elite-glass h4 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.elite-glass p { color: rgba(255,255,255,0.5); font-size: 1.1rem; line-height: 1.6; margin-bottom: 32px; }
.tool-link { color: var(--white); font-weight: 800; font-size: 1rem; }

/* BENTO v8 (6 CATEGORIES) */
.studio-lab { padding: 120px 0; background: var(--sand); }
.lab-header { text-align: center; margin-bottom: 80px; }
.elite-lead { font-size: 1.5rem; opacity: 0.6; margin: 0 auto; max-width: 700px; }

.bento-grid-v8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 32px;
}

.bento-item {
    border-radius: var(--radius-elite);
    overflow: hidden;
    text-decoration: none;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
    position: relative;
}
.bento-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8)); z-index: 1; }
.bento-item:hover { transform: scale(0.98); }

.bento-content { position: relative; z-index: 2; }

.bento-meat { background-image: url('assets/bento-meat.png'); }
.bento-beauty { background-image: url('assets/bento-beauty.png'); }
.bento-guarderia { background-image: url('assets/bento-guarderia.png'); }
.bento-despachos { background-image: url('assets/bento-despachos.png'); }
.bento-comercio { background-image: url('assets/bento-comercio.png'); }
.bento-oficios { background-image: url('assets/bento-oficios.png'); }

.bento-item h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.bento-item p { color: rgba(255,255,255,0.7); }
.bento-tag {
    background: var(--crimson);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: inline-block;
    width: fit-content;
}

/* BLOG v8 */
.elite-blog { padding: 140px 0; background: var(--white); border-radius: 60px; margin: 40px 0; }
.blog-header-v8 { text-align: center; margin-bottom: 80px; }
.blog-grid-v8 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.blog-card-v8 {
    background: var(--sand);
    border-radius: 32px;
    overflow: hidden;
    transition: transform 0.3s;
}
.blog-card-v8:hover { transform: translateY(-10px); }

.blog-img-box { height: 250px; overflow: hidden; }
.blog-img-box img { width: 100%; height: 100%; object-fit: cover; }

.blog-info-v8 { padding: 40px; }
.blog-date { color: var(--crimson); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; display: block; margin-bottom: 16px; }
.blog-card-v8 h3 { font-size: 1.5rem; margin-bottom: 16px; line-height: 1.3; }
.blog-card-v8 p { opacity: 0.6; font-size: 1rem; margin-bottom: 32px; }
.blog-link { text-decoration: none; color: var(--black); font-weight: 800; font-size: 0.9rem; }

/* FINAL CTA */
.elite-cta { padding: 120px 0; background: var(--sand); }
.canvas-cta-v8 {
    background: var(--black);
    color: var(--white);
    padding: 140px 80px;
    border-radius: 64px;
    text-align: center;
}
.callout-v8 { font-size: 4.5rem; color: var(--white); margin-bottom: 32px; }
.lead-cta { font-size: 1.6rem; opacity: 0.7; margin-bottom: 48px; }

/* CONTACT v10 */
.studio-contact { padding: 140px 0; background: var(--white); border-radius: 60px; margin: 40px 0; }
.contact-grid-v10 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: flex-start; }

.direct-mail a { color: var(--crimson); text-decoration: none; font-weight: 800; font-size: 1.2rem; }

.contact-form-box { background: var(--sand); padding: 60px; border-radius: 40px; }
.elite-form .form-group { margin-bottom: 24px; }
.elite-form label { display: block; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; color: var(--black); }
.elite-form input, .elite-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.elite-form input:focus, .elite-form textarea:focus { border-color: var(--crimson); }
.btn-full { width: 100%; border: none; cursor: pointer; }

@media screen and (max-width: 1024px) {
    .contact-grid-v10 { display: flex !important; flex-direction: column !important; gap: 50px !important; }
    .contact-form-box { padding: 40px 20px !important; }
    #contact-v10-fix { padding-top: 100px; }
}

/* MESSAGE FEEDBACK v14 */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

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

/* FOOTER v8 */
.studio-footer { padding: 120px 0 0; background: var(--white); }
.footer-v8 { display: grid; grid-template-columns: 1fr 2fr; gap: 100px; padding-bottom: 80px; }
.f-nav-v8 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.f-section-v8 span { font-weight: 900; color: var(--crimson); text-transform: uppercase; font-size: 0.75rem; display: block; margin-bottom: 24px; }
.f-section-v8 a { display: block; text-decoration: none; color: var(--black); font-weight: 600; margin-bottom: 12px; }

.f-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }

.f-bottom-v8 { padding: 40px 0; border-top: 1px solid var(--border-soft); text-align: center; font-size: 0.85rem; opacity: 0.5; }

/* MOBILE Aggressive Fix v8 */
@media screen and (max-width: 1024px) {
    html, body { overflow-x: hidden !important; width: 100vw !important; }
    body.menu-open { overflow: hidden !important; }
    .container { padding: 0 24px !important; width: 100% !important; }
    
    .studio-navbar { padding: 15px 0 !important; position: fixed !important; background: var(--white) !important; border-bottom: 1px solid var(--border-soft); }
    .navbar-inner { flex-direction: row !important; justify-content: space-between !important; gap: 0 !important; }
    
    /* Hamburger */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }
    .mobile-toggle span {
        width: 100%;
        height: 2px;
        background: var(--black);
        border-radius: 10px;
        transition: all 0.3s;
    }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Nav Overlay */
    .studio-nav {
        display: flex !important;
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 80% !important;
        height: 100vh !important;
        background: var(--white) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
        z-index: 1050;
    }
    .studio-nav.active { right: 0 !important; }
    .studio-nav a { font-size: 1.2rem !important; }
    .btn-pill-nav { width: 80% !important; margin-top: 20px !important; }

    /* Recovery of space */
    .elite-hero { padding-top: 130px !important; }
    .magazine-title { font-size: 3.2rem !important; text-align: center !important; margin-top: 20px !important; }
    .hero-text-v8 { text-align: center !important; }
    .hero-actions-v8 { flex-direction: column !important; gap: 15px !important; padding: 0 10px !important; }
    .btn-lg, .btn-xl { width: 100% !important; }
    
    .hero-grid-v8, .value-layout-v8, .tools-layout-v8, .footer-v8, .blog-grid-v8 {
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important;
    }
    .bento-grid-v8 { display: flex !important; flex-direction: column !important; gap: 24px !important; }
    .bento-item { min-height: 380px !important; padding: 40px !important; }
    .callout-v8 { font-size: 2.2rem !important; }
    
    .floating-data-v8 { position: relative !important; left: 0 !important; margin: 20px auto 0 !important; transform: none !important; width: 200px !important; }
}
