:root {
    --navy: #00204E;
    --gold: #B8860B;
    --white: #ffffff;
    --cream: #FDFBF7;
    --charcoal: #1A1A1A;
    --slate: #2C3E50;
    --light-gray: #F4F4F4;
    --text: #333333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4, .logo { font-family: 'Playfair Display', serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }
.bg-alt { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }

/* Navbar */
.navbar {
    padding: 1.2rem 0; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn-nav { background: var(--navy); color: var(--white) !important; padding: 0.5rem 1.2rem; border-radius: 2px; }

/* Hero Centrado con Fondo de Color */
.hero {
    padding: 160px 0 100px;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero .subtitle { color: var(--gold); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: 0.8rem; display: block; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto 3rem; font-weight: 300; }

.btn-primary {
    background: var(--gold); color: var(--white); padding: 1.1rem 2.5rem; text-decoration: none;
    display: inline-block; font-weight: 600; border-radius: 2px; transition: var(--transition); border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
}
.btn-primary:hover { background: #966d09; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 5rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.tag { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 3px; display: block; margin-bottom: 1rem; }
.section-header h2 { font-size: 2.8rem; color: var(--navy); margin-bottom: 1.5rem; }

/* Grid Layouts */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.card { background: var(--white); padding: 3.5rem 2.5rem; border-radius: 0; border: 1px solid #eee; transition: var(--transition); position: relative; }
.card:hover { transform: translateY(-5px); border-color: var(--gold); }
.card h3 { margin-bottom: 1.2rem; color: var(--navy); font-size: 1.5rem; }

/* Stats */
.stats-row { display: flex; justify-content: space-around; margin-top: 4rem; border-top: 1px solid #eee; padding-top: 4rem; }
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--gold); margin-bottom: 0.5rem; }
.stat-item p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }

/* Sectors */
.sectors-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sector-box { padding: 2.5rem; background: var(--white); border: 1px solid #eee; transition: var(--transition); }
.sector-box:hover { background: var(--navy); color: var(--white); }
.sector-box h4 { margin-bottom: 1rem; font-size: 1.3rem; }

/* Team Page Specific */
.team-hero { background: var(--navy); color: var(--white); text-align: center; padding: 140px 0 80px; }
.team-card { text-align: center; padding: 2rem; border: 1px solid #eee; }
.team-card .position { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 1rem; display: block; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    padding: 1.1rem; border: 1px solid #ddd; border-radius: 0; font-family: inherit; font-size: 0.95rem;
}
.contact-form button { align-self: flex-start; }

/* Footer */
.footer { background: #050c1a; color: rgba(255,255,255,0.6); padding: 5rem 0 2rem; }
.footer .logo { color: var(--white); margin-bottom: 1.5rem; display: block; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-size: 0.8rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .grid, .contact-wrapper, .sectors-list { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}