/* TRIUVO MASTER STYLESHEET */
/* Identity: Triuvo Black + Plus Jakarta Sans */

:root {
    /* Manual de Marca Triuvo */
    --triuvo-black: #1b1b1b;
    --triuvo-grey: #9b9b9b;
    --triuvo-navy: #1F2B48; /* Azul Secundario/Técnico */
    --triuvo-white: #ffffff;
    
    /* Aquinas Identity (Legacy/Accent) */
    --aquinas-gold: #C5A059; 
    --aquinas-gold-hover: #b08d45;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    margin: 0; 
    padding: 0; 
    color: var(--triuvo-black); 
    line-height: 1.6; 
    background-color: var(--triuvo-white);
}

/* AQUINAS IDENTITY TYPOGRAPHY */
.font-serif { font-family: 'Georgia', 'Times New Roman', serif; }
.latin-motto {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: var(--aquinas-gold);
    letter-spacing: 2px;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.sacred-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.sacred-icon { color: var(--aquinas-gold); font-size: 1.2em; }

/* Typography Helpers */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.5px; }
.text-grey { color: var(--triuvo-grey); }
.text-gold { color: var(--aquinas-gold); }
.text-navy { color: var(--triuvo-navy); }

/* Navigation */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5%; 
    background: var(--triuvo-white); 
    border-bottom: 1px solid #eee;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    height: 80px;
    box-sizing: border-box;
}
.logo {
    height: 100%;
    display: flex;
    align-items: center;
}
.logo img { 
    height: 65px; /* Fixed pixel height safer for SVG */
    width: 65px; /* Square aspect ratio enforced */
    object-fit: contain;
}
.nav-links a { 
    text-decoration: none; 
    color: var(--triuvo-black); 
    font-weight: 700; 
    margin-left: 30px; 
    font-size: 0.9em; 
    transition: 0.2s;
}
.nav-links a:hover { color: var(--aquinas-gold); }
.nav-cta { 
    background: var(--triuvo-black); 
    color: white !important; 
    padding: 10px 24px; 
    border-radius: 4px; 
    transition: 0.3s; 
}
.nav-cta:hover { background: var(--aquinas-gold); color: var(--triuvo-black) !important; }

/* Hero Section (Home) */
.hero { 
    background-color: var(--triuvo-black);
    background-image: radial-gradient(circle at 80% 20%, var(--triuvo-navy) 0%, transparent 40%);
    color: white; 
    padding: 120px 5% 140px; 
    text-align: center; 
    position: relative;
}
.hero h1 { font-size: 3.8em; margin-bottom: 24px; line-height: 1.1; }
.hero p { font-size: 1.25em; color: var(--triuvo-grey); max-width: 750px; margin: 0 auto 40px; font-weight: 400; }

/* Sub-Page Header */
.page-header {
    background-color: var(--triuvo-black);
    background-image: linear-gradient(to right, var(--triuvo-black), var(--triuvo-navy));
    color: white;
    padding: 80px 5%;
    text-align: center;
}
.page-header h1 { font-size: 3em; margin-bottom: 15px; }
.page-header p { font-size: 1.1em; color: var(--triuvo-grey); max-width: 600px; margin: 0 auto; }

/* Buttons */
.hero-btn { 
    background: var(--aquinas-gold); 
    color: white; 
    text-decoration: none; 
    padding: 16px 42px; 
    font-weight: 700; 
    font-size: 1.1em; 
    border-radius: 4px; 
    transition: 0.3s; 
    display: inline-block; 
    border: 2px solid var(--aquinas-gold);
    cursor: pointer;
    box-sizing: border-box; /* Fix for width:100% overflow */
}
.hero-btn:hover { background: transparent; color: var(--aquinas-gold); }
.hero-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
    padding: 16px 42px;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
    margin-left: 15px;
}
.hero-secondary-btn:hover { border-color: white; }

