/* ===================================================================
 * CYATCA UI refresh: overrides loaded after styles.css
 * ------------------------------------------------------------------- */
:root {
    --navy: #2B4570;
    --navy-dark: #1d3152;
    --ink: #2f3442;
    --ink-soft: #4d5260;
    --surface: #FFFFFF;
    --surface-alt: #EDF2F4;
    --line: #d9e0ea;
}

/* -------------------------------------------------------------------
 * 1. hero: radar picture faded behind the text, as on the original page.
 * ------------------------------------------------------------------- */
/* full image on top, a 224-byte blurred preview underneath that shows instantly */
.s-home,
.no-js .s-home {
    background-color: #04060a;
    background-image: url("../images/hero-radar.webp"), url("data:image/webp;base64,UklGRtgAAABXRUJQVlA4IMwAAABQBgCdASogABQAPu1gq1AppSOisBgIATAdiWcAgAiXmMCtzQLG88az0vkph60cSNTUX5WFGqsrxiURJAD+7r+n5dIoaUM/TOPSi5xRYYiHouja6RvTDyubqUuSDJVeqcbNI426/b5nBLTDu3RNsTmfDfkergIh+TB/oKmGuFyilYRim+V1/hVgD0O3Jgm/NCgR3+TYgdWqTGU8/ND5M7rsp9Zicb2aH+tsS7iZ1rFBEcgPgqeEZvJSmAMnZMOYoQRsQRuqMmOKSoyjsAA=");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 1300px) {
    .s-home, .no-js .s-home {
        background-image: url("../images/hero-radar-1280.webp"), url("data:image/webp;base64,UklGRtgAAABXRUJQVlA4IMwAAABQBgCdASogABQAPu1gq1AppSOisBgIATAdiWcAgAiXmMCtzQLG88az0vkph60cSNTUX5WFGqsrxiURJAD+7r+n5dIoaUM/TOPSi5xRYYiHouja6RvTDyubqUuSDJVeqcbNI426/b5nBLTDu3RNsTmfDfkergIh+TB/oKmGuFyilYRim+V1/hVgD0O3Jgm/NCgR3+TYgdWqTGU8/ND5M7rsp9Zicb2aH+tsS7iZ1rFBEcgPgqeEZvJSmAMnZMOYoQRsQRuqMmOKSoyjsAA=");
    }
}

@media only screen and (max-width: 700px) {
    .s-home, .no-js .s-home {
        background-image: url("../images/hero-radar-900.webp"), url("data:image/webp;base64,UklGRtgAAABXRUJQVlA4IMwAAABQBgCdASogABQAPu1gq1AppSOisBgIATAdiWcAgAiXmMCtzQLG88az0vkph60cSNTUX5WFGqsrxiURJAD+7r+n5dIoaUM/TOPSi5xRYYiHouja6RvTDyubqUuSDJVeqcbNI426/b5nBLTDu3RNsTmfDfkergIh+TB/oKmGuFyilYRim+V1/hVgD0O3Jgm/NCgR3+TYgdWqTGU8/ND5M7rsp9Zicb2aH+tsS7iZ1rFBEcgPgqeEZvJSmAMnZMOYoQRsQRuqMmOKSoyjsAA=");
    }
}

/* hero text appears quickly instead of a 2s fade */
html.cl-loaded .home-content__main {
    animation-duration: .5s;
}

.home-content .home-kicker {
    display: inline-block;
    font-family: var(--font-main); font-weight: 600;
    color: #7CFFA0;                 /* radar-track green */
    text-shadow: 0 0 2px #000, 0 0 8px #000, 0 0 18px rgba(0, 0, 0, 0.9);
}

.home-content h1 {
    font-family: var(--font-main); font-weight: 700;
    max-width: 900px;
    text-shadow:
        0 0 2px #000,
        0 0 6px #000,
        0 2px 14px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(0, 0, 0, 0.8);
}

.home-content__buttons .btn {
    transform: none;
    font-family: var(--font-main); font-weight: 600;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.home-content__buttons .btn--hero-primary {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--navy-dark);
}

.home-content__buttons .btn--hero-primary:hover,
.home-content__buttons .btn--hero-primary:focus {
    background: #7CFFA0;
    border-color: #7CFFA0;
    color: #04060a;
}

.home-content__buttons .btn--hero-secondary {
    background: var(--navy);
    border-color: var(--navy);
    color: #FFFFFF;
}

.home-content__buttons .btn--hero-secondary:hover,
.home-content__buttons .btn--hero-secondary:focus {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--navy-dark);
}

.home-content__scroll a {
    text-shadow: 0 0 4px #000, 0 0 10px #000;
}

.home-social a {
    background: rgba(4, 6, 10, 0.6);
    border-radius: 50%;
}

/* menu toggle: navy, so it never sits on raw radar labels or clashes on scroll */
.header-menu-toggle,
.header-menu-toggle .header-menu-text {
    background-color: rgba(29, 49, 82, 0.85);
}

