﻿/* LASA brand overrides on Bootstrap */

:root {
    --primary-color: #003d82;
    --secondary-color: #0052a3;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --header-height: 9rem;
    --bs-primary: #003d82;
    --bs-primary-rgb: 0, 61, 130;
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
    --bs-link-color: #003d82;
    --bs-link-hover-color: #0052a3;
    --bs-body-font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.container-fluid {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--primary-color) !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: var(--primary-color) !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-border-color: var(--secondary-color);
    --bs-btn-active-bg: var(--secondary-color);
    --bs-btn-active-border-color: var(--secondary-color);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
}

.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent-color);
    --bs-btn-border-color: var(--accent-color);
    --bs-btn-hover-bg: #d97706;
    --bs-btn-hover-border-color: #d97706;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #d97706;
    --bs-btn-active-border-color: #d97706;
    --bs-btn-active-color: #fff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #d97706;
    color: #fff;
}

.btn-outline-secondary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-border-width: 2px;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-color: #fff;
    font-weight: 500;
    padding: 0.75rem 2rem;
}

/* Header */
.page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--bg-white);
}

.header-top-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 2.875rem;
}

.header-top-logo img {
    height: 2.5rem;
    width: auto;
}

.header-main,
.header-nav {
    background-color: var(--primary-color);
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.nav-list li {
    flex: 1;
    text-align: center;
}

.nav-list li a {
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

@media (hover: hover) {
    .nav-list li a:hover {
        color: var(--accent-color);
        background-color: rgba(245, 158, 11, 0.1);
    }

    .nav-list li a:hover::after {
        width: 80%;
    }
}

.nav-list li a.active {
    color: var(--accent-color);
}

.nav-list li a.active::after {
    width: 80%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-btn.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
}

.header-actions .dropdown-menu {
    min-width: 180px;
    margin-top: 0.5rem;
}

.header-actions .dropdown-item.active {
    background-color: var(--primary-color);
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* Footer */
.page-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3.25rem 0 1.5rem;
}

.footer-main {
    align-items: flex-start;
}

.footer-brand__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer-brand__logo {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-brand__name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.footer-brand__tagline {
    margin: 0;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.45;
}

.footer-brand__intro {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-facts i {
    flex-shrink: 0;
    width: 1rem;
    height: 1.275rem; /* 0.85rem * 1.5 — match first text line */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: var(--accent-color);
    font-size: 0.95rem;
    line-height: 1;
}

.footer-facts span {
    flex: 1;
    min-width: 0;
}

.footer-facts a {
    color: var(--accent-color);
    text-decoration: none;
    word-break: break-word;
}

.footer-facts a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.15rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav li:last-child {
    border-bottom: 0;
}

.footer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-nav a::after {
    content: "›";
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.1rem;
    line-height: 1;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-nav a:hover::after {
    color: var(--accent-color);
}

.footer-nav--policies a {
    justify-content: flex-start;
    align-items: center;
    gap: 0.65rem;
}

.footer-nav--policies a::after {
    margin-left: auto;
}

.footer-nav--policies i {
    color: var(--accent-color);
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.footer-updates__text {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-updates__note {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.55;
}

.footer-updates__note a {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-updates__note a:hover {
    color: #fff;
}

.footer-newsletter-wrap {
    margin-bottom: 1.25rem;
}

.footer-newsletter-skeleton {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-skeleton__input,
.footer-newsletter-skeleton__button {
    display: block;
    border-radius: 0.25rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.2) 37%, rgba(255, 255, 255, 0.12) 63%);
    background-size: 400% 100%;
    animation: footer-newsletter-shimmer 1.4s ease infinite;
}

.footer-newsletter-skeleton__input {
    flex: 1;
    height: 2.4rem;
}

.footer-newsletter-skeleton__button {
    width: 6.5rem;
    height: 2.4rem;
    flex-shrink: 0;
}

@keyframes footer-newsletter-shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.footer-newsletter-vue {
    --footer-control-h: 40px;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0;
}

.footer-newsletter-vue .el-form-item {
    margin-bottom: 0;
}

.footer-newsletter-vue .el-form-item__content {
    line-height: var(--footer-control-h);
    min-height: var(--footer-control-h);
}

.footer-newsletter-vue__email {
    flex: 1;
    min-width: 0;
}

.footer-newsletter-vue__actions {
    flex-shrink: 0;
}

.footer-newsletter-vue .el-input {
    --el-input-height: var(--footer-control-h);
    height: var(--footer-control-h);
    width: 100%;
}

.footer-newsletter-vue .el-input__wrapper {
    height: var(--footer-control-h) !important;
    min-height: var(--footer-control-h) !important;
    max-height: var(--footer-control-h) !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.footer-newsletter-vue .el-input__wrapper.is-focus {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-newsletter-vue .el-input__inner {
    height: 100% !important;
    line-height: 1 !important;
    color: #fff;
}

.footer-newsletter-vue .el-input__inner::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-vue .el-input__suffix .el-icon {
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter-vue .el-form-item__error {
    position: static;
    padding-top: 0.25rem;
    line-height: 1.2;
}

.footer-newsletter-vue__actions .el-button {
    --el-button-size: var(--footer-control-h);
    height: var(--footer-control-h) !important;
    min-height: var(--footer-control-h) !important;
    max-height: var(--footer-control-h) !important;
    padding: 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box;
    line-height: 1 !important;
    font-size: 14px !important;
}

.footer-newsletter-vue__actions .el-button--warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.footer-newsletter-vue__actions .el-button--warning:hover,
.footer-newsletter-vue__actions .el-button--warning:focus {
    background-color: #d97706;
    border-color: #d97706;
}

.footer-newsletter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.35rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0.4rem auto;
    line-height: 1.6;
    max-width: 52rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Cookie notice — necessary cookies acknowledgement */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 1.25rem 2.5rem 1.25rem 1.25rem;
    background-color: rgba(0, 36, 77, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.cookie-consent__close:hover,
.cookie-consent__close:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.cookie-consent__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.cookie-consent__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent__text a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: var(--accent-color);
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.65rem;
}

.cookie-consent__btn {
    white-space: nowrap;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}

.cookie-consent .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.cookie-consent .btn-outline-light:hover,
.cookie-consent .btn-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 767px) {
    .cookie-consent {
        padding: 2.25rem 1.25rem 1.25rem;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}

@media (max-width: 991px) {
    .header-nav {
        position: relative;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .header-nav.mobile-menu-open {
        height: auto;
        padding: 0.5rem 0;
    }

    .header-content {
        display: none;
    }

    .header-nav.mobile-menu-open .header-content {
        display: block;
    }

    .main-nav {
        display: block;
        position: static;
        background-color: transparent;
        padding: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .nav-list li a::after {
        display: none;
    }

    .nav-list li a:hover {
        color: var(--bg-white);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-list li a.active {
        color: var(--bg-white);
        background-color: rgba(255, 255, 255, 0.15);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .lang-btn {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-top-logo {
        justify-content: flex-start;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .footer-newsletter-vue {
        flex-direction: column;
    }

    .footer-newsletter-vue__actions .el-button {
        width: 100%;
    }
}

/* Shared */
.page-hero {
    background-color: var(--bg-light);
}

.page-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero__lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

.page-hero p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.page-hero p:last-child {
    margin-bottom: 0;
}

.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.section-lead {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
}

.section-heading {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Shared cards (home key areas, about values, etc.) */
.key-area-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.key-area-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.key-area-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.key-area-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .page-hero__title {
        font-size: 2rem;
    }

    .page-hero__lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}