/* Stats Strip */
.stats { 
    display: flex; 
    justify-content: center; 
    gap: 0; 
    background: white; 
    margin-top: -60px; 
    position: relative; 
    max-width: 960px; 
    margin-left: auto; 
    margin-right: auto; 
    border-radius: 0; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
    border-bottom: 4px solid var(--aquinas-gold);
}
.stat-item { text-align: center; flex: 1; padding: 40px 20px; border-right: 1px solid #eee; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.5em; font-weight: 800; color: var(--triuvo-black); display: block; margin-bottom: 5px; }
.stat-label { font-size: 0.85em; text-transform: uppercase; color: var(--triuvo-grey); font-weight: 700; letter-spacing: 1px; }

/* General Sections */
.section-wrapper { padding: 80px 5%; }
.bg-light { background-color: #f4f6f8; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5em; color: var(--triuvo-black); margin-bottom: 15px; }
.section-header p { font-size: 1.1em; color: var(--triuvo-grey); }

/* Grids & Cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card { padding: 20px; }
.feature-icon { 
    width: 60px; height: 60px; 
    background: var(--triuvo-navy); 
    color: white; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; 
    font-size: 1.5em; 
    margin-bottom: 25px; 
}

/* Strategies Cards */
.strat-card { 
    background: white; 
    padding: 40px; 
    border-radius: 2px; 
    border-left: 4px solid var(--triuvo-black); 
    transition: 0.3s; 
    position: relative;
    overflow: hidden;
}
.strat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.strat-card.premium { border-left-color: var(--aquinas-gold); background: #fffdf5; }
.strat-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.strat-icon { font-size: 2em; color: var(--triuvo-black); }
.strat-card.premium .strat-icon { color: var(--aquinas-gold); }
.strat-metrics { margin: 25px 0; padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.metric-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.95em; }
.metric-val { font-weight: 700; }
.positive { color: #27ae60; }

/* Partners */
.logo-grid { display: flex; justify-content: center; align-items: center; gap: 80px; flex-wrap: wrap; margin-top: 50px; }
.partner-logo img { height: 45px; opacity: 0.5; filter: grayscale(100%); transition: 0.3s; }
.partner-logo img:hover { opacity: 1; filter: grayscale(0%); }

/* CTA */
.cta-section { background: var(--triuvo-black); color: white; padding: 100px 5%; text-align: center; }
.cta-section h2 { font-size: 3em; margin-bottom: 20px; }
.cta-section p { color: var(--triuvo-grey); margin-bottom: 40px; font-size: 1.2em; }

/* Footer */
footer { background: var(--triuvo-black); color: var(--triuvo-grey); padding: 60px 5%; font-size: 0.9em; border-top: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; text-align: left; }
.footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--triuvo-grey); text-decoration: none; transition: 0.2s; }
.footer-col a:hover { color: var(--aquinas-gold); }

/* Simulator Specific */
.sim-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.sim-grid { display: grid; grid-template-columns: 350px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .sim-grid { grid-template-columns: 1fr; } }
.builder-panel { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.form-group label { font-size: 0.85em; font-weight: 700; display: block; margin-bottom: 5px; }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }

/* Legal Text */
.legal-content h3 { margin-top: 30px; color: var(--triuvo-black); }
.legal-content p { margin-bottom: 15px; color: #555; text-align: justify; }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8em; }
    .stats { flex-direction: column; width: 90%; margin-top: 30px; border-bottom: none; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .stat-item { border-right: none; border-bottom: 1px solid #eee; padding: 30px; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    /* Dashboard Mobile Fixes */
    .dash-grid { grid-template-columns: 1fr !important; }
    .sidebar { display: none; } /* Hide Sidebar on mobile for now or replace with hamburger */
    .main-content { margin-left: 0; width: 100%; }
    .hero-btn { width: 100%; padding: 16px 0; box-sizing: border-box; }
}

/* Footer Logo Fix */
.footer-col { overflow: hidden; }
.footer-logo {
    height: 70px;
    width: auto;
    opacity: 0.9;
    margin-bottom: 20px;
}
