/* About page */
.about-header {
    margin: clamp(1.2rem, 3vw, 1.8rem) auto clamp(0.25rem, 1vw, 0.8rem);
}

.about-page {
    gap: clamp(1.4rem, 2.6vw, 2.4rem);
    align-items: center;
}

.about-hero {
    position: relative;
    overflow: hidden;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.2rem, 2.8vw, 2.4rem);
    align-items: center;
}

.about-hero__text {
    display: grid;
    gap: 0.7rem;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.about-hero__top {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: center;
}

.about-hero__home {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.about-hero__lead {
    font-size: 1.05rem;
    color: #f7f9ff;
    margin: 0;
}

.about-hero__meta {
    margin: 0;
    color: rgba(244, 247, 255, 0.75);
    font-size: 0.95rem;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.about-hero__visual {
    position: relative;
    background: linear-gradient(135deg, rgba(1, 51, 105, 0.3), rgba(213, 10, 10, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: clamp(0.9rem, 2vw, 1.3rem);
    box-shadow: var(--shadow-soft);
    display: grid;
    justify-items: center;
    gap: 0.65rem;
}

.about-hero__image-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%), rgba(6, 8, 20, 0.8);
}

.about-hero__image-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    animation: about-hero-zoom 14s ease-in-out infinite;
}

.about-hero__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #013369, #0c72c8);
    color: #fdfdfd;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(1, 51, 105, 0.35);
    animation: about-badge-pulse 6s ease-in-out infinite;
    z-index: 2;
}

.about-intro__body {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.about-intro__card {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(12, 10, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(5, 5, 25, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-intro__card:hover,
.about-intro__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(5, 5, 25, 0.45);
    border-color: rgba(255, 255, 255, 0.16);
}

.about-intro__card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    text-align: center;
}

.about-intro__card p {
    margin: 0;
    color: rgba(244, 247, 255, 0.8);
    font-size: 0.95rem;
    text-align: center;
}

.about-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
}

.about-team__card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(1, 51, 105, 0.16), rgba(213, 10, 10, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(5, 5, 25, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-team__avatar {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 60%), rgba(9, 12, 30, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.about-team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-team__meta {
    display: grid;
    gap: 0.15rem;
    text-align: center;
}

.about-team__name {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
}

.about-team__role {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(244, 247, 255, 0.68);
}

.about-team__text {
    margin: 0;
    color: rgba(244, 247, 255, 0.82);
    font-size: 0.96rem;
    text-align: center;
    max-width: 320px;
}

.about-team__card:hover,
.about-team__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(5, 5, 25, 0.48);
    border-color: rgba(255, 255, 255, 0.14);
}

.about-team__card:hover .about-team__avatar,
.about-team__card:focus-within .about-team__avatar {
    transform: translateY(-2px) rotateX(2deg) rotateY(-2deg);
}

.about-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.about-trust__card {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(12, 10, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(5, 5, 25, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-trust__card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    text-align: center;
}

.about-trust__card p {
    margin: 0;
    color: rgba(244, 247, 255, 0.82);
    text-align: center;
}

.about-trust__card:hover,
.about-trust__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(5, 5, 25, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
}

.about-closing__card {
    display: grid;
    gap: 0.75rem;
    padding: clamp(1.4rem, 3vw, 1.9rem);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(1, 51, 105, 0.24), rgba(213, 10, 10, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(5, 5, 25, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-closing__card h2 {
    font-size: 1.6rem;
    margin: 0;
    text-align: center;
}

.about-closing__card p {
    margin: 0;
    color: rgba(244, 247, 255, 0.82);
    text-align: center;
}

.about-closing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.about-closing__card:hover,
.about-closing__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 52px rgba(5, 5, 25, 0.5);
    border-color: rgba(255, 255, 255, 0.16);
}

.about-team__card:nth-child(odd) {
    background: linear-gradient(135deg, rgba(1, 51, 105, 0.2), rgba(213, 10, 10, 0.14));
}

.about-team__card:nth-child(even) {
    background: linear-gradient(135deg, rgba(213, 10, 10, 0.12), rgba(1, 51, 105, 0.18));
}

[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
    will-change: transform, opacity;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-page .section--dark::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
    opacity: 0;
    pointer-events: none;
    animation: section-sheen 18s ease-in-out infinite;
}

.about-hero__badge,
.about-hero__image-frame img,
.about-hero__visual,
.about-hero__text,
.about-intro__card,
.about-team__card,
.about-trust__card,
.about-closing__card {
    will-change: transform, opacity, box-shadow;
}

.footer__links a.is-active {
    color: var(--color-accent);
    opacity: 1;
}

@keyframes about-badge-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(1, 51, 105, 0.35);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 14px 28px rgba(1, 51, 105, 0.42);
    }
}

@keyframes about-hero-zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes section-sheen {
    0% { opacity: 0; transform: translateX(-10%); }
    30% { opacity: 0.18; }
    60% { opacity: 0.06; }
    100% { opacity: 0; transform: translateX(14%); }
}

@media (max-width: 640px) {
    .about-team__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-team__text {
        grid-column: 1 / -1;
    }
}
