:root {
    --azul-principal: #0F355E;
    --azul-secundario: #2D6EA3;
    --azul-claro: #70AEDD;
    --gris-profesional: #7A848E;
    --gris-oscuro: #313333;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.header-nav {
    background: var(--azul-principal);
    color: #fff;
    padding: 10px 0;
}

.header-nav .brand-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.header-nav .brand-tagline {
    font-size: 0.8rem;
    color: #d0e4ff;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--azul-claro);
    transition: width 0.2s ease-in-out;
}

.main-nav a:hover::after {
    width: 100%;
}

.language-switch a,
.language-switch span {
    color: #fff;
    font-size: 0.85rem;
}

.hero-img {
    max-height: 580px;
    object-fit: cover;
}

.hero-caption {
    background: rgba(0, 0, 0, 0.45);
    padding: 20px;
    border-radius: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.9s ease-out;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Cards */
.service-card, .tip-card, .project-card, .blog-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.service-card:hover,
.tip-card:hover,
.project-card:hover,
.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Timeline */
.timeline {
    border-left: 3px solid var(--azul-secundario);
    margin-top: 20px;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--azul-secundario);
}

.timeline-year {
    font-weight: bold;
    color: var(--azul-principal);
}

/* Beneficios */
.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li::before {
    content: "✔";
    color: var(--azul-secundario);
    margin-right: 8px;
}

/* Footer */
.site-footer {
    background: var(--gris-oscuro);
    color: #fff;
    padding: 25px 0;
    font-size: 0.9rem;
    margin-top: 40px;
}

.site-footer a {
    color: var(--azul-claro);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Formularios */
.contact-form .form-control {
    border-radius: 8px;
    border-color: #ddd;
}

.contact-form .btn-primary {
    background: var(--azul-secundario);
    border-color: var(--azul-secundario);
}

.contact-form .btn-primary:hover {
    background: var(--azul-principal);
    border-color: var(--azul-principal);
}

/* Utilidades */
main {
    min-height: 60vh;
}