.header-menu-toggle {
    border-radius: 0 4px 4px 0;
}

.header-menu-toggle .header-menu-text {
    border-radius: 4px 0 0 4px;
}

.header-menu-toggle.opaque,
.header-menu-toggle.opaque .header-menu-text {
    background-color: var(--navy-dark);
}

.header-logo img {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

@media only screen and (max-width: 600px) {
    .header-logo img {
        width: 70px;
    }
    .home-content__buttons .btn {
        width: 100%;
    }
}

/* back-to-top: navy, shown via JS class */
.go-top {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}

.go-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.go-top a, .go-top a:visited {
    background: var(--navy);
    color: #FFFFFF;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    line-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.go-top a:hover, .go-top a:focus {
    background: var(--navy-dark);
}

/* inline SVG icons */
.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.service-icon .icon {
    width: 4.8rem;
    height: 4.8rem;
    color: var(--navy);
}

.career-card__icon .icon {
    width: 2.8rem;
    height: 2.8rem;
}

.home-social a .icon,
.header-nav__social a .icon {
    width: 1.6rem;
    height: 1.6rem;
}

.contact-social .icon,
.footer-social .icon {
    width: 2rem;
    height: 2rem;
}

.go-top .icon {
    width: 1.8rem;
    height: 1.8rem;
}

/* reveal-on-scroll (replaces the AOS plugin) */
.reveal-ready [data-aos] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s ease-out, transform .35s ease-out;
}

.reveal-ready [data-aos].is-revealed {
    opacity: 1;
    transform: none;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.cl-loaded .home-content__main { animation: none; }
}

/* -------------------------------------------------------------------
 * 2. stats
 * ------------------------------------------------------------------- */
.stats__note {
    clear: both;
    width: 100%;
    text-align: center;
    font-family: var(--font-main); font-weight: 500;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding-top: 1.2rem;
}

.stats__note a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* -------------------------------------------------------------------
 * 4/5. sections: one light palette, readable body text, card grid
 * ------------------------------------------------------------------- */
.s-services--mission {
    background-color: var(--surface-alt);
}

.s-services .service-text ul {
    margin-left: 2rem;
}

.s-services .service-text li {
    color: var(--ink-soft);
}

.s-career {
    background-color: var(--surface);
    padding: 15rem 0 15rem;
    color: var(--ink-soft);
}

.career-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    max-width: 1080px;
    margin-bottom: 2.4rem;
}

.career-highlights::before,
.career-highlights::after {
    display: none;
}

.career-highlight {
    text-align: center;
    padding: 2.4rem 2rem;
    border-radius: 8px;
    background: var(--navy);
    color: #FFFFFF;
}

.career-highlight__value {
    display: block;
    font-family: var(--font-main); font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.2;
}

.career-highlight__label {
    display: block;
    font-family: var(--font-main); font-weight: 500;
    font-size: 1.4rem;
    opacity: 0.85;
    margin-top: .6rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    max-width: 1080px;
}

.career-grid::before,
.career-grid::after {
    display: none;
}

.career-card {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 3.2rem 3rem 2.4rem;
}

.career-card__icon {
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.career-card h3 {
    font-size: 2.2rem;
    margin: 0 0 1.6rem;
    color: var(--ink);
}

.career-card ul {
    margin: 0 0 0 1.8rem;
}

.career-card li {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: .6rem;
}

.career-card a {
    color: var(--navy);
    text-decoration: underline;
}

.career-card--cta {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-card--cta h3 {
    color: #FFFFFF;
}

.career-card--cta p {
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2.4rem;
}

.career-card--cta .btn {
    margin: 0;
    width: 100%;
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--navy-dark);
    text-decoration: none;
}

.career-card--cta .btn:hover,
.career-card--cta .btn:focus {
    background: transparent;
    color: #FFFFFF;
}

@media only screen and (max-width: 1000px) {
    .career-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .s-career {
        padding: 12rem 0;
    }
    .career-grid,
    .career-highlights {
        grid-template-columns: 1fr;
    }
    .career-highlight__value {
        font-size: 3rem;
    }
}

/* -------------------------------------------------------------------
 * 9. IFATCA: left-aligned text + key facts
 * ------------------------------------------------------------------- */
.s-ifatca {
    background-color: var(--surface-alt);
    padding: 15rem 0 15rem;
}

.ifatca-content {
    display: flex;
    align-items: center;
    gap: 4.8rem;
    max-width: 1000px;
}

.ifatca-content::before,
.ifatca-content::after {
    display: none;
}

.ifatca-content__logo {
    flex: 0 0 260px;
}

.ifatca-content__logo img {
    width: 100%;
    height: auto;
}

.ifatca-content__text p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 1.8rem;
}

.ifatca-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin-top: 4.8rem;
}

.ifatca-facts::before,
.ifatca-facts::after {
    display: none;
}

