:root {
    --primary-color: #204388;
    --accent-color:  #F2C94C;
    --light-bg:      #FFF8E1;
}

html { scroll-padding-top: 90px; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: #fff;
    scroll-behavior: smooth;
}

.navbar {
    min-height: 72px;
    background-color: var(--primary-color) !important;
}
.navbar .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    height: 72px;
}
.navbar .navbar-brand img {
    max-height: 56px;
    width: auto;
    vertical-align: middle;
}
.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff !important;
}
.navbar .navbar-toggler {
    border-color: #fff !important;
}
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    position: relative;
}
header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
header .container { position: relative; z-index: 2; }

section { padding: 60px 0; }
#project-info { background-color: #faf9f7; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 4px; background: var(--accent-color); transform: translateX(-50%);
}
.timeline-item {
    position: relative; width: 50%; padding: 20px 40px;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before {
    content: ''; position: absolute; top: 20px; width: 20px; height: 20px;
    border-radius: 50%; background: var(--accent-color);
    border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent-color);
}
.timeline-item:nth-child(odd)::before { right: -10px; }
.timeline-item:nth-child(even)::before { left: -10px; }
.timeline-item.center {
    width: 100%; left: 0; text-align: center; padding: 30px 0 10px 0;
    background: none !important; box-shadow: none !important;
}
.timeline-item.center .badge { font-weight: 600; letter-spacing: 1px; }
.timeline-item.center::before { display: none !important; }

.news-chips {
    display: flex; flex-direction: column; gap: 1.2rem;
    max-width: 680px; margin: 0 auto;
}
.news-chip {
    display: flex; align-items: center; gap: 1rem;
    background: var(--light-bg); border-radius: 1.7rem;
    padding: 0.95rem 1.6rem; box-shadow: 0 2px 10px 0 rgba(32,67,136,0.09);
}
.news-chip-icon {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff; border-radius: 1rem; width: 88px; height: 88px;
    font-size: 2.5rem; box-shadow: 0 1px 7px 0 rgba(242,201,76,0.13);
    flex-shrink: 0;
}
.news-chip-photo {
    width: 88px; height: 88px; border-radius: 1rem;
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 1px 7px 0 rgba(242,201,76,0.13);
}
a.news-chip-link {
    text-decoration: none; color: inherit; display: block;
    transition: transform 0.18s, box-shadow 0.18s;
}
a.news-chip-link:hover { color: inherit; transform: translateY(-2px); }
a.news-chip-link:hover .news-chip {
    box-shadow: 0 6px 18px 0 rgba(32,67,136,0.16);
}
.news-chip-date {
    font-size: 0.97rem; color: var(--primary-color); font-weight: 500;
    display: block; margin-bottom: 0.08rem;
}
.news-chip-title {
    font-size: 1.09rem; font-weight: 700; color: var(--primary-color); display: block;
}
.news-chip-desc {
    color: #434343; font-size: 1rem; display: block; margin-top: -2px;
}
@media (max-width: 700px) {
    .news-chips { max-width: 100%; }
    .news-chip { padding: 0.8rem 1rem; }
}

.morelas-card {
    display: flex; align-items: center; gap: 0.9rem;
    background: var(--light-bg); border-radius: 1rem;
    padding: 1rem 1.2rem; text-decoration: none;
    color: var(--primary-color); height: 100%;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 5px 0 rgba(32,67,136,0.06);
}
a.morelas-card:hover {
    transform: translateY(-2px); color: var(--primary-color);
    box-shadow: 0 6px 18px 0 rgba(32,67,136,0.13);
}
.morelas-card i { font-size: 1.7rem; color: var(--primary-color); flex-shrink: 0; }
.morelas-card-title { display: block; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.morelas-card-meta { display: block; font-size: 0.88rem; color: #6c757d; margin-top: 0.15rem; }
.morelas-card-disabled { opacity: 0.55; background: #f4f4f4; cursor: default; }

.project-result-card {
    border: none; border-radius: 1.5rem;
    box-shadow: 0 2px 12px 0 rgba(32, 67, 136, 0.10), 0 1.5px 7px 0 rgba(242, 201, 76, 0.07);
    background: #fff; transition: transform 0.18s, box-shadow 0.18s; overflow: hidden;
}
.project-result-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 6px 24px 0 rgba(32, 67, 136, 0.18), 0 3px 14px 0 rgba(242, 201, 76, 0.16);
}
.icon-circle {
    width: 54px; height: 54px; background: linear-gradient(135deg, var(--primary-color) 80%, var(--accent-color) 100%);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem; margin: 0 auto 14px auto; box-shadow: 0 2px 12px rgba(32, 67, 136, 0.09);
}
.project-result-card .card-title {
    font-weight: 600; color: var(--primary-color);
    margin-bottom: .75rem; font-size: 1.15rem;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:visited {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: none !important;
}
.dropdown-menu .dropdown-item:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

.active-lang,
.btn-outline-primary.active,
.btn-outline-primary[aria-current="true"] {
    min-width: 52px; text-align: center; padding: 0.375rem 1.25rem;
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(242, 201, 76, 0.11);
}

footer {
    background-color: var(--accent-color);
    color: var(--primary-color);
}
footer a { color: var(--primary-color); text-decoration: underline; }
