:root {
    --navy: #001F3F;
    --navy-dark: #00152b;
    --gold: #C5A059;
    --gold-hover: #b38f4d;
    --white: #FFFFFF;
    --grey-light: #F4F4F4;
    --grey-text: #4A4A4A;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--grey-text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ticker Bar */
.top-ticker {
    background: var(--navy-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.ticker-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.ticker-content span {
    display: inline-block;
    margin-right: 4rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
.main-header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
}

/* Sections Base */
section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 31, 63, 0.7), rgba(0, 31, 63, 0.7)), url('hero-office.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 2px;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-hover);
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* Content Blocks */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--grey-light);
    padding: 3rem 2rem;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card i {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Nosotros Section */
.nosotros-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-image img {
    width: 100%;
    height: auto;
    box-shadow: 20px 20px 0 var(--grey-light);
}

/* Methodology */
.method-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}

.method-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info div {
    margin-bottom: 2rem;
}

.contact-info h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full {
    grid-column: span 2;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    font-family: inherit;
}

.contact-form button {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--gold);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
}

/* Footer */
.main-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-info .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-statement {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .nosotros-layout, .contact-layout {
        grid-template-columns: 1fr;
    }
    .method-steps {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic omitted for brevity but standard implementation would be here */
    }
    .mobile-menu-btn {
        display: block;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
}