.ifatca-fact {
    text-align: center;
    padding: 2.4rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.ifatca-fact__value {
    display: block;
    font-family: var(--font-main); font-weight: 700;
    font-size: 3.6rem;
    color: var(--navy);
    line-height: 1.2;
}

.ifatca-fact__label {
    display: block;
    font-family: var(--font-main); font-weight: 500;
    font-size: 1.4rem;
    color: var(--ink-soft);
    margin-top: .6rem;
}

@media only screen and (max-width: 800px) {
    .ifatca-content {
        flex-direction: column;
        gap: 2.4rem;
    }
    .ifatca-content__logo {
        flex-basis: auto;
        width: 220px;
    }
}

@media only screen and (max-width: 600px) {
    .s-ifatca {
        padding: 12rem 0;
    }
    .ifatca-facts {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------
 * 3. board: names always visible, uniform crops
 * ------------------------------------------------------------------- */
.s-works {
    padding-bottom: 12rem;
    min-height: 0;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
}

.board-member {
    margin: 0;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(20, 30, 55, 0.12);
}

.board-member img {
    display: block;
    background-color: #dfe5ee;      /* placeholder tint while the photo loads */
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
}

.board-member figcaption {
    padding: 1.6rem 1.4rem 1.8rem;
    text-align: center;
}

.board-member__name {
    display: block;
    font-family: var(--font-main); font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.35;
    color: var(--ink);
}

.board-member__role {
    display: block;
    font-family: var(--font-main); font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: .15rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-top: .6rem;
}

@media only screen and (max-width: 1000px) {
    .board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
    .board-member__name {
        font-size: 1.4rem;
    }
}

/* -------------------------------------------------------------------
 * 6. contact: calmer background, visible labels, readable inputs
 * ------------------------------------------------------------------- */
/* same tower picture, width and grey tone as the original page */
.s-contact {
    background-size: auto;
    background-position: center;
}

.contact-content {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    overflow: hidden;
}

.contact-secondary::before {
    background-color: rgba(0, 0, 0, 0.35);
}

.s-contact .subhead {
    color: #9fb4d9;
}

.contact-content h4 {
    color: #9fb4d9;
}

.contact-content a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-social li a {
    text-decoration: none;
}

.s-contact .form-field .field-label {
    position: static;
    display: block;
    background: none;
    padding: 0;
    margin: 0 0 .4rem;
    font-family: var(--font-main); font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.6;
    letter-spacing: .1rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.s-contact .form-field .field-label::after {
    display: none;
}

.field-label__opt {
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.55);
}

.s-contact .form-field {
    margin-bottom: 2.4rem;
}

.contact-content input[type="email"],
.contact-content input[type="text"],
.contact-content textarea {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 0;
}

.contact-content input[type="email"]:focus,
.contact-content input[type="text"]:focus,
.contact-content textarea:focus {
    border: 1px solid #9fb4d9;
    background: rgba(255, 255, 255, 0.1);
}

.contact-content input::placeholder,
.contact-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-content button {
    margin-top: 0;
}

.contact-content .btn--primary:hover,
.contact-content .btn--primary:focus {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--navy);
}

.contact-primary .error-message {
    color: #ff9b9b;
    font-size: 1.3rem;
}

#form-response.success { color: #8fe3a8; }
#form-response.error { color: #ff9b9b; }

/* -------------------------------------------------------------------
 * 7. footer
 * ------------------------------------------------------------------- */
.site-footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 8rem;
    font-size: 1.5rem;
    line-height: 1.8;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 4.8rem;
    padding-bottom: 4.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main::before,
.footer-main::after {
    display: none;
}

.site-footer h2 {
    font-family: var(--font-main); font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: .2rem;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 1.6rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover,
.site-footer a:focus {
    color: #FFFFFF;
    text-decoration: underline;
}

.site-footer ul {
    list-style: none;
    margin: 0;
}

.site-footer li {
    padding-left: 0;
}

.site-footer address {
    font-style: normal;
    margin-bottom: 1.2rem;
}

.footer-brand-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.6rem;
}

.footer-brand-name {
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #FFFFFF;
    max-width: 24rem;
    margin: 0;
}

.footer-social li {
    display: inline-block;
    margin-right: 1.6rem;
    font-size: 2rem;
}

.site-footer .footer-bottom {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-footer .copyright span::after {
    display: none;
}

@media only screen and (max-width: 800px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col--brand {
        grid-column: 1 / -1;
    }
}

@media only screen and (max-width: 500px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }
}

/* off-canvas menu: brand navy instead of the template's black */
.header-nav {
    background-color: var(--navy-dark);
}

.header-nav h2 {
    color: #9fb4d9;
}

.header-nav a,
.header-nav__social a {
    color: rgba(255, 255, 255, 0.85);
}

.header-nav__list a:hover,
.header-nav__list a:focus,
.header-nav__social a:hover {
    color: #7CFFA0;
}

.home-content .home-kicker {
    font-size: 1.8rem;
}

.header-nav .header-nav__social li a {
    color: #FFFFFF;
    opacity: 0.85;
}
